; LLVM IR from Trusted-eSign/trusted-crypto :: deps/wrapper/src/store/storehelper.ll (ZN17PkiItemCollection4findE6HandleI6FilterE)

; 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.Handle.14 = type { ptr }
%class.Handle = type { ptr }
%class.LoggerFunction = type { %class.Handle.0, ptr }
%class.Handle.0 = type { ptr }
%class.Handle.21 = type { ptr }
%class.Filter = type { %"class.std::vector.16", %"class.std::vector.16", %"class.std::vector.16", %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, i8, %class.Handle.0 }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<Handle<std::__cxx11::basic_string<char>>, std::allocator<Handle<std::__cxx11::basic_string<char>>>>::_Vector_impl" }
%"struct.std::_Vector_base<Handle<std::__cxx11::basic_string<char>>, std::allocator<Handle<std::__cxx11::basic_string<char>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Handle<std::__cxx11::basic_string<char>>, std::allocator<Handle<std::__cxx11::basic_string<char>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Handle<std::__cxx11::basic_string<char>>, std::allocator<Handle<std::__cxx11::basic_string<char>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.PkiItem = type { %class.IPkiCertificate, %class.IPkiCrl, %class.IPkiKey, %class.IPkiRequest, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0 }
%class.IPkiCertificate = type { ptr, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.2 }
%class.Handle.2 = type { ptr }
%class.IPkiCrl = type { ptr, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.3 }
%class.Handle.3 = type { ptr }
%class.IPkiKey = type { ptr, i8, %class.Handle.4 }
%class.Handle.4 = type { ptr }
%class.IPkiRequest = type { ptr, %class.Handle.0, %class.Handle.0, %class.Handle.0, %class.Handle.5 }
%class.Handle.5 = type { ptr }

@logger = external global ptr, align 8
@__FUNCTION__._ZN17PkiItemCollectionC2Ev = external hidden unnamed_addr constant [18 x i8], align 1
@__FUNCTION__._ZN17PkiItemCollection4findE6HandleI6FilterE = external hidden unnamed_addr constant [5 x i8], align 1
@_ZTI6HandleI9ExceptionE = external dso_local constant { ptr, ptr }, align 8
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [101 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 void @_ZN14LoggerFunctionC1EP6LoggerPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

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

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

declare ptr @__cxa_begin_catch(ptr)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind noalias writable sret(%class.Handle.14) align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN17PkiItemCollection6lengthEv(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17PkiItemCollection4pushE6HandleI7PkiItemE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17PkiItemCollection4findE6HandleI6FilterE(ptr dead_on_unwind noalias writable sret(%class.Handle) align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2) #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %class.LoggerFunction, align 8
  %8 = alloca i1, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i32, align 4
  %16 = alloca %class.Handle.14, align 8
  %17 = alloca i32, align 4
  %18 = alloca %class.Handle.14, align 8
  %19 = alloca i32, align 4
  %20 = alloca %class.Handle.14, align 8
  %21 = alloca %class.Handle.14, align 8
  %22 = alloca %class.Handle.14, align 8
  %23 = alloca %class.Handle.14, align 8
  %24 = alloca i1, align 1
  %25 = alloca i1, align 1
  %26 = alloca %class.Handle.14, align 8
  %27 = alloca %class.Handle.14, align 8
  %28 = alloca i1, align 1
  %29 = alloca i1, align 1
  %30 = alloca %class.Handle.14, align 8
  %31 = alloca %class.Handle.14, align 8
  %32 = alloca i1, align 1
  %33 = alloca i1, align 1
  %34 = alloca %class.Handle.14, align 8
  %35 = alloca %class.Handle.14, align 8
  %36 = alloca i1, align 1
  %37 = alloca i1, align 1
  %38 = alloca %class.Handle.14, align 8
  %39 = alloca %class.Handle.14, align 8
  %40 = alloca ptr, align 8
  %41 = alloca %class.Handle.21, align 8
  %42 = alloca %class.Handle.21, align 8
  %43 = alloca i1, align 1
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %44 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #10
  %45 = load ptr, ptr @logger, align 8, !tbaa !5
  call void @_ZN14LoggerFunctionC1EP6LoggerPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %45, ptr noundef @__FUNCTION__._ZN17PkiItemCollection4findE6HandleI6FilterE)
  store i1 false, ptr %8, align 1
  %46 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #11
          to label %47 unwind label %57

47:                                               ; preds = %3
  invoke void @_ZN17PkiItemCollectionC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %46)
          to label %48 unwind label %61

48:                                               ; preds = %47
  invoke void @_ZN6HandleI17PkiItemCollectionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %46)
          to label %49 unwind label %57

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  %50 = invoke noundef i32 @_ZN17PkiItemCollection6lengthEv(ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %51 unwind label %65

51:                                               ; preds = %49
  store i32 %50, ptr %12, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %643, %51
  %53 = load i32, ptr %11, align 4, !tbaa !9
  %54 = load i32, ptr %12, align 4, !tbaa !9
  %55 = icmp slt i32 %53, %54
  br i1 %55, label %69, label %56

56:                                               ; preds = %52
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  br label %669

57:                                               ; preds = %48, %3
  %58 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %9, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %10, align 4
  br label %652

61:                                               ; preds = %47
  %62 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %9, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %46, i64 noundef 24) #12
  br label %652

65:                                               ; preds = %49
  %66 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %9, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %10, align 4
  br label %651

69:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #10
  store i8 1, ptr %14, align 1, !tbaa !11
  %70 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %71 unwind label %85

71:                                               ; preds = %69
  %72 = getelementptr inbounds %class.Filter, ptr %70, i32 0, i32 0
  %73 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #10
  %74 = icmp ugt i64 %73, 0
  br i1 %74, label %75, label %134

75:                                               ; preds = %71
  store i8 0, ptr %14, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %124, %75
  %77 = load i32, ptr %15, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %80 unwind label %89

80:                                               ; preds = %76
  %81 = getelementptr inbounds %class.Filter, ptr %79, i32 0, i32 0
  %82 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #10
  %83 = icmp ult i64 %78, %82
  br i1 %83, label %93, label %84

84:                                               ; preds = %80
  store i32 5, ptr %13, align 4
  br label %127

85:                                               ; preds = %636, %634, %601, %599, %524, %522, %447, %445, %370, %368, %293, %291, %258, %256, %195, %134, %69
  %86 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %9, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %10, align 4
  br label %650

89:                                               ; preds = %76
  %90 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %9, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %10, align 4
  br label %128

93:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %94 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %94)
          to label %95 unwind label %114

95:                                               ; preds = %93
  %96 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %97 unwind label %118

97:                                               ; preds = %95
  %98 = getelementptr inbounds %class.PkiItem, ptr %96, i32 0, i32 5
  %99 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %98)
          to label %100 unwind label %118

100:                                              ; preds = %97
  %101 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %99) #10
  %102 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %103 unwind label %118

103:                                              ; preds = %100
  %104 = getelementptr inbounds %class.Filter, ptr %102, i32 0, i32 0
  %105 = load i32, ptr %15, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %106) #10
  %108 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %107)
          to label %109 unwind label %118

109:                                              ; preds = %103
  %110 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %108) #10
  %111 = call i32 @strcmp(ptr noundef %101, ptr noundef %110) #13
  %112 = icmp eq i32 %111, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br i1 %112, label %113, label %123

113:                                              ; preds = %109
  store i8 1, ptr %14, align 1, !tbaa !11
  store i32 5, ptr %13, align 4
  br label %127

114:                                              ; preds = %93
  %115 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %9, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %10, align 4
  br label %122

118:                                              ; preds = %103, %100, %97, %95
  %119 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %9, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %10, align 4
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  br label %122

122:                                              ; preds = %118, %114
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %128

123:                                              ; preds = %109
  br label %124

124:                                              ; preds = %123
  %125 = load i32, ptr %15, align 4, !tbaa !9
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %15, align 4, !tbaa !9
  br label %76, !llvm.loop !13

127:                                              ; preds = %113, %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %129

128:                                              ; preds = %122, %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  br label %650

129:                                              ; preds = %127
  %130 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %131 = trunc i8 %130 to i1
  br i1 %131, label %133, label %132

132:                                              ; preds = %129
  store i32 4, ptr %13, align 4
  br label %640

133:                                              ; preds = %129
  br label %134

134:                                              ; preds = %133, %71
  %135 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %136 unwind label %85

136:                                              ; preds = %134
  %137 = getelementptr inbounds %class.Filter, ptr %135, i32 0, i32 1
  %138 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #10
  %139 = icmp ugt i64 %138, 0
  br i1 %139, label %140, label %195

140:                                              ; preds = %136
  store i8 0, ptr %14, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %141

141:                                              ; preds = %185, %140
  %142 = load i32, ptr %17, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %145 unwind label %150

145:                                              ; preds = %141
  %146 = getelementptr inbounds %class.Filter, ptr %144, i32 0, i32 1
  %147 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %146) #10
  %148 = icmp ult i64 %143, %147
  br i1 %148, label %154, label %149

149:                                              ; preds = %145
  store i32 8, ptr %13, align 4
  br label %188

150:                                              ; preds = %141
  %151 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %9, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %10, align 4
  br label %189

154:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %155 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %155)
          to label %156 unwind label %175

156:                                              ; preds = %154
  %157 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %158 unwind label %179

158:                                              ; preds = %156
  %159 = getelementptr inbounds %class.PkiItem, ptr %157, i32 0, i32 7
  %160 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %159)
          to label %161 unwind label %179

161:                                              ; preds = %158
  %162 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %160) #10
  %163 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %164 unwind label %179

164:                                              ; preds = %161
  %165 = getelementptr inbounds %class.Filter, ptr %163, i32 0, i32 1
  %166 = load i32, ptr %17, align 4, !tbaa !9
  %167 = sext i32 %166 to i64
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %167) #10
  %169 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %168)
          to label %170 unwind label %179

170:                                              ; preds = %164
  %171 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %169) #10
  %172 = call i32 @strcmp(ptr noundef %162, ptr noundef %171) #13
  %173 = icmp eq i32 %172, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br i1 %173, label %174, label %184

174:                                              ; preds = %170
  store i8 1, ptr %14, align 1, !tbaa !11
  store i32 8, ptr %13, align 4
  br label %188

175:                                              ; preds = %154
  %176 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %9, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %10, align 4
  br label %183

179:                                              ; preds = %164, %161, %158, %156
  %180 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %9, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %10, align 4
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br label %183

183:                                              ; preds = %179, %175
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %189

184:                                              ; preds = %170
  br label %185

185:                                              ; preds = %184
  %186 = load i32, ptr %17, align 4, !tbaa !9
  %187 = add nsw i32 %186, 1
  store i32 %187, ptr %17, align 4, !tbaa !9
  br label %141, !llvm.loop !17

188:                                              ; preds = %174, %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %190

189:                                              ; preds = %183, %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %650

190:                                              ; preds = %188
  %191 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %192 = trunc i8 %191 to i1
  br i1 %192, label %194, label %193

193:                                              ; preds = %190
  store i32 4, ptr %13, align 4
  br label %640

194:                                              ; preds = %190
  br label %195

195:                                              ; preds = %194, %136
  %196 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %197 unwind label %85

197:                                              ; preds = %195
  %198 = getelementptr inbounds %class.Filter, ptr %196, i32 0, i32 2
  %199 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %198) #10
  %200 = icmp ugt i64 %199, 0
  br i1 %200, label %201, label %256

201:                                              ; preds = %197
  store i8 0, ptr %14, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %202

202:                                              ; preds = %246, %201
  %203 = load i32, ptr %19, align 4, !tbaa !9
  %204 = sext i32 %203 to i64
  %205 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %206 unwind label %211

206:                                              ; preds = %202
  %207 = getelementptr inbounds %class.Filter, ptr %205, i32 0, i32 2
  %208 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %207) #10
  %209 = icmp ult i64 %204, %208
  br i1 %209, label %215, label %210

210:                                              ; preds = %206
  store i32 11, ptr %13, align 4
  br label %249

211:                                              ; preds = %202
  %212 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %9, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %10, align 4
  br label %250

215:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  %216 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %216)
          to label %217 unwind label %236

217:                                              ; preds = %215
  %218 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %219 unwind label %240

219:                                              ; preds = %217
  %220 = getelementptr inbounds %class.PkiItem, ptr %218, i32 0, i32 8
  %221 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %220)
          to label %222 unwind label %240

222:                                              ; preds = %219
  %223 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %221) #10
  %224 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %225 unwind label %240

225:                                              ; preds = %222
  %226 = getelementptr inbounds %class.Filter, ptr %224, i32 0, i32 2
  %227 = load i32, ptr %19, align 4, !tbaa !9
  %228 = sext i32 %227 to i64
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %226, i64 noundef %228) #10
  %230 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %229)
          to label %231 unwind label %240

231:                                              ; preds = %225
  %232 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %230) #10
  %233 = call i32 @strcmp(ptr noundef %223, ptr noundef %232) #13
  %234 = icmp eq i32 %233, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br i1 %234, label %235, label %245

235:                                              ; preds = %231
  store i8 1, ptr %14, align 1, !tbaa !11
  store i32 11, ptr %13, align 4
  br label %249

236:                                              ; preds = %215
  %237 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %9, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %10, align 4
  br label %244

240:                                              ; preds = %225, %222, %219, %217
  %241 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %9, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %10, align 4
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  br label %244

244:                                              ; preds = %240, %236
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %250

245:                                              ; preds = %231
  br label %246

246:                                              ; preds = %245
  %247 = load i32, ptr %19, align 4, !tbaa !9
  %248 = add nsw i32 %247, 1
  store i32 %248, ptr %19, align 4, !tbaa !9
  br label %202, !llvm.loop !18

249:                                              ; preds = %235, %210
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  br label %251

250:                                              ; preds = %244, %211
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  br label %650

251:                                              ; preds = %249
  %252 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %253 = trunc i8 %252 to i1
  br i1 %253, label %255, label %254

254:                                              ; preds = %251
  store i32 4, ptr %13, align 4
  br label %640

255:                                              ; preds = %251
  br label %256

256:                                              ; preds = %255, %197
  %257 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %258 unwind label %85

258:                                              ; preds = %256
  %259 = getelementptr inbounds %class.Filter, ptr %257, i32 0, i32 3
  %260 = invoke noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %259)
          to label %261 unwind label %85

261:                                              ; preds = %258
  br i1 %260, label %291, label %262

262:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %263 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %21, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %263)
          to label %264 unwind label %280

264:                                              ; preds = %262
  %265 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %266 unwind label %284

266:                                              ; preds = %264
  %267 = getelementptr inbounds %class.PkiItem, ptr %265, i32 0, i32 9
  %268 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %267)
          to label %269 unwind label %284

269:                                              ; preds = %266
  %270 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %268) #10
  %271 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %272 unwind label %284

272:                                              ; preds = %269
  %273 = getelementptr inbounds %class.Filter, ptr %271, i32 0, i32 3
  %274 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %273)
          to label %275 unwind label %284

275:                                              ; preds = %272
  %276 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %274) #10
  %277 = call i32 @strcmp(ptr noundef %270, ptr noundef %276) #13
  %278 = icmp eq i32 %277, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br i1 %278, label %279, label %289

279:                                              ; preds = %275
  store i8 1, ptr %14, align 1, !tbaa !11
  br label %290

280:                                              ; preds = %262
  %281 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %9, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %10, align 4
  br label %288

284:                                              ; preds = %272, %269, %266, %264
  %285 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %9, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %10, align 4
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #10
  br label %288

288:                                              ; preds = %284, %280
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %650

289:                                              ; preds = %275
  store i8 0, ptr %14, align 1, !tbaa !11
  store i32 4, ptr %13, align 4
  br label %640

290:                                              ; preds = %279
  br label %291

291:                                              ; preds = %290, %261
  %292 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %293 unwind label %85

293:                                              ; preds = %291
  %294 = getelementptr inbounds %class.Filter, ptr %292, i32 0, i32 4
  %295 = invoke noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %294)
          to label %296 unwind label %85

296:                                              ; preds = %293
  br i1 %295, label %368, label %297

297:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %298 = load i32, ptr %11, align 4, !tbaa !9
  store i1 false, ptr %24, align 1
  store i1 false, ptr %25, align 1
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %298)
          to label %299 unwind label %341

299:                                              ; preds = %297
  %300 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %301 unwind label %345

301:                                              ; preds = %299
  %302 = getelementptr inbounds %class.IPkiCertificate, ptr %300, i32 0, i32 1
  %303 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %302)
          to label %304 unwind label %345

304:                                              ; preds = %301
  %305 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %303) #10
  %306 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %307 unwind label %345

307:                                              ; preds = %304
  %308 = getelementptr inbounds %class.Filter, ptr %306, i32 0, i32 4
  %309 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %308)
          to label %310 unwind label %345

310:                                              ; preds = %307
  %311 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %309) #10
  %312 = call i32 @strcmp(ptr noundef %305, ptr noundef %311) #13
  %313 = icmp eq i32 %312, 0
  br i1 %313, label %332, label %314

314:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  store i1 true, ptr %24, align 1
  %315 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %315)
          to label %316 unwind label %349

316:                                              ; preds = %314
  store i1 true, ptr %25, align 1
  %317 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %318 unwind label %353

318:                                              ; preds = %316
  %319 = getelementptr inbounds i8, ptr %317, i64 216
  %320 = getelementptr inbounds %class.IPkiRequest, ptr %319, i32 0, i32 1
  %321 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %320)
          to label %322 unwind label %353

322:                                              ; preds = %318
  %323 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %321) #10
  %324 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %325 unwind label %353

325:                                              ; preds = %322
  %326 = getelementptr inbounds %class.Filter, ptr %324, i32 0, i32 4
  %327 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %326)
          to label %328 unwind label %353

328:                                              ; preds = %325
  %329 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %327) #10
  %330 = call i32 @strcmp(ptr noundef %323, ptr noundef %329) #13
  %331 = icmp eq i32 %330, 0
  br label %332

332:                                              ; preds = %328, %310
  %333 = phi i1 [ true, %310 ], [ %331, %328 ]
  %334 = load i1, ptr %25, align 1
  br i1 %334, label %335, label %336

335:                                              ; preds = %332
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  br label %336

336:                                              ; preds = %335, %332
  %337 = load i1, ptr %24, align 1
  br i1 %337, label %338, label %339

338:                                              ; preds = %336
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %339

339:                                              ; preds = %338, %336
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br i1 %333, label %340, label %366

340:                                              ; preds = %339
  store i8 1, ptr %14, align 1, !tbaa !11
  br label %367

341:                                              ; preds = %297
  %342 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %9, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %10, align 4
  br label %365

345:                                              ; preds = %307, %304, %301, %299
  %346 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %9, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %10, align 4
  br label %364

349:                                              ; preds = %314
  %350 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %9, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %10, align 4
  br label %360

353:                                              ; preds = %325, %322, %318, %316
  %354 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %9, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %10, align 4
  %357 = load i1, ptr %25, align 1
  br i1 %357, label %358, label %359

358:                                              ; preds = %353
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #10
  br label %359

359:                                              ; preds = %358, %353
  br label %360

360:                                              ; preds = %359, %349
  %361 = load i1, ptr %24, align 1
  br i1 %361, label %362, label %363

362:                                              ; preds = %360
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %363

363:                                              ; preds = %362, %360
  br label %364

364:                                              ; preds = %363, %345
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  br label %365

365:                                              ; preds = %364, %341
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %650

366:                                              ; preds = %339
  store i8 0, ptr %14, align 1, !tbaa !11
  store i32 4, ptr %13, align 4
  br label %640

367:                                              ; preds = %340
  br label %368

368:                                              ; preds = %367, %296
  %369 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %370 unwind label %85

370:                                              ; preds = %368
  %371 = getelementptr inbounds %class.Filter, ptr %369, i32 0, i32 5
  %372 = invoke noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %371)
          to label %373 unwind label %85

373:                                              ; preds = %370
  br i1 %372, label %445, label %374

374:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %375 = load i32, ptr %11, align 4, !tbaa !9
  store i1 false, ptr %28, align 1
  store i1 false, ptr %29, align 1
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %26, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %375)
          to label %376 unwind label %418

376:                                              ; preds = %374
  %377 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %378 unwind label %422

378:                                              ; preds = %376
  %379 = getelementptr inbounds %class.IPkiCertificate, ptr %377, i32 0, i32 2
  %380 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %379)
          to label %381 unwind label %422

381:                                              ; preds = %378
  %382 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %380) #10
  %383 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %384 unwind label %422

384:                                              ; preds = %381
  %385 = getelementptr inbounds %class.Filter, ptr %383, i32 0, i32 5
  %386 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %385)
          to label %387 unwind label %422

387:                                              ; preds = %384
  %388 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %386) #10
  %389 = call i32 @strcmp(ptr noundef %382, ptr noundef %388) #13
  %390 = icmp eq i32 %389, 0
  br i1 %390, label %409, label %391

391:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  store i1 true, ptr %28, align 1
  %392 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %27, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %392)
          to label %393 unwind label %426

393:                                              ; preds = %391
  store i1 true, ptr %29, align 1
  %394 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %395 unwind label %430

395:                                              ; preds = %393
  %396 = getelementptr inbounds i8, ptr %394, i64 216
  %397 = getelementptr inbounds %class.IPkiRequest, ptr %396, i32 0, i32 2
  %398 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %397)
          to label %399 unwind label %430

399:                                              ; preds = %395
  %400 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %398) #10
  %401 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %402 unwind label %430

402:                                              ; preds = %399
  %403 = getelementptr inbounds %class.Filter, ptr %401, i32 0, i32 5
  %404 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %403)
          to label %405 unwind label %430

405:                                              ; preds = %402
  %406 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %404) #10
  %407 = call i32 @strcmp(ptr noundef %400, ptr noundef %406) #13
  %408 = icmp eq i32 %407, 0
  br label %409

409:                                              ; preds = %405, %387
  %410 = phi i1 [ true, %387 ], [ %408, %405 ]
  %411 = load i1, ptr %29, align 1
  br i1 %411, label %412, label %413

412:                                              ; preds = %409
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #10
  br label %413

413:                                              ; preds = %412, %409
  %414 = load i1, ptr %28, align 1
  br i1 %414, label %415, label %416

415:                                              ; preds = %413
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  br label %416

416:                                              ; preds = %415, %413
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br i1 %410, label %417, label %443

417:                                              ; preds = %416
  store i8 1, ptr %14, align 1, !tbaa !11
  br label %444

418:                                              ; preds = %374
  %419 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %9, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %10, align 4
  br label %442

422:                                              ; preds = %384, %381, %378, %376
  %423 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %9, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %10, align 4
  br label %441

426:                                              ; preds = %391
  %427 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %9, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %10, align 4
  br label %437

430:                                              ; preds = %402, %399, %395, %393
  %431 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %9, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %10, align 4
  %434 = load i1, ptr %29, align 1
  br i1 %434, label %435, label %436

435:                                              ; preds = %430
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #10
  br label %436

436:                                              ; preds = %435, %430
  br label %437

437:                                              ; preds = %436, %426
  %438 = load i1, ptr %28, align 1
  br i1 %438, label %439, label %440

439:                                              ; preds = %437
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  br label %440

440:                                              ; preds = %439, %437
  br label %441

441:                                              ; preds = %440, %422
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #10
  br label %442

442:                                              ; preds = %441, %418
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br label %650

443:                                              ; preds = %416
  store i8 0, ptr %14, align 1, !tbaa !11
  store i32 4, ptr %13, align 4
  br label %640

444:                                              ; preds = %417
  br label %445

445:                                              ; preds = %444, %373
  %446 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %447 unwind label %85

447:                                              ; preds = %445
  %448 = getelementptr inbounds %class.Filter, ptr %446, i32 0, i32 6
  %449 = invoke noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %448)
          to label %450 unwind label %85

450:                                              ; preds = %447
  br i1 %449, label %522, label %451

451:                                              ; preds = %450
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %452 = load i32, ptr %11, align 4, !tbaa !9
  store i1 false, ptr %32, align 1
  store i1 false, ptr %33, align 1
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %30, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %452)
          to label %453 unwind label %495

453:                                              ; preds = %451
  %454 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %455 unwind label %499

455:                                              ; preds = %453
  %456 = getelementptr inbounds %class.IPkiCertificate, ptr %454, i32 0, i32 3
  %457 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %456)
          to label %458 unwind label %499

458:                                              ; preds = %455
  %459 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %457) #10
  %460 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %461 unwind label %499

461:                                              ; preds = %458
  %462 = getelementptr inbounds %class.Filter, ptr %460, i32 0, i32 6
  %463 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %462)
          to label %464 unwind label %499

464:                                              ; preds = %461
  %465 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %463) #10
  %466 = call i32 @strcmp(ptr noundef %459, ptr noundef %465) #13
  %467 = icmp eq i32 %466, 0
  br i1 %467, label %486, label %468

468:                                              ; preds = %464
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  store i1 true, ptr %32, align 1
  %469 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %31, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %469)
          to label %470 unwind label %503

470:                                              ; preds = %468
  store i1 true, ptr %33, align 1
  %471 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %472 unwind label %507

472:                                              ; preds = %470
  %473 = getelementptr inbounds i8, ptr %471, i64 112
  %474 = getelementptr inbounds %class.IPkiCrl, ptr %473, i32 0, i32 1
  %475 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %474)
          to label %476 unwind label %507

476:                                              ; preds = %472
  %477 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %475) #10
  %478 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %479 unwind label %507

479:                                              ; preds = %476
  %480 = getelementptr inbounds %class.Filter, ptr %478, i32 0, i32 6
  %481 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %480)
          to label %482 unwind label %507

482:                                              ; preds = %479
  %483 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %481) #10
  %484 = call i32 @strcmp(ptr noundef %477, ptr noundef %483) #13
  %485 = icmp eq i32 %484, 0
  br label %486

486:                                              ; preds = %482, %464
  %487 = phi i1 [ true, %464 ], [ %485, %482 ]
  %488 = load i1, ptr %33, align 1
  br i1 %488, label %489, label %490

489:                                              ; preds = %486
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  br label %490

490:                                              ; preds = %489, %486
  %491 = load i1, ptr %32, align 1
  br i1 %491, label %492, label %493

492:                                              ; preds = %490
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %493

493:                                              ; preds = %492, %490
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br i1 %487, label %494, label %520

494:                                              ; preds = %493
  store i8 1, ptr %14, align 1, !tbaa !11
  br label %521

495:                                              ; preds = %451
  %496 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %497 = extractvalue { ptr, i32 } %496, 0
  store ptr %497, ptr %9, align 8
  %498 = extractvalue { ptr, i32 } %496, 1
  store i32 %498, ptr %10, align 4
  br label %519

499:                                              ; preds = %461, %458, %455, %453
  %500 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %501 = extractvalue { ptr, i32 } %500, 0
  store ptr %501, ptr %9, align 8
  %502 = extractvalue { ptr, i32 } %500, 1
  store i32 %502, ptr %10, align 4
  br label %518

503:                                              ; preds = %468
  %504 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %505 = extractvalue { ptr, i32 } %504, 0
  store ptr %505, ptr %9, align 8
  %506 = extractvalue { ptr, i32 } %504, 1
  store i32 %506, ptr %10, align 4
  br label %514

507:                                              ; preds = %479, %476, %472, %470
  %508 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %509 = extractvalue { ptr, i32 } %508, 0
  store ptr %509, ptr %9, align 8
  %510 = extractvalue { ptr, i32 } %508, 1
  store i32 %510, ptr %10, align 4
  %511 = load i1, ptr %33, align 1
  br i1 %511, label %512, label %513

512:                                              ; preds = %507
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  br label %513

513:                                              ; preds = %512, %507
  br label %514

514:                                              ; preds = %513, %503
  %515 = load i1, ptr %32, align 1
  br i1 %515, label %516, label %517

516:                                              ; preds = %514
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %517

517:                                              ; preds = %516, %514
  br label %518

518:                                              ; preds = %517, %499
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  br label %519

519:                                              ; preds = %518, %495
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br label %650

520:                                              ; preds = %493
  store i8 0, ptr %14, align 1, !tbaa !11
  store i32 4, ptr %13, align 4
  br label %640

521:                                              ; preds = %494
  br label %522

522:                                              ; preds = %521, %450
  %523 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %524 unwind label %85

524:                                              ; preds = %522
  %525 = getelementptr inbounds %class.Filter, ptr %523, i32 0, i32 7
  %526 = invoke noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %525)
          to label %527 unwind label %85

527:                                              ; preds = %524
  br i1 %526, label %599, label %528

528:                                              ; preds = %527
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %529 = load i32, ptr %11, align 4, !tbaa !9
  store i1 false, ptr %36, align 1
  store i1 false, ptr %37, align 1
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %34, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %529)
          to label %530 unwind label %572

530:                                              ; preds = %528
  %531 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %532 unwind label %576

532:                                              ; preds = %530
  %533 = getelementptr inbounds %class.IPkiCertificate, ptr %531, i32 0, i32 4
  %534 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %533)
          to label %535 unwind label %576

535:                                              ; preds = %532
  %536 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %534) #10
  %537 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %538 unwind label %576

538:                                              ; preds = %535
  %539 = getelementptr inbounds %class.Filter, ptr %537, i32 0, i32 7
  %540 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %539)
          to label %541 unwind label %576

541:                                              ; preds = %538
  %542 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %540) #10
  %543 = call i32 @strcmp(ptr noundef %536, ptr noundef %542) #13
  %544 = icmp eq i32 %543, 0
  br i1 %544, label %563, label %545

545:                                              ; preds = %541
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  store i1 true, ptr %36, align 1
  %546 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %35, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %546)
          to label %547 unwind label %580

547:                                              ; preds = %545
  store i1 true, ptr %37, align 1
  %548 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %549 unwind label %584

549:                                              ; preds = %547
  %550 = getelementptr inbounds i8, ptr %548, i64 112
  %551 = getelementptr inbounds %class.IPkiCrl, ptr %550, i32 0, i32 2
  %552 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %551)
          to label %553 unwind label %584

553:                                              ; preds = %549
  %554 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %552) #10
  %555 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %556 unwind label %584

556:                                              ; preds = %553
  %557 = getelementptr inbounds %class.Filter, ptr %555, i32 0, i32 7
  %558 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %557)
          to label %559 unwind label %584

559:                                              ; preds = %556
  %560 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %558) #10
  %561 = call i32 @strcmp(ptr noundef %554, ptr noundef %560) #13
  %562 = icmp eq i32 %561, 0
  br label %563

563:                                              ; preds = %559, %541
  %564 = phi i1 [ true, %541 ], [ %562, %559 ]
  %565 = load i1, ptr %37, align 1
  br i1 %565, label %566, label %567

566:                                              ; preds = %563
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #10
  br label %567

567:                                              ; preds = %566, %563
  %568 = load i1, ptr %36, align 1
  br i1 %568, label %569, label %570

569:                                              ; preds = %567
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  br label %570

570:                                              ; preds = %569, %567
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  br i1 %564, label %571, label %597

571:                                              ; preds = %570
  store i8 1, ptr %14, align 1, !tbaa !11
  br label %598

572:                                              ; preds = %528
  %573 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %574 = extractvalue { ptr, i32 } %573, 0
  store ptr %574, ptr %9, align 8
  %575 = extractvalue { ptr, i32 } %573, 1
  store i32 %575, ptr %10, align 4
  br label %596

576:                                              ; preds = %538, %535, %532, %530
  %577 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %578 = extractvalue { ptr, i32 } %577, 0
  store ptr %578, ptr %9, align 8
  %579 = extractvalue { ptr, i32 } %577, 1
  store i32 %579, ptr %10, align 4
  br label %595

580:                                              ; preds = %545
  %581 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %582 = extractvalue { ptr, i32 } %581, 0
  store ptr %582, ptr %9, align 8
  %583 = extractvalue { ptr, i32 } %581, 1
  store i32 %583, ptr %10, align 4
  br label %591

584:                                              ; preds = %556, %553, %549, %547
  %585 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %586 = extractvalue { ptr, i32 } %585, 0
  store ptr %586, ptr %9, align 8
  %587 = extractvalue { ptr, i32 } %585, 1
  store i32 %587, ptr %10, align 4
  %588 = load i1, ptr %37, align 1
  br i1 %588, label %589, label %590

589:                                              ; preds = %584
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #10
  br label %590

590:                                              ; preds = %589, %584
  br label %591

591:                                              ; preds = %590, %580
  %592 = load i1, ptr %36, align 1
  br i1 %592, label %593, label %594

593:                                              ; preds = %591
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  br label %594

594:                                              ; preds = %593, %591
  br label %595

595:                                              ; preds = %594, %576
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #10
  br label %596

596:                                              ; preds = %595, %572
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  br label %650

597:                                              ; preds = %570
  store i8 0, ptr %14, align 1, !tbaa !11
  store i32 4, ptr %13, align 4
  br label %640

598:                                              ; preds = %571
  br label %599

599:                                              ; preds = %598, %527
  %600 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %601 unwind label %85

601:                                              ; preds = %599
  %602 = getelementptr inbounds %class.Filter, ptr %600, i32 0, i32 9
  %603 = invoke noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %602)
          to label %604 unwind label %85

604:                                              ; preds = %601
  br i1 %603, label %634, label %605

605:                                              ; preds = %604
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  %606 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %38, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %606)
          to label %607 unwind label %623

607:                                              ; preds = %605
  %608 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %609 unwind label %627

609:                                              ; preds = %607
  %610 = getelementptr inbounds %class.IPkiCertificate, ptr %608, i32 0, i32 7
  %611 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %610)
          to label %612 unwind label %627

612:                                              ; preds = %609
  %613 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %611) #10
  %614 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %615 unwind label %627

615:                                              ; preds = %612
  %616 = getelementptr inbounds %class.Filter, ptr %614, i32 0, i32 9
  %617 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %616)
          to label %618 unwind label %627

618:                                              ; preds = %615
  %619 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %617) #10
  %620 = call i32 @strcmp(ptr noundef %613, ptr noundef %619) #13
  %621 = icmp eq i32 %620, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br i1 %621, label %622, label %632

622:                                              ; preds = %618
  store i8 1, ptr %14, align 1, !tbaa !11
  br label %633

623:                                              ; preds = %605
  %624 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %625 = extractvalue { ptr, i32 } %624, 0
  store ptr %625, ptr %9, align 8
  %626 = extractvalue { ptr, i32 } %624, 1
  store i32 %626, ptr %10, align 4
  br label %631

627:                                              ; preds = %615, %612, %609, %607
  %628 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %629 = extractvalue { ptr, i32 } %628, 0
  store ptr %629, ptr %9, align 8
  %630 = extractvalue { ptr, i32 } %628, 1
  store i32 %630, ptr %10, align 4
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #10
  br label %631

631:                                              ; preds = %627, %623
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br label %650

632:                                              ; preds = %618
  store i8 0, ptr %14, align 1, !tbaa !11
  store i32 4, ptr %13, align 4
  br label %640

633:                                              ; preds = %622
  br label %634

634:                                              ; preds = %633, %604
  %635 = invoke noundef ptr @_ZNK6HandleI17PkiItemCollectionEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %636 unwind label %85

636:                                              ; preds = %634
  %637 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind writable sret(%class.Handle.14) align 8 %39, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %637)
          to label %638 unwind label %85

638:                                              ; preds = %636
  invoke void @_ZN17PkiItemCollection4pushE6HandleI7PkiItemE(ptr noundef nonnull align 8 dereferenceable(24) %635, ptr noundef %39)
          to label %639 unwind label %646

639:                                              ; preds = %638
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #10
  store i32 0, ptr %13, align 4
  br label %640

640:                                              ; preds = %639, %632, %597, %520, %443, %366, %289, %254, %193, %132
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  %641 = load i32, ptr %13, align 4
  switch i32 %641, label %715 [
    i32 0, label %642
    i32 4, label %643
  ]

642:                                              ; preds = %640
  br label %643

643:                                              ; preds = %642, %640
  %644 = load i32, ptr %11, align 4, !tbaa !9
  %645 = add nsw i32 %644, 1
  store i32 %645, ptr %11, align 4, !tbaa !9
  br label %52, !llvm.loop !19

646:                                              ; preds = %638
  %647 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %648 = extractvalue { ptr, i32 } %647, 0
  store ptr %648, ptr %9, align 8
  %649 = extractvalue { ptr, i32 } %647, 1
  store i32 %649, ptr %10, align 4
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #10
  br label %650

650:                                              ; preds = %646, %631, %596, %519, %442, %365, %288, %250, %189, %128, %85
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  br label %651

651:                                              ; preds = %650, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @_ZN6HandleI17PkiItemCollectionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #10
  br label %652

652:                                              ; preds = %651, %61, %57
  %653 = load i32, ptr %10, align 4
  %654 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTI6HandleI9ExceptionE) #10
  %655 = icmp eq i32 %653, %654
  br i1 %655, label %656, label %706

656:                                              ; preds = %652
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  %657 = load ptr, ptr %9, align 8
  %658 = call ptr @__cxa_begin_catch(ptr %657) #10
  store ptr %658, ptr %40, align 8
  %659 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %659, ptr noundef @__FUNCTION__._ZN17PkiItemCollection4findE6HandleI6FilterE, ptr noundef @.str.1)
          to label %660 unwind label %673

660:                                              ; preds = %656
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #10
  %661 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #11
          to label %662 unwind label %677

662:                                              ; preds = %660
  store i1 true, ptr %43, align 1
  %663 = load ptr, ptr %40, align 8, !tbaa !5
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %663)
          to label %664 unwind label %681

664:                                              ; preds = %662
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %661, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 379, i32 noundef 0, ptr noundef @__FUNCTION__._ZN17PkiItemCollectionC2Ev, ptr noundef @__FUNCTION__._ZN17PkiItemCollection4findE6HandleI6FilterE, ptr noundef %42, ptr noundef @.str.1)
          to label %665 unwind label %685

665:                                              ; preds = %664
  store i1 false, ptr %43, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef %661)
          to label %666 unwind label %685

666:                                              ; preds = %665
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #10
  %667 = call ptr @__cxa_allocate_exception(i64 8) #10
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %667, ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %668 unwind label %693

668:                                              ; preds = %666
  invoke void @__cxa_throw(ptr %667, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #14
          to label %715 unwind label %697

669:                                              ; preds = %56
  store i1 true, ptr %8, align 1
  store i32 1, ptr %13, align 4
  %670 = load i1, ptr %8, align 1
  br i1 %670, label %672, label %671

671:                                              ; preds = %669
  call void @_ZN6HandleI17PkiItemCollectionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #10
  br label %672

672:                                              ; preds = %671, %669
  call void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #10
  ret void

673:                                              ; preds = %656
  %674 = landingpad { ptr, i32 }
          cleanup
  %675 = extractvalue { ptr, i32 } %674, 0
  store ptr %675, ptr %9, align 8
  %676 = extractvalue { ptr, i32 } %674, 1
  store i32 %676, ptr %10, align 4
  br label %703

677:                                              ; preds = %660
  %678 = landingpad { ptr, i32 }
          cleanup
  %679 = extractvalue { ptr, i32 } %678, 0
  store ptr %679, ptr %9, align 8
  %680 = extractvalue { ptr, i32 } %678, 1
  store i32 %680, ptr %10, align 4
  br label %702

681:                                              ; preds = %662
  %682 = landingpad { ptr, i32 }
          cleanup
  %683 = extractvalue { ptr, i32 } %682, 0
  store ptr %683, ptr %9, align 8
  %684 = extractvalue { ptr, i32 } %682, 1
  store i32 %684, ptr %10, align 4
  br label %689

685:                                              ; preds = %665, %664
  %686 = landingpad { ptr, i32 }
          cleanup
  %687 = extractvalue { ptr, i32 } %686, 0
  store ptr %687, ptr %9, align 8
  %688 = extractvalue { ptr, i32 } %686, 1
  store i32 %688, ptr %10, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #10
  br label %689

689:                                              ; preds = %685, %681
  %690 = load i1, ptr %43, align 1
  br i1 %690, label %691, label %692

691:                                              ; preds = %689
  call void @_ZdlPvm(ptr noundef %661, i64 noundef 176) #12
  br label %692

692:                                              ; preds = %691, %689
  br label %702

693:                                              ; preds = %666
  %694 = landingpad { ptr, i32 }
          cleanup
  %695 = extractvalue { ptr, i32 } %694, 0
  store ptr %695, ptr %9, align 8
  %696 = extractvalue { ptr, i32 } %694, 1
  store i32 %696, ptr %10, align 4
  call void @__cxa_free_exception(ptr %667) #10
  br label %701

697:                                              ; preds = %668
  %698 = landingpad { ptr, i32 }
          cleanup
  %699 = extractvalue { ptr, i32 } %698, 0
  store ptr %699, ptr %9, align 8
  %700 = extractvalue { ptr, i32 } %698, 1
  store i32 %700, ptr %10, align 4
  br label %701

701:                                              ; preds = %697, %693
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #10
  br label %702

702:                                              ; preds = %701, %692, %677
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  br label %703

703:                                              ; preds = %702, %673
  invoke void @__cxa_end_catch()
          to label %704 unwind label %712

704:                                              ; preds = %703
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  br label %706

705:                                              ; No predecessors!
  unreachable

706:                                              ; preds = %704, %652
  call void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #10
  br label %707

707:                                              ; preds = %706
  %708 = load ptr, ptr %9, align 8
  %709 = load i32, ptr %10, align 4
  %710 = insertvalue { ptr, i32 } poison, ptr %708, 0
  %711 = insertvalue { ptr, i32 } %710, i32 %709, 1
  resume { ptr, i32 } %711

712:                                              ; preds = %703
  %713 = landingpad { ptr, i32 }
          catch ptr null
  %714 = extractvalue { ptr, i32 } %713, 0
  call void @__clang_call_terminate(ptr %714) #15
  unreachable

715:                                              ; preds = %668, %640
  unreachable
}

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #8

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #7 align 2

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

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

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #9

declare void @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ...) #1

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

declare void @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176), i1 noundef zeroext, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) unnamed_addr #1

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_free_exception(ptr)

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_end_catch()

declare void @_ZN17PkiItemCollectionC1Ev(ptr)

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

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

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


; 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.Handle.14 = type { ptr }
%class.Handle = type { ptr }
%class.LoggerFunction = type { %class.Handle.0, ptr }
%class.Handle.0 = type { ptr }
%class.Handle.21 = type { ptr }

@logger = external local_unnamed_addr global ptr, align 8
@__FUNCTION__._ZN17PkiItemCollectionC2Ev = external hidden unnamed_addr constant [18 x i8], align 1
@__FUNCTION__._ZN17PkiItemCollection4findE6HandleI6FilterE = external hidden unnamed_addr constant [5 x i8], align 1
@_ZTI6HandleI9ExceptionE = external dso_local constant { ptr, ptr }, align 8
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [101 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 void @_ZN14LoggerFunctionC1EP6LoggerPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #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: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #3

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind noalias writable sret(%class.Handle.14) align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN17PkiItemCollection6lengthEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17PkiItemCollection4pushE6HandleI7PkiItemE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17PkiItemCollection4findE6HandleI6FilterE(ptr dead_on_unwind noalias writable sret(%class.Handle) align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2) local_unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.LoggerFunction, align 8
  %5 = alloca %class.Handle.14, align 8
  %6 = alloca %class.Handle.14, align 8
  %7 = alloca %class.Handle.14, align 8
  %8 = alloca %class.Handle.14, align 8
  %9 = alloca %class.Handle.14, align 8
  %10 = alloca %class.Handle.14, align 8
  %11 = alloca %class.Handle.14, align 8
  %12 = alloca %class.Handle.14, align 8
  %13 = alloca %class.Handle.14, align 8
  %14 = alloca %class.Handle.14, align 8
  %15 = alloca %class.Handle.14, align 8
  %16 = alloca %class.Handle.14, align 8
  %17 = alloca %class.Handle.14, align 8
  %18 = alloca %class.Handle.14, align 8
  %19 = alloca %class.Handle.21, align 8
  %20 = alloca %class.Handle.21, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #10
  %21 = load ptr, ptr @logger, align 8, !tbaa !5
  call void @_ZN14LoggerFunctionC1EP6LoggerPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %21, ptr noundef nonnull @__FUNCTION__._ZN17PkiItemCollection4findE6HandleI6FilterE)
  %22 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #11
          to label %23 unwind label %28

23:                                               ; preds = %3
  invoke void @_ZN17PkiItemCollectionC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %24 unwind label %30

24:                                               ; preds = %23
  invoke void @_ZN6HandleI17PkiItemCollectionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %22)
          to label %25 unwind label %28

25:                                               ; preds = %24
  %26 = invoke noundef i32 @_ZN17PkiItemCollection6lengthEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %.preheader161 unwind label %32

.preheader161:                                    ; preds = %25
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %.lr.ph, label %._crit_edge

28:                                               ; preds = %24, %3
  %29 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %376

30:                                               ; preds = %23
  %31 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZdlPvm(ptr noundef nonnull %22, i64 noundef 24) #12
  br label %376

32:                                               ; preds = %25
  %33 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %375

.lr.ph:                                           ; preds = %.preheader161, %.critedge
  %.067162 = phi i32 [ %372, %.critedge ], [ 0, %.preheader161 ]
  %34 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %35 unwind label %41

35:                                               ; preds = %.lr.ph
  %36 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #10
  %.not = icmp eq i64 %36, 0
  br i1 %.not, label %.loopexit160, label %.preheader158

.preheader158:                                    ; preds = %35, %57
  %indvars.iv = phi i64 [ %indvars.iv.next, %57 ], [ 0, %35 ]
  %37 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %38 unwind label %43

38:                                               ; preds = %.preheader158
  %39 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #10
  %40 = icmp ugt i64 %39, %indvars.iv
  br i1 %40, label %45, label %.critedge

41:                                               ; preds = %369, %367, %341, %295, %249, %203, %157, %.loopexit, %.loopexit157, %.loopexit160, %.lr.ph
  %42 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %375

43:                                               ; preds = %.preheader158
  %44 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %375

45:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %5, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %46 unwind label %61

46:                                               ; preds = %45
  %47 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %48 unwind label %63

48:                                               ; preds = %46
  %49 = getelementptr inbounds i8, ptr %47, i64 264
  %50 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %49)
          to label %51 unwind label %63

51:                                               ; preds = %48
  %52 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %50) #10
  %53 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %54 unwind label %63

54:                                               ; preds = %51
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %indvars.iv) #10
  %56 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %55)
          to label %57 unwind label %63

57:                                               ; preds = %54
  %58 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %56) #10
  %59 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %52, ptr noundef nonnull dereferenceable(1) %58) #13
  %60 = icmp eq i32 %59, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br i1 %60, label %.loopexit160, label %.preheader158, !llvm.loop !9

61:                                               ; preds = %45
  %62 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %65

63:                                               ; preds = %54, %51, %48, %46
  %64 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #10
  br label %65

65:                                               ; preds = %63, %61
  %.pn = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  br label %375

.loopexit160:                                     ; preds = %57, %35
  %66 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %67 unwind label %41

67:                                               ; preds = %.loopexit160
  %68 = getelementptr inbounds i8, ptr %66, i64 24
  %69 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #10
  %.not99 = icmp eq i64 %69, 0
  br i1 %.not99, label %.loopexit157, label %.preheader155

.preheader155:                                    ; preds = %67, %90
  %indvars.iv166 = phi i64 [ %indvars.iv.next167, %90 ], [ 0, %67 ]
  %70 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %71 unwind label %75

71:                                               ; preds = %.preheader155
  %72 = getelementptr inbounds i8, ptr %70, i64 24
  %73 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #10
  %74 = icmp ugt i64 %73, %indvars.iv166
  br i1 %74, label %77, label %.critedge

75:                                               ; preds = %.preheader155
  %76 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %375

77:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %78 unwind label %94

78:                                               ; preds = %77
  %79 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %80 unwind label %96

80:                                               ; preds = %78
  %81 = getelementptr inbounds i8, ptr %79, i64 280
  %82 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %81)
          to label %83 unwind label %96

83:                                               ; preds = %80
  %84 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %82) #10
  %85 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %86 unwind label %96

86:                                               ; preds = %83
  %87 = getelementptr inbounds i8, ptr %85, i64 24
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %indvars.iv166) #10
  %89 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %88)
          to label %90 unwind label %96

90:                                               ; preds = %86
  %91 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %89) #10
  %92 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %84, ptr noundef nonnull dereferenceable(1) %91) #13
  %93 = icmp eq i32 %92, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  br i1 %93, label %.loopexit157, label %.preheader155, !llvm.loop !11

94:                                               ; preds = %77
  %95 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %98

96:                                               ; preds = %86, %83, %80, %78
  %97 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  br label %98

98:                                               ; preds = %96, %94
  %.pn100 = phi { ptr, i32 } [ %97, %96 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  br label %375

.loopexit157:                                     ; preds = %90, %67
  %99 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %100 unwind label %41

100:                                              ; preds = %.loopexit157
  %101 = getelementptr inbounds i8, ptr %99, i64 48
  %102 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %101) #10
  %.not103 = icmp eq i64 %102, 0
  br i1 %.not103, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %100, %123
  %indvars.iv169 = phi i64 [ %indvars.iv.next170, %123 ], [ 0, %100 ]
  %103 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %104 unwind label %108

104:                                              ; preds = %.preheader
  %105 = getelementptr inbounds i8, ptr %103, i64 48
  %106 = call noundef i64 @_ZNKSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #10
  %107 = icmp ugt i64 %106, %indvars.iv169
  br i1 %107, label %110, label %.critedge

108:                                              ; preds = %.preheader
  %109 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %375

110:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %111 unwind label %127

111:                                              ; preds = %110
  %112 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %113 unwind label %129

113:                                              ; preds = %111
  %114 = getelementptr inbounds i8, ptr %112, i64 288
  %115 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %114)
          to label %116 unwind label %129

116:                                              ; preds = %113
  %117 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %115) #10
  %118 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %119 unwind label %129

119:                                              ; preds = %116
  %120 = getelementptr inbounds i8, ptr %118, i64 48
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %indvars.iv169) #10
  %122 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %121)
          to label %123 unwind label %129

123:                                              ; preds = %119
  %124 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %122) #10
  %125 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %117, ptr noundef nonnull dereferenceable(1) %124) #13
  %126 = icmp eq i32 %125, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  br i1 %126, label %.loopexit, label %.preheader, !llvm.loop !12

127:                                              ; preds = %110
  %128 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %131

129:                                              ; preds = %119, %116, %113, %111
  %130 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  br label %131

131:                                              ; preds = %129, %127
  %.pn104 = phi { ptr, i32 } [ %130, %129 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  br label %375

.loopexit:                                        ; preds = %123, %100
  %132 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %133 unwind label %41

133:                                              ; preds = %.loopexit
  %134 = getelementptr inbounds i8, ptr %132, i64 72
  %135 = call noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %134)
  br i1 %135, label %157, label %136

136:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %137 unwind label %152

137:                                              ; preds = %136
  %138 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %139 unwind label %154

139:                                              ; preds = %137
  %140 = getelementptr inbounds i8, ptr %138, i64 296
  %141 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %140)
          to label %142 unwind label %154

142:                                              ; preds = %139
  %143 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %141) #10
  %144 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %145 unwind label %154

145:                                              ; preds = %142
  %146 = getelementptr inbounds i8, ptr %144, i64 72
  %147 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %146)
          to label %148 unwind label %154

148:                                              ; preds = %145
  %149 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %147) #10
  %150 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %143, ptr noundef nonnull dereferenceable(1) %149) #13
  %151 = icmp eq i32 %150, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  br i1 %151, label %157, label %.critedge

152:                                              ; preds = %136
  %153 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %156

154:                                              ; preds = %145, %142, %139, %137
  %155 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  br label %156

156:                                              ; preds = %154, %152
  %.pn107 = phi { ptr, i32 } [ %155, %154 ], [ %153, %152 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  br label %375

157:                                              ; preds = %148, %133
  %158 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %159 unwind label %41

159:                                              ; preds = %157
  %160 = getelementptr inbounds i8, ptr %158, i64 80
  %161 = call noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %160)
  br i1 %161, label %203, label %162

162:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %163 unwind label %192

163:                                              ; preds = %162
  %164 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %165 unwind label %194

165:                                              ; preds = %163
  %166 = getelementptr inbounds i8, ptr %164, i64 8
  %167 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %166)
          to label %168 unwind label %194

168:                                              ; preds = %165
  %169 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %167) #10
  %170 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %171 unwind label %194

171:                                              ; preds = %168
  %172 = getelementptr inbounds i8, ptr %170, i64 80
  %173 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %172)
          to label %174 unwind label %194

174:                                              ; preds = %171
  %175 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %173) #10
  %176 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %169, ptr noundef nonnull dereferenceable(1) %175) #13
  %.not113 = icmp eq i32 %176, 0
  br i1 %.not113, label %.critedge143.thread, label %177

.critedge143.thread:                              ; preds = %174
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %203

177:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %178 unwind label %196

178:                                              ; preds = %177
  %179 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %180 unwind label %198

180:                                              ; preds = %178
  %181 = getelementptr inbounds i8, ptr %179, i64 224
  %182 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %181)
          to label %183 unwind label %198

183:                                              ; preds = %180
  %184 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %182) #10
  %185 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %186 unwind label %198

186:                                              ; preds = %183
  %187 = getelementptr inbounds i8, ptr %185, i64 80
  %188 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %187)
          to label %.critedge143 unwind label %198

.critedge143:                                     ; preds = %186
  %189 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %188) #10
  %190 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %184, ptr noundef nonnull dereferenceable(1) %189) #13
  %191 = icmp eq i32 %190, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br i1 %191, label %203, label %.critedge

192:                                              ; preds = %162
  %193 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %202

194:                                              ; preds = %171, %168, %165, %163
  %195 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %201

196:                                              ; preds = %177
  %197 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %200

198:                                              ; preds = %186, %183, %180, %178
  %199 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  br label %200

200:                                              ; preds = %196, %198
  %.pn109 = phi { ptr, i32 } [ %199, %198 ], [ %197, %196 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  br label %201

201:                                              ; preds = %200, %194
  %.pn109.pn = phi { ptr, i32 } [ %.pn109, %200 ], [ %195, %194 ]
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  br label %202

202:                                              ; preds = %201, %192
  %.pn109.pn.pn = phi { ptr, i32 } [ %.pn109.pn, %201 ], [ %193, %192 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %375

203:                                              ; preds = %.critedge143.thread, %.critedge143, %159
  %204 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %205 unwind label %41

205:                                              ; preds = %203
  %206 = getelementptr inbounds i8, ptr %204, i64 88
  %207 = call noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %206)
  br i1 %207, label %249, label %208

208:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %209 unwind label %238

209:                                              ; preds = %208
  %210 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %211 unwind label %240

211:                                              ; preds = %209
  %212 = getelementptr inbounds i8, ptr %210, i64 16
  %213 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %212)
          to label %214 unwind label %240

214:                                              ; preds = %211
  %215 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %213) #10
  %216 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %217 unwind label %240

217:                                              ; preds = %214
  %218 = getelementptr inbounds i8, ptr %216, i64 88
  %219 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %218)
          to label %220 unwind label %240

220:                                              ; preds = %217
  %221 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %219) #10
  %222 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %215, ptr noundef nonnull dereferenceable(1) %221) #13
  %.not118 = icmp eq i32 %222, 0
  br i1 %.not118, label %.critedge145.thread, label %223

.critedge145.thread:                              ; preds = %220
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br label %249

223:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %224 unwind label %242

224:                                              ; preds = %223
  %225 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %226 unwind label %244

226:                                              ; preds = %224
  %227 = getelementptr inbounds i8, ptr %225, i64 232
  %228 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %227)
          to label %229 unwind label %244

229:                                              ; preds = %226
  %230 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %228) #10
  %231 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %232 unwind label %244

232:                                              ; preds = %229
  %233 = getelementptr inbounds i8, ptr %231, i64 88
  %234 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %233)
          to label %.critedge145 unwind label %244

.critedge145:                                     ; preds = %232
  %235 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %234) #10
  %236 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %230, ptr noundef nonnull dereferenceable(1) %235) #13
  %237 = icmp eq i32 %236, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br i1 %237, label %249, label %.critedge

238:                                              ; preds = %208
  %239 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %248

240:                                              ; preds = %217, %214, %211, %209
  %241 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %247

242:                                              ; preds = %223
  %243 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %246

244:                                              ; preds = %232, %229, %226, %224
  %245 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  br label %246

246:                                              ; preds = %242, %244
  %.pn114 = phi { ptr, i32 } [ %245, %244 ], [ %243, %242 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %247

247:                                              ; preds = %246, %240
  %.pn114.pn = phi { ptr, i32 } [ %.pn114, %246 ], [ %241, %240 ]
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  br label %248

248:                                              ; preds = %247, %238
  %.pn114.pn.pn = phi { ptr, i32 } [ %.pn114.pn, %247 ], [ %239, %238 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br label %375

249:                                              ; preds = %.critedge145.thread, %.critedge145, %205
  %250 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %251 unwind label %41

251:                                              ; preds = %249
  %252 = getelementptr inbounds i8, ptr %250, i64 96
  %253 = call noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %252)
  br i1 %253, label %295, label %254

254:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %255 unwind label %284

255:                                              ; preds = %254
  %256 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %257 unwind label %286

257:                                              ; preds = %255
  %258 = getelementptr inbounds i8, ptr %256, i64 24
  %259 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %258)
          to label %260 unwind label %286

260:                                              ; preds = %257
  %261 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %259) #10
  %262 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %263 unwind label %286

263:                                              ; preds = %260
  %264 = getelementptr inbounds i8, ptr %262, i64 96
  %265 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %264)
          to label %266 unwind label %286

266:                                              ; preds = %263
  %267 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %265) #10
  %268 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %261, ptr noundef nonnull dereferenceable(1) %267) #13
  %.not123 = icmp eq i32 %268, 0
  br i1 %.not123, label %.critedge147.thread, label %269

.critedge147.thread:                              ; preds = %266
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br label %295

269:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %270 unwind label %288

270:                                              ; preds = %269
  %271 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %272 unwind label %290

272:                                              ; preds = %270
  %273 = getelementptr inbounds i8, ptr %271, i64 120
  %274 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %273)
          to label %275 unwind label %290

275:                                              ; preds = %272
  %276 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %274) #10
  %277 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %278 unwind label %290

278:                                              ; preds = %275
  %279 = getelementptr inbounds i8, ptr %277, i64 96
  %280 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %279)
          to label %.critedge147 unwind label %290

.critedge147:                                     ; preds = %278
  %281 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %280) #10
  %282 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %276, ptr noundef nonnull dereferenceable(1) %281) #13
  %283 = icmp eq i32 %282, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br i1 %283, label %295, label %.critedge

284:                                              ; preds = %254
  %285 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %294

286:                                              ; preds = %263, %260, %257, %255
  %287 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %293

288:                                              ; preds = %269
  %289 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %292

290:                                              ; preds = %278, %275, %272, %270
  %291 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  br label %292

292:                                              ; preds = %288, %290
  %.pn119 = phi { ptr, i32 } [ %291, %290 ], [ %289, %288 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  br label %293

293:                                              ; preds = %292, %286
  %.pn119.pn = phi { ptr, i32 } [ %.pn119, %292 ], [ %287, %286 ]
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  br label %294

294:                                              ; preds = %293, %284
  %.pn119.pn.pn = phi { ptr, i32 } [ %.pn119.pn, %293 ], [ %285, %284 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br label %375

295:                                              ; preds = %.critedge147.thread, %.critedge147, %251
  %296 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %297 unwind label %41

297:                                              ; preds = %295
  %298 = getelementptr inbounds i8, ptr %296, i64 104
  %299 = call noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %298)
  br i1 %299, label %341, label %300

300:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %301 unwind label %330

301:                                              ; preds = %300
  %302 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %303 unwind label %332

303:                                              ; preds = %301
  %304 = getelementptr inbounds i8, ptr %302, i64 32
  %305 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %304)
          to label %306 unwind label %332

306:                                              ; preds = %303
  %307 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %305) #10
  %308 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %309 unwind label %332

309:                                              ; preds = %306
  %310 = getelementptr inbounds i8, ptr %308, i64 104
  %311 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %310)
          to label %312 unwind label %332

312:                                              ; preds = %309
  %313 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %311) #10
  %314 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %307, ptr noundef nonnull dereferenceable(1) %313) #13
  %.not128 = icmp eq i32 %314, 0
  br i1 %.not128, label %.critedge149.thread, label %315

.critedge149.thread:                              ; preds = %312
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  br label %341

315:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %316 unwind label %334

316:                                              ; preds = %315
  %317 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %318 unwind label %336

318:                                              ; preds = %316
  %319 = getelementptr inbounds i8, ptr %317, i64 128
  %320 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %319)
          to label %321 unwind label %336

321:                                              ; preds = %318
  %322 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %320) #10
  %323 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %324 unwind label %336

324:                                              ; preds = %321
  %325 = getelementptr inbounds i8, ptr %323, i64 104
  %326 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %325)
          to label %.critedge149 unwind label %336

.critedge149:                                     ; preds = %324
  %327 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %326) #10
  %328 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %322, ptr noundef nonnull dereferenceable(1) %327) #13
  %329 = icmp eq i32 %328, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  br i1 %329, label %341, label %.critedge

330:                                              ; preds = %300
  %331 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %340

332:                                              ; preds = %309, %306, %303, %301
  %333 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %339

334:                                              ; preds = %315
  %335 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %338

336:                                              ; preds = %324, %321, %318, %316
  %337 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  br label %338

338:                                              ; preds = %334, %336
  %.pn124 = phi { ptr, i32 } [ %337, %336 ], [ %335, %334 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  br label %339

339:                                              ; preds = %338, %332
  %.pn124.pn = phi { ptr, i32 } [ %.pn124, %338 ], [ %333, %332 ]
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  br label %340

340:                                              ; preds = %339, %330
  %.pn124.pn.pn = phi { ptr, i32 } [ %.pn124.pn, %339 ], [ %331, %330 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  br label %375

341:                                              ; preds = %.critedge149.thread, %.critedge149, %297
  %342 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %343 unwind label %41

343:                                              ; preds = %341
  %344 = getelementptr inbounds i8, ptr %342, i64 120
  %345 = call noundef zeroext i1 @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %344)
  br i1 %345, label %367, label %346

346:                                              ; preds = %343
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #10
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %347 unwind label %362

347:                                              ; preds = %346
  %348 = invoke noundef ptr @_ZNK6HandleI7PkiItemEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %349 unwind label %364

349:                                              ; preds = %347
  %350 = getelementptr inbounds i8, ptr %348, i64 56
  %351 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %350)
          to label %352 unwind label %364

352:                                              ; preds = %349
  %353 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %351) #10
  %354 = invoke noundef ptr @_ZNK6HandleI6FilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %355 unwind label %364

355:                                              ; preds = %352
  %356 = getelementptr inbounds i8, ptr %354, i64 120
  %357 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %356)
          to label %358 unwind label %364

358:                                              ; preds = %355
  %359 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %357) #10
  %360 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %353, ptr noundef nonnull dereferenceable(1) %359) #13
  %361 = icmp eq i32 %360, 0
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  br i1 %361, label %367, label %.critedge

362:                                              ; preds = %346
  %363 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %366

364:                                              ; preds = %355, %352, %349, %347
  %365 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #10
  br label %366

366:                                              ; preds = %364, %362
  %.pn129 = phi { ptr, i32 } [ %365, %364 ], [ %363, %362 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  br label %375

367:                                              ; preds = %358, %343
  %368 = invoke noundef ptr @_ZNK6HandleI17PkiItemCollectionEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0)
          to label %369 unwind label %41

369:                                              ; preds = %367
  invoke void @_ZN17PkiItemCollection5itemsEi(ptr dead_on_unwind nonnull writable sret(%class.Handle.14) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %.067162)
          to label %370 unwind label %41

370:                                              ; preds = %369
  invoke void @_ZN17PkiItemCollection4pushE6HandleI7PkiItemE(ptr noundef nonnull align 8 dereferenceable(24) %368, ptr noundef nonnull %18)
          to label %371 unwind label %373

371:                                              ; preds = %370
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br label %.critedge

.critedge:                                        ; preds = %38, %71, %104, %358, %.critedge149, %.critedge147, %.critedge145, %.critedge143, %148, %371
  %372 = add nuw nsw i32 %.067162, 1
  %exitcond.not = icmp eq i32 %372, %26
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

373:                                              ; preds = %370
  %374 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7PkiItemED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br label %375

375:                                              ; preds = %41, %156, %202, %248, %294, %340, %366, %373, %65, %43, %98, %75, %131, %108, %32
  %.pn131.pn = phi { ptr, i32 } [ %33, %32 ], [ %374, %373 ], [ %42, %41 ], [ %.pn129, %366 ], [ %.pn124.pn.pn, %340 ], [ %.pn119.pn.pn, %294 ], [ %.pn114.pn.pn, %248 ], [ %.pn109.pn.pn, %202 ], [ %.pn107, %156 ], [ %.pn, %65 ], [ %44, %43 ], [ %.pn100, %98 ], [ %76, %75 ], [ %.pn104, %131 ], [ %109, %108 ]
  call void @_ZN6HandleI17PkiItemCollectionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #10
  br label %376

376:                                              ; preds = %375, %30, %28
  %.pn131.pn.pn = phi { ptr, i32 } [ %.pn131.pn, %375 ], [ %29, %28 ], [ %31, %30 ]
  %.2290 = extractvalue { ptr, i32 } %.pn131.pn.pn, 1
  %377 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTI6HandleI9ExceptionE) #10
  %378 = icmp eq i32 %.2290, %377
  br i1 %378, label %379, label %400

379:                                              ; preds = %376
  %.22 = extractvalue { ptr, i32 } %.pn131.pn.pn, 0
  %380 = call ptr @__cxa_begin_catch(ptr %.22) #10
  %381 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %381, ptr noundef nonnull @__FUNCTION__._ZN17PkiItemCollection4findE6HandleI6FilterE, ptr noundef nonnull @.str.1)
          to label %382 unwind label %388

382:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  %383 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #11
          to label %384 unwind label %390

384:                                              ; preds = %382
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %380)
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %383, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 379, i32 noundef 0, ptr noundef nonnull @__FUNCTION__._ZN17PkiItemCollectionC2Ev, ptr noundef nonnull @__FUNCTION__._ZN17PkiItemCollection4findE6HandleI6FilterE, ptr noundef nonnull %20, ptr noundef nonnull @.str.1)
          to label %385 unwind label %394

385:                                              ; preds = %384
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull %383)
          to label %386 unwind label %392

386:                                              ; preds = %385
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  %387 = call ptr @__cxa_allocate_exception(i64 8) #10
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %387, ptr noundef nonnull align 8 dereferenceable(8) %19)
  invoke void @__cxa_throw(ptr nonnull %387, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #14
          to label %404 unwind label %396

._crit_edge:                                      ; preds = %.critedge, %.preheader161
  call void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #10
  ret void

388:                                              ; preds = %379
  %389 = landingpad { ptr, i32 }
          cleanup
  br label %399

390:                                              ; preds = %382
  %391 = landingpad { ptr, i32 }
          cleanup
  br label %398

392:                                              ; preds = %385
  %393 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  br label %398

394:                                              ; preds = %384
  %395 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  call void @_ZdlPvm(ptr noundef nonnull %383, i64 noundef 176) #12
  br label %398

396:                                              ; preds = %386
  %397 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  br label %398

398:                                              ; preds = %392, %394, %396, %390
  %.pn135 = phi { ptr, i32 } [ %397, %396 ], [ %395, %394 ], [ %393, %392 ], [ %391, %390 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  br label %399

399:                                              ; preds = %398, %388
  %.pn135.pn = phi { ptr, i32 } [ %.pn135, %398 ], [ %389, %388 ]
  invoke void @__cxa_end_catch()
          to label %400 unwind label %401

400:                                              ; preds = %399, %376
  %.merged = phi { ptr, i32 } [ %.pn131.pn.pn, %376 ], [ %.pn135.pn, %399 ]
  call void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #10
  resume { ptr, i32 } %.merged

401:                                              ; preds = %399
  %402 = landingpad { ptr, i32 }
          catch ptr null
  %403 = extractvalue { ptr, i32 } %402, 0
  call void @__clang_call_terminate(ptr %403) #15
  unreachable

404:                                              ; preds = %386
  unreachable
}

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESaIS7_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #7 align 2

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

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

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #9

declare void @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ...) local_unnamed_addr #1

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

declare void @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176), i1 noundef zeroext, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) unnamed_addr #1

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_end_catch() local_unnamed_addr

declare void @_ZN17PkiItemCollectionC1Ev(ptr) local_unnamed_addr

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

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

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


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