; LLVM IR from vczh/herodb :: Kernel/UnitTest/TestUtility_Buffer.ll (Z43TestFunction_Utility_Buffer_AllocateAndSwapv)

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

%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::database::BufferManager" = type { i64, i64, i64, i64, %"class.vl::SpinLock", i64, %"class.vl::collections::Dictionary" }
%"class.vl::SpinLock" = type { %"class.vl::Object", i64 }
%"class.vl::collections::Dictionary" = type { %"class.vl::Object", %"class.vl::collections::SortedList", %"class.vl::collections::List", %"class.vl::collections::IEnumerable.6" }
%"class.vl::collections::SortedList" = type { %"class.vl::collections::ListBase.base", %"class.vl::collections::IEnumerable" }
%"class.vl::collections::ListBase.base" = type <{ %"class.vl::collections::ArrayBase.base", i64, i8 }>
%"class.vl::collections::ArrayBase.base" = type { %"class.vl::collections::ListStore", ptr, i64 }
%"class.vl::collections::ListStore" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::collections::List" = type { %"class.vl::collections::ListBase.base.5", %"class.vl::collections::IEnumerable.3" }
%"class.vl::collections::ListBase.base.5" = type <{ %"class.vl::collections::ArrayBase.base.4", i64, i8 }>
%"class.vl::collections::ArrayBase.base.4" = type { %"class.vl::collections::ListStore.2", ptr, i64 }
%"class.vl::collections::ListStore.2" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.3" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.6" = type { %"class.vl::Interface" }
%"struct.vl::database::IdObject" = type { i32 }
%"class.vl::collections::List.8" = type { %"class.vl::collections::ListBase.base.14", %"class.vl::collections::IEnumerable.12" }
%"class.vl::collections::ListBase.base.14" = type <{ %"class.vl::collections::ArrayBase.base.13", i64, i8 }>
%"class.vl::collections::ArrayBase.base.13" = type { %"class.vl::collections::ListStore.11", ptr, i64 }
%"class.vl::collections::ListStore.11" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.12" = type { %"class.vl::Interface" }
%"struct.vl::database::IdObject.7" = type { i64 }

@.str.1 = external hidden unnamed_addr constant [11 x i32], align 4
@.str.2 = external hidden unnamed_addr constant [11 x i32], align 4
@_ZTIi = external constant ptr
@.str.12 = external hidden unnamed_addr constant [19 x i32], align 4
@.str.48 = external hidden unnamed_addr constant [8 x i32], align 4
@.str.49 = external hidden unnamed_addr constant [8 x i32], align 4
@__const._Z43TestFunction_Utility_Buffer_AllocateAndSwapv.sourceNames = external hidden unnamed_addr constant [2 x ptr], align 16
@.str.52 = external hidden unnamed_addr constant [32 x i32], align 4
@.str.53 = external hidden unnamed_addr constant [10 x i32], align 4
@.str.54 = external hidden unnamed_addr constant [26 x i32], align 4
@.str.55 = external hidden unnamed_addr constant [63 x i32], align 4
@.str.56 = external hidden unnamed_addr constant [23 x i32], align 4
@.str.57 = external hidden unnamed_addr constant [77 x i32], align 4
@.str.58 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.59 = external hidden unnamed_addr constant [75 x i32], align 4

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

declare void @_ZN2vl8database13BufferManagerC1Emm(ptr noundef nonnull align 8 dereferenceable(168), i64 noundef, i64 noundef) unnamed_addr #1

declare void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48)) #1

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

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

declare noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168)) #1

declare i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(48), i1 noundef zeroext) #1

declare void @_Z13GetTempFolderv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind noalias writable sret(%"class.vl::ObjectString") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: nounwind
declare void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168)) unnamed_addr #5

declare i64 @_ZN2vl8database13BufferManager12AllocatePageENS0_8IdObjectIiLl0EEE(ptr noundef nonnull align 8 dereferenceable(168), i32) #1

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

declare noundef ptr @_ZN2vl8database13BufferManager8LockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEE(ptr noundef nonnull align 8 dereferenceable(168), i32, i64) #1

declare noundef zeroext i1 @_ZN2vl8database13BufferManager10UnlockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEEPvNS0_15PersistanceTypeE(ptr noundef nonnull align 8 dereferenceable(168), i32, i64, ptr noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z43TestFunction_Utility_Buffer_AllocateAndSwapv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.vl::database::BufferManager", align 8
  %2 = alloca %"struct.vl::database::IdObject", align 4
  %3 = alloca %"class.vl::ObjectString", align 8
  %4 = alloca %"class.vl::ObjectString", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.vl::ObjectString", align 8
  %8 = alloca %"struct.vl::database::IdObject", align 4
  %9 = alloca %"class.vl::ObjectString", align 8
  %10 = alloca %"class.vl::ObjectString", align 8
  %11 = alloca %"class.vl::ObjectString", align 8
  %12 = alloca [2 x %"struct.vl::database::IdObject"], align 4
  %13 = alloca [2 x ptr], align 16
  %14 = alloca %"class.vl::ObjectString", align 8
  %15 = alloca %"class.vl::ObjectString", align 8
  %16 = alloca %"class.vl::ObjectString", align 8
  %17 = alloca %"class.vl::collections::List.8", align 8
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca %"struct.vl::database::IdObject", align 4
  %22 = alloca %"class.vl::ObjectString", align 8
  %23 = alloca %"class.vl::ObjectString", align 8
  %24 = alloca %"class.vl::ObjectString", align 8
  %25 = alloca %"class.vl::ObjectString", align 8
  %26 = alloca %"class.vl::ObjectString", align 8
  %27 = alloca %"struct.vl::database::IdObject.7", align 8
  %28 = alloca %"struct.vl::database::IdObject", align 4
  %29 = alloca %"class.vl::ObjectString", align 8
  %30 = alloca %"class.vl::ObjectString", align 8
  %31 = alloca %"class.vl::ObjectString", align 8
  %32 = alloca %"class.vl::ObjectString", align 8
  %33 = alloca %"class.vl::ObjectString", align 8
  %34 = alloca %"class.vl::ObjectString", align 8
  %35 = alloca %"class.vl::ObjectString", align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"struct.vl::database::IdObject", align 4
  %38 = alloca %"struct.vl::database::IdObject.7", align 8
  %39 = alloca %"class.vl::ObjectString", align 8
  %40 = alloca %"class.vl::ObjectString", align 8
  %41 = alloca %"class.vl::ObjectString", align 8
  %42 = alloca %"class.vl::ObjectString", align 8
  %43 = alloca %"class.vl::ObjectString", align 8
  %44 = alloca %"class.vl::ObjectString", align 8
  %45 = alloca %"class.vl::ObjectString", align 8
  %46 = alloca %"class.vl::ObjectString", align 8
  %47 = alloca %"class.vl::ObjectString", align 8
  %48 = alloca %"class.vl::ObjectString", align 8
  %49 = alloca %"class.vl::ObjectString", align 8
  %50 = alloca %"struct.vl::database::IdObject", align 4
  %51 = alloca %"struct.vl::database::IdObject.7", align 8
  %52 = alloca %"class.vl::ObjectString", align 8
  %53 = alloca %"class.vl::ObjectString", align 8
  %54 = alloca %"class.vl::ObjectString", align 8
  %55 = alloca %"class.vl::ObjectString", align 8
  %56 = alloca %"class.vl::ObjectString", align 8
  %57 = alloca %"class.vl::ObjectString", align 8
  %58 = alloca i64, align 8
  %59 = alloca i64, align 8
  %60 = alloca %"struct.vl::database::IdObject", align 4
  %61 = alloca %"class.vl::ObjectString", align 8
  %62 = alloca %"class.vl::ObjectString", align 8
  %63 = alloca %"class.vl::ObjectString", align 8
  %64 = alloca %"class.vl::ObjectString", align 8
  %65 = alloca %"class.vl::ObjectString", align 8
  %66 = alloca %"struct.vl::database::IdObject.7", align 8
  %67 = alloca ptr, align 8
  %68 = alloca %"struct.vl::database::IdObject", align 4
  %69 = alloca %"struct.vl::database::IdObject.7", align 8
  %70 = alloca %"class.vl::ObjectString", align 8
  %71 = alloca %"class.vl::ObjectString", align 8
  %72 = alloca %"class.vl::ObjectString", align 8
  %73 = alloca %"class.vl::ObjectString", align 8
  %74 = alloca %"class.vl::ObjectString", align 8
  %75 = alloca %"class.vl::ObjectString", align 8
  %76 = alloca %"class.vl::ObjectString", align 8
  %77 = alloca %"class.vl::ObjectString", align 8
  %78 = alloca %"class.vl::ObjectString", align 8
  %79 = alloca %"class.vl::ObjectString", align 8
  %80 = alloca %"class.vl::ObjectString", align 8
  %81 = alloca %"class.vl::ObjectString", align 8
  %82 = alloca %"class.vl::ObjectString", align 8
  %83 = alloca %"class.vl::ObjectString", align 8
  %84 = alloca %"struct.vl::database::IdObject", align 4
  %85 = alloca %"struct.vl::database::IdObject.7", align 8
  %86 = alloca %"class.vl::ObjectString", align 8
  %87 = alloca %"class.vl::ObjectString", align 8
  %88 = alloca %"class.vl::ObjectString", align 8
  %89 = alloca %"class.vl::ObjectString", align 8
  %90 = alloca %"class.vl::ObjectString", align 8
  %91 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 168, ptr %1) #8
  call void @_ZN2vl8database13BufferManagerC1Emm(ptr noundef nonnull align 8 dereferenceable(168) %1, i64 noundef 4096, i64 noundef 8)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %4) #8
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %4)
          to label %92 unwind label %114

92:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef @.str.48, i1 noundef zeroext true)
          to label %93 unwind label %118

93:                                               ; preds = %92
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %3, ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %94 unwind label %122

94:                                               ; preds = %93
  %95 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(48) %3, i1 noundef zeroext true)
          to label %96 unwind label %126

96:                                               ; preds = %94
  %97 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %2, i32 0, i32 0
  store i32 %95, ptr %97, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #8
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %10)
          to label %98 unwind label %133

98:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef @.str.49, i1 noundef zeroext true)
          to label %99 unwind label %137

99:                                               ; preds = %98
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %9, ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %100 unwind label %141

100:                                              ; preds = %99
  %101 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(48) %9, i1 noundef zeroext true)
          to label %102 unwind label %145

102:                                              ; preds = %100
  %103 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %8, i32 0, i32 0
  store i32 %101, ptr %103, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %2, i64 4, i1 false), !tbaa.struct !5
  %104 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %12, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %104, ptr align 4 %8, i64 4, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const._Z43TestFunction_Utility_Buffer_AllocateAndSwapv.sourceNames, i64 16, i1 false)
  br label %105

105:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef @.str.52, i1 noundef zeroext true)
          to label %106 unwind label %152

106:                                              ; preds = %105
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %107 unwind label %156

107:                                              ; preds = %106
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #8
  %108 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %109 unwind label %161

109:                                              ; preds = %107
  %110 = icmp eq i64 %108, 8
  br i1 %110, label %111, label %174

111:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %112 unwind label %165

112:                                              ; preds = %111
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %113 unwind label %169

113:                                              ; preds = %112
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #8
  br label %187

114:                                              ; preds = %0
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %5, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %6, align 4
  br label %132

118:                                              ; preds = %92
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %5, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %6, align 4
  br label %131

122:                                              ; preds = %93
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %5, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %6, align 4
  br label %130

126:                                              ; preds = %94
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %5, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #8
  br label %130

130:                                              ; preds = %126, %122
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #8
  br label %131

131:                                              ; preds = %130, %118
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #8
  br label %132

132:                                              ; preds = %131, %114
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #8
  br label %984

133:                                              ; preds = %96
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %5, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %6, align 4
  br label %151

137:                                              ; preds = %98
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %5, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %6, align 4
  br label %150

141:                                              ; preds = %99
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %5, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %6, align 4
  br label %149

145:                                              ; preds = %100
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %5, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #8
  br label %149

149:                                              ; preds = %145, %141
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #8
  br label %150

150:                                              ; preds = %149, %137
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #8
  br label %151

151:                                              ; preds = %150, %133
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  br label %983

152:                                              ; preds = %105
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %5, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %6, align 4
  br label %160

156:                                              ; preds = %106
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %5, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #8
  br label %160

160:                                              ; preds = %156, %152
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #8
  br label %982

161:                                              ; preds = %176, %107
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %5, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %6, align 4
  br label %982

165:                                              ; preds = %111
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %5, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %6, align 4
  br label %173

169:                                              ; preds = %112
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %5, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #8
  br label %173

173:                                              ; preds = %169, %165
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #8
  br label %982

174:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %175 unwind label %178

175:                                              ; preds = %174
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %176 unwind label %182

176:                                              ; preds = %175
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #8
  %177 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %177, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %177, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %161

178:                                              ; preds = %174
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %5, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %6, align 4
  br label %186

182:                                              ; preds = %175
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %5, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #8
  br label %186

186:                                              ; preds = %182, %178
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #8
  br label %982

187:                                              ; preds = %113
  br label %188

188:                                              ; preds = %187
  br label %189

189:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 48, ptr %17) #8
  invoke void @_ZN2vl11collections4ListINS_8database8IdObjectImLl1EEES4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %17)
          to label %190 unwind label %195

190:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  store i64 0, ptr %18, align 8, !tbaa !10
  br label %191

191:                                              ; preds = %614, %190
  %192 = load i64, ptr %18, align 8, !tbaa !10
  %193 = icmp slt i64 %192, 16
  br i1 %193, label %199, label %194

194:                                              ; preds = %191
  store i32 4, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %617

195:                                              ; preds = %189
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %5, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %6, align 4
  br label %981

199:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  store i64 0, ptr %20, align 8, !tbaa !10
  br label %200

200:                                              ; preds = %607, %199
  %201 = load i64, ptr %20, align 8, !tbaa !10
  %202 = icmp slt i64 %201, 2
  br i1 %202, label %204, label %203

203:                                              ; preds = %200
  store i32 7, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %613

204:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %205 = load i64, ptr %20, align 8, !tbaa !10
  %206 = getelementptr inbounds [2 x %"struct.vl::database::IdObject"], ptr %12, i64 0, i64 %205
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %206, i64 4, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef @.str.53, i1 noundef zeroext true)
          to label %207 unwind label %233

207:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 48, ptr %25) #8
  %208 = load i64, ptr %20, align 8, !tbaa !10
  %209 = getelementptr inbounds [2 x ptr], ptr %13, i64 0, i64 %208
  %210 = load ptr, ptr %209, align 8, !tbaa !12
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef %210, i1 noundef zeroext true)
          to label %211 unwind label %237

211:                                              ; preds = %207
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %23, ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %212 unwind label %241

212:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 48, ptr %26) #8
  %213 = load i64, ptr %18, align 8, !tbaa !10
  %214 = add nsw i64 %213, 1
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %26, i64 noundef %214)
          to label %215 unwind label %245

215:                                              ; preds = %212
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %22, ptr noundef nonnull align 8 dereferenceable(48) %23, ptr noundef nonnull align 8 dereferenceable(48) %26)
          to label %216 unwind label %249

216:                                              ; preds = %215
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %217 unwind label %253

217:                                              ; preds = %216
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %21, i64 4, i1 false), !tbaa.struct !5
  %218 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %28, i32 0, i32 0
  %219 = load i32, ptr %218, align 4
  %220 = invoke i64 @_ZN2vl8database13BufferManager12AllocatePageENS0_8IdObjectIiLl0EEE(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 %219)
          to label %221 unwind label %262

221:                                              ; preds = %217
  %222 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %27, i32 0, i32 0
  store i64 %220, ptr %222, align 8
  %223 = invoke noundef i64 @_ZN2vl11collections4ListINS_8database8IdObjectImLl1EEES4_E3AddERKS4_(ptr noundef nonnull align 8 dereferenceable(33) %17, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %224 unwind label %262

224:                                              ; preds = %221
  br label %225

225:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %29, ptr noundef @.str.12, i1 noundef zeroext true)
          to label %226 unwind label %266

226:                                              ; preds = %225
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %29)
          to label %227 unwind label %270

227:                                              ; preds = %226
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #8
  %228 = invoke noundef zeroext i1 @_ZNK2vl8database8IdObjectImLl1EE7IsValidEv(ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %229 unwind label %262

229:                                              ; preds = %227
  br i1 %228, label %230, label %284

230:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 48, ptr %30) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %231 unwind label %275

231:                                              ; preds = %230
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %232 unwind label %279

232:                                              ; preds = %231
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #8
  br label %297

233:                                              ; preds = %204
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %5, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %6, align 4
  br label %261

237:                                              ; preds = %207
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %5, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %6, align 4
  br label %260

241:                                              ; preds = %211
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %5, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %6, align 4
  br label %259

245:                                              ; preds = %212
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %5, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %6, align 4
  br label %258

249:                                              ; preds = %215
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %5, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %6, align 4
  br label %257

253:                                              ; preds = %216
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %5, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #8
  br label %257

257:                                              ; preds = %253, %249
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  br label %258

258:                                              ; preds = %257, %245
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #8
  br label %259

259:                                              ; preds = %258, %241
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #8
  br label %260

260:                                              ; preds = %259, %237
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #8
  br label %261

261:                                              ; preds = %260, %233
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #8
  br label %612

262:                                              ; preds = %345, %309, %307, %299, %286, %227, %221, %217
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %5, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %6, align 4
  br label %611

266:                                              ; preds = %225
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %5, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %6, align 4
  br label %274

270:                                              ; preds = %226
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %5, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #8
  br label %274

274:                                              ; preds = %270, %266
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #8
  br label %611

275:                                              ; preds = %230
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %5, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %6, align 4
  br label %283

279:                                              ; preds = %231
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %5, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #8
  br label %283

283:                                              ; preds = %279, %275
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #8
  br label %611

284:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %285 unwind label %288

285:                                              ; preds = %284
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %286 unwind label %292

286:                                              ; preds = %285
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #8
  %287 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %287, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %287, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %262

288:                                              ; preds = %284
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %5, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %6, align 4
  br label %296

292:                                              ; preds = %285
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %5, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #8
  br label %296

296:                                              ; preds = %292, %288
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #8
  br label %611

297:                                              ; preds = %232
  br label %298

298:                                              ; preds = %297
  br label %299

299:                                              ; preds = %298
  invoke void @_ZN2vl7console7Console5WriteEPKw(ptr noundef @.str.54)
          to label %300 unwind label %262

300:                                              ; preds = %299
  call void @llvm.lifetime.start.p0(i64 48, ptr %32) #8
  %301 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %302 unwind label %316

302:                                              ; preds = %300
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %32, i64 noundef %301)
          to label %303 unwind label %316

303:                                              ; preds = %302
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %32)
          to label %304 unwind label %320

304:                                              ; preds = %303
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #8
  br label %305

305:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 48, ptr %33) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef @.str.55, i1 noundef zeroext true)
          to label %306 unwind label %325

306:                                              ; preds = %305
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %33)
          to label %307 unwind label %329

307:                                              ; preds = %306
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #8
  %308 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %309 unwind label %262

309:                                              ; preds = %307
  %310 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %311 unwind label %262

311:                                              ; preds = %309
  %312 = icmp ule i64 %308, %310
  br i1 %312, label %313, label %343

313:                                              ; preds = %311
  call void @llvm.lifetime.start.p0(i64 48, ptr %34) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %314 unwind label %334

314:                                              ; preds = %313
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %34)
          to label %315 unwind label %338

315:                                              ; preds = %314
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #8
  br label %356

316:                                              ; preds = %302, %300
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %5, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %6, align 4
  br label %324

320:                                              ; preds = %303
  %321 = landingpad { ptr, i32 }
          cleanup
  %322 = extractvalue { ptr, i32 } %321, 0
  store ptr %322, ptr %5, align 8
  %323 = extractvalue { ptr, i32 } %321, 1
  store i32 %323, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #8
  br label %324

324:                                              ; preds = %320, %316
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #8
  br label %611

325:                                              ; preds = %305
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %5, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %6, align 4
  br label %333

329:                                              ; preds = %306
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %5, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #8
  br label %333

333:                                              ; preds = %329, %325
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #8
  br label %611

334:                                              ; preds = %313
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %5, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %6, align 4
  br label %342

338:                                              ; preds = %314
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %5, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #8
  br label %342

342:                                              ; preds = %338, %334
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #8
  br label %611

343:                                              ; preds = %311
  call void @llvm.lifetime.start.p0(i64 48, ptr %35) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %344 unwind label %347

344:                                              ; preds = %343
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %35)
          to label %345 unwind label %351

345:                                              ; preds = %344
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %35) #8
  %346 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %346, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %346, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %262

347:                                              ; preds = %343
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %5, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %6, align 4
  br label %355

351:                                              ; preds = %344
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %5, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #8
  br label %355

355:                                              ; preds = %351, %347
  call void @llvm.lifetime.end.p0(i64 48, ptr %35) #8
  br label %611

356:                                              ; preds = %315
  br label %357

357:                                              ; preds = %356
  br label %358

358:                                              ; preds = %357
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %21, i64 4, i1 false), !tbaa.struct !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %38, ptr align 8 %27, i64 8, i1 false), !tbaa.struct !14
  %359 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %37, i32 0, i32 0
  %360 = load i32, ptr %359, align 4
  %361 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %38, i32 0, i32 0
  %362 = load i64, ptr %361, align 8
  %363 = invoke noundef ptr @_ZN2vl8database13BufferManager8LockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEE(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 %360, i64 %362)
          to label %364 unwind label %373

364:                                              ; preds = %358
  store ptr %363, ptr %36, align 8, !tbaa !12
  br label %365

365:                                              ; preds = %364
  call void @llvm.lifetime.start.p0(i64 48, ptr %39) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %39, ptr noundef @.str.56, i1 noundef zeroext true)
          to label %366 unwind label %377

366:                                              ; preds = %365
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %39)
          to label %367 unwind label %381

367:                                              ; preds = %366
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #8
  %368 = load ptr, ptr %36, align 8, !tbaa !12
  %369 = icmp ne ptr %368, null
  br i1 %369, label %370, label %395

370:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 48, ptr %40) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %40, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %371 unwind label %386

371:                                              ; preds = %370
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %40)
          to label %372 unwind label %390

372:                                              ; preds = %371
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #8
  br label %408

373:                                              ; preds = %593, %557, %555, %547, %534, %484, %456, %420, %418, %410, %397, %358
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %5, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %6, align 4
  br label %610

377:                                              ; preds = %365
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %5, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %6, align 4
  br label %385

381:                                              ; preds = %366
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %5, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #8
  br label %385

385:                                              ; preds = %381, %377
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #8
  br label %610

386:                                              ; preds = %370
  %387 = landingpad { ptr, i32 }
          cleanup
  %388 = extractvalue { ptr, i32 } %387, 0
  store ptr %388, ptr %5, align 8
  %389 = extractvalue { ptr, i32 } %387, 1
  store i32 %389, ptr %6, align 4
  br label %394

390:                                              ; preds = %371
  %391 = landingpad { ptr, i32 }
          cleanup
  %392 = extractvalue { ptr, i32 } %391, 0
  store ptr %392, ptr %5, align 8
  %393 = extractvalue { ptr, i32 } %391, 1
  store i32 %393, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #8
  br label %394

394:                                              ; preds = %390, %386
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #8
  br label %610

395:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 48, ptr %41) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %41, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %396 unwind label %399

396:                                              ; preds = %395
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %41)
          to label %397 unwind label %403

397:                                              ; preds = %396
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %41) #8
  %398 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %398, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %398, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %373

399:                                              ; preds = %395
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %5, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %6, align 4
  br label %407

403:                                              ; preds = %396
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %5, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #8
  br label %407

407:                                              ; preds = %403, %399
  call void @llvm.lifetime.end.p0(i64 48, ptr %41) #8
  br label %610

408:                                              ; preds = %372
  br label %409

409:                                              ; preds = %408
  br label %410

410:                                              ; preds = %409
  invoke void @_ZN2vl7console7Console5WriteEPKw(ptr noundef @.str.54)
          to label %411 unwind label %373

411:                                              ; preds = %410
  call void @llvm.lifetime.start.p0(i64 48, ptr %42) #8
  %412 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %413 unwind label %427

413:                                              ; preds = %411
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %42, i64 noundef %412)
          to label %414 unwind label %427

414:                                              ; preds = %413
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %42)
          to label %415 unwind label %431

415:                                              ; preds = %414
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %42) #8
  br label %416

416:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 48, ptr %43) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef @.str.55, i1 noundef zeroext true)
          to label %417 unwind label %436

417:                                              ; preds = %416
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %43)
          to label %418 unwind label %440

418:                                              ; preds = %417
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %43) #8
  %419 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %420 unwind label %373

420:                                              ; preds = %418
  %421 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %422 unwind label %373

422:                                              ; preds = %420
  %423 = icmp ule i64 %419, %421
  br i1 %423, label %424, label %454

424:                                              ; preds = %422
  call void @llvm.lifetime.start.p0(i64 48, ptr %44) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %44, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %425 unwind label %445

425:                                              ; preds = %424
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %44)
          to label %426 unwind label %449

426:                                              ; preds = %425
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #8
  br label %467

427:                                              ; preds = %413, %411
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %5, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %6, align 4
  br label %435

431:                                              ; preds = %414
  %432 = landingpad { ptr, i32 }
          cleanup
  %433 = extractvalue { ptr, i32 } %432, 0
  store ptr %433, ptr %5, align 8
  %434 = extractvalue { ptr, i32 } %432, 1
  store i32 %434, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #8
  br label %435

435:                                              ; preds = %431, %427
  call void @llvm.lifetime.end.p0(i64 48, ptr %42) #8
  br label %610

436:                                              ; preds = %416
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %5, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %6, align 4
  br label %444

440:                                              ; preds = %417
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %5, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #8
  br label %444

444:                                              ; preds = %440, %436
  call void @llvm.lifetime.end.p0(i64 48, ptr %43) #8
  br label %610

445:                                              ; preds = %424
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %5, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %6, align 4
  br label %453

449:                                              ; preds = %425
  %450 = landingpad { ptr, i32 }
          cleanup
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %5, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #8
  br label %453

453:                                              ; preds = %449, %445
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #8
  br label %610

454:                                              ; preds = %422
  call void @llvm.lifetime.start.p0(i64 48, ptr %45) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %455 unwind label %458

455:                                              ; preds = %454
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %45)
          to label %456 unwind label %462

456:                                              ; preds = %455
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #8
  %457 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %457, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %457, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %373

458:                                              ; preds = %454
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %5, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %6, align 4
  br label %466

462:                                              ; preds = %455
  %463 = landingpad { ptr, i32 }
          cleanup
  %464 = extractvalue { ptr, i32 } %463, 0
  store ptr %464, ptr %5, align 8
  %465 = extractvalue { ptr, i32 } %463, 1
  store i32 %465, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #8
  br label %466

466:                                              ; preds = %462, %458
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #8
  br label %610

467:                                              ; preds = %426
  br label %468

468:                                              ; preds = %467
  br label %469

469:                                              ; preds = %468
  %470 = load ptr, ptr %36, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 48, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %47) #8
  %471 = load i64, ptr %20, align 8, !tbaa !10
  %472 = getelementptr inbounds [2 x ptr], ptr %13, i64 0, i64 %471
  %473 = load ptr, ptr %472, align 8, !tbaa !12
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %47, ptr noundef %473, i1 noundef zeroext true)
          to label %474 unwind label %495

474:                                              ; preds = %469
  call void @llvm.lifetime.start.p0(i64 48, ptr %48) #8
  %475 = load i64, ptr %18, align 8, !tbaa !10
  %476 = add nsw i64 %475, 1
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %48, i64 noundef %476)
          to label %477 unwind label %499

477:                                              ; preds = %474
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %46, ptr noundef nonnull align 8 dereferenceable(48) %47, ptr noundef nonnull align 8 dereferenceable(48) %48)
          to label %478 unwind label %503

478:                                              ; preds = %477
  %479 = invoke noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %46)
          to label %480 unwind label %507

480:                                              ; preds = %478
  %481 = call ptr @wcscpy(ptr noundef %470, ptr noundef %479) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %48) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #8
  br label %482

482:                                              ; preds = %480
  call void @llvm.lifetime.start.p0(i64 48, ptr %49) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %49, ptr noundef @.str.57, i1 noundef zeroext true)
          to label %483 unwind label %514

483:                                              ; preds = %482
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %49)
          to label %484 unwind label %518

484:                                              ; preds = %483
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %49) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %21, i64 4, i1 false), !tbaa.struct !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %51, ptr align 8 %27, i64 8, i1 false), !tbaa.struct !14
  %485 = load ptr, ptr %36, align 8, !tbaa !12
  %486 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %50, i32 0, i32 0
  %487 = load i32, ptr %486, align 4
  %488 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %51, i32 0, i32 0
  %489 = load i64, ptr %488, align 8
  %490 = invoke noundef zeroext i1 @_ZN2vl8database13BufferManager10UnlockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEEPvNS0_15PersistanceTypeE(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 %487, i64 %489, ptr noundef %485, i32 noundef 2)
          to label %491 unwind label %373

491:                                              ; preds = %484
  br i1 %490, label %492, label %532

492:                                              ; preds = %491
  call void @llvm.lifetime.start.p0(i64 48, ptr %52) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %52, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %493 unwind label %523

493:                                              ; preds = %492
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %52)
          to label %494 unwind label %527

494:                                              ; preds = %493
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %52) #8
  br label %545

495:                                              ; preds = %469
  %496 = landingpad { ptr, i32 }
          cleanup
  %497 = extractvalue { ptr, i32 } %496, 0
  store ptr %497, ptr %5, align 8
  %498 = extractvalue { ptr, i32 } %496, 1
  store i32 %498, ptr %6, align 4
  br label %513

499:                                              ; preds = %474
  %500 = landingpad { ptr, i32 }
          cleanup
  %501 = extractvalue { ptr, i32 } %500, 0
  store ptr %501, ptr %5, align 8
  %502 = extractvalue { ptr, i32 } %500, 1
  store i32 %502, ptr %6, align 4
  br label %512

503:                                              ; preds = %477
  %504 = landingpad { ptr, i32 }
          cleanup
  %505 = extractvalue { ptr, i32 } %504, 0
  store ptr %505, ptr %5, align 8
  %506 = extractvalue { ptr, i32 } %504, 1
  store i32 %506, ptr %6, align 4
  br label %511

507:                                              ; preds = %478
  %508 = landingpad { ptr, i32 }
          cleanup
  %509 = extractvalue { ptr, i32 } %508, 0
  store ptr %509, ptr %5, align 8
  %510 = extractvalue { ptr, i32 } %508, 1
  store i32 %510, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #8
  br label %511

511:                                              ; preds = %507, %503
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #8
  br label %512

512:                                              ; preds = %511, %499
  call void @llvm.lifetime.end.p0(i64 48, ptr %48) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #8
  br label %513

513:                                              ; preds = %512, %495
  call void @llvm.lifetime.end.p0(i64 48, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #8
  br label %610

514:                                              ; preds = %482
  %515 = landingpad { ptr, i32 }
          cleanup
  %516 = extractvalue { ptr, i32 } %515, 0
  store ptr %516, ptr %5, align 8
  %517 = extractvalue { ptr, i32 } %515, 1
  store i32 %517, ptr %6, align 4
  br label %522

518:                                              ; preds = %483
  %519 = landingpad { ptr, i32 }
          cleanup
  %520 = extractvalue { ptr, i32 } %519, 0
  store ptr %520, ptr %5, align 8
  %521 = extractvalue { ptr, i32 } %519, 1
  store i32 %521, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #8
  br label %522

522:                                              ; preds = %518, %514
  call void @llvm.lifetime.end.p0(i64 48, ptr %49) #8
  br label %610

523:                                              ; preds = %492
  %524 = landingpad { ptr, i32 }
          cleanup
  %525 = extractvalue { ptr, i32 } %524, 0
  store ptr %525, ptr %5, align 8
  %526 = extractvalue { ptr, i32 } %524, 1
  store i32 %526, ptr %6, align 4
  br label %531

527:                                              ; preds = %493
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %5, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  br label %531

531:                                              ; preds = %527, %523
  call void @llvm.lifetime.end.p0(i64 48, ptr %52) #8
  br label %610

532:                                              ; preds = %491
  call void @llvm.lifetime.start.p0(i64 48, ptr %53) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %53, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %533 unwind label %536

533:                                              ; preds = %532
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %53)
          to label %534 unwind label %540

534:                                              ; preds = %533
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %53) #8
  %535 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %535, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %535, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %373

536:                                              ; preds = %532
  %537 = landingpad { ptr, i32 }
          cleanup
  %538 = extractvalue { ptr, i32 } %537, 0
  store ptr %538, ptr %5, align 8
  %539 = extractvalue { ptr, i32 } %537, 1
  store i32 %539, ptr %6, align 4
  br label %544

540:                                              ; preds = %533
  %541 = landingpad { ptr, i32 }
          cleanup
  %542 = extractvalue { ptr, i32 } %541, 0
  store ptr %542, ptr %5, align 8
  %543 = extractvalue { ptr, i32 } %541, 1
  store i32 %543, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #8
  br label %544

544:                                              ; preds = %540, %536
  call void @llvm.lifetime.end.p0(i64 48, ptr %53) #8
  br label %610

545:                                              ; preds = %494
  br label %546

546:                                              ; preds = %545
  br label %547

547:                                              ; preds = %546
  invoke void @_ZN2vl7console7Console5WriteEPKw(ptr noundef @.str.54)
          to label %548 unwind label %373

548:                                              ; preds = %547
  call void @llvm.lifetime.start.p0(i64 48, ptr %54) #8
  %549 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %550 unwind label %564

550:                                              ; preds = %548
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %54, i64 noundef %549)
          to label %551 unwind label %564

551:                                              ; preds = %550
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %54)
          to label %552 unwind label %568

552:                                              ; preds = %551
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %54) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %54) #8
  br label %553

553:                                              ; preds = %552
  call void @llvm.lifetime.start.p0(i64 48, ptr %55) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %55, ptr noundef @.str.55, i1 noundef zeroext true)
          to label %554 unwind label %573

554:                                              ; preds = %553
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %55)
          to label %555 unwind label %577

555:                                              ; preds = %554
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %55) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %55) #8
  %556 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %557 unwind label %373

557:                                              ; preds = %555
  %558 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %559 unwind label %373

559:                                              ; preds = %557
  %560 = icmp ule i64 %556, %558
  br i1 %560, label %561, label %591

561:                                              ; preds = %559
  call void @llvm.lifetime.start.p0(i64 48, ptr %56) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %56, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %562 unwind label %582

562:                                              ; preds = %561
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %56)
          to label %563 unwind label %586

563:                                              ; preds = %562
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %56) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %56) #8
  br label %604

564:                                              ; preds = %550, %548
  %565 = landingpad { ptr, i32 }
          cleanup
  %566 = extractvalue { ptr, i32 } %565, 0
  store ptr %566, ptr %5, align 8
  %567 = extractvalue { ptr, i32 } %565, 1
  store i32 %567, ptr %6, align 4
  br label %572

568:                                              ; preds = %551
  %569 = landingpad { ptr, i32 }
          cleanup
  %570 = extractvalue { ptr, i32 } %569, 0
  store ptr %570, ptr %5, align 8
  %571 = extractvalue { ptr, i32 } %569, 1
  store i32 %571, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %54) #8
  br label %572

572:                                              ; preds = %568, %564
  call void @llvm.lifetime.end.p0(i64 48, ptr %54) #8
  br label %610

573:                                              ; preds = %553
  %574 = landingpad { ptr, i32 }
          cleanup
  %575 = extractvalue { ptr, i32 } %574, 0
  store ptr %575, ptr %5, align 8
  %576 = extractvalue { ptr, i32 } %574, 1
  store i32 %576, ptr %6, align 4
  br label %581

577:                                              ; preds = %554
  %578 = landingpad { ptr, i32 }
          cleanup
  %579 = extractvalue { ptr, i32 } %578, 0
  store ptr %579, ptr %5, align 8
  %580 = extractvalue { ptr, i32 } %578, 1
  store i32 %580, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %55) #8
  br label %581

581:                                              ; preds = %577, %573
  call void @llvm.lifetime.end.p0(i64 48, ptr %55) #8
  br label %610

582:                                              ; preds = %561
  %583 = landingpad { ptr, i32 }
          cleanup
  %584 = extractvalue { ptr, i32 } %583, 0
  store ptr %584, ptr %5, align 8
  %585 = extractvalue { ptr, i32 } %583, 1
  store i32 %585, ptr %6, align 4
  br label %590

586:                                              ; preds = %562
  %587 = landingpad { ptr, i32 }
          cleanup
  %588 = extractvalue { ptr, i32 } %587, 0
  store ptr %588, ptr %5, align 8
  %589 = extractvalue { ptr, i32 } %587, 1
  store i32 %589, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %56) #8
  br label %590

590:                                              ; preds = %586, %582
  call void @llvm.lifetime.end.p0(i64 48, ptr %56) #8
  br label %610

591:                                              ; preds = %559
  call void @llvm.lifetime.start.p0(i64 48, ptr %57) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %57, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %592 unwind label %595

592:                                              ; preds = %591
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %57)
          to label %593 unwind label %599

593:                                              ; preds = %592
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %57) #8
  %594 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %594, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %594, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %373

595:                                              ; preds = %591
  %596 = landingpad { ptr, i32 }
          cleanup
  %597 = extractvalue { ptr, i32 } %596, 0
  store ptr %597, ptr %5, align 8
  %598 = extractvalue { ptr, i32 } %596, 1
  store i32 %598, ptr %6, align 4
  br label %603

599:                                              ; preds = %592
  %600 = landingpad { ptr, i32 }
          cleanup
  %601 = extractvalue { ptr, i32 } %600, 0
  store ptr %601, ptr %5, align 8
  %602 = extractvalue { ptr, i32 } %600, 1
  store i32 %602, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #8
  br label %603

603:                                              ; preds = %599, %595
  call void @llvm.lifetime.end.p0(i64 48, ptr %57) #8
  br label %610

604:                                              ; preds = %563
  br label %605

605:                                              ; preds = %604
  br label %606

606:                                              ; preds = %605
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %607

607:                                              ; preds = %606
  %608 = load i64, ptr %20, align 8, !tbaa !10
  %609 = add nsw i64 %608, 1
  store i64 %609, ptr %20, align 8, !tbaa !10
  br label %200, !llvm.loop !15

610:                                              ; preds = %603, %590, %581, %572, %544, %531, %522, %513, %466, %453, %444, %435, %407, %394, %385, %373
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %611

611:                                              ; preds = %610, %355, %342, %333, %324, %296, %283, %274, %262
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %612

612:                                              ; preds = %611, %261
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %980

613:                                              ; preds = %203
  br label %614

614:                                              ; preds = %613
  %615 = load i64, ptr %18, align 8, !tbaa !10
  %616 = add nsw i64 %615, 1
  store i64 %616, ptr %18, align 8, !tbaa !10
  br label %191, !llvm.loop !17

617:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #8
  store i64 0, ptr %58, align 8, !tbaa !10
  br label %618

618:                                              ; preds = %976, %617
  %619 = load i64, ptr %58, align 8, !tbaa !10
  %620 = icmp slt i64 %619, 16
  br i1 %620, label %622, label %621

621:                                              ; preds = %618
  store i32 22, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  br label %979

622:                                              ; preds = %618
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #8
  store i64 0, ptr %59, align 8, !tbaa !10
  br label %623

623:                                              ; preds = %969, %622
  %624 = load i64, ptr %59, align 8, !tbaa !10
  %625 = icmp slt i64 %624, 2
  br i1 %625, label %627, label %626

626:                                              ; preds = %623
  store i32 25, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  br label %975

627:                                              ; preds = %623
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #8
  %628 = load i64, ptr %59, align 8, !tbaa !10
  %629 = getelementptr inbounds [2 x %"struct.vl::database::IdObject"], ptr %12, i64 0, i64 %628
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %629, i64 4, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %61) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %62) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %63) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %63, ptr noundef @.str.58, i1 noundef zeroext true)
          to label %630 unwind label %661

630:                                              ; preds = %627
  call void @llvm.lifetime.start.p0(i64 48, ptr %64) #8
  %631 = load i64, ptr %59, align 8, !tbaa !10
  %632 = getelementptr inbounds [2 x ptr], ptr %13, i64 0, i64 %631
  %633 = load ptr, ptr %632, align 8, !tbaa !12
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef %633, i1 noundef zeroext true)
          to label %634 unwind label %665

634:                                              ; preds = %630
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %62, ptr noundef nonnull align 8 dereferenceable(48) %63, ptr noundef nonnull align 8 dereferenceable(48) %64)
          to label %635 unwind label %669

635:                                              ; preds = %634
  call void @llvm.lifetime.start.p0(i64 48, ptr %65) #8
  %636 = load i64, ptr %58, align 8, !tbaa !10
  %637 = add nsw i64 %636, 1
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %65, i64 noundef %637)
          to label %638 unwind label %673

638:                                              ; preds = %635
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %61, ptr noundef nonnull align 8 dereferenceable(48) %62, ptr noundef nonnull align 8 dereferenceable(48) %65)
          to label %639 unwind label %677

639:                                              ; preds = %638
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %61)
          to label %640 unwind label %681

640:                                              ; preds = %639
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %65) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %62) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %64) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %63) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %61) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #8
  %641 = load i64, ptr %58, align 8, !tbaa !10
  %642 = mul nsw i64 %641, 2
  %643 = load i64, ptr %59, align 8, !tbaa !10
  %644 = add nsw i64 %642, %643
  %645 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListINS_8database8IdObjectImLl1EEES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %17, i64 noundef %644)
          to label %646 unwind label %690

646:                                              ; preds = %640
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %66, ptr align 8 %645, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 4 %60, i64 4, i1 false), !tbaa.struct !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %69, ptr align 8 %66, i64 8, i1 false), !tbaa.struct !14
  %647 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %68, i32 0, i32 0
  %648 = load i32, ptr %647, align 4
  %649 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %69, i32 0, i32 0
  %650 = load i64, ptr %649, align 8
  %651 = invoke noundef ptr @_ZN2vl8database13BufferManager8LockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEE(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 %648, i64 %650)
          to label %652 unwind label %694

652:                                              ; preds = %646
  store ptr %651, ptr %67, align 8, !tbaa !12
  br label %653

653:                                              ; preds = %652
  call void @llvm.lifetime.start.p0(i64 48, ptr %70) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %70, ptr noundef @.str.56, i1 noundef zeroext true)
          to label %654 unwind label %698

654:                                              ; preds = %653
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %70)
          to label %655 unwind label %702

655:                                              ; preds = %654
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %70) #8
  %656 = load ptr, ptr %67, align 8, !tbaa !12
  %657 = icmp ne ptr %656, null
  br i1 %657, label %658, label %716

658:                                              ; preds = %655
  call void @llvm.lifetime.start.p0(i64 48, ptr %71) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %71, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %659 unwind label %707

659:                                              ; preds = %658
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %71)
          to label %660 unwind label %711

660:                                              ; preds = %659
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %71) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %71) #8
  br label %729

661:                                              ; preds = %627
  %662 = landingpad { ptr, i32 }
          cleanup
  %663 = extractvalue { ptr, i32 } %662, 0
  store ptr %663, ptr %5, align 8
  %664 = extractvalue { ptr, i32 } %662, 1
  store i32 %664, ptr %6, align 4
  br label %689

665:                                              ; preds = %630
  %666 = landingpad { ptr, i32 }
          cleanup
  %667 = extractvalue { ptr, i32 } %666, 0
  store ptr %667, ptr %5, align 8
  %668 = extractvalue { ptr, i32 } %666, 1
  store i32 %668, ptr %6, align 4
  br label %688

669:                                              ; preds = %634
  %670 = landingpad { ptr, i32 }
          cleanup
  %671 = extractvalue { ptr, i32 } %670, 0
  store ptr %671, ptr %5, align 8
  %672 = extractvalue { ptr, i32 } %670, 1
  store i32 %672, ptr %6, align 4
  br label %687

673:                                              ; preds = %635
  %674 = landingpad { ptr, i32 }
          cleanup
  %675 = extractvalue { ptr, i32 } %674, 0
  store ptr %675, ptr %5, align 8
  %676 = extractvalue { ptr, i32 } %674, 1
  store i32 %676, ptr %6, align 4
  br label %686

677:                                              ; preds = %638
  %678 = landingpad { ptr, i32 }
          cleanup
  %679 = extractvalue { ptr, i32 } %678, 0
  store ptr %679, ptr %5, align 8
  %680 = extractvalue { ptr, i32 } %678, 1
  store i32 %680, ptr %6, align 4
  br label %685

681:                                              ; preds = %639
  %682 = landingpad { ptr, i32 }
          cleanup
  %683 = extractvalue { ptr, i32 } %682, 0
  store ptr %683, ptr %5, align 8
  %684 = extractvalue { ptr, i32 } %682, 1
  store i32 %684, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #8
  br label %685

685:                                              ; preds = %681, %677
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #8
  br label %686

686:                                              ; preds = %685, %673
  call void @llvm.lifetime.end.p0(i64 48, ptr %65) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %62) #8
  br label %687

687:                                              ; preds = %686, %669
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #8
  br label %688

688:                                              ; preds = %687, %665
  call void @llvm.lifetime.end.p0(i64 48, ptr %64) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %63) #8
  br label %689

689:                                              ; preds = %688, %661
  call void @llvm.lifetime.end.p0(i64 48, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %61) #8
  br label %974

690:                                              ; preds = %640
  %691 = landingpad { ptr, i32 }
          cleanup
  %692 = extractvalue { ptr, i32 } %691, 0
  store ptr %692, ptr %5, align 8
  %693 = extractvalue { ptr, i32 } %691, 1
  store i32 %693, ptr %6, align 4
  br label %973

694:                                              ; preds = %955, %919, %917, %909, %896, %865, %849, %777, %741, %739, %731, %718, %646
  %695 = landingpad { ptr, i32 }
          cleanup
  %696 = extractvalue { ptr, i32 } %695, 0
  store ptr %696, ptr %5, align 8
  %697 = extractvalue { ptr, i32 } %695, 1
  store i32 %697, ptr %6, align 4
  br label %972

698:                                              ; preds = %653
  %699 = landingpad { ptr, i32 }
          cleanup
  %700 = extractvalue { ptr, i32 } %699, 0
  store ptr %700, ptr %5, align 8
  %701 = extractvalue { ptr, i32 } %699, 1
  store i32 %701, ptr %6, align 4
  br label %706

702:                                              ; preds = %654
  %703 = landingpad { ptr, i32 }
          cleanup
  %704 = extractvalue { ptr, i32 } %703, 0
  store ptr %704, ptr %5, align 8
  %705 = extractvalue { ptr, i32 } %703, 1
  store i32 %705, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #8
  br label %706

706:                                              ; preds = %702, %698
  call void @llvm.lifetime.end.p0(i64 48, ptr %70) #8
  br label %972

707:                                              ; preds = %658
  %708 = landingpad { ptr, i32 }
          cleanup
  %709 = extractvalue { ptr, i32 } %708, 0
  store ptr %709, ptr %5, align 8
  %710 = extractvalue { ptr, i32 } %708, 1
  store i32 %710, ptr %6, align 4
  br label %715

711:                                              ; preds = %659
  %712 = landingpad { ptr, i32 }
          cleanup
  %713 = extractvalue { ptr, i32 } %712, 0
  store ptr %713, ptr %5, align 8
  %714 = extractvalue { ptr, i32 } %712, 1
  store i32 %714, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %71) #8
  br label %715

715:                                              ; preds = %711, %707
  call void @llvm.lifetime.end.p0(i64 48, ptr %71) #8
  br label %972

716:                                              ; preds = %655
  call void @llvm.lifetime.start.p0(i64 48, ptr %72) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %72, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %717 unwind label %720

717:                                              ; preds = %716
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %72)
          to label %718 unwind label %724

718:                                              ; preds = %717
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %72) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %72) #8
  %719 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %719, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %719, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %694

720:                                              ; preds = %716
  %721 = landingpad { ptr, i32 }
          cleanup
  %722 = extractvalue { ptr, i32 } %721, 0
  store ptr %722, ptr %5, align 8
  %723 = extractvalue { ptr, i32 } %721, 1
  store i32 %723, ptr %6, align 4
  br label %728

724:                                              ; preds = %717
  %725 = landingpad { ptr, i32 }
          cleanup
  %726 = extractvalue { ptr, i32 } %725, 0
  store ptr %726, ptr %5, align 8
  %727 = extractvalue { ptr, i32 } %725, 1
  store i32 %727, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %72) #8
  br label %728

728:                                              ; preds = %724, %720
  call void @llvm.lifetime.end.p0(i64 48, ptr %72) #8
  br label %972

729:                                              ; preds = %660
  br label %730

730:                                              ; preds = %729
  br label %731

731:                                              ; preds = %730
  invoke void @_ZN2vl7console7Console5WriteEPKw(ptr noundef @.str.54)
          to label %732 unwind label %694

732:                                              ; preds = %731
  call void @llvm.lifetime.start.p0(i64 48, ptr %73) #8
  %733 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %734 unwind label %748

734:                                              ; preds = %732
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %73, i64 noundef %733)
          to label %735 unwind label %748

735:                                              ; preds = %734
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %73)
          to label %736 unwind label %752

736:                                              ; preds = %735
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %73) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %73) #8
  br label %737

737:                                              ; preds = %736
  call void @llvm.lifetime.start.p0(i64 48, ptr %74) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %74, ptr noundef @.str.55, i1 noundef zeroext true)
          to label %738 unwind label %757

738:                                              ; preds = %737
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %74)
          to label %739 unwind label %761

739:                                              ; preds = %738
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %74) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %74) #8
  %740 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %741 unwind label %694

741:                                              ; preds = %739
  %742 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %743 unwind label %694

743:                                              ; preds = %741
  %744 = icmp ule i64 %740, %742
  br i1 %744, label %745, label %775

745:                                              ; preds = %743
  call void @llvm.lifetime.start.p0(i64 48, ptr %75) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %75, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %746 unwind label %766

746:                                              ; preds = %745
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %75)
          to label %747 unwind label %770

747:                                              ; preds = %746
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %75) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %75) #8
  br label %788

748:                                              ; preds = %734, %732
  %749 = landingpad { ptr, i32 }
          cleanup
  %750 = extractvalue { ptr, i32 } %749, 0
  store ptr %750, ptr %5, align 8
  %751 = extractvalue { ptr, i32 } %749, 1
  store i32 %751, ptr %6, align 4
  br label %756

752:                                              ; preds = %735
  %753 = landingpad { ptr, i32 }
          cleanup
  %754 = extractvalue { ptr, i32 } %753, 0
  store ptr %754, ptr %5, align 8
  %755 = extractvalue { ptr, i32 } %753, 1
  store i32 %755, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %73) #8
  br label %756

756:                                              ; preds = %752, %748
  call void @llvm.lifetime.end.p0(i64 48, ptr %73) #8
  br label %972

757:                                              ; preds = %737
  %758 = landingpad { ptr, i32 }
          cleanup
  %759 = extractvalue { ptr, i32 } %758, 0
  store ptr %759, ptr %5, align 8
  %760 = extractvalue { ptr, i32 } %758, 1
  store i32 %760, ptr %6, align 4
  br label %765

761:                                              ; preds = %738
  %762 = landingpad { ptr, i32 }
          cleanup
  %763 = extractvalue { ptr, i32 } %762, 0
  store ptr %763, ptr %5, align 8
  %764 = extractvalue { ptr, i32 } %762, 1
  store i32 %764, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %74) #8
  br label %765

765:                                              ; preds = %761, %757
  call void @llvm.lifetime.end.p0(i64 48, ptr %74) #8
  br label %972

766:                                              ; preds = %745
  %767 = landingpad { ptr, i32 }
          cleanup
  %768 = extractvalue { ptr, i32 } %767, 0
  store ptr %768, ptr %5, align 8
  %769 = extractvalue { ptr, i32 } %767, 1
  store i32 %769, ptr %6, align 4
  br label %774

770:                                              ; preds = %746
  %771 = landingpad { ptr, i32 }
          cleanup
  %772 = extractvalue { ptr, i32 } %771, 0
  store ptr %772, ptr %5, align 8
  %773 = extractvalue { ptr, i32 } %771, 1
  store i32 %773, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %75) #8
  br label %774

774:                                              ; preds = %770, %766
  call void @llvm.lifetime.end.p0(i64 48, ptr %75) #8
  br label %972

775:                                              ; preds = %743
  call void @llvm.lifetime.start.p0(i64 48, ptr %76) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %76, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %776 unwind label %779

776:                                              ; preds = %775
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %76)
          to label %777 unwind label %783

777:                                              ; preds = %776
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %76) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %76) #8
  %778 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %778, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %778, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %694

779:                                              ; preds = %775
  %780 = landingpad { ptr, i32 }
          cleanup
  %781 = extractvalue { ptr, i32 } %780, 0
  store ptr %781, ptr %5, align 8
  %782 = extractvalue { ptr, i32 } %780, 1
  store i32 %782, ptr %6, align 4
  br label %787

783:                                              ; preds = %776
  %784 = landingpad { ptr, i32 }
          cleanup
  %785 = extractvalue { ptr, i32 } %784, 0
  store ptr %785, ptr %5, align 8
  %786 = extractvalue { ptr, i32 } %784, 1
  store i32 %786, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %76) #8
  br label %787

787:                                              ; preds = %783, %779
  call void @llvm.lifetime.end.p0(i64 48, ptr %76) #8
  br label %972

788:                                              ; preds = %747
  br label %789

789:                                              ; preds = %788
  br label %790

790:                                              ; preds = %789
  br label %791

791:                                              ; preds = %790
  call void @llvm.lifetime.start.p0(i64 48, ptr %77) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %77, ptr noundef @.str.59, i1 noundef zeroext true)
          to label %792 unwind label %810

792:                                              ; preds = %791
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %77)
          to label %793 unwind label %814

793:                                              ; preds = %792
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %77) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %77) #8
  %794 = load ptr, ptr %67, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 48, ptr %78) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %79) #8
  %795 = load i64, ptr %59, align 8, !tbaa !10
  %796 = getelementptr inbounds [2 x ptr], ptr %13, i64 0, i64 %795
  %797 = load ptr, ptr %796, align 8, !tbaa !12
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %79, ptr noundef %797, i1 noundef zeroext true)
          to label %798 unwind label %819

798:                                              ; preds = %793
  call void @llvm.lifetime.start.p0(i64 48, ptr %80) #8
  %799 = load i64, ptr %58, align 8, !tbaa !10
  %800 = add nsw i64 %799, 1
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %80, i64 noundef %800)
          to label %801 unwind label %823

801:                                              ; preds = %798
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %78, ptr noundef nonnull align 8 dereferenceable(48) %79, ptr noundef nonnull align 8 dereferenceable(48) %80)
          to label %802 unwind label %827

802:                                              ; preds = %801
  %803 = invoke noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %78)
          to label %804 unwind label %831

804:                                              ; preds = %802
  %805 = call i32 @wcscmp(ptr noundef %794, ptr noundef %803) #10
  %806 = icmp eq i32 %805, 0
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %78) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %80) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %79) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %79) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %78) #8
  br i1 %806, label %807, label %847

807:                                              ; preds = %804
  call void @llvm.lifetime.start.p0(i64 48, ptr %81) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %81, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %808 unwind label %838

808:                                              ; preds = %807
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %81)
          to label %809 unwind label %842

809:                                              ; preds = %808
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %81) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %81) #8
  br label %860

810:                                              ; preds = %791
  %811 = landingpad { ptr, i32 }
          cleanup
  %812 = extractvalue { ptr, i32 } %811, 0
  store ptr %812, ptr %5, align 8
  %813 = extractvalue { ptr, i32 } %811, 1
  store i32 %813, ptr %6, align 4
  br label %818

814:                                              ; preds = %792
  %815 = landingpad { ptr, i32 }
          cleanup
  %816 = extractvalue { ptr, i32 } %815, 0
  store ptr %816, ptr %5, align 8
  %817 = extractvalue { ptr, i32 } %815, 1
  store i32 %817, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %77) #8
  br label %818

818:                                              ; preds = %814, %810
  call void @llvm.lifetime.end.p0(i64 48, ptr %77) #8
  br label %972

819:                                              ; preds = %793
  %820 = landingpad { ptr, i32 }
          cleanup
  %821 = extractvalue { ptr, i32 } %820, 0
  store ptr %821, ptr %5, align 8
  %822 = extractvalue { ptr, i32 } %820, 1
  store i32 %822, ptr %6, align 4
  br label %837

823:                                              ; preds = %798
  %824 = landingpad { ptr, i32 }
          cleanup
  %825 = extractvalue { ptr, i32 } %824, 0
  store ptr %825, ptr %5, align 8
  %826 = extractvalue { ptr, i32 } %824, 1
  store i32 %826, ptr %6, align 4
  br label %836

827:                                              ; preds = %801
  %828 = landingpad { ptr, i32 }
          cleanup
  %829 = extractvalue { ptr, i32 } %828, 0
  store ptr %829, ptr %5, align 8
  %830 = extractvalue { ptr, i32 } %828, 1
  store i32 %830, ptr %6, align 4
  br label %835

831:                                              ; preds = %802
  %832 = landingpad { ptr, i32 }
          cleanup
  %833 = extractvalue { ptr, i32 } %832, 0
  store ptr %833, ptr %5, align 8
  %834 = extractvalue { ptr, i32 } %832, 1
  store i32 %834, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %78) #8
  br label %835

835:                                              ; preds = %831, %827
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #8
  br label %836

836:                                              ; preds = %835, %823
  call void @llvm.lifetime.end.p0(i64 48, ptr %80) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %79) #8
  br label %837

837:                                              ; preds = %836, %819
  call void @llvm.lifetime.end.p0(i64 48, ptr %79) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %78) #8
  br label %972

838:                                              ; preds = %807
  %839 = landingpad { ptr, i32 }
          cleanup
  %840 = extractvalue { ptr, i32 } %839, 0
  store ptr %840, ptr %5, align 8
  %841 = extractvalue { ptr, i32 } %839, 1
  store i32 %841, ptr %6, align 4
  br label %846

842:                                              ; preds = %808
  %843 = landingpad { ptr, i32 }
          cleanup
  %844 = extractvalue { ptr, i32 } %843, 0
  store ptr %844, ptr %5, align 8
  %845 = extractvalue { ptr, i32 } %843, 1
  store i32 %845, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %81) #8
  br label %846

846:                                              ; preds = %842, %838
  call void @llvm.lifetime.end.p0(i64 48, ptr %81) #8
  br label %972

847:                                              ; preds = %804
  call void @llvm.lifetime.start.p0(i64 48, ptr %82) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %82, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %848 unwind label %851

848:                                              ; preds = %847
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %82)
          to label %849 unwind label %855

849:                                              ; preds = %848
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %82) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %82) #8
  %850 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %850, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %850, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %694

851:                                              ; preds = %847
  %852 = landingpad { ptr, i32 }
          cleanup
  %853 = extractvalue { ptr, i32 } %852, 0
  store ptr %853, ptr %5, align 8
  %854 = extractvalue { ptr, i32 } %852, 1
  store i32 %854, ptr %6, align 4
  br label %859

855:                                              ; preds = %848
  %856 = landingpad { ptr, i32 }
          cleanup
  %857 = extractvalue { ptr, i32 } %856, 0
  store ptr %857, ptr %5, align 8
  %858 = extractvalue { ptr, i32 } %856, 1
  store i32 %858, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %82) #8
  br label %859

859:                                              ; preds = %855, %851
  call void @llvm.lifetime.end.p0(i64 48, ptr %82) #8
  br label %972

860:                                              ; preds = %809
  br label %861

861:                                              ; preds = %860
  br label %862

862:                                              ; preds = %861
  br label %863

863:                                              ; preds = %862
  call void @llvm.lifetime.start.p0(i64 48, ptr %83) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %83, ptr noundef @.str.57, i1 noundef zeroext true)
          to label %864 unwind label %876

864:                                              ; preds = %863
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %83)
          to label %865 unwind label %880

865:                                              ; preds = %864
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %83) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %83) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %84, ptr align 4 %60, i64 4, i1 false), !tbaa.struct !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %85, ptr align 8 %66, i64 8, i1 false), !tbaa.struct !14
  %866 = load ptr, ptr %67, align 8, !tbaa !12
  %867 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %84, i32 0, i32 0
  %868 = load i32, ptr %867, align 4
  %869 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %85, i32 0, i32 0
  %870 = load i64, ptr %869, align 8
  %871 = invoke noundef zeroext i1 @_ZN2vl8database13BufferManager10UnlockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEEPvNS0_15PersistanceTypeE(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 %868, i64 %870, ptr noundef %866, i32 noundef 2)
          to label %872 unwind label %694

872:                                              ; preds = %865
  br i1 %871, label %873, label %894

873:                                              ; preds = %872
  call void @llvm.lifetime.start.p0(i64 48, ptr %86) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %86, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %874 unwind label %885

874:                                              ; preds = %873
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %86)
          to label %875 unwind label %889

875:                                              ; preds = %874
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %86) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %86) #8
  br label %907

876:                                              ; preds = %863
  %877 = landingpad { ptr, i32 }
          cleanup
  %878 = extractvalue { ptr, i32 } %877, 0
  store ptr %878, ptr %5, align 8
  %879 = extractvalue { ptr, i32 } %877, 1
  store i32 %879, ptr %6, align 4
  br label %884

880:                                              ; preds = %864
  %881 = landingpad { ptr, i32 }
          cleanup
  %882 = extractvalue { ptr, i32 } %881, 0
  store ptr %882, ptr %5, align 8
  %883 = extractvalue { ptr, i32 } %881, 1
  store i32 %883, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %83) #8
  br label %884

884:                                              ; preds = %880, %876
  call void @llvm.lifetime.end.p0(i64 48, ptr %83) #8
  br label %972

885:                                              ; preds = %873
  %886 = landingpad { ptr, i32 }
          cleanup
  %887 = extractvalue { ptr, i32 } %886, 0
  store ptr %887, ptr %5, align 8
  %888 = extractvalue { ptr, i32 } %886, 1
  store i32 %888, ptr %6, align 4
  br label %893

889:                                              ; preds = %874
  %890 = landingpad { ptr, i32 }
          cleanup
  %891 = extractvalue { ptr, i32 } %890, 0
  store ptr %891, ptr %5, align 8
  %892 = extractvalue { ptr, i32 } %890, 1
  store i32 %892, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %86) #8
  br label %893

893:                                              ; preds = %889, %885
  call void @llvm.lifetime.end.p0(i64 48, ptr %86) #8
  br label %972

894:                                              ; preds = %872
  call void @llvm.lifetime.start.p0(i64 48, ptr %87) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %87, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %895 unwind label %898

895:                                              ; preds = %894
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %87)
          to label %896 unwind label %902

896:                                              ; preds = %895
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %87) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %87) #8
  %897 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %897, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %897, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %694

898:                                              ; preds = %894
  %899 = landingpad { ptr, i32 }
          cleanup
  %900 = extractvalue { ptr, i32 } %899, 0
  store ptr %900, ptr %5, align 8
  %901 = extractvalue { ptr, i32 } %899, 1
  store i32 %901, ptr %6, align 4
  br label %906

902:                                              ; preds = %895
  %903 = landingpad { ptr, i32 }
          cleanup
  %904 = extractvalue { ptr, i32 } %903, 0
  store ptr %904, ptr %5, align 8
  %905 = extractvalue { ptr, i32 } %903, 1
  store i32 %905, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %87) #8
  br label %906

906:                                              ; preds = %902, %898
  call void @llvm.lifetime.end.p0(i64 48, ptr %87) #8
  br label %972

907:                                              ; preds = %875
  br label %908

908:                                              ; preds = %907
  br label %909

909:                                              ; preds = %908
  invoke void @_ZN2vl7console7Console5WriteEPKw(ptr noundef @.str.54)
          to label %910 unwind label %694

910:                                              ; preds = %909
  call void @llvm.lifetime.start.p0(i64 48, ptr %88) #8
  %911 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %912 unwind label %926

912:                                              ; preds = %910
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %88, i64 noundef %911)
          to label %913 unwind label %926

913:                                              ; preds = %912
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %88)
          to label %914 unwind label %930

914:                                              ; preds = %913
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %88) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %88) #8
  br label %915

915:                                              ; preds = %914
  call void @llvm.lifetime.start.p0(i64 48, ptr %89) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %89, ptr noundef @.str.55, i1 noundef zeroext true)
          to label %916 unwind label %935

916:                                              ; preds = %915
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %89)
          to label %917 unwind label %939

917:                                              ; preds = %916
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %89) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %89) #8
  %918 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %919 unwind label %694

919:                                              ; preds = %917
  %920 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %921 unwind label %694

921:                                              ; preds = %919
  %922 = icmp ule i64 %918, %920
  br i1 %922, label %923, label %953

923:                                              ; preds = %921
  call void @llvm.lifetime.start.p0(i64 48, ptr %90) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %90, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %924 unwind label %944

924:                                              ; preds = %923
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %90)
          to label %925 unwind label %948

925:                                              ; preds = %924
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %90) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %90) #8
  br label %966

926:                                              ; preds = %912, %910
  %927 = landingpad { ptr, i32 }
          cleanup
  %928 = extractvalue { ptr, i32 } %927, 0
  store ptr %928, ptr %5, align 8
  %929 = extractvalue { ptr, i32 } %927, 1
  store i32 %929, ptr %6, align 4
  br label %934

930:                                              ; preds = %913
  %931 = landingpad { ptr, i32 }
          cleanup
  %932 = extractvalue { ptr, i32 } %931, 0
  store ptr %932, ptr %5, align 8
  %933 = extractvalue { ptr, i32 } %931, 1
  store i32 %933, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %88) #8
  br label %934

934:                                              ; preds = %930, %926
  call void @llvm.lifetime.end.p0(i64 48, ptr %88) #8
  br label %972

935:                                              ; preds = %915
  %936 = landingpad { ptr, i32 }
          cleanup
  %937 = extractvalue { ptr, i32 } %936, 0
  store ptr %937, ptr %5, align 8
  %938 = extractvalue { ptr, i32 } %936, 1
  store i32 %938, ptr %6, align 4
  br label %943

939:                                              ; preds = %916
  %940 = landingpad { ptr, i32 }
          cleanup
  %941 = extractvalue { ptr, i32 } %940, 0
  store ptr %941, ptr %5, align 8
  %942 = extractvalue { ptr, i32 } %940, 1
  store i32 %942, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %89) #8
  br label %943

943:                                              ; preds = %939, %935
  call void @llvm.lifetime.end.p0(i64 48, ptr %89) #8
  br label %972

944:                                              ; preds = %923
  %945 = landingpad { ptr, i32 }
          cleanup
  %946 = extractvalue { ptr, i32 } %945, 0
  store ptr %946, ptr %5, align 8
  %947 = extractvalue { ptr, i32 } %945, 1
  store i32 %947, ptr %6, align 4
  br label %952

948:                                              ; preds = %924
  %949 = landingpad { ptr, i32 }
          cleanup
  %950 = extractvalue { ptr, i32 } %949, 0
  store ptr %950, ptr %5, align 8
  %951 = extractvalue { ptr, i32 } %949, 1
  store i32 %951, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %90) #8
  br label %952

952:                                              ; preds = %948, %944
  call void @llvm.lifetime.end.p0(i64 48, ptr %90) #8
  br label %972

953:                                              ; preds = %921
  call void @llvm.lifetime.start.p0(i64 48, ptr %91) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %91, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %954 unwind label %957

954:                                              ; preds = %953
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %91)
          to label %955 unwind label %961

955:                                              ; preds = %954
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %91) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %91) #8
  %956 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %956, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %956, ptr @_ZTIi, ptr null) #9
          to label %990 unwind label %694

957:                                              ; preds = %953
  %958 = landingpad { ptr, i32 }
          cleanup
  %959 = extractvalue { ptr, i32 } %958, 0
  store ptr %959, ptr %5, align 8
  %960 = extractvalue { ptr, i32 } %958, 1
  store i32 %960, ptr %6, align 4
  br label %965

961:                                              ; preds = %954
  %962 = landingpad { ptr, i32 }
          cleanup
  %963 = extractvalue { ptr, i32 } %962, 0
  store ptr %963, ptr %5, align 8
  %964 = extractvalue { ptr, i32 } %962, 1
  store i32 %964, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %91) #8
  br label %965

965:                                              ; preds = %961, %957
  call void @llvm.lifetime.end.p0(i64 48, ptr %91) #8
  br label %972

966:                                              ; preds = %925
  br label %967

967:                                              ; preds = %966
  br label %968

968:                                              ; preds = %967
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  br label %969

969:                                              ; preds = %968
  %970 = load i64, ptr %59, align 8, !tbaa !10
  %971 = add nsw i64 %970, 1
  store i64 %971, ptr %59, align 8, !tbaa !10
  br label %623, !llvm.loop !18

972:                                              ; preds = %965, %952, %943, %934, %906, %893, %884, %859, %846, %837, %818, %787, %774, %765, %756, %728, %715, %706, %694
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #8
  br label %973

973:                                              ; preds = %972, %690
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  br label %974

974:                                              ; preds = %973, %689
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  br label %980

975:                                              ; preds = %626
  br label %976

976:                                              ; preds = %975
  %977 = load i64, ptr %58, align 8, !tbaa !10
  %978 = add nsw i64 %977, 1
  store i64 %978, ptr %58, align 8, !tbaa !10
  br label %618, !llvm.loop !19

979:                                              ; preds = %621
  call void @_ZN2vl11collections4ListINS_8database8IdObjectImLl1EEES4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %17) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %1) #8
  call void @llvm.lifetime.end.p0(i64 168, ptr %1) #8
  ret void

980:                                              ; preds = %974, %612
  call void @_ZN2vl11collections4ListINS_8database8IdObjectImLl1EEES4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %17) #8
  br label %981

981:                                              ; preds = %980, %195
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #8
  br label %982

982:                                              ; preds = %981, %186, %173, %161, %160
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %983

983:                                              ; preds = %982, %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %984

984:                                              ; preds = %983, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %1) #8
  call void @llvm.lifetime.end.p0(i64 168, ptr %1) #8
  br label %985

985:                                              ; preds = %984
  %986 = load ptr, ptr %5, align 8
  %987 = load i32, ptr %6, align 4
  %988 = insertvalue { ptr, i32 } poison, ptr %986, 0
  %989 = insertvalue { ptr, i32 } %988, i32 %987, 1
  resume { ptr, i32 } %989

990:                                              ; preds = %955, %896, %849, %777, %718, %593, %534, %456, %397, %345, %286, %176
  unreachable
}

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

declare void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8, i64 noundef) #1

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

declare void @_ZN2vl7console7Console5WriteEPKw(ptr noundef) #1

declare noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168)) #1

; Function Attrs: nounwind
declare ptr @wcscpy(ptr noundef, ptr noundef) #5

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

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

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

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

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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { noreturn }
attributes #10 = { nounwind willreturn memory(read) }

!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 = !{i64 0, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{i64 0, i64 8, !10}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::database::BufferManager" = type { i64, i64, i64, i64, %"class.vl::SpinLock", i64, %"class.vl::collections::Dictionary" }
%"class.vl::SpinLock" = type { %"class.vl::Object", i64 }
%"class.vl::collections::Dictionary" = type { %"class.vl::Object", %"class.vl::collections::SortedList", %"class.vl::collections::List", %"class.vl::collections::IEnumerable.6" }
%"class.vl::collections::SortedList" = type { %"class.vl::collections::ListBase.base", %"class.vl::collections::IEnumerable" }
%"class.vl::collections::ListBase.base" = type <{ %"class.vl::collections::ArrayBase.base", i64, i8 }>
%"class.vl::collections::ArrayBase.base" = type { %"class.vl::collections::ListStore", ptr, i64 }
%"class.vl::collections::ListStore" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::collections::List" = type { %"class.vl::collections::ListBase.base.5", %"class.vl::collections::IEnumerable.3" }
%"class.vl::collections::ListBase.base.5" = type <{ %"class.vl::collections::ArrayBase.base.4", i64, i8 }>
%"class.vl::collections::ArrayBase.base.4" = type { %"class.vl::collections::ListStore.2", ptr, i64 }
%"class.vl::collections::ListStore.2" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.3" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.6" = type { %"class.vl::Interface" }
%"class.vl::collections::List.8" = type { %"class.vl::collections::ListBase.base.14", %"class.vl::collections::IEnumerable.12" }
%"class.vl::collections::ListBase.base.14" = type <{ %"class.vl::collections::ArrayBase.base.13", i64, i8 }>
%"class.vl::collections::ArrayBase.base.13" = type { %"class.vl::collections::ListStore.11", ptr, i64 }
%"class.vl::collections::ListStore.11" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.12" = type { %"class.vl::Interface" }
%"struct.vl::database::IdObject.7" = type { i64 }

@.str.1 = external hidden unnamed_addr constant [11 x i32], align 4
@.str.2 = external hidden unnamed_addr constant [11 x i32], align 4
@_ZTIi = external constant ptr
@.str.12 = external hidden unnamed_addr constant [19 x i32], align 4
@.str.48 = external hidden unnamed_addr constant [8 x i32], align 4
@.str.49 = external hidden unnamed_addr constant [8 x i32], align 4
@__const._Z43TestFunction_Utility_Buffer_AllocateAndSwapv.sourceNames = external hidden unnamed_addr constant [2 x ptr], align 16
@.str.52 = external hidden unnamed_addr constant [32 x i32], align 4
@.str.53 = external hidden unnamed_addr constant [10 x i32], align 4
@.str.54 = external hidden unnamed_addr constant [26 x i32], align 4
@.str.55 = external hidden unnamed_addr constant [63 x i32], align 4
@.str.56 = external hidden unnamed_addr constant [23 x i32], align 4
@.str.57 = external hidden unnamed_addr constant [77 x i32], align 4
@.str.58 = external hidden unnamed_addr constant [9 x i32], align 4
@.str.59 = external hidden unnamed_addr constant [75 x i32], align 4

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

declare void @_ZN2vl8database13BufferManagerC1Emm(ptr noundef nonnull align 8 dereferenceable(168), i64 noundef, i64 noundef) unnamed_addr #1

declare void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1

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

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #1

declare i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 8 dereferenceable(48), i1 noundef zeroext) local_unnamed_addr #1

declare void @_Z13GetTempFolderv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind noalias writable sret(%"class.vl::ObjectString") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168)) unnamed_addr #4

declare i64 @_ZN2vl8database13BufferManager12AllocatePageENS0_8IdObjectIiLl0EEE(ptr noundef nonnull align 8 dereferenceable(168), i32) local_unnamed_addr #1

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

declare noundef ptr @_ZN2vl8database13BufferManager8LockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEE(ptr noundef nonnull align 8 dereferenceable(168), i32, i64) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN2vl8database13BufferManager10UnlockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEEPvNS0_15PersistanceTypeE(ptr noundef nonnull align 8 dereferenceable(168), i32, i64, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z43TestFunction_Utility_Buffer_AllocateAndSwapv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.vl::database::BufferManager", align 8
  %2 = alloca %"class.vl::ObjectString", align 8
  %3 = alloca %"class.vl::ObjectString", align 8
  %4 = alloca %"class.vl::ObjectString", align 8
  %5 = alloca %"class.vl::ObjectString", align 8
  %6 = alloca %"class.vl::ObjectString", align 8
  %7 = alloca %"class.vl::ObjectString", align 8
  %8 = alloca %"class.vl::ObjectString", align 8
  %9 = alloca %"class.vl::ObjectString", align 8
  %10 = alloca %"class.vl::ObjectString", align 8
  %11 = alloca %"class.vl::collections::List.8", align 8
  %12 = alloca %"class.vl::ObjectString", align 8
  %13 = alloca %"class.vl::ObjectString", align 8
  %14 = alloca %"class.vl::ObjectString", align 8
  %15 = alloca %"class.vl::ObjectString", align 8
  %16 = alloca %"class.vl::ObjectString", align 8
  %17 = alloca %"struct.vl::database::IdObject.7", align 8
  %18 = alloca %"class.vl::ObjectString", align 8
  %19 = alloca %"class.vl::ObjectString", align 8
  %20 = alloca %"class.vl::ObjectString", align 8
  %21 = alloca %"class.vl::ObjectString", align 8
  %22 = alloca %"class.vl::ObjectString", align 8
  %23 = alloca %"class.vl::ObjectString", align 8
  %24 = alloca %"class.vl::ObjectString", align 8
  %25 = alloca %"class.vl::ObjectString", align 8
  %26 = alloca %"class.vl::ObjectString", align 8
  %27 = alloca %"class.vl::ObjectString", align 8
  %28 = alloca %"class.vl::ObjectString", align 8
  %29 = alloca %"class.vl::ObjectString", align 8
  %30 = alloca %"class.vl::ObjectString", align 8
  %31 = alloca %"class.vl::ObjectString", align 8
  %32 = alloca %"class.vl::ObjectString", align 8
  %33 = alloca %"class.vl::ObjectString", align 8
  %34 = alloca %"class.vl::ObjectString", align 8
  %35 = alloca %"class.vl::ObjectString", align 8
  %36 = alloca %"class.vl::ObjectString", align 8
  %37 = alloca %"class.vl::ObjectString", align 8
  %38 = alloca %"class.vl::ObjectString", align 8
  %39 = alloca %"class.vl::ObjectString", align 8
  %40 = alloca %"class.vl::ObjectString", align 8
  %41 = alloca %"class.vl::ObjectString", align 8
  %42 = alloca %"class.vl::ObjectString", align 8
  %43 = alloca %"class.vl::ObjectString", align 8
  %44 = alloca %"class.vl::ObjectString", align 8
  %45 = alloca %"class.vl::ObjectString", align 8
  %46 = alloca %"class.vl::ObjectString", align 8
  %47 = alloca %"class.vl::ObjectString", align 8
  %48 = alloca %"class.vl::ObjectString", align 8
  %49 = alloca %"class.vl::ObjectString", align 8
  %50 = alloca %"class.vl::ObjectString", align 8
  %51 = alloca %"class.vl::ObjectString", align 8
  %52 = alloca %"class.vl::ObjectString", align 8
  %53 = alloca %"class.vl::ObjectString", align 8
  %54 = alloca %"class.vl::ObjectString", align 8
  %55 = alloca %"class.vl::ObjectString", align 8
  %56 = alloca %"class.vl::ObjectString", align 8
  %57 = alloca %"class.vl::ObjectString", align 8
  %58 = alloca %"class.vl::ObjectString", align 8
  %59 = alloca %"class.vl::ObjectString", align 8
  %60 = alloca %"class.vl::ObjectString", align 8
  %61 = alloca %"class.vl::ObjectString", align 8
  %62 = alloca %"class.vl::ObjectString", align 8
  %63 = alloca %"class.vl::ObjectString", align 8
  %64 = alloca %"class.vl::ObjectString", align 8
  %65 = alloca %"class.vl::ObjectString", align 8
  %66 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %1) #7
  call void @_ZN2vl8database13BufferManagerC1Emm(ptr noundef nonnull align 8 dereferenceable(168) %1, i64 noundef 4096, i64 noundef 8)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #7
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %3)
          to label %67 unwind label %85

67:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull @.str.48, i1 noundef zeroext true)
          to label %68 unwind label %87

68:                                               ; preds = %67
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %4)
          to label %69 unwind label %89

69:                                               ; preds = %68
  %70 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(48) %2, i1 noundef zeroext true)
          to label %71 unwind label %91

71:                                               ; preds = %69
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #7
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %6)
          to label %72 unwind label %96

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull @.str.49, i1 noundef zeroext true)
          to label %73 unwind label %98

73:                                               ; preds = %72
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %74 unwind label %100

74:                                               ; preds = %73
  %75 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(48) %5, i1 noundef zeroext true)
          to label %76 unwind label %102

76:                                               ; preds = %74
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull @.str.52, i1 noundef zeroext true)
          to label %77 unwind label %107

77:                                               ; preds = %76
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %78 unwind label %109

78:                                               ; preds = %77
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  %79 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %80 unwind label %112

80:                                               ; preds = %78
  %81 = icmp eq i64 %79, 8
  br i1 %81, label %82, label %119

82:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %83 unwind label %114

83:                                               ; preds = %82
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %84 unwind label %116

84:                                               ; preds = %83
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #7
  invoke void @_ZN2vl11collections4ListINS_8database8IdObjectImLl1EEES4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11)
          to label %.preheader251 unwind label %129

85:                                               ; preds = %0
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %95

87:                                               ; preds = %67
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %94

89:                                               ; preds = %68
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %93

91:                                               ; preds = %69
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  br label %93

93:                                               ; preds = %91, %89
  %.pn = phi { ptr, i32 } [ %92, %91 ], [ %90, %89 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #7
  br label %94

94:                                               ; preds = %93, %87
  %.pn.pn = phi { ptr, i32 } [ %.pn, %93 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  br label %95

95:                                               ; preds = %94, %85
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %94 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #7
  br label %572

96:                                               ; preds = %71
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %106

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

100:                                              ; preds = %73
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %104

102:                                              ; preds = %74
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #7
  br label %104

104:                                              ; preds = %102, %100
  %.pn127 = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  br label %105

105:                                              ; preds = %104, %98
  %.pn127.pn = phi { ptr, i32 } [ %.pn127, %104 ], [ %99, %98 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #7
  br label %106

106:                                              ; preds = %105, %96
  %.pn127.pn.pn = phi { ptr, i32 } [ %.pn127.pn, %105 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  br label %572

107:                                              ; preds = %76
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %111

109:                                              ; preds = %77
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  br label %111

111:                                              ; preds = %109, %107
  %.pn131 = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  br label %572

112:                                              ; preds = %121, %78
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %572

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

116:                                              ; preds = %83
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  br label %118

118:                                              ; preds = %116, %114
  %.pn135 = phi { ptr, i32 } [ %117, %116 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #7
  br label %572

119:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %120 unwind label %123

120:                                              ; preds = %119
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %121 unwind label %125

121:                                              ; preds = %120
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #7
  %122 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %122, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr nonnull %122, ptr nonnull @_ZTIi, ptr null) #8
          to label %573 unwind label %112

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

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

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

.preheader251:                                    ; preds = %84, %131
  %.0118264 = phi i64 [ %128, %131 ], [ 0, %84 ]
  %128 = add nuw nsw i64 %.0118264, 1
  br label %132

129:                                              ; preds = %84
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %571

131:                                              ; preds = %343
  %exitcond.not = icmp eq i64 %128, 16
  br i1 %exitcond.not, label %.preheader, label %.preheader251, !llvm.loop !9

132:                                              ; preds = %.preheader251, %343
  %133 = phi i1 [ true, %.preheader251 ], [ false, %343 ]
  %.0119263.sroa.phi.sroa.speculated = phi i32 [ %70, %.preheader251 ], [ %75, %343 ]
  %.0119263 = phi i64 [ 0, %.preheader251 ], [ 1, %343 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull @.str.53, i1 noundef zeroext true)
          to label %134 unwind label %152

134:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #7
  %135 = getelementptr inbounds [2 x ptr], ptr @__const._Z43TestFunction_Utility_Buffer_AllocateAndSwapv.sourceNames, i64 0, i64 %.0119263
  %136 = load ptr, ptr %135, align 8, !tbaa !11
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef %136, i1 noundef zeroext true)
          to label %137 unwind label %154

137:                                              ; preds = %134
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %13, ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %138 unwind label %156

138:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #7
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %16, i64 noundef %128)
          to label %139 unwind label %158

139:                                              ; preds = %138
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %12, ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %140 unwind label %160

140:                                              ; preds = %139
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %141 unwind label %162

141:                                              ; preds = %140
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %142 = invoke i64 @_ZN2vl8database13BufferManager12AllocatePageENS0_8IdObjectIiLl0EEE(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 %.0119263.sroa.phi.sroa.speculated)
          to label %143 unwind label %.loopexit252

143:                                              ; preds = %141
  store i64 %142, ptr %17, align 8
  %144 = invoke noundef i64 @_ZN2vl11collections4ListINS_8database8IdObjectImLl1EEES4_E3AddERKS4_(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %145 unwind label %.loopexit252

145:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %18) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull @.str.12, i1 noundef zeroext true)
          to label %146 unwind label %169

146:                                              ; preds = %145
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %147 unwind label %171

147:                                              ; preds = %146
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #7
  %148 = call noundef zeroext i1 @_ZNK2vl8database8IdObjectImLl1EE7IsValidEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
  br i1 %148, label %149, label %179

149:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %150 unwind label %174

150:                                              ; preds = %149
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %151 unwind label %176

151:                                              ; preds = %150
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #7
  invoke void @_ZN2vl7console7Console5WriteEPKw(ptr noundef nonnull @.str.54)
          to label %188 unwind label %.loopexit252

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

154:                                              ; preds = %134
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %167

156:                                              ; preds = %137
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %166

158:                                              ; preds = %138
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %165

160:                                              ; preds = %139
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %164

162:                                              ; preds = %140
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #7
  br label %164

164:                                              ; preds = %162, %160
  %.pn186 = phi { ptr, i32 } [ %163, %162 ], [ %161, %160 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  br label %165

165:                                              ; preds = %164, %158
  %.pn186.pn = phi { ptr, i32 } [ %.pn186, %164 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #7
  br label %166

166:                                              ; preds = %165, %156
  %.pn186.pn.pn = phi { ptr, i32 } [ %.pn186.pn, %165 ], [ %157, %156 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #7
  br label %167

167:                                              ; preds = %166, %154
  %.pn186.pn.pn.pn = phi { ptr, i32 } [ %.pn186.pn.pn, %166 ], [ %155, %154 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #7
  br label %168

168:                                              ; preds = %167, %152
  %.pn186.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn186.pn.pn.pn, %167 ], [ %153, %152 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  br label %570

.loopexit252:                                     ; preds = %141, %143, %151, %194, %196
  %lpad.loopexit254 = landingpad { ptr, i32 }
          cleanup
  br label %367

.loopexit.split-lp253:                            ; preds = %.invoke
  %lpad.loopexit.split-lp255 = landingpad { ptr, i32 }
          cleanup
  br label %367

169:                                              ; preds = %145
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %173

171:                                              ; preds = %146
  %172 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #7
  br label %173

173:                                              ; preds = %171, %169
  %.pn192 = phi { ptr, i32 } [ %172, %171 ], [ %170, %169 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #7
  br label %367

174:                                              ; preds = %149
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %178

176:                                              ; preds = %150
  %177 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  br label %178

178:                                              ; preds = %176, %174
  %.pn196 = phi { ptr, i32 } [ %177, %176 ], [ %175, %174 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #7
  br label %367

179:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %20) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %180 unwind label %183

180:                                              ; preds = %179
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %181 unwind label %185

181:                                              ; preds = %180
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #7
  br label %.invoke

.invoke:                                          ; preds = %220, %181
  %182 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %182, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr nonnull %182, ptr nonnull @_ZTIi, ptr null) #8
          to label %.cont unwind label %.loopexit.split-lp253

.cont:                                            ; preds = %.invoke
  unreachable

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

185:                                              ; preds = %180
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  br label %187

187:                                              ; preds = %185, %183
  %.pn194 = phi { ptr, i32 } [ %186, %185 ], [ %184, %183 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #7
  br label %367

188:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %21) #7
  %189 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %190 unwind label %203

190:                                              ; preds = %188
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %21, i64 noundef %189)
          to label %191 unwind label %203

191:                                              ; preds = %190
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %192 unwind label %205

192:                                              ; preds = %191
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull @.str.55, i1 noundef zeroext true)
          to label %193 unwind label %208

193:                                              ; preds = %192
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %194 unwind label %210

194:                                              ; preds = %193
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #7
  %195 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %196 unwind label %.loopexit252

196:                                              ; preds = %194
  %197 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %198 unwind label %.loopexit252

198:                                              ; preds = %196
  %.not202 = icmp ugt i64 %195, %197
  br i1 %.not202, label %218, label %199

199:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %23) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %23, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %200 unwind label %213

200:                                              ; preds = %199
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %23)
          to label %201 unwind label %215

201:                                              ; preds = %200
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #7
  %.sroa.022.0.copyload = load i64, ptr %17, align 8, !tbaa !13
  %202 = invoke noundef ptr @_ZN2vl8database13BufferManager8LockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEE(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 %.0119263.sroa.phi.sroa.speculated, i64 %.sroa.022.0.copyload)
          to label %226 unwind label %.loopexit257

203:                                              ; preds = %190, %188
  %204 = landingpad { ptr, i32 }
          cleanup
  br label %207

205:                                              ; preds = %191
  %206 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  br label %207

207:                                              ; preds = %205, %203
  %.pn198 = phi { ptr, i32 } [ %206, %205 ], [ %204, %203 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #7
  br label %367

208:                                              ; preds = %192
  %209 = landingpad { ptr, i32 }
          cleanup
  br label %212

210:                                              ; preds = %193
  %211 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  br label %212

212:                                              ; preds = %210, %208
  %.pn200 = phi { ptr, i32 } [ %211, %210 ], [ %209, %208 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #7
  br label %367

213:                                              ; preds = %199
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %217

215:                                              ; preds = %200
  %216 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #7
  br label %217

217:                                              ; preds = %215, %213
  %.pn205 = phi { ptr, i32 } [ %216, %215 ], [ %214, %213 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #7
  br label %367

218:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %24) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %219 unwind label %221

219:                                              ; preds = %218
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %220 unwind label %223

220:                                              ; preds = %219
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #7
  br label %.invoke

221:                                              ; preds = %218
  %222 = landingpad { ptr, i32 }
          cleanup
  br label %225

223:                                              ; preds = %219
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #7
  br label %225

225:                                              ; preds = %223, %221
  %.pn203 = phi { ptr, i32 } [ %224, %223 ], [ %222, %221 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #7
  br label %367

226:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull @.str.56, i1 noundef zeroext true)
          to label %227 unwind label %232

227:                                              ; preds = %226
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %228 unwind label %234

228:                                              ; preds = %227
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #7
  %.not209 = icmp eq ptr %202, null
  br i1 %.not209, label %242, label %229

229:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %26) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %230 unwind label %237

230:                                              ; preds = %229
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %26)
          to label %231 unwind label %239

231:                                              ; preds = %230
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #7
  invoke void @_ZN2vl7console7Console5WriteEPKw(ptr noundef nonnull @.str.54)
          to label %251 unwind label %.loopexit257

.loopexit257:                                     ; preds = %201, %231, %257, %259, %295, %300, %336, %338
  %lpad.loopexit259 = landingpad { ptr, i32 }
          cleanup
  br label %367

.loopexit.split-lp258:                            ; preds = %.invoke268
  %lpad.loopexit.split-lp260 = landingpad { ptr, i32 }
          cleanup
  br label %367

232:                                              ; preds = %226
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %236

234:                                              ; preds = %227
  %235 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #7
  br label %236

236:                                              ; preds = %234, %232
  %.pn207 = phi { ptr, i32 } [ %235, %234 ], [ %233, %232 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #7
  br label %367

237:                                              ; preds = %229
  %238 = landingpad { ptr, i32 }
          cleanup
  br label %241

239:                                              ; preds = %230
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  br label %241

241:                                              ; preds = %239, %237
  %.pn212 = phi { ptr, i32 } [ %240, %239 ], [ %238, %237 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #7
  br label %367

242:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %27) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %243 unwind label %246

243:                                              ; preds = %242
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %244 unwind label %248

244:                                              ; preds = %243
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #7
  br label %.invoke268

.invoke268:                                       ; preds = %361, %324, %282, %244
  %245 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %245, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr nonnull %245, ptr nonnull @_ZTIi, ptr null) #8
          to label %.cont269 unwind label %.loopexit.split-lp258

.cont269:                                         ; preds = %.invoke268
  unreachable

246:                                              ; preds = %242
  %247 = landingpad { ptr, i32 }
          cleanup
  br label %250

248:                                              ; preds = %243
  %249 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #7
  br label %250

250:                                              ; preds = %248, %246
  %.pn210 = phi { ptr, i32 } [ %249, %248 ], [ %247, %246 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #7
  br label %367

251:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %28) #7
  %252 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %253 unwind label %265

253:                                              ; preds = %251
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %28, i64 noundef %252)
          to label %254 unwind label %265

254:                                              ; preds = %253
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %255 unwind label %267

255:                                              ; preds = %254
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %29) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %29, ptr noundef nonnull @.str.55, i1 noundef zeroext true)
          to label %256 unwind label %270

256:                                              ; preds = %255
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %29)
          to label %257 unwind label %272

257:                                              ; preds = %256
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #7
  %258 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %259 unwind label %.loopexit257

259:                                              ; preds = %257
  %260 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %261 unwind label %.loopexit257

261:                                              ; preds = %259
  %.not218 = icmp ugt i64 %258, %260
  br i1 %.not218, label %280, label %262

262:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %30) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %263 unwind label %275

263:                                              ; preds = %262
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %264 unwind label %277

264:                                              ; preds = %263
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %33) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef %136, i1 noundef zeroext true)
          to label %288 unwind label %301

265:                                              ; preds = %253, %251
  %266 = landingpad { ptr, i32 }
          cleanup
  br label %269

267:                                              ; preds = %254
  %268 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #7
  br label %269

269:                                              ; preds = %267, %265
  %.pn214 = phi { ptr, i32 } [ %268, %267 ], [ %266, %265 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #7
  br label %367

270:                                              ; preds = %255
  %271 = landingpad { ptr, i32 }
          cleanup
  br label %274

272:                                              ; preds = %256
  %273 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #7
  br label %274

274:                                              ; preds = %272, %270
  %.pn216 = phi { ptr, i32 } [ %273, %272 ], [ %271, %270 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #7
  br label %367

275:                                              ; preds = %262
  %276 = landingpad { ptr, i32 }
          cleanup
  br label %279

277:                                              ; preds = %263
  %278 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #7
  br label %279

279:                                              ; preds = %277, %275
  %.pn221 = phi { ptr, i32 } [ %278, %277 ], [ %276, %275 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #7
  br label %367

280:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %31) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %281 unwind label %283

281:                                              ; preds = %280
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %282 unwind label %285

282:                                              ; preds = %281
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #7
  br label %.invoke268

283:                                              ; preds = %280
  %284 = landingpad { ptr, i32 }
          cleanup
  br label %287

285:                                              ; preds = %281
  %286 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  br label %287

287:                                              ; preds = %285, %283
  %.pn219 = phi { ptr, i32 } [ %286, %285 ], [ %284, %283 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #7
  br label %367

288:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %34) #7
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %34, i64 noundef %128)
          to label %289 unwind label %303

289:                                              ; preds = %288
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %32, ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull align 8 dereferenceable(48) %34)
          to label %290 unwind label %305

290:                                              ; preds = %289
  %291 = invoke noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %32)
          to label %292 unwind label %307

292:                                              ; preds = %290
  %293 = call ptr @wcscpy(ptr noundef nonnull %202, ptr noundef %291) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %34) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %35) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef nonnull @.str.57, i1 noundef zeroext true)
          to label %294 unwind label %312

294:                                              ; preds = %292
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %35)
          to label %295 unwind label %314

295:                                              ; preds = %294
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %35) #7
  %.sroa.020.0.copyload = load i64, ptr %17, align 8, !tbaa !13
  %296 = invoke noundef zeroext i1 @_ZN2vl8database13BufferManager10UnlockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEEPvNS0_15PersistanceTypeE(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 %.0119263.sroa.phi.sroa.speculated, i64 %.sroa.020.0.copyload, ptr noundef nonnull %202, i32 noundef 2)
          to label %297 unwind label %.loopexit257

297:                                              ; preds = %295
  br i1 %296, label %298, label %322

298:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %36) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %36, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %299 unwind label %317

299:                                              ; preds = %298
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %36)
          to label %300 unwind label %319

300:                                              ; preds = %299
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %36) #7
  invoke void @_ZN2vl7console7Console5WriteEPKw(ptr noundef nonnull @.str.54)
          to label %330 unwind label %.loopexit257

301:                                              ; preds = %264
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %311

303:                                              ; preds = %288
  %304 = landingpad { ptr, i32 }
          cleanup
  br label %310

305:                                              ; preds = %289
  %306 = landingpad { ptr, i32 }
          cleanup
  br label %309

307:                                              ; preds = %290
  %308 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #7
  br label %309

309:                                              ; preds = %307, %305
  %.pn223 = phi { ptr, i32 } [ %308, %307 ], [ %306, %305 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #7
  br label %310

310:                                              ; preds = %309, %303
  %.pn223.pn = phi { ptr, i32 } [ %.pn223, %309 ], [ %304, %303 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %34) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #7
  br label %311

311:                                              ; preds = %310, %301
  %.pn223.pn.pn = phi { ptr, i32 } [ %.pn223.pn, %310 ], [ %302, %301 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #7
  br label %367

312:                                              ; preds = %292
  %313 = landingpad { ptr, i32 }
          cleanup
  br label %316

314:                                              ; preds = %294
  %315 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #7
  br label %316

316:                                              ; preds = %314, %312
  %.pn227 = phi { ptr, i32 } [ %315, %314 ], [ %313, %312 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %35) #7
  br label %367

317:                                              ; preds = %298
  %318 = landingpad { ptr, i32 }
          cleanup
  br label %321

319:                                              ; preds = %299
  %320 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #7
  br label %321

321:                                              ; preds = %319, %317
  %.pn231 = phi { ptr, i32 } [ %320, %319 ], [ %318, %317 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %36) #7
  br label %367

322:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %37) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %323 unwind label %325

323:                                              ; preds = %322
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %37)
          to label %324 unwind label %327

324:                                              ; preds = %323
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %37) #7
  br label %.invoke268

325:                                              ; preds = %322
  %326 = landingpad { ptr, i32 }
          cleanup
  br label %329

327:                                              ; preds = %323
  %328 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #7
  br label %329

329:                                              ; preds = %327, %325
  %.pn229 = phi { ptr, i32 } [ %328, %327 ], [ %326, %325 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %37) #7
  br label %367

330:                                              ; preds = %300
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %38) #7
  %331 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %332 unwind label %344

332:                                              ; preds = %330
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %38, i64 noundef %331)
          to label %333 unwind label %344

333:                                              ; preds = %332
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %38)
          to label %334 unwind label %346

334:                                              ; preds = %333
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %38) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %39) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %39, ptr noundef nonnull @.str.55, i1 noundef zeroext true)
          to label %335 unwind label %349

335:                                              ; preds = %334
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %39)
          to label %336 unwind label %351

336:                                              ; preds = %335
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %39) #7
  %337 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %338 unwind label %.loopexit257

338:                                              ; preds = %336
  %339 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %340 unwind label %.loopexit257

340:                                              ; preds = %338
  %.not237 = icmp ugt i64 %337, %339
  br i1 %.not237, label %359, label %341

341:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %40) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %40, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %342 unwind label %354

342:                                              ; preds = %341
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %40)
          to label %343 unwind label %356

343:                                              ; preds = %342
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br i1 %133, label %132, label %131, !llvm.loop !15

344:                                              ; preds = %332, %330
  %345 = landingpad { ptr, i32 }
          cleanup
  br label %348

346:                                              ; preds = %333
  %347 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #7
  br label %348

348:                                              ; preds = %346, %344
  %.pn233 = phi { ptr, i32 } [ %347, %346 ], [ %345, %344 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %38) #7
  br label %367

349:                                              ; preds = %334
  %350 = landingpad { ptr, i32 }
          cleanup
  br label %353

351:                                              ; preds = %335
  %352 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #7
  br label %353

353:                                              ; preds = %351, %349
  %.pn235 = phi { ptr, i32 } [ %352, %351 ], [ %350, %349 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %39) #7
  br label %367

354:                                              ; preds = %341
  %355 = landingpad { ptr, i32 }
          cleanup
  br label %358

356:                                              ; preds = %342
  %357 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #7
  br label %358

358:                                              ; preds = %356, %354
  %.pn240 = phi { ptr, i32 } [ %357, %356 ], [ %355, %354 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %40) #7
  br label %367

359:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %41) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %41, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %360 unwind label %362

360:                                              ; preds = %359
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %41)
          to label %361 unwind label %364

361:                                              ; preds = %360
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %41) #7
  br label %.invoke268

362:                                              ; preds = %359
  %363 = landingpad { ptr, i32 }
          cleanup
  br label %366

364:                                              ; preds = %360
  %365 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #7
  br label %366

366:                                              ; preds = %364, %362
  %.pn238 = phi { ptr, i32 } [ %365, %364 ], [ %363, %362 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %41) #7
  br label %367

367:                                              ; preds = %.loopexit257, %.loopexit.split-lp258, %.loopexit252, %.loopexit.split-lp253, %236, %241, %250, %269, %274, %279, %287, %311, %316, %321, %329, %348, %353, %358, %366, %225, %217, %212, %207, %187, %178, %173
  %.pn240.pn.pn = phi { ptr, i32 } [ %.pn205, %217 ], [ %.pn203, %225 ], [ %.pn200, %212 ], [ %.pn198, %207 ], [ %.pn196, %178 ], [ %.pn194, %187 ], [ %.pn192, %173 ], [ %.pn240, %358 ], [ %.pn238, %366 ], [ %.pn235, %353 ], [ %.pn233, %348 ], [ %.pn231, %321 ], [ %.pn229, %329 ], [ %.pn227, %316 ], [ %.pn223.pn.pn, %311 ], [ %.pn221, %279 ], [ %.pn219, %287 ], [ %.pn216, %274 ], [ %.pn214, %269 ], [ %.pn212, %241 ], [ %.pn210, %250 ], [ %.pn207, %236 ], [ %lpad.loopexit254, %.loopexit252 ], [ %lpad.loopexit.split-lp255, %.loopexit.split-lp253 ], [ %lpad.loopexit259, %.loopexit257 ], [ %lpad.loopexit.split-lp260, %.loopexit.split-lp258 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %570

.preheader:                                       ; preds = %131, %371
  %.0120266 = phi i64 [ %368, %371 ], [ 0, %131 ]
  %368 = add nuw nsw i64 %.0120266, 1
  %369 = shl nuw nsw i64 %.0120266, 1
  br label %372

370:                                              ; preds = %371
  call void @_ZN2vl11collections4ListINS_8database8IdObjectImLl1EEES4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #7
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %1) #7
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %1) #7
  ret void

371:                                              ; preds = %546
  %exitcond267.not = icmp eq i64 %368, 16
  br i1 %exitcond267.not, label %370, label %.preheader, !llvm.loop !16

372:                                              ; preds = %.preheader, %546
  %373 = phi i1 [ true, %.preheader ], [ false, %546 ]
  %.0121265.sroa.phi.sroa.speculated = phi i32 [ %70, %.preheader ], [ %75, %546 ]
  %.0121265 = phi i64 [ 0, %.preheader ], [ 1, %546 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %42) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %43) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %44) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %44, ptr noundef nonnull @.str.58, i1 noundef zeroext true)
          to label %374 unwind label %392

374:                                              ; preds = %372
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %45) #7
  %375 = getelementptr inbounds [2 x ptr], ptr @__const._Z43TestFunction_Utility_Buffer_AllocateAndSwapv.sourceNames, i64 0, i64 %.0121265
  %376 = load ptr, ptr %375, align 8, !tbaa !11
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef %376, i1 noundef zeroext true)
          to label %377 unwind label %394

377:                                              ; preds = %374
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %43, ptr noundef nonnull align 8 dereferenceable(48) %44, ptr noundef nonnull align 8 dereferenceable(48) %45)
          to label %378 unwind label %396

378:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %46) #7
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %46, i64 noundef %368)
          to label %379 unwind label %398

379:                                              ; preds = %378
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %42, ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(48) %46)
          to label %380 unwind label %400

380:                                              ; preds = %379
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %42)
          to label %381 unwind label %402

381:                                              ; preds = %380
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %46) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %45) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %44) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %42) #7
  %382 = or disjoint i64 %.0121265, %369
  %383 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListINS_8database8IdObjectImLl1EEES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %11, i64 noundef %382)
          to label %384 unwind label %409

384:                                              ; preds = %381
  %.sroa.06.0.copyload = load i64, ptr %383, align 8, !tbaa !13
  %385 = invoke noundef ptr @_ZN2vl8database13BufferManager8LockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEE(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 %.0121265.sroa.phi.sroa.speculated, i64 %.sroa.06.0.copyload)
          to label %386 unwind label %.loopexit

386:                                              ; preds = %384
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %47) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %47, ptr noundef nonnull @.str.56, i1 noundef zeroext true)
          to label %387 unwind label %411

387:                                              ; preds = %386
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %47)
          to label %388 unwind label %413

388:                                              ; preds = %387
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %47) #7
  %.not = icmp eq ptr %385, null
  br i1 %.not, label %421, label %389

389:                                              ; preds = %388
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %48) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %48, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %390 unwind label %416

390:                                              ; preds = %389
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %48)
          to label %391 unwind label %418

391:                                              ; preds = %390
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %48) #7
  invoke void @_ZN2vl7console7Console5WriteEPKw(ptr noundef nonnull @.str.54)
          to label %430 unwind label %.loopexit

392:                                              ; preds = %372
  %393 = landingpad { ptr, i32 }
          cleanup
  br label %408

394:                                              ; preds = %374
  %395 = landingpad { ptr, i32 }
          cleanup
  br label %407

396:                                              ; preds = %377
  %397 = landingpad { ptr, i32 }
          cleanup
  br label %406

398:                                              ; preds = %378
  %399 = landingpad { ptr, i32 }
          cleanup
  br label %405

400:                                              ; preds = %379
  %401 = landingpad { ptr, i32 }
          cleanup
  br label %404

402:                                              ; preds = %380
  %403 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #7
  br label %404

404:                                              ; preds = %402, %400
  %.pn137 = phi { ptr, i32 } [ %403, %402 ], [ %401, %400 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #7
  br label %405

405:                                              ; preds = %404, %398
  %.pn137.pn = phi { ptr, i32 } [ %.pn137, %404 ], [ %399, %398 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %46) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #7
  br label %406

406:                                              ; preds = %405, %396
  %.pn137.pn.pn = phi { ptr, i32 } [ %.pn137.pn, %405 ], [ %397, %396 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #7
  br label %407

407:                                              ; preds = %406, %394
  %.pn137.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn, %406 ], [ %395, %394 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %45) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #7
  br label %408

408:                                              ; preds = %407, %392
  %.pn137.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn.pn, %407 ], [ %393, %392 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %44) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %42) #7
  br label %570

409:                                              ; preds = %381
  %410 = landingpad { ptr, i32 }
          cleanup
  br label %570

.loopexit:                                        ; preds = %384, %391, %436, %438, %509, %514, %539, %541
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %570

.loopexit.split-lp:                               ; preds = %.invoke270
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %570

411:                                              ; preds = %386
  %412 = landingpad { ptr, i32 }
          cleanup
  br label %415

413:                                              ; preds = %387
  %414 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #7
  br label %415

415:                                              ; preds = %413, %411
  %.pn143 = phi { ptr, i32 } [ %414, %413 ], [ %412, %411 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %47) #7
  br label %570

416:                                              ; preds = %389
  %417 = landingpad { ptr, i32 }
          cleanup
  br label %420

418:                                              ; preds = %390
  %419 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #7
  br label %420

420:                                              ; preds = %418, %416
  %.pn147 = phi { ptr, i32 } [ %419, %418 ], [ %417, %416 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %48) #7
  br label %570

421:                                              ; preds = %388
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %49) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %49, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %422 unwind label %425

422:                                              ; preds = %421
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %49)
          to label %423 unwind label %427

423:                                              ; preds = %422
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %49) #7
  br label %.invoke270

.invoke270:                                       ; preds = %564, %527, %502, %461, %423
  %424 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %424, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr nonnull %424, ptr nonnull @_ZTIi, ptr null) #8
          to label %.cont271 unwind label %.loopexit.split-lp

.cont271:                                         ; preds = %.invoke270
  unreachable

425:                                              ; preds = %421
  %426 = landingpad { ptr, i32 }
          cleanup
  br label %429

427:                                              ; preds = %422
  %428 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #7
  br label %429

429:                                              ; preds = %427, %425
  %.pn145 = phi { ptr, i32 } [ %428, %427 ], [ %426, %425 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %49) #7
  br label %570

430:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %50) #7
  %431 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %432 unwind label %444

432:                                              ; preds = %430
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %50, i64 noundef %431)
          to label %433 unwind label %444

433:                                              ; preds = %432
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %50)
          to label %434 unwind label %446

434:                                              ; preds = %433
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %50) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %51) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %51, ptr noundef nonnull @.str.55, i1 noundef zeroext true)
          to label %435 unwind label %449

435:                                              ; preds = %434
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %51)
          to label %436 unwind label %451

436:                                              ; preds = %435
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %51) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %51) #7
  %437 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %438 unwind label %.loopexit

438:                                              ; preds = %436
  %439 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %440 unwind label %.loopexit

440:                                              ; preds = %438
  %.not153 = icmp ugt i64 %437, %439
  br i1 %.not153, label %459, label %441

441:                                              ; preds = %440
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %52) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %52, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %442 unwind label %454

442:                                              ; preds = %441
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %52)
          to label %443 unwind label %456

443:                                              ; preds = %442
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %52) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %54) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %54, ptr noundef nonnull @.str.59, i1 noundef zeroext true)
          to label %467 unwind label %479

444:                                              ; preds = %432, %430
  %445 = landingpad { ptr, i32 }
          cleanup
  br label %448

446:                                              ; preds = %433
  %447 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #7
  br label %448

448:                                              ; preds = %446, %444
  %.pn149 = phi { ptr, i32 } [ %447, %446 ], [ %445, %444 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %50) #7
  br label %570

449:                                              ; preds = %434
  %450 = landingpad { ptr, i32 }
          cleanup
  br label %453

451:                                              ; preds = %435
  %452 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %51) #7
  br label %453

453:                                              ; preds = %451, %449
  %.pn151 = phi { ptr, i32 } [ %452, %451 ], [ %450, %449 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %51) #7
  br label %570

454:                                              ; preds = %441
  %455 = landingpad { ptr, i32 }
          cleanup
  br label %458

456:                                              ; preds = %442
  %457 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #7
  br label %458

458:                                              ; preds = %456, %454
  %.pn156 = phi { ptr, i32 } [ %457, %456 ], [ %455, %454 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %52) #7
  br label %570

459:                                              ; preds = %440
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %53) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %53, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %460 unwind label %462

460:                                              ; preds = %459
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %53)
          to label %461 unwind label %464

461:                                              ; preds = %460
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %53) #7
  br label %.invoke270

462:                                              ; preds = %459
  %463 = landingpad { ptr, i32 }
          cleanup
  br label %466

464:                                              ; preds = %460
  %465 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #7
  br label %466

466:                                              ; preds = %464, %462
  %.pn154 = phi { ptr, i32 } [ %465, %464 ], [ %463, %462 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %53) #7
  br label %570

467:                                              ; preds = %443
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %54)
          to label %468 unwind label %481

468:                                              ; preds = %467
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %54) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %54) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %55) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %56) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %56, ptr noundef %376, i1 noundef zeroext true)
          to label %469 unwind label %484

469:                                              ; preds = %468
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %57) #7
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %57, i64 noundef %368)
          to label %470 unwind label %486

470:                                              ; preds = %469
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %55, ptr noundef nonnull align 8 dereferenceable(48) %56, ptr noundef nonnull align 8 dereferenceable(48) %57)
          to label %471 unwind label %488

471:                                              ; preds = %470
  %472 = invoke noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %55)
          to label %473 unwind label %490

473:                                              ; preds = %471
  %474 = call i32 @wcscmp(ptr noundef nonnull %385, ptr noundef %472) #9
  %475 = icmp eq i32 %474, 0
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %55) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %57) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %56) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %56) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %55) #7
  br i1 %475, label %476, label %500

476:                                              ; preds = %473
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %58) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %58, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %477 unwind label %495

477:                                              ; preds = %476
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %58)
          to label %478 unwind label %497

478:                                              ; preds = %477
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %58) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %60) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %60, ptr noundef nonnull @.str.57, i1 noundef zeroext true)
          to label %508 unwind label %515

479:                                              ; preds = %443
  %480 = landingpad { ptr, i32 }
          cleanup
  br label %483

481:                                              ; preds = %467
  %482 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %54) #7
  br label %483

483:                                              ; preds = %481, %479
  %.pn158 = phi { ptr, i32 } [ %482, %481 ], [ %480, %479 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %54) #7
  br label %570

484:                                              ; preds = %468
  %485 = landingpad { ptr, i32 }
          cleanup
  br label %494

486:                                              ; preds = %469
  %487 = landingpad { ptr, i32 }
          cleanup
  br label %493

488:                                              ; preds = %470
  %489 = landingpad { ptr, i32 }
          cleanup
  br label %492

490:                                              ; preds = %471
  %491 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %55) #7
  br label %492

492:                                              ; preds = %490, %488
  %.pn160 = phi { ptr, i32 } [ %491, %490 ], [ %489, %488 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #7
  br label %493

493:                                              ; preds = %492, %486
  %.pn160.pn = phi { ptr, i32 } [ %.pn160, %492 ], [ %487, %486 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %57) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %56) #7
  br label %494

494:                                              ; preds = %493, %484
  %.pn160.pn.pn = phi { ptr, i32 } [ %.pn160.pn, %493 ], [ %485, %484 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %56) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %55) #7
  br label %570

495:                                              ; preds = %476
  %496 = landingpad { ptr, i32 }
          cleanup
  br label %499

497:                                              ; preds = %477
  %498 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #7
  br label %499

499:                                              ; preds = %497, %495
  %.pn166 = phi { ptr, i32 } [ %498, %497 ], [ %496, %495 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %58) #7
  br label %570

500:                                              ; preds = %473
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %59) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %59, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %501 unwind label %503

501:                                              ; preds = %500
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %59)
          to label %502 unwind label %505

502:                                              ; preds = %501
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %59) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %59) #7
  br label %.invoke270

503:                                              ; preds = %500
  %504 = landingpad { ptr, i32 }
          cleanup
  br label %507

505:                                              ; preds = %501
  %506 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %59) #7
  br label %507

507:                                              ; preds = %505, %503
  %.pn164 = phi { ptr, i32 } [ %506, %505 ], [ %504, %503 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %59) #7
  br label %570

508:                                              ; preds = %478
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %60)
          to label %509 unwind label %517

509:                                              ; preds = %508
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %60) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %60) #7
  %510 = invoke noundef zeroext i1 @_ZN2vl8database13BufferManager10UnlockPageENS0_8IdObjectIiLl0EEENS2_ImLl1EEEPvNS0_15PersistanceTypeE(ptr noundef nonnull align 8 dereferenceable(168) %1, i32 %.0121265.sroa.phi.sroa.speculated, i64 %.sroa.06.0.copyload, ptr noundef nonnull %385, i32 noundef 2)
          to label %511 unwind label %.loopexit

511:                                              ; preds = %509
  br i1 %510, label %512, label %525

512:                                              ; preds = %511
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %61) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %61, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %513 unwind label %520

513:                                              ; preds = %512
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %61)
          to label %514 unwind label %522

514:                                              ; preds = %513
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %61) #7
  invoke void @_ZN2vl7console7Console5WriteEPKw(ptr noundef nonnull @.str.54)
          to label %533 unwind label %.loopexit

515:                                              ; preds = %478
  %516 = landingpad { ptr, i32 }
          cleanup
  br label %519

517:                                              ; preds = %508
  %518 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %60) #7
  br label %519

519:                                              ; preds = %517, %515
  %.pn168 = phi { ptr, i32 } [ %518, %517 ], [ %516, %515 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %60) #7
  br label %570

520:                                              ; preds = %512
  %521 = landingpad { ptr, i32 }
          cleanup
  br label %524

522:                                              ; preds = %513
  %523 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #7
  br label %524

524:                                              ; preds = %522, %520
  %.pn172 = phi { ptr, i32 } [ %523, %522 ], [ %521, %520 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %61) #7
  br label %570

525:                                              ; preds = %511
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %62) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %62, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %526 unwind label %528

526:                                              ; preds = %525
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %62)
          to label %527 unwind label %530

527:                                              ; preds = %526
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %62) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %62) #7
  br label %.invoke270

528:                                              ; preds = %525
  %529 = landingpad { ptr, i32 }
          cleanup
  br label %532

530:                                              ; preds = %526
  %531 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %62) #7
  br label %532

532:                                              ; preds = %530, %528
  %.pn170 = phi { ptr, i32 } [ %531, %530 ], [ %529, %528 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %62) #7
  br label %570

533:                                              ; preds = %514
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %63) #7
  %534 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %535 unwind label %547

535:                                              ; preds = %533
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %63, i64 noundef %534)
          to label %536 unwind label %547

536:                                              ; preds = %535
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %63)
          to label %537 unwind label %549

537:                                              ; preds = %536
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %63) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %63) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %64) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef nonnull @.str.55, i1 noundef zeroext true)
          to label %538 unwind label %552

538:                                              ; preds = %537
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %64)
          to label %539 unwind label %554

539:                                              ; preds = %538
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %64) #7
  %540 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %541 unwind label %.loopexit

541:                                              ; preds = %539
  %542 = invoke noundef i64 @_ZN2vl8database13BufferManager17GetCachePageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %543 unwind label %.loopexit

543:                                              ; preds = %541
  %.not178 = icmp ugt i64 %540, %542
  br i1 %.not178, label %562, label %544

544:                                              ; preds = %543
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %65) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %65, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %545 unwind label %557

545:                                              ; preds = %544
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %65)
          to label %546 unwind label %559

546:                                              ; preds = %545
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %65) #7
  br i1 %373, label %372, label %371, !llvm.loop !17

547:                                              ; preds = %535, %533
  %548 = landingpad { ptr, i32 }
          cleanup
  br label %551

549:                                              ; preds = %536
  %550 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %63) #7
  br label %551

551:                                              ; preds = %549, %547
  %.pn174 = phi { ptr, i32 } [ %550, %549 ], [ %548, %547 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %63) #7
  br label %570

552:                                              ; preds = %537
  %553 = landingpad { ptr, i32 }
          cleanup
  br label %556

554:                                              ; preds = %538
  %555 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #7
  br label %556

556:                                              ; preds = %554, %552
  %.pn176 = phi { ptr, i32 } [ %555, %554 ], [ %553, %552 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %64) #7
  br label %570

557:                                              ; preds = %544
  %558 = landingpad { ptr, i32 }
          cleanup
  br label %561

559:                                              ; preds = %545
  %560 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #7
  br label %561

561:                                              ; preds = %559, %557
  %.pn181 = phi { ptr, i32 } [ %560, %559 ], [ %558, %557 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %65) #7
  br label %570

562:                                              ; preds = %543
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %66) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %66, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %563 unwind label %565

563:                                              ; preds = %562
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %66)
          to label %564 unwind label %567

564:                                              ; preds = %563
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %66) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %66) #7
  br label %.invoke270

565:                                              ; preds = %562
  %566 = landingpad { ptr, i32 }
          cleanup
  br label %569

567:                                              ; preds = %563
  %568 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %66) #7
  br label %569

569:                                              ; preds = %567, %565
  %.pn179 = phi { ptr, i32 } [ %568, %567 ], [ %566, %565 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %66) #7
  br label %570

570:                                              ; preds = %.loopexit, %.loopexit.split-lp, %408, %415, %420, %429, %448, %453, %458, %466, %483, %494, %499, %507, %519, %524, %532, %551, %556, %561, %569, %409, %168, %367
  %.pn240.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn240.pn.pn, %367 ], [ %.pn186.pn.pn.pn.pn, %168 ], [ %.pn137.pn.pn.pn.pn, %408 ], [ %410, %409 ], [ %.pn181, %561 ], [ %.pn179, %569 ], [ %.pn176, %556 ], [ %.pn174, %551 ], [ %.pn172, %524 ], [ %.pn170, %532 ], [ %.pn168, %519 ], [ %.pn166, %499 ], [ %.pn164, %507 ], [ %.pn160.pn.pn, %494 ], [ %.pn158, %483 ], [ %.pn156, %458 ], [ %.pn154, %466 ], [ %.pn151, %453 ], [ %.pn149, %448 ], [ %.pn147, %420 ], [ %.pn145, %429 ], [ %.pn143, %415 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN2vl11collections4ListINS_8database8IdObjectImLl1EEES4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11) #7
  br label %571

571:                                              ; preds = %570, %129
  %.pn240.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn240.pn.pn.pn.pn, %570 ], [ %130, %129 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #7
  br label %572

572:                                              ; preds = %111, %112, %118, %127, %571, %106, %95
  %.pn240.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %95 ], [ %.pn127.pn.pn, %106 ], [ %.pn240.pn.pn.pn.pn.pn, %571 ], [ %.pn135, %118 ], [ %113, %112 ], [ %.pn133, %127 ], [ %.pn131, %111 ]
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %1) #7
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn240.pn.pn.pn.pn.pn.pn.pn.pn

573:                                              ; preds = %121
  unreachable
}

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

declare void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8, i64 noundef) local_unnamed_addr #1

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

declare void @_ZN2vl7console7Console5WriteEPKw(ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #1

; Function Attrs: nounwind
declare ptr @wcscpy(ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @wcscmp(ptr noundef, ptr noundef) local_unnamed_addr #5

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

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass