; LLVM IR from vczh/herodb :: Kernel/UnitTest/TestUtility_Log.ll (Z49TestFunction_Utility_Log_OpenTransactionsParallelv)

; 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::Ptr" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.36" = type { ptr, ptr, ptr, 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.37" = type { %"class.vl::collections::ListBase.base.23", %"class.vl::collections::IEnumerable.21" }
%"class.vl::collections::ListBase.base.23" = type <{ %"class.vl::collections::ArrayBase.base.22", i64, i8 }>
%"class.vl::collections::ArrayBase.base.22" = type { %"class.vl::collections::ListStore.20", ptr, i64 }
%"class.vl::collections::ListStore.20" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.21" = type { %"class.vl::Interface" }
%"class.vl::collections::List.39" = type { %"class.vl::collections::ListBase.base.45", %"class.vl::collections::IEnumerable.43" }
%"class.vl::collections::ListBase.base.45" = type <{ %"class.vl::collections::ArrayBase.base.44", i64, i8 }>
%"class.vl::collections::ArrayBase.base.44" = type { %"class.vl::collections::ListStore.42", ptr, i64 }
%"class.vl::collections::ListStore.42" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.43" = type { %"class.vl::Interface" }
%"struct.vl::database::IdObject" = type { i32 }
%"class.vl::database::LogManager" = type { %"class.vl::Object", ptr, %"struct.vl::database::IdObject", i8, %"class.vl::database::log_internal::LogAddressItem", %"class.vl::database::log_internal::LogBlocks", %"class.vl::database::log_internal::LogTransactions", %"class.vl::SpinLock" }
%"class.vl::database::log_internal::LogAddressItem" = type { %"class.vl::Object", ptr, %"struct.vl::database::IdObject", i64, i64, %"class.vl::collections::List.7" }
%"class.vl::collections::List.7" = type { %"class.vl::collections::ListBase.base.13", %"class.vl::collections::IEnumerable.11" }
%"class.vl::collections::ListBase.base.13" = type <{ %"class.vl::collections::ArrayBase.base.12", i64, i8 }>
%"class.vl::collections::ArrayBase.base.12" = type { %"class.vl::collections::ListStore.10", ptr, i64 }
%"class.vl::collections::ListStore.10" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.11" = type { %"class.vl::Interface" }
%"class.vl::database::log_internal::LogBlocks" = type { %"class.vl::Object", ptr, %"struct.vl::database::IdObject", i64, %"struct.vl::database::IdObject.15" }
%"struct.vl::database::IdObject.15" = type { i64 }
%"class.vl::database::log_internal::LogTransactions" = type { %"class.vl::Object", i64, %"class.vl::collections::Dictionary.16", ptr }
%"class.vl::collections::Dictionary.16" = type { %"class.vl::Object", %"class.vl::collections::SortedList.17", %"class.vl::collections::List.25", %"class.vl::collections::IEnumerable.33" }
%"class.vl::collections::SortedList.17" = type { %"class.vl::collections::ListBase.base.23", %"class.vl::collections::IEnumerable.21" }
%"class.vl::collections::List.25" = type { %"class.vl::collections::ListBase.base.31", %"class.vl::collections::IEnumerable.29" }
%"class.vl::collections::ListBase.base.31" = type <{ %"class.vl::collections::ArrayBase.base.30", i64, i8 }>
%"class.vl::collections::ArrayBase.base.30" = type { %"class.vl::collections::ListStore.28", ptr, i64 }
%"class.vl::collections::ListStore.28" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.29" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.33" = type { %"class.vl::Interface" }
%"struct.vl::database::IdObject.35" = type { i64 }

@.str = external hidden unnamed_addr constant [7 x i32], align 4
@.str.2 = external hidden unnamed_addr constant [11 x i32], align 4
@.str.3 = external hidden unnamed_addr constant [11 x i32], align 4
@_ZTIi = external constant ptr
@.str.19 = external hidden unnamed_addr constant [31 x i32], align 4
@.str.37 = external hidden unnamed_addr constant [13 x i32], align 4
@.str.38 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.39 = external hidden unnamed_addr constant [13 x i32], align 4
@.str.40 = external hidden unnamed_addr constant [13 x i32], align 4
@.str.41 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.42 = external hidden unnamed_addr constant [14 x i32], align 4
@.str.43 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.44 = external hidden unnamed_addr constant [14 x i32], align 4
@.str.45 = external hidden unnamed_addr constant [39 x i32], align 4
@.str.46 = external hidden unnamed_addr constant [51 x i32], align 4
@.str.47 = external hidden unnamed_addr constant [22 x i32], align 4
@.str.49 = external hidden unnamed_addr constant [42 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 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

declare i32 @__gxx_personality_v0(...)

; 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: mustprogress uwtable
declare dso_local void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i1 noundef zeroext) unnamed_addr #2 align 2

; 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

; 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

declare void @_ZN2vl8database10LogManagerC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEEbb(ptr noundef nonnull align 8 dereferenceable(304), ptr noundef, i32, i1 noundef zeroext, i1 noundef zeroext) unnamed_addr #1

declare i64 @_ZN2vl8database10LogManager15OpenTransactionEv(ptr noundef nonnull align 8 dereferenceable(304)) #1

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @_ZN2vl8database10LogManager11EnumLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr") align 8, ptr noundef nonnull align 8 dereferenceable(304), i64) #1

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

declare void @_ZN2vl8database10LogManager19EnumInactiveLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr") align 8, ptr noundef nonnull align 8 dereferenceable(304), i64) #1

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

declare noundef zeroext i1 @_ZN2vl8database10LogManager16CloseTransactionENS0_8IdObjectImLl3EEE(ptr noundef nonnull align 8 dereferenceable(304), i64) #1

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

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

declare void @_ZN2vl8database10LogManager11OpenLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.36") align 8, ptr noundef nonnull align 8 dereferenceable(304), i64) #1

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z49TestFunction_Utility_Log_OpenTransactionsParallelv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.vl::database::BufferManager", align 8
  %2 = alloca %"class.vl::collections::List.37", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.vl::collections::List.39", align 8
  %6 = alloca %"class.vl::collections::List.39", 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 %"struct.vl::database::IdObject", align 4
  %11 = alloca %"class.vl::ObjectString", align 8
  %12 = alloca %"class.vl::ObjectString", align 8
  %13 = alloca %"class.vl::ObjectString", align 8
  %14 = alloca %"class.vl::database::LogManager", align 8
  %15 = alloca %"struct.vl::database::IdObject", align 4
  %16 = alloca i64, align 8
  %17 = alloca %"struct.vl::database::IdObject.35", 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 i64, 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 i64, align 8
  %28 = alloca i32, align 4
  %29 = alloca i64, 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::Ptr.36", align 8
  %37 = alloca %"struct.vl::database::IdObject.35", align 8
  %38 = alloca i64, align 8
  %39 = alloca %"class.vl::Ptr", align 8
  %40 = alloca %"struct.vl::database::IdObject.35", align 8
  %41 = alloca i64, 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 [1024 x i32], align 16
  %49 = alloca i64, 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 i64, align 8
  %63 = alloca %"struct.vl::database::IdObject.35", align 8
  %64 = alloca %"class.vl::ObjectString", align 8
  %65 = alloca %"class.vl::ObjectString", align 8
  %66 = alloca %"class.vl::ObjectString", align 8
  %67 = alloca %"struct.vl::database::IdObject", align 4
  %68 = alloca %"class.vl::ObjectString", align 8
  %69 = alloca %"class.vl::ObjectString", align 8
  %70 = alloca %"class.vl::ObjectString", align 8
  %71 = alloca %"class.vl::database::LogManager", align 8
  %72 = alloca %"struct.vl::database::IdObject", align 4
  %73 = alloca i64, align 8
  %74 = alloca %"class.vl::Ptr", align 8
  %75 = alloca %"struct.vl::database::IdObject.35", align 8
  %76 = alloca i64, 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 [1024 x i32], align 16
  %84 = alloca i64, align 8
  %85 = alloca %"class.vl::ObjectString", 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
  %92 = alloca %"class.vl::ObjectString", align 8
  %93 = alloca %"class.vl::ObjectString", align 8
  %94 = alloca %"class.vl::ObjectString", align 8
  %95 = alloca %"class.vl::ObjectString", align 8
  %96 = 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 16)
  call void @llvm.lifetime.start.p0(i64 48, ptr %2) #8
  invoke void @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %2)
          to label %97 unwind label %109

97:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 48, ptr %5) #8
  invoke void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %5)
          to label %98 unwind label %113

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 48, ptr %6) #8
  invoke void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %6)
          to label %99 unwind label %117

99:                                               ; preds = %98
  br label %100

100:                                              ; preds = %99
  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.49, i1 noundef zeroext true)
          to label %101 unwind label %121

101:                                              ; preds = %100
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %102 unwind label %125

102:                                              ; preds = %101
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #8
  %103 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %104 unwind label %130

104:                                              ; preds = %102
  %105 = icmp eq i64 %103, 0
  br i1 %105, label %106, label %143

106:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 48, ptr %8) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %107 unwind label %134

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

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

109:                                              ; preds = %0
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %3, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %4, align 4
  br label %1144

113:                                              ; preds = %97
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %3, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %4, align 4
  br label %1143

117:                                              ; preds = %98
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %3, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %4, align 4
  br label %1142

121:                                              ; preds = %100
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %3, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %4, align 4
  br label %129

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

129:                                              ; preds = %125, %121
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #8
  br label %1141

130:                                              ; preds = %779, %749, %145, %102
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %3, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %4, align 4
  br label %1141

134:                                              ; preds = %106
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %3, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %4, align 4
  br label %142

138:                                              ; preds = %107
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %3, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #8
  br label %142

142:                                              ; preds = %138, %134
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #8
  br label %1141

143:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef @.str.3, i1 noundef zeroext true)
          to label %144 unwind label %147

144:                                              ; preds = %143
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %145 unwind label %151

145:                                              ; preds = %144
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  %146 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %146, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr %146, ptr @_ZTIi, ptr null) #9
          to label %1150 unwind label %130

147:                                              ; preds = %143
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %3, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %4, align 4
  br label %155

151:                                              ; preds = %144
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %3, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #8
  br label %155

155:                                              ; preds = %151, %147
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #8
  br label %1141

156:                                              ; preds = %108
  br label %157

157:                                              ; preds = %156
  br label %158

158:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #8
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %12)
          to label %159 unwind label %172

159:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 48, ptr %13) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef @.str, i1 noundef zeroext true)
          to label %160 unwind label %176

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

161:                                              ; preds = %160
  %162 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(48) %11, i1 noundef zeroext true)
          to label %163 unwind label %184

163:                                              ; preds = %161
  %164 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %10, i32 0, i32 0
  store i32 %162, ptr %164, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 304, ptr %14) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %10, i64 4, i1 false), !tbaa.struct !9
  %165 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %15, i32 0, i32 0
  %166 = load i32, ptr %165, align 4
  invoke void @_ZN2vl8database10LogManagerC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEEbb(ptr noundef nonnull align 8 dereferenceable(304) %14, ptr noundef %1, i32 %166, i1 noundef zeroext true, i1 noundef zeroext true)
          to label %167 unwind label %191

167:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  store i64 0, ptr %16, align 8, !tbaa !10
  br label %168

168:                                              ; preds = %209, %167
  %169 = load i64, ptr %16, align 8, !tbaa !10
  %170 = icmp slt i64 %169, 20
  br i1 %170, label %195, label %171

171:                                              ; preds = %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %241

172:                                              ; preds = %158
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %3, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %4, align 4
  br label %190

176:                                              ; preds = %159
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %3, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %4, align 4
  br label %189

180:                                              ; preds = %160
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %3, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %4, align 4
  br label %188

184:                                              ; preds = %161
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %3, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #8
  br label %188

188:                                              ; preds = %184, %180
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #8
  br label %189

189:                                              ; preds = %188, %176
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #8
  br label %190

190:                                              ; preds = %189, %172
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #8
  br label %758

191:                                              ; preds = %163
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %3, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %4, align 4
  br label %757

195:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %196 = invoke i64 @_ZN2vl8database10LogManager15OpenTransactionEv(ptr noundef nonnull align 8 dereferenceable(304) %14)
          to label %197 unwind label %212

197:                                              ; preds = %195
  %198 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %17, i32 0, i32 0
  store i64 %196, ptr %198, align 8
  %199 = invoke noundef i64 @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_E3AddERKS4_(ptr noundef nonnull align 8 dereferenceable(33) %2, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %200 unwind label %212

200:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #8
  %201 = load i64, ptr %16, align 8, !tbaa !10
  %202 = add nsw i64 %201, 1
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %20, i64 noundef %202)
          to label %203 unwind label %216

203:                                              ; preds = %200
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %19, ptr noundef @.str.37, ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %204 unwind label %220

204:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 48, ptr %21) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef @.str.38, i1 noundef zeroext true)
          to label %205 unwind label %224

205:                                              ; preds = %204
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %18, ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %206 unwind label %228

206:                                              ; preds = %205
  %207 = invoke noundef i64 @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_E3AddERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %208 unwind label %232

208:                                              ; preds = %206
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #8
  br label %209

209:                                              ; preds = %208
  %210 = load i64, ptr %16, align 8, !tbaa !10
  %211 = add nsw i64 %210, 1
  store i64 %211, ptr %16, align 8, !tbaa !10
  br label %168, !llvm.loop !12

212:                                              ; preds = %197, %195
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %3, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %240

216:                                              ; preds = %200
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %3, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %4, align 4
  br label %239

220:                                              ; preds = %203
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %3, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %4, align 4
  br label %238

224:                                              ; preds = %204
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %3, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %4, align 4
  br label %237

228:                                              ; preds = %205
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %3, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %4, align 4
  br label %236

232:                                              ; preds = %206
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %3, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #8
  br label %236

236:                                              ; preds = %232, %228
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #8
  br label %237

237:                                              ; preds = %236, %224
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #8
  br label %238

238:                                              ; preds = %237, %220
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #8
  br label %239

239:                                              ; preds = %238, %216
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #8
  br label %240

240:                                              ; preds = %239, %212
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %756

241:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store i64 0, ptr %22, align 8, !tbaa !10
  br label %242

242:                                              ; preds = %255, %241
  %243 = load i64, ptr %22, align 8, !tbaa !10
  %244 = icmp slt i64 %243, 20
  br i1 %244, label %246, label %245

245:                                              ; preds = %242
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %282

246:                                              ; preds = %242
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %25) #8
  %247 = load i64, ptr %22, align 8, !tbaa !10
  %248 = add nsw i64 %247, 1
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %25, i64 noundef %248)
          to label %249 unwind label %258

249:                                              ; preds = %246
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %24, ptr noundef @.str.39, ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %250 unwind label %262

250:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 48, ptr %26) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef @.str.40, i1 noundef zeroext true)
          to label %251 unwind label %266

251:                                              ; preds = %250
  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) %26)
          to label %252 unwind label %270

252:                                              ; preds = %251
  %253 = invoke noundef i64 @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_E3AddERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %6, ptr noundef nonnull align 8 dereferenceable(48) %23)
          to label %254 unwind label %274

254:                                              ; preds = %252
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #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) %24) #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 @llvm.lifetime.end.p0(i64 48, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #8
  br label %255

255:                                              ; preds = %254
  %256 = load i64, ptr %22, align 8, !tbaa !10
  %257 = add nsw i64 %256, 1
  store i64 %257, ptr %22, align 8, !tbaa !10
  br label %242, !llvm.loop !14

258:                                              ; preds = %246
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %3, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %4, align 4
  br label %281

262:                                              ; preds = %249
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %3, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %4, align 4
  br label %280

266:                                              ; preds = %250
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %3, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %4, align 4
  br label %279

270:                                              ; preds = %251
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %3, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %4, align 4
  br label %278

274:                                              ; preds = %252
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %3, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #8
  br label %278

278:                                              ; preds = %274, %270
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #8
  br label %279

279:                                              ; preds = %278, %266
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #8
  br label %280

280:                                              ; preds = %279, %262
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #8
  br label %281

281:                                              ; preds = %280, %258
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #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 8, ptr %22) #8
  br label %756

282:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  store i64 0, ptr %27, align 8, !tbaa !10
  br label %283

283:                                              ; preds = %406, %282
  %284 = load i64, ptr %27, align 8, !tbaa !10
  %285 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %286 unwind label %289

286:                                              ; preds = %283
  %287 = icmp slt i64 %284, %285
  br i1 %287, label %293, label %288

288:                                              ; preds = %286
  store i32 10, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %410

289:                                              ; preds = %283
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %3, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %4, align 4
  br label %409

293:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  store i64 0, ptr %29, align 8, !tbaa !10
  br label %294

294:                                              ; preds = %352, %293
  %295 = load i64, ptr %29, align 8, !tbaa !10
  %296 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %297 unwind label %300

297:                                              ; preds = %294
  %298 = icmp slt i64 %295, %296
  br i1 %298, label %304, label %299

299:                                              ; preds = %297
  store i32 13, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %405

300:                                              ; preds = %294
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %3, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %4, align 4
  br label %404

304:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 48, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #8
  %305 = load i64, ptr %29, align 8, !tbaa !10
  %306 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %5, i64 noundef %305)
          to label %307 unwind label %355

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

308:                                              ; preds = %307
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %31, ptr noundef nonnull align 8 dereferenceable(48) %306, ptr noundef nonnull align 8 dereferenceable(48) %32)
          to label %309 unwind label %363

309:                                              ; preds = %308
  %310 = load i64, ptr %27, align 8, !tbaa !10
  %311 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %6, i64 noundef %310)
          to label %312 unwind label %367

312:                                              ; preds = %309
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %30, ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull align 8 dereferenceable(48) %311)
          to label %313 unwind label %367

313:                                              ; preds = %312
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %34) #8
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %34, ptr noundef @.str.42, ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %314 unwind label %374

314:                                              ; preds = %313
  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.43, i1 noundef zeroext true)
          to label %315 unwind label %378

315:                                              ; preds = %314
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %33, ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef nonnull align 8 dereferenceable(48) %35)
          to label %316 unwind label %382

316:                                              ; preds = %315
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %33)
          to label %317 unwind label %386

317:                                              ; preds = %316
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %35) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #8
  %318 = load i64, ptr %29, align 8, !tbaa !10
  %319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %2, i64 noundef %318)
          to label %320 unwind label %393

320:                                              ; preds = %317
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %37, ptr align 8 %319, i64 8, i1 false), !tbaa.struct !15
  %321 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %37, i32 0, i32 0
  %322 = load i64, ptr %321, align 8
  invoke void @_ZN2vl8database10LogManager11OpenLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.36") align 8 %36, ptr noundef nonnull align 8 dereferenceable(304) %14, i64 %322)
          to label %323 unwind label %393

323:                                              ; preds = %320
  %324 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogWriterEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %325 unwind label %397

325:                                              ; preds = %323
  %326 = load ptr, ptr %324, align 8, !tbaa !16
  %327 = getelementptr i8, ptr %326, i64 -56
  %328 = load i64, ptr %327, align 8
  %329 = getelementptr inbounds i8, ptr %324, i64 %328
  %330 = load ptr, ptr %329, align 8, !tbaa !16
  %331 = getelementptr inbounds ptr, ptr %330, i64 3
  %332 = load ptr, ptr %331, align 8
  %333 = invoke noundef nonnull align 8 dereferenceable(8) ptr %332(ptr noundef nonnull align 8 dereferenceable(8) %329)
          to label %334 unwind label %397

334:                                              ; preds = %325
  %335 = invoke noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %336 unwind label %397

336:                                              ; preds = %334
  %337 = invoke noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %338 unwind label %397

338:                                              ; preds = %336
  %339 = mul i64 %337, 4
  %340 = load ptr, ptr %333, align 8, !tbaa !16
  %341 = getelementptr inbounds ptr, ptr %340, i64 15
  %342 = load ptr, ptr %341, align 8
  %343 = invoke noundef i64 %342(ptr noundef nonnull align 8 dereferenceable(8) %333, ptr noundef %335, i64 noundef %339)
          to label %344 unwind label %397

344:                                              ; preds = %338
  %345 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogWriterEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %346 unwind label %397

346:                                              ; preds = %344
  %347 = load ptr, ptr %345, align 8, !tbaa !16
  %348 = getelementptr inbounds ptr, ptr %347, i64 5
  %349 = load ptr, ptr %348, align 8
  %350 = invoke noundef zeroext i1 %349(ptr noundef nonnull align 8 dereferenceable(8) %345)
          to label %351 unwind label %397

351:                                              ; preds = %346
  call void @_ZN2vl3PtrINS_8database10ILogWriterEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  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 %352

352:                                              ; preds = %351
  %353 = load i64, ptr %29, align 8, !tbaa !10
  %354 = add nsw i64 %353, 1
  store i64 %354, ptr %29, align 8, !tbaa !10
  br label %294, !llvm.loop !18

355:                                              ; preds = %304
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %3, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %4, align 4
  br label %373

359:                                              ; preds = %307
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %3, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %4, align 4
  br label %372

363:                                              ; preds = %308
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %3, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %4, align 4
  br label %371

367:                                              ; preds = %312, %309
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %3, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #8
  br label %371

371:                                              ; preds = %367, %363
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #8
  br label %372

372:                                              ; preds = %371, %359
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #8
  br label %373

373:                                              ; preds = %372, %355
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #8
  br label %403

374:                                              ; preds = %313
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %3, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %4, align 4
  br label %392

378:                                              ; preds = %314
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %3, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %4, align 4
  br label %391

382:                                              ; preds = %315
  %383 = landingpad { ptr, i32 }
          cleanup
  %384 = extractvalue { ptr, i32 } %383, 0
  store ptr %384, ptr %3, align 8
  %385 = extractvalue { ptr, i32 } %383, 1
  store i32 %385, ptr %4, align 4
  br label %390

386:                                              ; preds = %316
  %387 = landingpad { ptr, i32 }
          cleanup
  %388 = extractvalue { ptr, i32 } %387, 0
  store ptr %388, ptr %3, align 8
  %389 = extractvalue { ptr, i32 } %387, 1
  store i32 %389, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #8
  br label %390

390:                                              ; preds = %386, %382
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #8
  br label %391

391:                                              ; preds = %390, %378
  call void @llvm.lifetime.end.p0(i64 48, ptr %35) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #8
  br label %392

392:                                              ; preds = %391, %374
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #8
  br label %402

393:                                              ; preds = %320, %317
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %3, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %4, align 4
  br label %401

397:                                              ; preds = %346, %344, %338, %336, %334, %325, %323
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %3, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %4, align 4
  call void @_ZN2vl3PtrINS_8database10ILogWriterEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  br label %401

401:                                              ; preds = %397, %393
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  br label %402

402:                                              ; preds = %401, %392
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #8
  br label %403

403:                                              ; preds = %402, %373
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #8
  br label %404

404:                                              ; preds = %403, %300
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %409

405:                                              ; preds = %299
  br label %406

406:                                              ; preds = %405
  %407 = load i64, ptr %27, align 8, !tbaa !10
  %408 = add nsw i64 %407, 1
  store i64 %408, ptr %27, align 8, !tbaa !10
  br label %283, !llvm.loop !19

409:                                              ; preds = %404, %289
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %756

410:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  store i64 0, ptr %38, align 8, !tbaa !10
  br label %411

411:                                              ; preds = %719, %410
  %412 = load i64, ptr %38, align 8, !tbaa !10
  %413 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %414 unwind label %417

414:                                              ; preds = %411
  %415 = icmp slt i64 %412, %413
  br i1 %415, label %421, label %416

416:                                              ; preds = %414
  store i32 16, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %724

417:                                              ; preds = %411
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %3, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %4, align 4
  br label %723

421:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #8
  %422 = load i64, ptr %38, align 8, !tbaa !10
  %423 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %2, i64 noundef %422)
          to label %424 unwind label %434

424:                                              ; preds = %421
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %423, i64 8, i1 false), !tbaa.struct !15
  %425 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %40, i32 0, i32 0
  %426 = load i64, ptr %425, align 8
  invoke void @_ZN2vl8database10LogManager11EnumLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr") align 8 %39, ptr noundef nonnull align 8 dereferenceable(304) %14, i64 %426)
          to label %427 unwind label %434

427:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  store i64 0, ptr %41, align 8, !tbaa !10
  br label %428

428:                                              ; preds = %711, %427
  %429 = load i64, ptr %41, align 8, !tbaa !10
  %430 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %431 unwind label %438

431:                                              ; preds = %428
  %432 = icmp slt i64 %429, %430
  br i1 %432, label %442, label %433

433:                                              ; preds = %431
  store i32 19, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %718

434:                                              ; preds = %424, %421
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %3, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %4, align 4
  br label %722

438:                                              ; preds = %428
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %3, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %4, align 4
  br label %717

442:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 48, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %43) #8
  %443 = load i64, ptr %38, align 8, !tbaa !10
  %444 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %5, i64 noundef %443)
          to label %445 unwind label %474

445:                                              ; preds = %442
  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.41, i1 noundef zeroext true)
          to label %446 unwind label %478

446:                                              ; preds = %445
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %43, ptr noundef nonnull align 8 dereferenceable(48) %444, ptr noundef nonnull align 8 dereferenceable(48) %44)
          to label %447 unwind label %482

447:                                              ; preds = %446
  %448 = load i64, ptr %41, align 8, !tbaa !10
  %449 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %6, i64 noundef %448)
          to label %450 unwind label %486

450:                                              ; preds = %447
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %42, ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull align 8 dereferenceable(48) %449)
          to label %451 unwind label %486

451:                                              ; preds = %450
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %46) #8
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %46, ptr noundef @.str.44, ptr noundef nonnull align 8 dereferenceable(48) %42)
          to label %452 unwind label %493

452:                                              ; preds = %451
  call void @llvm.lifetime.start.p0(i64 48, ptr %47) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %47, ptr noundef @.str.43, i1 noundef zeroext true)
          to label %453 unwind label %497

453:                                              ; preds = %452
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %45, ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef nonnull align 8 dereferenceable(48) %47)
          to label %454 unwind label %501

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

455:                                              ; preds = %454
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #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 @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 4096, ptr %48) #8
  call void @llvm.memset.p0.i64(ptr align 16 %48, i8 0, i64 4096, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %456 = invoke noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %42)
          to label %457 unwind label %512

457:                                              ; preds = %455
  %458 = mul i64 %456, 4
  store i64 %458, ptr %49, align 8, !tbaa !10
  br label %459

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

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

461:                                              ; preds = %460
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %50) #8
  %462 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %463 unwind label %512

463:                                              ; preds = %461
  %464 = load ptr, ptr %462, align 8, !tbaa !16
  %465 = getelementptr inbounds ptr, ptr %464, i64 4
  %466 = load ptr, ptr %465, align 8
  %467 = invoke noundef zeroext i1 %466(ptr noundef nonnull align 8 dereferenceable(8) %462)
          to label %468 unwind label %512

468:                                              ; preds = %463
  %469 = zext i1 %467 to i32
  %470 = icmp eq i32 %469, 1
  br i1 %470, label %471, label %534

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

472:                                              ; preds = %471
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %51)
          to label %473 unwind label %529

473:                                              ; preds = %472
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %51) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %51) #8
  br label %547

474:                                              ; preds = %442
  %475 = landingpad { ptr, i32 }
          cleanup
  %476 = extractvalue { ptr, i32 } %475, 0
  store ptr %476, ptr %3, align 8
  %477 = extractvalue { ptr, i32 } %475, 1
  store i32 %477, ptr %4, align 4
  br label %492

478:                                              ; preds = %445
  %479 = landingpad { ptr, i32 }
          cleanup
  %480 = extractvalue { ptr, i32 } %479, 0
  store ptr %480, ptr %3, align 8
  %481 = extractvalue { ptr, i32 } %479, 1
  store i32 %481, ptr %4, align 4
  br label %491

482:                                              ; preds = %446
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %3, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %4, align 4
  br label %490

486:                                              ; preds = %450, %447
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %3, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #8
  br label %490

490:                                              ; preds = %486, %482
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #8
  br label %491

491:                                              ; preds = %490, %478
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #8
  br label %492

492:                                              ; preds = %491, %474
  call void @llvm.lifetime.end.p0(i64 48, ptr %43) #8
  br label %716

493:                                              ; preds = %451
  %494 = landingpad { ptr, i32 }
          cleanup
  %495 = extractvalue { ptr, i32 } %494, 0
  store ptr %495, ptr %3, align 8
  %496 = extractvalue { ptr, i32 } %494, 1
  store i32 %496, ptr %4, align 4
  br label %511

497:                                              ; preds = %452
  %498 = landingpad { ptr, i32 }
          cleanup
  %499 = extractvalue { ptr, i32 } %498, 0
  store ptr %499, ptr %3, align 8
  %500 = extractvalue { ptr, i32 } %498, 1
  store i32 %500, ptr %4, align 4
  br label %510

501:                                              ; preds = %453
  %502 = landingpad { ptr, i32 }
          cleanup
  %503 = extractvalue { ptr, i32 } %502, 0
  store ptr %503, ptr %3, align 8
  %504 = extractvalue { ptr, i32 } %502, 1
  store i32 %504, ptr %4, align 4
  br label %509

505:                                              ; preds = %454
  %506 = landingpad { ptr, i32 }
          cleanup
  %507 = extractvalue { ptr, i32 } %506, 0
  store ptr %507, ptr %3, align 8
  %508 = extractvalue { ptr, i32 } %506, 1
  store i32 %508, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #8
  br label %509

509:                                              ; preds = %505, %501
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #8
  br label %510

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

511:                                              ; preds = %510, %493
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #8
  br label %715

512:                                              ; preds = %697, %670, %654, %621, %612, %610, %594, %563, %554, %552, %536, %463, %461, %455
  %513 = landingpad { ptr, i32 }
          cleanup
  %514 = extractvalue { ptr, i32 } %513, 0
  store ptr %514, ptr %3, align 8
  %515 = extractvalue { ptr, i32 } %513, 1
  store i32 %515, ptr %4, align 4
  br label %714

516:                                              ; preds = %459
  %517 = landingpad { ptr, i32 }
          cleanup
  %518 = extractvalue { ptr, i32 } %517, 0
  store ptr %518, ptr %3, align 8
  %519 = extractvalue { ptr, i32 } %517, 1
  store i32 %519, ptr %4, align 4
  br label %524

520:                                              ; preds = %460
  %521 = landingpad { ptr, i32 }
          cleanup
  %522 = extractvalue { ptr, i32 } %521, 0
  store ptr %522, ptr %3, align 8
  %523 = extractvalue { ptr, i32 } %521, 1
  store i32 %523, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #8
  br label %524

524:                                              ; preds = %520, %516
  call void @llvm.lifetime.end.p0(i64 48, ptr %50) #8
  br label %714

525:                                              ; preds = %471
  %526 = landingpad { ptr, i32 }
          cleanup
  %527 = extractvalue { ptr, i32 } %526, 0
  store ptr %527, ptr %3, align 8
  %528 = extractvalue { ptr, i32 } %526, 1
  store i32 %528, ptr %4, align 4
  br label %533

529:                                              ; preds = %472
  %530 = landingpad { ptr, i32 }
          cleanup
  %531 = extractvalue { ptr, i32 } %530, 0
  store ptr %531, ptr %3, align 8
  %532 = extractvalue { ptr, i32 } %530, 1
  store i32 %532, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %51) #8
  br label %533

533:                                              ; preds = %529, %525
  call void @llvm.lifetime.end.p0(i64 48, ptr %51) #8
  br label %714

534:                                              ; preds = %468
  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.3, i1 noundef zeroext true)
          to label %535 unwind label %538

535:                                              ; preds = %534
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %52)
          to label %536 unwind label %542

536:                                              ; preds = %535
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %52) #8
  %537 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %537, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr %537, ptr @_ZTIi, ptr null) #9
          to label %1150 unwind label %512

538:                                              ; preds = %534
  %539 = landingpad { ptr, i32 }
          cleanup
  %540 = extractvalue { ptr, i32 } %539, 0
  store ptr %540, ptr %3, align 8
  %541 = extractvalue { ptr, i32 } %539, 1
  store i32 %541, ptr %4, align 4
  br label %546

542:                                              ; preds = %535
  %543 = landingpad { ptr, i32 }
          cleanup
  %544 = extractvalue { ptr, i32 } %543, 0
  store ptr %544, ptr %3, align 8
  %545 = extractvalue { ptr, i32 } %543, 1
  store i32 %545, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #8
  br label %546

546:                                              ; preds = %542, %538
  call void @llvm.lifetime.end.p0(i64 48, ptr %52) #8
  br label %714

547:                                              ; preds = %473
  br label %548

548:                                              ; preds = %547
  br label %549

549:                                              ; preds = %548
  br label %550

550:                                              ; preds = %549
  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.45, i1 noundef zeroext true)
          to label %551 unwind label %574

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

552:                                              ; preds = %551
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %53) #8
  %553 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %554 unwind label %512

554:                                              ; preds = %552
  %555 = load ptr, ptr %553, align 8, !tbaa !16
  %556 = getelementptr i8, ptr %555, i64 -56
  %557 = load i64, ptr %556, align 8
  %558 = getelementptr inbounds i8, ptr %553, i64 %557
  %559 = load ptr, ptr %558, align 8, !tbaa !16
  %560 = getelementptr inbounds ptr, ptr %559, i64 3
  %561 = load ptr, ptr %560, align 8
  %562 = invoke noundef nonnull align 8 dereferenceable(8) ptr %561(ptr noundef nonnull align 8 dereferenceable(8) %558)
          to label %563 unwind label %512

563:                                              ; preds = %554
  %564 = load ptr, ptr %562, align 8, !tbaa !16
  %565 = getelementptr inbounds ptr, ptr %564, i64 10
  %566 = load ptr, ptr %565, align 8
  %567 = invoke noundef i64 %566(ptr noundef nonnull align 8 dereferenceable(8) %562)
          to label %568 unwind label %512

568:                                              ; preds = %563
  %569 = load i64, ptr %49, align 8, !tbaa !10
  %570 = icmp eq i64 %567, %569
  br i1 %570, label %571, label %592

571:                                              ; preds = %568
  call void @llvm.lifetime.start.p0(i64 48, ptr %54) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %54, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %572 unwind label %583

572:                                              ; preds = %571
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %54)
          to label %573 unwind label %587

573:                                              ; preds = %572
  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 %605

574:                                              ; preds = %550
  %575 = landingpad { ptr, i32 }
          cleanup
  %576 = extractvalue { ptr, i32 } %575, 0
  store ptr %576, ptr %3, align 8
  %577 = extractvalue { ptr, i32 } %575, 1
  store i32 %577, ptr %4, align 4
  br label %582

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

582:                                              ; preds = %578, %574
  call void @llvm.lifetime.end.p0(i64 48, ptr %53) #8
  br label %714

583:                                              ; preds = %571
  %584 = landingpad { ptr, i32 }
          cleanup
  %585 = extractvalue { ptr, i32 } %584, 0
  store ptr %585, ptr %3, align 8
  %586 = extractvalue { ptr, i32 } %584, 1
  store i32 %586, ptr %4, align 4
  br label %591

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

591:                                              ; preds = %587, %583
  call void @llvm.lifetime.end.p0(i64 48, ptr %54) #8
  br label %714

592:                                              ; preds = %568
  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.3, i1 noundef zeroext true)
          to label %593 unwind label %596

593:                                              ; preds = %592
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %55)
          to label %594 unwind label %600

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

596:                                              ; preds = %592
  %597 = landingpad { ptr, i32 }
          cleanup
  %598 = extractvalue { ptr, i32 } %597, 0
  store ptr %598, ptr %3, align 8
  %599 = extractvalue { ptr, i32 } %597, 1
  store i32 %599, ptr %4, align 4
  br label %604

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

604:                                              ; preds = %600, %596
  call void @llvm.lifetime.end.p0(i64 48, ptr %55) #8
  br label %714

605:                                              ; preds = %573
  br label %606

606:                                              ; preds = %605
  br label %607

607:                                              ; preds = %606
  br label %608

608:                                              ; preds = %607
  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.46, i1 noundef zeroext true)
          to label %609 unwind label %634

609:                                              ; preds = %608
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %56)
          to label %610 unwind label %638

610:                                              ; preds = %609
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %56) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %56) #8
  %611 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %612 unwind label %512

612:                                              ; preds = %610
  %613 = load ptr, ptr %611, align 8, !tbaa !16
  %614 = getelementptr i8, ptr %613, i64 -56
  %615 = load i64, ptr %614, align 8
  %616 = getelementptr inbounds i8, ptr %611, i64 %615
  %617 = load ptr, ptr %616, align 8, !tbaa !16
  %618 = getelementptr inbounds ptr, ptr %617, i64 3
  %619 = load ptr, ptr %618, align 8
  %620 = invoke noundef nonnull align 8 dereferenceable(8) ptr %619(ptr noundef nonnull align 8 dereferenceable(8) %616)
          to label %621 unwind label %512

621:                                              ; preds = %612
  %622 = getelementptr inbounds [1024 x i32], ptr %48, i64 0, i64 0
  %623 = load i64, ptr %49, align 8, !tbaa !10
  %624 = load ptr, ptr %620, align 8, !tbaa !16
  %625 = getelementptr inbounds ptr, ptr %624, i64 14
  %626 = load ptr, ptr %625, align 8
  %627 = invoke noundef i64 %626(ptr noundef nonnull align 8 dereferenceable(8) %620, ptr noundef %622, i64 noundef %623)
          to label %628 unwind label %512

628:                                              ; preds = %621
  %629 = load i64, ptr %49, align 8, !tbaa !10
  %630 = icmp eq i64 %627, %629
  br i1 %630, label %631, label %652

631:                                              ; preds = %628
  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 %632 unwind label %643

632:                                              ; preds = %631
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %57)
          to label %633 unwind label %647

633:                                              ; preds = %632
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %57) #8
  br label %665

634:                                              ; preds = %608
  %635 = landingpad { ptr, i32 }
          cleanup
  %636 = extractvalue { ptr, i32 } %635, 0
  store ptr %636, ptr %3, align 8
  %637 = extractvalue { ptr, i32 } %635, 1
  store i32 %637, ptr %4, align 4
  br label %642

638:                                              ; preds = %609
  %639 = landingpad { ptr, i32 }
          cleanup
  %640 = extractvalue { ptr, i32 } %639, 0
  store ptr %640, ptr %3, align 8
  %641 = extractvalue { ptr, i32 } %639, 1
  store i32 %641, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %56) #8
  br label %642

642:                                              ; preds = %638, %634
  call void @llvm.lifetime.end.p0(i64 48, ptr %56) #8
  br label %714

643:                                              ; preds = %631
  %644 = landingpad { ptr, i32 }
          cleanup
  %645 = extractvalue { ptr, i32 } %644, 0
  store ptr %645, ptr %3, align 8
  %646 = extractvalue { ptr, i32 } %644, 1
  store i32 %646, ptr %4, align 4
  br label %651

647:                                              ; preds = %632
  %648 = landingpad { ptr, i32 }
          cleanup
  %649 = extractvalue { ptr, i32 } %648, 0
  store ptr %649, ptr %3, align 8
  %650 = extractvalue { ptr, i32 } %648, 1
  store i32 %650, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #8
  br label %651

651:                                              ; preds = %647, %643
  call void @llvm.lifetime.end.p0(i64 48, ptr %57) #8
  br label %714

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

653:                                              ; preds = %652
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %58)
          to label %654 unwind label %660

654:                                              ; preds = %653
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %58) #8
  %655 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %655, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr %655, ptr @_ZTIi, ptr null) #9
          to label %1150 unwind label %512

656:                                              ; preds = %652
  %657 = landingpad { ptr, i32 }
          cleanup
  %658 = extractvalue { ptr, i32 } %657, 0
  store ptr %658, ptr %3, align 8
  %659 = extractvalue { ptr, i32 } %657, 1
  store i32 %659, ptr %4, align 4
  br label %664

660:                                              ; preds = %653
  %661 = landingpad { ptr, i32 }
          cleanup
  %662 = extractvalue { ptr, i32 } %661, 0
  store ptr %662, ptr %3, align 8
  %663 = extractvalue { ptr, i32 } %661, 1
  store i32 %663, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #8
  br label %664

664:                                              ; preds = %660, %656
  call void @llvm.lifetime.end.p0(i64 48, ptr %58) #8
  br label %714

665:                                              ; preds = %633
  br label %666

666:                                              ; preds = %665
  br label %667

667:                                              ; preds = %666
  br label %668

668:                                              ; preds = %667
  call void @llvm.lifetime.start.p0(i64 48, ptr %59) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %59, ptr noundef @.str.47, i1 noundef zeroext true)
          to label %669 unwind label %677

669:                                              ; preds = %668
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %59)
          to label %670 unwind label %681

670:                                              ; preds = %669
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %59) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %59) #8
  %671 = getelementptr inbounds [1024 x i32], ptr %48, i64 0, i64 0
  %672 = invoke noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48) %42, ptr noundef %671)
          to label %673 unwind label %512

673:                                              ; preds = %670
  br i1 %672, label %674, label %695

674:                                              ; preds = %673
  call void @llvm.lifetime.start.p0(i64 48, ptr %60) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %60, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %675 unwind label %686

675:                                              ; preds = %674
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %60)
          to label %676 unwind label %690

676:                                              ; preds = %675
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %60) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %60) #8
  br label %708

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

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

685:                                              ; preds = %681, %677
  call void @llvm.lifetime.end.p0(i64 48, ptr %59) #8
  br label %714

686:                                              ; preds = %674
  %687 = landingpad { ptr, i32 }
          cleanup
  %688 = extractvalue { ptr, i32 } %687, 0
  store ptr %688, ptr %3, align 8
  %689 = extractvalue { ptr, i32 } %687, 1
  store i32 %689, ptr %4, align 4
  br label %694

690:                                              ; preds = %675
  %691 = landingpad { ptr, i32 }
          cleanup
  %692 = extractvalue { ptr, i32 } %691, 0
  store ptr %692, ptr %3, align 8
  %693 = extractvalue { ptr, i32 } %691, 1
  store i32 %693, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %60) #8
  br label %694

694:                                              ; preds = %690, %686
  call void @llvm.lifetime.end.p0(i64 48, ptr %60) #8
  br label %714

695:                                              ; preds = %673
  call void @llvm.lifetime.start.p0(i64 48, ptr %61) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %61, ptr noundef @.str.3, i1 noundef zeroext true)
          to label %696 unwind label %699

696:                                              ; preds = %695
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %61)
          to label %697 unwind label %703

697:                                              ; preds = %696
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %61) #8
  %698 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %698, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr %698, ptr @_ZTIi, ptr null) #9
          to label %1150 unwind label %512

699:                                              ; preds = %695
  %700 = landingpad { ptr, i32 }
          cleanup
  %701 = extractvalue { ptr, i32 } %700, 0
  store ptr %701, ptr %3, align 8
  %702 = extractvalue { ptr, i32 } %700, 1
  store i32 %702, ptr %4, align 4
  br label %707

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

707:                                              ; preds = %703, %699
  call void @llvm.lifetime.end.p0(i64 48, ptr %61) #8
  br label %714

708:                                              ; preds = %676
  br label %709

709:                                              ; preds = %708
  br label %710

710:                                              ; preds = %709
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 4096, ptr %48) #8
  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 %711

711:                                              ; preds = %710
  %712 = load i64, ptr %41, align 8, !tbaa !10
  %713 = add nsw i64 %712, 1
  store i64 %713, ptr %41, align 8, !tbaa !10
  br label %428, !llvm.loop !20

714:                                              ; preds = %707, %694, %685, %664, %651, %642, %604, %591, %582, %546, %533, %524, %512
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 4096, ptr %48) #8
  br label %715

715:                                              ; preds = %714, %511
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #8
  br label %716

716:                                              ; preds = %715, %492
  call void @llvm.lifetime.end.p0(i64 48, ptr %42) #8
  br label %717

717:                                              ; preds = %716, %438
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  br label %722

718:                                              ; preds = %433
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #8
  br label %719

719:                                              ; preds = %718
  %720 = load i64, ptr %38, align 8, !tbaa !10
  %721 = add nsw i64 %720, 1
  store i64 %721, ptr %38, align 8, !tbaa !10
  br label %411, !llvm.loop !21

722:                                              ; preds = %717, %434
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #8
  br label %723

723:                                              ; preds = %722, %417
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %756

724:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #8
  store i64 0, ptr %62, align 8, !tbaa !10
  br label %725

725:                                              ; preds = %743, %724
  %726 = load i64, ptr %62, align 8, !tbaa !10
  %727 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %728 unwind label %731

728:                                              ; preds = %725
  %729 = icmp slt i64 %726, %727
  br i1 %729, label %735, label %730

730:                                              ; preds = %728
  store i32 30, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  br label %746

731:                                              ; preds = %738, %735, %725
  %732 = landingpad { ptr, i32 }
          cleanup
  %733 = extractvalue { ptr, i32 } %732, 0
  store ptr %733, ptr %3, align 8
  %734 = extractvalue { ptr, i32 } %732, 1
  store i32 %734, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  br label %756

735:                                              ; preds = %728
  %736 = load i64, ptr %62, align 8, !tbaa !10
  %737 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %2, i64 noundef %736)
          to label %738 unwind label %731

738:                                              ; preds = %735
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %63, ptr align 8 %737, i64 8, i1 false), !tbaa.struct !15
  %739 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %63, i32 0, i32 0
  %740 = load i64, ptr %739, align 8
  %741 = invoke noundef zeroext i1 @_ZN2vl8database10LogManager16CloseTransactionENS0_8IdObjectImLl3EEE(ptr noundef nonnull align 8 dereferenceable(304) %14, i64 %740)
          to label %742 unwind label %731

742:                                              ; preds = %738
  br label %743

743:                                              ; preds = %742
  %744 = load i64, ptr %62, align 8, !tbaa !10
  %745 = add nsw i64 %744, 1
  store i64 %745, ptr %62, align 8, !tbaa !10
  br label %725, !llvm.loop !22

746:                                              ; preds = %730
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %14) #8
  call void @llvm.lifetime.end.p0(i64 304, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %747

747:                                              ; preds = %746
  call void @llvm.lifetime.start.p0(i64 48, ptr %64) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef @.str.49, i1 noundef zeroext true)
          to label %748 unwind label %759

748:                                              ; preds = %747
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %64)
          to label %749 unwind label %763

749:                                              ; preds = %748
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %64) #8
  %750 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %751 unwind label %130

751:                                              ; preds = %749
  %752 = icmp eq i64 %750, 0
  br i1 %752, label %753, label %777

753:                                              ; preds = %751
  call void @llvm.lifetime.start.p0(i64 48, ptr %65) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %65, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %754 unwind label %768

754:                                              ; preds = %753
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %65)
          to label %755 unwind label %772

755:                                              ; preds = %754
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %65) #8
  br label %790

756:                                              ; preds = %731, %723, %409, %281, %240
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %14) #8
  br label %757

757:                                              ; preds = %756, %191
  call void @llvm.lifetime.end.p0(i64 304, ptr %14) #8
  br label %758

758:                                              ; preds = %757, %190
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %1141

759:                                              ; preds = %747
  %760 = landingpad { ptr, i32 }
          cleanup
  %761 = extractvalue { ptr, i32 } %760, 0
  store ptr %761, ptr %3, align 8
  %762 = extractvalue { ptr, i32 } %760, 1
  store i32 %762, ptr %4, align 4
  br label %767

763:                                              ; preds = %748
  %764 = landingpad { ptr, i32 }
          cleanup
  %765 = extractvalue { ptr, i32 } %764, 0
  store ptr %765, ptr %3, align 8
  %766 = extractvalue { ptr, i32 } %764, 1
  store i32 %766, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #8
  br label %767

767:                                              ; preds = %763, %759
  call void @llvm.lifetime.end.p0(i64 48, ptr %64) #8
  br label %1141

768:                                              ; preds = %753
  %769 = landingpad { ptr, i32 }
          cleanup
  %770 = extractvalue { ptr, i32 } %769, 0
  store ptr %770, ptr %3, align 8
  %771 = extractvalue { ptr, i32 } %769, 1
  store i32 %771, ptr %4, align 4
  br label %776

772:                                              ; preds = %754
  %773 = landingpad { ptr, i32 }
          cleanup
  %774 = extractvalue { ptr, i32 } %773, 0
  store ptr %774, ptr %3, align 8
  %775 = extractvalue { ptr, i32 } %773, 1
  store i32 %775, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #8
  br label %776

776:                                              ; preds = %772, %768
  call void @llvm.lifetime.end.p0(i64 48, ptr %65) #8
  br label %1141

777:                                              ; preds = %751
  call void @llvm.lifetime.start.p0(i64 48, ptr %66) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %66, ptr noundef @.str.3, i1 noundef zeroext true)
          to label %778 unwind label %781

778:                                              ; preds = %777
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %66)
          to label %779 unwind label %785

779:                                              ; preds = %778
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %66) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %66) #8
  %780 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %780, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr %780, ptr @_ZTIi, ptr null) #9
          to label %1150 unwind label %130

781:                                              ; preds = %777
  %782 = landingpad { ptr, i32 }
          cleanup
  %783 = extractvalue { ptr, i32 } %782, 0
  store ptr %783, ptr %3, align 8
  %784 = extractvalue { ptr, i32 } %782, 1
  store i32 %784, ptr %4, align 4
  br label %789

785:                                              ; preds = %778
  %786 = landingpad { ptr, i32 }
          cleanup
  %787 = extractvalue { ptr, i32 } %786, 0
  store ptr %787, ptr %3, align 8
  %788 = extractvalue { ptr, i32 } %786, 1
  store i32 %788, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %66) #8
  br label %789

789:                                              ; preds = %785, %781
  call void @llvm.lifetime.end.p0(i64 48, ptr %66) #8
  br label %1141

790:                                              ; preds = %755
  br label %791

791:                                              ; preds = %790
  br label %792

792:                                              ; preds = %791
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %68) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %69) #8
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %69)
          to label %793 unwind label %808

793:                                              ; preds = %792
  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, i1 noundef zeroext true)
          to label %794 unwind label %812

794:                                              ; preds = %793
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %68, ptr noundef nonnull align 8 dereferenceable(48) %69, ptr noundef nonnull align 8 dereferenceable(48) %70)
          to label %795 unwind label %816

795:                                              ; preds = %794
  %796 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(48) %68, i1 noundef zeroext false)
          to label %797 unwind label %820

797:                                              ; preds = %795
  %798 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %67, i32 0, i32 0
  store i32 %796, ptr %798, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %70) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %69) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %68) #8
  call void @llvm.lifetime.start.p0(i64 304, ptr %71) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %67, i64 4, i1 false), !tbaa.struct !9
  %799 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %72, i32 0, i32 0
  %800 = load i32, ptr %799, align 4
  invoke void @_ZN2vl8database10LogManagerC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEEbb(ptr noundef nonnull align 8 dereferenceable(304) %71, ptr noundef %1, i32 %800, i1 noundef zeroext false, i1 noundef zeroext true)
          to label %801 unwind label %827

801:                                              ; preds = %797
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #8
  store i64 0, ptr %73, align 8, !tbaa !10
  br label %802

802:                                              ; preds = %1133, %801
  %803 = load i64, ptr %73, align 8, !tbaa !10
  %804 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %805 unwind label %831

805:                                              ; preds = %802
  %806 = icmp slt i64 %803, %804
  br i1 %806, label %835, label %807

807:                                              ; preds = %805
  store i32 35, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #8
  br label %1138

808:                                              ; preds = %792
  %809 = landingpad { ptr, i32 }
          cleanup
  %810 = extractvalue { ptr, i32 } %809, 0
  store ptr %810, ptr %3, align 8
  %811 = extractvalue { ptr, i32 } %809, 1
  store i32 %811, ptr %4, align 4
  br label %826

812:                                              ; preds = %793
  %813 = landingpad { ptr, i32 }
          cleanup
  %814 = extractvalue { ptr, i32 } %813, 0
  store ptr %814, ptr %3, align 8
  %815 = extractvalue { ptr, i32 } %813, 1
  store i32 %815, ptr %4, align 4
  br label %825

816:                                              ; preds = %794
  %817 = landingpad { ptr, i32 }
          cleanup
  %818 = extractvalue { ptr, i32 } %817, 0
  store ptr %818, ptr %3, align 8
  %819 = extractvalue { ptr, i32 } %817, 1
  store i32 %819, ptr %4, align 4
  br label %824

820:                                              ; preds = %795
  %821 = landingpad { ptr, i32 }
          cleanup
  %822 = extractvalue { ptr, i32 } %821, 0
  store ptr %822, ptr %3, align 8
  %823 = extractvalue { ptr, i32 } %821, 1
  store i32 %823, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #8
  br label %824

824:                                              ; preds = %820, %816
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #8
  br label %825

825:                                              ; preds = %824, %812
  call void @llvm.lifetime.end.p0(i64 48, ptr %70) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %69) #8
  br label %826

826:                                              ; preds = %825, %808
  call void @llvm.lifetime.end.p0(i64 48, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %68) #8
  br label %1140

827:                                              ; preds = %797
  %828 = landingpad { ptr, i32 }
          cleanup
  %829 = extractvalue { ptr, i32 } %828, 0
  store ptr %829, ptr %3, align 8
  %830 = extractvalue { ptr, i32 } %828, 1
  store i32 %830, ptr %4, align 4
  br label %1139

831:                                              ; preds = %802
  %832 = landingpad { ptr, i32 }
          cleanup
  %833 = extractvalue { ptr, i32 } %832, 0
  store ptr %833, ptr %3, align 8
  %834 = extractvalue { ptr, i32 } %832, 1
  store i32 %834, ptr %4, align 4
  br label %1137

835:                                              ; preds = %805
  call void @llvm.lifetime.start.p0(i64 32, ptr %74) #8
  %836 = load i64, ptr %73, align 8, !tbaa !10
  %837 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %2, i64 noundef %836)
          to label %838 unwind label %848

838:                                              ; preds = %835
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %75, ptr align 8 %837, i64 8, i1 false), !tbaa.struct !15
  %839 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %75, i32 0, i32 0
  %840 = load i64, ptr %839, align 8
  invoke void @_ZN2vl8database10LogManager19EnumInactiveLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr") align 8 %74, ptr noundef nonnull align 8 dereferenceable(304) %71, i64 %840)
          to label %841 unwind label %848

841:                                              ; preds = %838
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #8
  store i64 0, ptr %76, align 8, !tbaa !10
  br label %842

842:                                              ; preds = %1125, %841
  %843 = load i64, ptr %76, align 8, !tbaa !10
  %844 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %845 unwind label %852

845:                                              ; preds = %842
  %846 = icmp slt i64 %843, %844
  br i1 %846, label %856, label %847

847:                                              ; preds = %845
  store i32 38, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #8
  br label %1132

848:                                              ; preds = %838, %835
  %849 = landingpad { ptr, i32 }
          cleanup
  %850 = extractvalue { ptr, i32 } %849, 0
  store ptr %850, ptr %3, align 8
  %851 = extractvalue { ptr, i32 } %849, 1
  store i32 %851, ptr %4, align 4
  br label %1136

852:                                              ; preds = %842
  %853 = landingpad { ptr, i32 }
          cleanup
  %854 = extractvalue { ptr, i32 } %853, 0
  store ptr %854, ptr %3, align 8
  %855 = extractvalue { ptr, i32 } %853, 1
  store i32 %855, ptr %4, align 4
  br label %1131

856:                                              ; preds = %845
  call void @llvm.lifetime.start.p0(i64 48, ptr %77) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %78) #8
  %857 = load i64, ptr %73, align 8, !tbaa !10
  %858 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %5, i64 noundef %857)
          to label %859 unwind label %888

859:                                              ; preds = %856
  call void @llvm.lifetime.start.p0(i64 48, ptr %79) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %79, ptr noundef @.str.41, i1 noundef zeroext true)
          to label %860 unwind label %892

860:                                              ; preds = %859
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %78, ptr noundef nonnull align 8 dereferenceable(48) %858, ptr noundef nonnull align 8 dereferenceable(48) %79)
          to label %861 unwind label %896

861:                                              ; preds = %860
  %862 = load i64, ptr %76, align 8, !tbaa !10
  %863 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %6, i64 noundef %862)
          to label %864 unwind label %900

864:                                              ; preds = %861
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %77, ptr noundef nonnull align 8 dereferenceable(48) %78, ptr noundef nonnull align 8 dereferenceable(48) %863)
          to label %865 unwind label %900

865:                                              ; preds = %864
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %78) #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
  call void @llvm.lifetime.start.p0(i64 48, ptr %80) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr %81) #8
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %81, ptr noundef @.str.44, ptr noundef nonnull align 8 dereferenceable(48) %77)
          to label %866 unwind label %907

866:                                              ; preds = %865
  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.43, i1 noundef zeroext true)
          to label %867 unwind label %911

867:                                              ; preds = %866
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %80, ptr noundef nonnull align 8 dereferenceable(48) %81, ptr noundef nonnull align 8 dereferenceable(48) %82)
          to label %868 unwind label %915

868:                                              ; preds = %867
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %80)
          to label %869 unwind label %919

869:                                              ; preds = %868
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %82) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %82) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %81) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %81) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %80) #8
  call void @llvm.lifetime.start.p0(i64 4096, ptr %83) #8
  call void @llvm.memset.p0.i64(ptr align 16 %83, i8 0, i64 4096, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #8
  %870 = invoke noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %77)
          to label %871 unwind label %926

871:                                              ; preds = %869
  %872 = mul i64 %870, 4
  store i64 %872, ptr %84, align 8, !tbaa !10
  br label %873

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

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

875:                                              ; preds = %874
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %85) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %85) #8
  %876 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %74)
          to label %877 unwind label %926

877:                                              ; preds = %875
  %878 = load ptr, ptr %876, align 8, !tbaa !16
  %879 = getelementptr inbounds ptr, ptr %878, i64 4
  %880 = load ptr, ptr %879, align 8
  %881 = invoke noundef zeroext i1 %880(ptr noundef nonnull align 8 dereferenceable(8) %876)
          to label %882 unwind label %926

882:                                              ; preds = %877
  %883 = zext i1 %881 to i32
  %884 = icmp eq i32 %883, 1
  br i1 %884, label %885, label %948

885:                                              ; preds = %882
  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.2, i1 noundef zeroext true)
          to label %886 unwind label %939

886:                                              ; preds = %885
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %86)
          to label %887 unwind label %943

887:                                              ; preds = %886
  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 %961

888:                                              ; preds = %856
  %889 = landingpad { ptr, i32 }
          cleanup
  %890 = extractvalue { ptr, i32 } %889, 0
  store ptr %890, ptr %3, align 8
  %891 = extractvalue { ptr, i32 } %889, 1
  store i32 %891, ptr %4, align 4
  br label %906

892:                                              ; preds = %859
  %893 = landingpad { ptr, i32 }
          cleanup
  %894 = extractvalue { ptr, i32 } %893, 0
  store ptr %894, ptr %3, align 8
  %895 = extractvalue { ptr, i32 } %893, 1
  store i32 %895, ptr %4, align 4
  br label %905

896:                                              ; preds = %860
  %897 = landingpad { ptr, i32 }
          cleanup
  %898 = extractvalue { ptr, i32 } %897, 0
  store ptr %898, ptr %3, align 8
  %899 = extractvalue { ptr, i32 } %897, 1
  store i32 %899, ptr %4, align 4
  br label %904

900:                                              ; preds = %864, %861
  %901 = landingpad { ptr, i32 }
          cleanup
  %902 = extractvalue { ptr, i32 } %901, 0
  store ptr %902, ptr %3, align 8
  %903 = extractvalue { ptr, i32 } %901, 1
  store i32 %903, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %78) #8
  br label %904

904:                                              ; preds = %900, %896
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %79) #8
  br label %905

905:                                              ; preds = %904, %892
  call void @llvm.lifetime.end.p0(i64 48, ptr %79) #8
  br label %906

906:                                              ; preds = %905, %888
  call void @llvm.lifetime.end.p0(i64 48, ptr %78) #8
  br label %1130

907:                                              ; preds = %865
  %908 = landingpad { ptr, i32 }
          cleanup
  %909 = extractvalue { ptr, i32 } %908, 0
  store ptr %909, ptr %3, align 8
  %910 = extractvalue { ptr, i32 } %908, 1
  store i32 %910, ptr %4, align 4
  br label %925

911:                                              ; preds = %866
  %912 = landingpad { ptr, i32 }
          cleanup
  %913 = extractvalue { ptr, i32 } %912, 0
  store ptr %913, ptr %3, align 8
  %914 = extractvalue { ptr, i32 } %912, 1
  store i32 %914, ptr %4, align 4
  br label %924

915:                                              ; preds = %867
  %916 = landingpad { ptr, i32 }
          cleanup
  %917 = extractvalue { ptr, i32 } %916, 0
  store ptr %917, ptr %3, align 8
  %918 = extractvalue { ptr, i32 } %916, 1
  store i32 %918, ptr %4, align 4
  br label %923

919:                                              ; preds = %868
  %920 = landingpad { ptr, i32 }
          cleanup
  %921 = extractvalue { ptr, i32 } %920, 0
  store ptr %921, ptr %3, align 8
  %922 = extractvalue { ptr, i32 } %920, 1
  store i32 %922, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #8
  br label %923

923:                                              ; preds = %919, %915
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %82) #8
  br label %924

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

925:                                              ; preds = %924, %907
  call void @llvm.lifetime.end.p0(i64 48, ptr %81) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %80) #8
  br label %1129

926:                                              ; preds = %1111, %1084, %1068, %1035, %1026, %1024, %1008, %977, %968, %966, %950, %877, %875, %869
  %927 = landingpad { ptr, i32 }
          cleanup
  %928 = extractvalue { ptr, i32 } %927, 0
  store ptr %928, ptr %3, align 8
  %929 = extractvalue { ptr, i32 } %927, 1
  store i32 %929, ptr %4, align 4
  br label %1128

930:                                              ; preds = %873
  %931 = landingpad { ptr, i32 }
          cleanup
  %932 = extractvalue { ptr, i32 } %931, 0
  store ptr %932, ptr %3, align 8
  %933 = extractvalue { ptr, i32 } %931, 1
  store i32 %933, ptr %4, align 4
  br label %938

934:                                              ; preds = %874
  %935 = landingpad { ptr, i32 }
          cleanup
  %936 = extractvalue { ptr, i32 } %935, 0
  store ptr %936, ptr %3, align 8
  %937 = extractvalue { ptr, i32 } %935, 1
  store i32 %937, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %85) #8
  br label %938

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

939:                                              ; preds = %885
  %940 = landingpad { ptr, i32 }
          cleanup
  %941 = extractvalue { ptr, i32 } %940, 0
  store ptr %941, ptr %3, align 8
  %942 = extractvalue { ptr, i32 } %940, 1
  store i32 %942, ptr %4, align 4
  br label %947

943:                                              ; preds = %886
  %944 = landingpad { ptr, i32 }
          cleanup
  %945 = extractvalue { ptr, i32 } %944, 0
  store ptr %945, ptr %3, align 8
  %946 = extractvalue { ptr, i32 } %944, 1
  store i32 %946, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %86) #8
  br label %947

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

948:                                              ; preds = %882
  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.3, i1 noundef zeroext true)
          to label %949 unwind label %952

949:                                              ; preds = %948
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %87)
          to label %950 unwind label %956

950:                                              ; preds = %949
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %87) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %87) #8
  %951 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %951, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr %951, ptr @_ZTIi, ptr null) #9
          to label %1150 unwind label %926

952:                                              ; preds = %948
  %953 = landingpad { ptr, i32 }
          cleanup
  %954 = extractvalue { ptr, i32 } %953, 0
  store ptr %954, ptr %3, align 8
  %955 = extractvalue { ptr, i32 } %953, 1
  store i32 %955, ptr %4, align 4
  br label %960

956:                                              ; preds = %949
  %957 = landingpad { ptr, i32 }
          cleanup
  %958 = extractvalue { ptr, i32 } %957, 0
  store ptr %958, ptr %3, align 8
  %959 = extractvalue { ptr, i32 } %957, 1
  store i32 %959, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %87) #8
  br label %960

960:                                              ; preds = %956, %952
  call void @llvm.lifetime.end.p0(i64 48, ptr %87) #8
  br label %1128

961:                                              ; preds = %887
  br label %962

962:                                              ; preds = %961
  br label %963

963:                                              ; preds = %962
  br label %964

964:                                              ; preds = %963
  call void @llvm.lifetime.start.p0(i64 48, ptr %88) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %88, ptr noundef @.str.45, i1 noundef zeroext true)
          to label %965 unwind label %988

965:                                              ; preds = %964
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %88)
          to label %966 unwind label %992

966:                                              ; preds = %965
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %88) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %88) #8
  %967 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %74)
          to label %968 unwind label %926

968:                                              ; preds = %966
  %969 = load ptr, ptr %967, align 8, !tbaa !16
  %970 = getelementptr i8, ptr %969, i64 -56
  %971 = load i64, ptr %970, align 8
  %972 = getelementptr inbounds i8, ptr %967, i64 %971
  %973 = load ptr, ptr %972, align 8, !tbaa !16
  %974 = getelementptr inbounds ptr, ptr %973, i64 3
  %975 = load ptr, ptr %974, align 8
  %976 = invoke noundef nonnull align 8 dereferenceable(8) ptr %975(ptr noundef nonnull align 8 dereferenceable(8) %972)
          to label %977 unwind label %926

977:                                              ; preds = %968
  %978 = load ptr, ptr %976, align 8, !tbaa !16
  %979 = getelementptr inbounds ptr, ptr %978, i64 10
  %980 = load ptr, ptr %979, align 8
  %981 = invoke noundef i64 %980(ptr noundef nonnull align 8 dereferenceable(8) %976)
          to label %982 unwind label %926

982:                                              ; preds = %977
  %983 = load i64, ptr %84, align 8, !tbaa !10
  %984 = icmp eq i64 %981, %983
  br i1 %984, label %985, label %1006

985:                                              ; preds = %982
  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.2, i1 noundef zeroext true)
          to label %986 unwind label %997

986:                                              ; preds = %985
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %89)
          to label %987 unwind label %1001

987:                                              ; preds = %986
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %89) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %89) #8
  br label %1019

988:                                              ; preds = %964
  %989 = landingpad { ptr, i32 }
          cleanup
  %990 = extractvalue { ptr, i32 } %989, 0
  store ptr %990, ptr %3, align 8
  %991 = extractvalue { ptr, i32 } %989, 1
  store i32 %991, ptr %4, align 4
  br label %996

992:                                              ; preds = %965
  %993 = landingpad { ptr, i32 }
          cleanup
  %994 = extractvalue { ptr, i32 } %993, 0
  store ptr %994, ptr %3, align 8
  %995 = extractvalue { ptr, i32 } %993, 1
  store i32 %995, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %88) #8
  br label %996

996:                                              ; preds = %992, %988
  call void @llvm.lifetime.end.p0(i64 48, ptr %88) #8
  br label %1128

997:                                              ; preds = %985
  %998 = landingpad { ptr, i32 }
          cleanup
  %999 = extractvalue { ptr, i32 } %998, 0
  store ptr %999, ptr %3, align 8
  %1000 = extractvalue { ptr, i32 } %998, 1
  store i32 %1000, ptr %4, align 4
  br label %1005

1001:                                             ; preds = %986
  %1002 = landingpad { ptr, i32 }
          cleanup
  %1003 = extractvalue { ptr, i32 } %1002, 0
  store ptr %1003, ptr %3, align 8
  %1004 = extractvalue { ptr, i32 } %1002, 1
  store i32 %1004, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %89) #8
  br label %1005

1005:                                             ; preds = %1001, %997
  call void @llvm.lifetime.end.p0(i64 48, ptr %89) #8
  br label %1128

1006:                                             ; preds = %982
  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.3, i1 noundef zeroext true)
          to label %1007 unwind label %1010

1007:                                             ; preds = %1006
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %90)
          to label %1008 unwind label %1014

1008:                                             ; preds = %1007
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %90) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %90) #8
  %1009 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %1009, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr %1009, ptr @_ZTIi, ptr null) #9
          to label %1150 unwind label %926

1010:                                             ; preds = %1006
  %1011 = landingpad { ptr, i32 }
          cleanup
  %1012 = extractvalue { ptr, i32 } %1011, 0
  store ptr %1012, ptr %3, align 8
  %1013 = extractvalue { ptr, i32 } %1011, 1
  store i32 %1013, ptr %4, align 4
  br label %1018

1014:                                             ; preds = %1007
  %1015 = landingpad { ptr, i32 }
          cleanup
  %1016 = extractvalue { ptr, i32 } %1015, 0
  store ptr %1016, ptr %3, align 8
  %1017 = extractvalue { ptr, i32 } %1015, 1
  store i32 %1017, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %90) #8
  br label %1018

1018:                                             ; preds = %1014, %1010
  call void @llvm.lifetime.end.p0(i64 48, ptr %90) #8
  br label %1128

1019:                                             ; preds = %987
  br label %1020

1020:                                             ; preds = %1019
  br label %1021

1021:                                             ; preds = %1020
  br label %1022

1022:                                             ; preds = %1021
  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.46, i1 noundef zeroext true)
          to label %1023 unwind label %1048

1023:                                             ; preds = %1022
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %91)
          to label %1024 unwind label %1052

1024:                                             ; preds = %1023
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %91) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %91) #8
  %1025 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %74)
          to label %1026 unwind label %926

1026:                                             ; preds = %1024
  %1027 = load ptr, ptr %1025, align 8, !tbaa !16
  %1028 = getelementptr i8, ptr %1027, i64 -56
  %1029 = load i64, ptr %1028, align 8
  %1030 = getelementptr inbounds i8, ptr %1025, i64 %1029
  %1031 = load ptr, ptr %1030, align 8, !tbaa !16
  %1032 = getelementptr inbounds ptr, ptr %1031, i64 3
  %1033 = load ptr, ptr %1032, align 8
  %1034 = invoke noundef nonnull align 8 dereferenceable(8) ptr %1033(ptr noundef nonnull align 8 dereferenceable(8) %1030)
          to label %1035 unwind label %926

1035:                                             ; preds = %1026
  %1036 = getelementptr inbounds [1024 x i32], ptr %83, i64 0, i64 0
  %1037 = load i64, ptr %84, align 8, !tbaa !10
  %1038 = load ptr, ptr %1034, align 8, !tbaa !16
  %1039 = getelementptr inbounds ptr, ptr %1038, i64 14
  %1040 = load ptr, ptr %1039, align 8
  %1041 = invoke noundef i64 %1040(ptr noundef nonnull align 8 dereferenceable(8) %1034, ptr noundef %1036, i64 noundef %1037)
          to label %1042 unwind label %926

1042:                                             ; preds = %1035
  %1043 = load i64, ptr %84, align 8, !tbaa !10
  %1044 = icmp eq i64 %1041, %1043
  br i1 %1044, label %1045, label %1066

1045:                                             ; preds = %1042
  call void @llvm.lifetime.start.p0(i64 48, ptr %92) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %92, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %1046 unwind label %1057

1046:                                             ; preds = %1045
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %92)
          to label %1047 unwind label %1061

1047:                                             ; preds = %1046
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %92) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %92) #8
  br label %1079

1048:                                             ; preds = %1022
  %1049 = landingpad { ptr, i32 }
          cleanup
  %1050 = extractvalue { ptr, i32 } %1049, 0
  store ptr %1050, ptr %3, align 8
  %1051 = extractvalue { ptr, i32 } %1049, 1
  store i32 %1051, ptr %4, align 4
  br label %1056

1052:                                             ; preds = %1023
  %1053 = landingpad { ptr, i32 }
          cleanup
  %1054 = extractvalue { ptr, i32 } %1053, 0
  store ptr %1054, ptr %3, align 8
  %1055 = extractvalue { ptr, i32 } %1053, 1
  store i32 %1055, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %91) #8
  br label %1056

1056:                                             ; preds = %1052, %1048
  call void @llvm.lifetime.end.p0(i64 48, ptr %91) #8
  br label %1128

1057:                                             ; preds = %1045
  %1058 = landingpad { ptr, i32 }
          cleanup
  %1059 = extractvalue { ptr, i32 } %1058, 0
  store ptr %1059, ptr %3, align 8
  %1060 = extractvalue { ptr, i32 } %1058, 1
  store i32 %1060, ptr %4, align 4
  br label %1065

1061:                                             ; preds = %1046
  %1062 = landingpad { ptr, i32 }
          cleanup
  %1063 = extractvalue { ptr, i32 } %1062, 0
  store ptr %1063, ptr %3, align 8
  %1064 = extractvalue { ptr, i32 } %1062, 1
  store i32 %1064, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %92) #8
  br label %1065

1065:                                             ; preds = %1061, %1057
  call void @llvm.lifetime.end.p0(i64 48, ptr %92) #8
  br label %1128

1066:                                             ; preds = %1042
  call void @llvm.lifetime.start.p0(i64 48, ptr %93) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %93, ptr noundef @.str.3, i1 noundef zeroext true)
          to label %1067 unwind label %1070

1067:                                             ; preds = %1066
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %93)
          to label %1068 unwind label %1074

1068:                                             ; preds = %1067
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %93) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %93) #8
  %1069 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %1069, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr %1069, ptr @_ZTIi, ptr null) #9
          to label %1150 unwind label %926

1070:                                             ; preds = %1066
  %1071 = landingpad { ptr, i32 }
          cleanup
  %1072 = extractvalue { ptr, i32 } %1071, 0
  store ptr %1072, ptr %3, align 8
  %1073 = extractvalue { ptr, i32 } %1071, 1
  store i32 %1073, ptr %4, align 4
  br label %1078

1074:                                             ; preds = %1067
  %1075 = landingpad { ptr, i32 }
          cleanup
  %1076 = extractvalue { ptr, i32 } %1075, 0
  store ptr %1076, ptr %3, align 8
  %1077 = extractvalue { ptr, i32 } %1075, 1
  store i32 %1077, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %93) #8
  br label %1078

1078:                                             ; preds = %1074, %1070
  call void @llvm.lifetime.end.p0(i64 48, ptr %93) #8
  br label %1128

1079:                                             ; preds = %1047
  br label %1080

1080:                                             ; preds = %1079
  br label %1081

1081:                                             ; preds = %1080
  br label %1082

1082:                                             ; preds = %1081
  call void @llvm.lifetime.start.p0(i64 48, ptr %94) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %94, ptr noundef @.str.47, i1 noundef zeroext true)
          to label %1083 unwind label %1091

1083:                                             ; preds = %1082
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %94)
          to label %1084 unwind label %1095

1084:                                             ; preds = %1083
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %94) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %94) #8
  %1085 = getelementptr inbounds [1024 x i32], ptr %83, i64 0, i64 0
  %1086 = invoke noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48) %77, ptr noundef %1085)
          to label %1087 unwind label %926

1087:                                             ; preds = %1084
  br i1 %1086, label %1088, label %1109

1088:                                             ; preds = %1087
  call void @llvm.lifetime.start.p0(i64 48, ptr %95) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %95, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %1089 unwind label %1100

1089:                                             ; preds = %1088
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %95)
          to label %1090 unwind label %1104

1090:                                             ; preds = %1089
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %95) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %95) #8
  br label %1122

1091:                                             ; preds = %1082
  %1092 = landingpad { ptr, i32 }
          cleanup
  %1093 = extractvalue { ptr, i32 } %1092, 0
  store ptr %1093, ptr %3, align 8
  %1094 = extractvalue { ptr, i32 } %1092, 1
  store i32 %1094, ptr %4, align 4
  br label %1099

1095:                                             ; preds = %1083
  %1096 = landingpad { ptr, i32 }
          cleanup
  %1097 = extractvalue { ptr, i32 } %1096, 0
  store ptr %1097, ptr %3, align 8
  %1098 = extractvalue { ptr, i32 } %1096, 1
  store i32 %1098, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %94) #8
  br label %1099

1099:                                             ; preds = %1095, %1091
  call void @llvm.lifetime.end.p0(i64 48, ptr %94) #8
  br label %1128

1100:                                             ; preds = %1088
  %1101 = landingpad { ptr, i32 }
          cleanup
  %1102 = extractvalue { ptr, i32 } %1101, 0
  store ptr %1102, ptr %3, align 8
  %1103 = extractvalue { ptr, i32 } %1101, 1
  store i32 %1103, ptr %4, align 4
  br label %1108

1104:                                             ; preds = %1089
  %1105 = landingpad { ptr, i32 }
          cleanup
  %1106 = extractvalue { ptr, i32 } %1105, 0
  store ptr %1106, ptr %3, align 8
  %1107 = extractvalue { ptr, i32 } %1105, 1
  store i32 %1107, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %95) #8
  br label %1108

1108:                                             ; preds = %1104, %1100
  call void @llvm.lifetime.end.p0(i64 48, ptr %95) #8
  br label %1128

1109:                                             ; preds = %1087
  call void @llvm.lifetime.start.p0(i64 48, ptr %96) #8
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %96, ptr noundef @.str.3, i1 noundef zeroext true)
          to label %1110 unwind label %1113

1110:                                             ; preds = %1109
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %96)
          to label %1111 unwind label %1117

1111:                                             ; preds = %1110
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %96) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %96) #8
  %1112 = call ptr @__cxa_allocate_exception(i64 4) #8
  store i32 0, ptr %1112, align 16, !tbaa !5
  invoke void @__cxa_throw(ptr %1112, ptr @_ZTIi, ptr null) #9
          to label %1150 unwind label %926

1113:                                             ; preds = %1109
  %1114 = landingpad { ptr, i32 }
          cleanup
  %1115 = extractvalue { ptr, i32 } %1114, 0
  store ptr %1115, ptr %3, align 8
  %1116 = extractvalue { ptr, i32 } %1114, 1
  store i32 %1116, ptr %4, align 4
  br label %1121

1117:                                             ; preds = %1110
  %1118 = landingpad { ptr, i32 }
          cleanup
  %1119 = extractvalue { ptr, i32 } %1118, 0
  store ptr %1119, ptr %3, align 8
  %1120 = extractvalue { ptr, i32 } %1118, 1
  store i32 %1120, ptr %4, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %96) #8
  br label %1121

1121:                                             ; preds = %1117, %1113
  call void @llvm.lifetime.end.p0(i64 48, ptr %96) #8
  br label %1128

1122:                                             ; preds = %1090
  br label %1123

1123:                                             ; preds = %1122
  br label %1124

1124:                                             ; preds = %1123
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #8
  call void @llvm.lifetime.end.p0(i64 4096, ptr %83) #8
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %77) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %77) #8
  br label %1125

1125:                                             ; preds = %1124
  %1126 = load i64, ptr %76, align 8, !tbaa !10
  %1127 = add nsw i64 %1126, 1
  store i64 %1127, ptr %76, align 8, !tbaa !10
  br label %842, !llvm.loop !23

1128:                                             ; preds = %1121, %1108, %1099, %1078, %1065, %1056, %1018, %1005, %996, %960, %947, %938, %926
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #8
  call void @llvm.lifetime.end.p0(i64 4096, ptr %83) #8
  br label %1129

1129:                                             ; preds = %1128, %925
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %77) #8
  br label %1130

1130:                                             ; preds = %1129, %906
  call void @llvm.lifetime.end.p0(i64 48, ptr %77) #8
  br label %1131

1131:                                             ; preds = %1130, %852
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #8
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #8
  br label %1136

1132:                                             ; preds = %847
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %74) #8
  br label %1133

1133:                                             ; preds = %1132
  %1134 = load i64, ptr %73, align 8, !tbaa !10
  %1135 = add nsw i64 %1134, 1
  store i64 %1135, ptr %73, align 8, !tbaa !10
  br label %802, !llvm.loop !24

1136:                                             ; preds = %1131, %848
  call void @llvm.lifetime.end.p0(i64 32, ptr %74) #8
  br label %1137

1137:                                             ; preds = %1136, %831
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #8
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %71) #8
  br label %1139

1138:                                             ; preds = %807
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %71) #8
  call void @llvm.lifetime.end.p0(i64 304, ptr %71) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  call void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %6) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #8
  call void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %5) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #8
  call void @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %2) #8
  call void @llvm.lifetime.end.p0(i64 48, 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

1139:                                             ; preds = %1137, %827
  call void @llvm.lifetime.end.p0(i64 304, ptr %71) #8
  br label %1140

1140:                                             ; preds = %1139, %826
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  br label %1141

1141:                                             ; preds = %1140, %789, %776, %767, %758, %155, %142, %130, %129
  call void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %6) #8
  br label %1142

1142:                                             ; preds = %1141, %117
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #8
  call void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %5) #8
  br label %1143

1143:                                             ; preds = %1142, %113
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #8
  call void @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %2) #8
  br label %1144

1144:                                             ; preds = %1143, %109
  call void @llvm.lifetime.end.p0(i64 48, 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 %1145

1145:                                             ; preds = %1144
  %1146 = load ptr, ptr %3, align 8
  %1147 = load i32, ptr %4, align 4
  %1148 = insertvalue { ptr, i32 } poison, ptr %1146, 0
  %1149 = insertvalue { ptr, i32 } %1148, i32 %1147, 1
  resume { ptr, i32 } %1149

1150:                                             ; preds = %1111, %1068, %1008, %950, %779, %697, %654, %594, %536, %145
  unreachable
}

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

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 }

!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 = !{i64 0, i64 4, !5}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{i64 0, i64 8, !10}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !8, i64 0}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}
!21 = distinct !{!21, !13}
!22 = distinct !{!22, !13}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}


; 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::Ptr" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.36" = type { ptr, ptr, ptr, 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.37" = type { %"class.vl::collections::ListBase.base.23", %"class.vl::collections::IEnumerable.21" }
%"class.vl::collections::ListBase.base.23" = type <{ %"class.vl::collections::ArrayBase.base.22", i64, i8 }>
%"class.vl::collections::ArrayBase.base.22" = type { %"class.vl::collections::ListStore.20", ptr, i64 }
%"class.vl::collections::ListStore.20" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.21" = type { %"class.vl::Interface" }
%"class.vl::collections::List.39" = type { %"class.vl::collections::ListBase.base.45", %"class.vl::collections::IEnumerable.43" }
%"class.vl::collections::ListBase.base.45" = type <{ %"class.vl::collections::ArrayBase.base.44", i64, i8 }>
%"class.vl::collections::ArrayBase.base.44" = type { %"class.vl::collections::ListStore.42", ptr, i64 }
%"class.vl::collections::ListStore.42" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.43" = type { %"class.vl::Interface" }
%"class.vl::database::LogManager" = type { %"class.vl::Object", ptr, %"struct.vl::database::IdObject", i8, %"class.vl::database::log_internal::LogAddressItem", %"class.vl::database::log_internal::LogBlocks", %"class.vl::database::log_internal::LogTransactions", %"class.vl::SpinLock" }
%"struct.vl::database::IdObject" = type { i32 }
%"class.vl::database::log_internal::LogAddressItem" = type { %"class.vl::Object", ptr, %"struct.vl::database::IdObject", i64, i64, %"class.vl::collections::List.7" }
%"class.vl::collections::List.7" = type { %"class.vl::collections::ListBase.base.13", %"class.vl::collections::IEnumerable.11" }
%"class.vl::collections::ListBase.base.13" = type <{ %"class.vl::collections::ArrayBase.base.12", i64, i8 }>
%"class.vl::collections::ArrayBase.base.12" = type { %"class.vl::collections::ListStore.10", ptr, i64 }
%"class.vl::collections::ListStore.10" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.11" = type { %"class.vl::Interface" }
%"class.vl::database::log_internal::LogBlocks" = type { %"class.vl::Object", ptr, %"struct.vl::database::IdObject", i64, %"struct.vl::database::IdObject.15" }
%"struct.vl::database::IdObject.15" = type { i64 }
%"class.vl::database::log_internal::LogTransactions" = type { %"class.vl::Object", i64, %"class.vl::collections::Dictionary.16", ptr }
%"class.vl::collections::Dictionary.16" = type { %"class.vl::Object", %"class.vl::collections::SortedList.17", %"class.vl::collections::List.25", %"class.vl::collections::IEnumerable.33" }
%"class.vl::collections::SortedList.17" = type { %"class.vl::collections::ListBase.base.23", %"class.vl::collections::IEnumerable.21" }
%"class.vl::collections::List.25" = type { %"class.vl::collections::ListBase.base.31", %"class.vl::collections::IEnumerable.29" }
%"class.vl::collections::ListBase.base.31" = type <{ %"class.vl::collections::ArrayBase.base.30", i64, i8 }>
%"class.vl::collections::ArrayBase.base.30" = type { %"class.vl::collections::ListStore.28", ptr, i64 }
%"class.vl::collections::ListStore.28" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.29" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.33" = type { %"class.vl::Interface" }
%"struct.vl::database::IdObject.35" = type { i64 }

@.str = external hidden unnamed_addr constant [7 x i32], align 4
@.str.2 = external hidden unnamed_addr constant [11 x i32], align 4
@.str.3 = external hidden unnamed_addr constant [11 x i32], align 4
@_ZTIi = external constant ptr
@.str.19 = external hidden unnamed_addr constant [31 x i32], align 4
@.str.37 = external hidden unnamed_addr constant [13 x i32], align 4
@.str.38 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.39 = external hidden unnamed_addr constant [13 x i32], align 4
@.str.40 = external hidden unnamed_addr constant [13 x i32], align 4
@.str.41 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.42 = external hidden unnamed_addr constant [14 x i32], align 4
@.str.43 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.44 = external hidden unnamed_addr constant [14 x i32], align 4
@.str.45 = external hidden unnamed_addr constant [39 x i32], align 4
@.str.46 = external hidden unnamed_addr constant [51 x i32], align 4
@.str.47 = external hidden unnamed_addr constant [22 x i32], align 4
@.str.49 = external hidden unnamed_addr constant [42 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 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

declare i32 @__gxx_personality_v0(...)

; 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: mustprogress uwtable
declare dso_local void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i1 noundef zeroext) unnamed_addr #2 align 2

; 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 void @_ZN2vl8database10LogManagerC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEEbb(ptr noundef nonnull align 8 dereferenceable(304), ptr noundef, i32, i1 noundef zeroext, i1 noundef zeroext) unnamed_addr #1

declare i64 @_ZN2vl8database10LogManager15OpenTransactionEv(ptr noundef nonnull align 8 dereferenceable(304)) local_unnamed_addr #1

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @_ZN2vl8database10LogManager11EnumLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr") align 8, ptr noundef nonnull align 8 dereferenceable(304), i64) local_unnamed_addr #1

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

declare void @_ZN2vl8database10LogManager19EnumInactiveLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr") align 8, ptr noundef nonnull align 8 dereferenceable(304), i64) local_unnamed_addr #1

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

declare noundef zeroext i1 @_ZN2vl8database10LogManager16CloseTransactionENS0_8IdObjectImLl3EEE(ptr noundef nonnull align 8 dereferenceable(304), i64) local_unnamed_addr #1

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

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

declare void @_ZN2vl8database10LogManager11OpenLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.36") align 8, ptr noundef nonnull align 8 dereferenceable(304), i64) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z49TestFunction_Utility_Log_OpenTransactionsParallelv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.vl::database::BufferManager", align 8
  %2 = alloca %"class.vl::collections::List.37", align 8
  %3 = alloca %"class.vl::collections::List.39", align 8
  %4 = alloca %"class.vl::collections::List.39", 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::database::LogManager", align 8
  %12 = alloca %"struct.vl::database::IdObject.35", 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 %"class.vl::ObjectString", 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::Ptr.36", align 8
  %28 = alloca %"class.vl::Ptr", 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 [1024 x i32], align 16
  %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::database::LogManager", align 8
  %55 = alloca %"class.vl::Ptr", 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 [1024 x i32], align 16
  %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
  %67 = alloca %"class.vl::ObjectString", align 8
  %68 = alloca %"class.vl::ObjectString", align 8
  %69 = alloca %"class.vl::ObjectString", 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
  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 16)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #7
  invoke void @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %2)
          to label %75 unwind label %86

75:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #7
  invoke void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %3)
          to label %76 unwind label %88

76:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #7
  invoke void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %4)
          to label %77 unwind label %90

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

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

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

81:                                               ; preds = %79
  %82 = icmp eq i64 %80, 0
  br i1 %82, label %83, label %104

83:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %84 unwind label %99

84:                                               ; preds = %83
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %6)
          to label %85 unwind label %101

85:                                               ; preds = %84
  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.start.p0(i64 48, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #7
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %9)
          to label %112 unwind label %117

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

88:                                               ; preds = %75
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %689

90:                                               ; preds = %76
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %688

92:                                               ; preds = %77
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %96

94:                                               ; preds = %78
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #7
  br label %96

96:                                               ; preds = %94, %92
  %.pn = phi { ptr, i32 } [ %95, %94 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #7
  br label %687

97:                                               ; preds = %.invoke, %454, %79
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %687

99:                                               ; preds = %83
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %103

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

103:                                              ; preds = %101, %99
  %.pn141 = phi { ptr, i32 } [ %102, %101 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #7
  br label %687

104:                                              ; preds = %81
  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.3, i1 noundef zeroext true)
          to label %105 unwind label %107

105:                                              ; preds = %104
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %106 unwind label %109

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

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

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

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

112:                                              ; preds = %85
  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, i1 noundef zeroext true)
          to label %113 unwind label %119

113:                                              ; preds = %112
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %8, ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %114 unwind label %121

114:                                              ; preds = %113
  %115 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(48) %8, i1 noundef zeroext true)
          to label %116 unwind label %123

116:                                              ; preds = %114
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #7
  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.end.p0(i64 48, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 304, ptr nonnull %11) #7
  invoke void @_ZN2vl8database10LogManagerC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEEbb(ptr noundef nonnull align 8 dereferenceable(304) %11, ptr noundef nonnull %1, i32 %115, i1 noundef zeroext true, i1 noundef zeroext true)
          to label %.preheader273 unwind label %128

117:                                              ; preds = %85
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %127

119:                                              ; preds = %112
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %126

121:                                              ; preds = %113
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %125

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

125:                                              ; preds = %123, %121
  %.pn143 = phi { ptr, i32 } [ %124, %123 ], [ %122, %121 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #7
  br label %126

126:                                              ; preds = %125, %119
  %.pn143.pn = phi { ptr, i32 } [ %.pn143, %125 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  br label %127

127:                                              ; preds = %126, %117
  %.pn143.pn.pn = phi { ptr, i32 } [ %.pn143.pn, %126 ], [ %118, %117 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #7
  br label %687

128:                                              ; preds = %116
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %462

.preheader273:                                    ; preds = %116, %140
  %.0129274 = phi i64 [ %134, %140 ], [ 0, %116 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %130 = invoke i64 @_ZN2vl8database10LogManager15OpenTransactionEv(ptr noundef nonnull align 8 dereferenceable(304) %11)
          to label %131 unwind label %141

131:                                              ; preds = %.preheader273
  store i64 %130, ptr %12, align 8
  %132 = invoke noundef i64 @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_E3AddERKS4_(ptr noundef nonnull align 8 dereferenceable(33) %2, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %133 unwind label %141

133:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #7
  %134 = add nuw nsw i64 %.0129274, 1
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %15, i64 noundef %134)
          to label %135 unwind label %143

135:                                              ; preds = %133
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %14, ptr noundef nonnull @.str.37, ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %136 unwind label %145

136:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull @.str.38, i1 noundef zeroext true)
          to label %137 unwind label %147

137:                                              ; preds = %136
  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) %16)
          to label %138 unwind label %149

138:                                              ; preds = %137
  %139 = invoke noundef i64 @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_E3AddERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %3, ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %140 unwind label %151

140:                                              ; preds = %138
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #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) %14) #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 @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #7
  %exitcond.not = icmp eq i64 %134, 20
  br i1 %exitcond.not, label %.preheader272, label %.preheader273, !llvm.loop !5

141:                                              ; preds = %131, %.preheader273
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %461

143:                                              ; preds = %133
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %156

145:                                              ; preds = %135
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %155

147:                                              ; preds = %136
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %154

149:                                              ; preds = %137
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %153

151:                                              ; preds = %138
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #7
  br label %153

153:                                              ; preds = %151, %149
  %.pn248 = phi { ptr, i32 } [ %152, %151 ], [ %150, %149 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  br label %154

154:                                              ; preds = %153, %147
  %.pn248.pn = phi { ptr, i32 } [ %.pn248, %153 ], [ %148, %147 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #7
  br label %155

155:                                              ; preds = %154, %145
  %.pn248.pn.pn = phi { ptr, i32 } [ %.pn248.pn, %154 ], [ %146, %145 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #7
  br label %156

156:                                              ; preds = %155, %143
  %.pn248.pn.pn.pn = phi { ptr, i32 } [ %.pn248.pn.pn, %155 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #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
  br label %461

.preheader271:                                    ; preds = %165
  %157 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %158 = icmp sgt i64 %157, 0
  br i1 %158, label %.preheader270, label %.preheader269

.preheader272:                                    ; preds = %140, %165
  %.0130275 = phi i64 [ %159, %165 ], [ 0, %140 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #7
  %159 = add nuw nsw i64 %.0130275, 1
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %19, i64 noundef %159)
          to label %160 unwind label %166

160:                                              ; preds = %.preheader272
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %18, ptr noundef nonnull @.str.39, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %161 unwind label %168

161:                                              ; preds = %160
  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.40, i1 noundef zeroext true)
          to label %162 unwind label %170

162:                                              ; preds = %161
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %17, ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %163 unwind label %172

163:                                              ; preds = %162
  %164 = invoke noundef i64 @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_E3AddERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %4, ptr noundef nonnull align 8 dereferenceable(48) %17)
          to label %165 unwind label %174

165:                                              ; preds = %163
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #7
  %exitcond292.not = icmp eq i64 %159, 20
  br i1 %exitcond292.not, label %.preheader271, label %.preheader272, !llvm.loop !7

166:                                              ; preds = %.preheader272
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %179

168:                                              ; preds = %160
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %178

170:                                              ; preds = %161
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %177

172:                                              ; preds = %162
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %176

174:                                              ; preds = %163
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #7
  br label %176

176:                                              ; preds = %174, %172
  %.pn243 = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  br label %177

177:                                              ; preds = %176, %170
  %.pn243.pn = phi { ptr, i32 } [ %.pn243, %176 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #7
  br label %178

178:                                              ; preds = %177, %168
  %.pn243.pn.pn = phi { ptr, i32 } [ %.pn243.pn, %177 ], [ %169, %168 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  br label %179

179:                                              ; preds = %178, %166
  %.pn243.pn.pn.pn = phi { ptr, i32 } [ %.pn243.pn.pn, %178 ], [ %167, %166 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #7
  br label %461

.preheader270:                                    ; preds = %.preheader271, %._crit_edge
  %.0131277 = phi i64 [ %184, %._crit_edge ], [ 0, %.preheader271 ]
  %180 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %181 = icmp sgt i64 %180, 0
  br i1 %181, label %.lr.ph, label %._crit_edge

.preheader269:                                    ; preds = %._crit_edge, %.preheader271
  %182 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %183 = icmp sgt i64 %182, 0
  br i1 %183, label %.lr.ph282, label %.preheader262

._crit_edge:                                      ; preds = %225, %.preheader270
  %184 = add nuw nsw i64 %.0131277, 1
  %185 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %186 = icmp slt i64 %184, %185
  br i1 %186, label %.preheader270, label %.preheader269, !llvm.loop !8

.lr.ph:                                           ; preds = %.preheader270, %225
  %.0134276 = phi i64 [ %226, %225 ], [ 0, %.preheader270 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #7
  %187 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %3, i64 noundef %.0134276)
          to label %188 unwind label %229

188:                                              ; preds = %.lr.ph
  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.41, i1 noundef zeroext true)
          to label %189 unwind label %231

189:                                              ; preds = %188
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %22, ptr noundef nonnull align 8 dereferenceable(48) %187, ptr noundef nonnull align 8 dereferenceable(48) %23)
          to label %190 unwind label %233

190:                                              ; preds = %189
  %191 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %4, i64 noundef %.0131277)
          to label %192 unwind label %235

192:                                              ; preds = %190
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %21, ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(48) %191)
          to label %193 unwind label %235

193:                                              ; preds = %192
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #7
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %25, ptr noundef nonnull @.str.42, ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %194 unwind label %240

194:                                              ; preds = %193
  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.43, i1 noundef zeroext true)
          to label %195 unwind label %242

195:                                              ; preds = %194
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %24, ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 8 dereferenceable(48) %26)
          to label %196 unwind label %244

196:                                              ; preds = %195
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %197 unwind label %246

197:                                              ; preds = %196
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #7
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %2, i64 noundef %.0134276)
          to label %199 unwind label %251

199:                                              ; preds = %197
  %.sroa.027.0.copyload = load i64, ptr %198, align 8, !tbaa !9
  invoke void @_ZN2vl8database10LogManager11OpenLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.36") align 8 %27, ptr noundef nonnull align 8 dereferenceable(304) %11, i64 %.sroa.027.0.copyload)
          to label %200 unwind label %251

200:                                              ; preds = %199
  %201 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogWriterEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
  %202 = load ptr, ptr %201, align 8, !tbaa !13
  %203 = getelementptr i8, ptr %202, i64 -56
  %204 = load i64, ptr %203, align 8
  %205 = getelementptr inbounds i8, ptr %201, i64 %204
  %206 = load ptr, ptr %205, align 8, !tbaa !13
  %207 = getelementptr inbounds i8, ptr %206, i64 24
  %208 = load ptr, ptr %207, align 8
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr %208(ptr noundef nonnull align 8 dereferenceable(8) %205)
          to label %210 unwind label %253

210:                                              ; preds = %200
  %211 = invoke noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %212 unwind label %253

212:                                              ; preds = %210
  %213 = call noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %21)
  %214 = shl i64 %213, 2
  %215 = load ptr, ptr %209, align 8, !tbaa !13
  %216 = getelementptr inbounds i8, ptr %215, i64 120
  %217 = load ptr, ptr %216, align 8
  %218 = invoke noundef i64 %217(ptr noundef nonnull align 8 dereferenceable(8) %209, ptr noundef %211, i64 noundef %214)
          to label %219 unwind label %253

219:                                              ; preds = %212
  %220 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogWriterEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
  %221 = load ptr, ptr %220, align 8, !tbaa !13
  %222 = getelementptr inbounds i8, ptr %221, i64 40
  %223 = load ptr, ptr %222, align 8
  %224 = invoke noundef zeroext i1 %223(ptr noundef nonnull align 8 dereferenceable(8) %220)
          to label %225 unwind label %253

225:                                              ; preds = %219
  call void @_ZN2vl3PtrINS_8database10ILogWriterEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #7
  %226 = add nuw nsw i64 %.0134276, 1
  %227 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %228 = icmp slt i64 %226, %227
  br i1 %228, label %.lr.ph, label %._crit_edge, !llvm.loop !15

229:                                              ; preds = %.lr.ph
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %239

231:                                              ; preds = %188
  %232 = landingpad { ptr, i32 }
          cleanup
  br label %238

233:                                              ; preds = %189
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %237

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

237:                                              ; preds = %235, %233
  %.pn231 = phi { ptr, i32 } [ %236, %235 ], [ %234, %233 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #7
  br label %238

238:                                              ; preds = %237, %231
  %.pn231.pn = phi { ptr, i32 } [ %.pn231, %237 ], [ %232, %231 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #7
  br label %239

239:                                              ; preds = %238, %229
  %.pn231.pn.pn = phi { ptr, i32 } [ %.pn231.pn, %238 ], [ %230, %229 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #7
  br label %257

240:                                              ; preds = %193
  %241 = landingpad { ptr, i32 }
          cleanup
  br label %250

242:                                              ; preds = %194
  %243 = landingpad { ptr, i32 }
          cleanup
  br label %249

244:                                              ; preds = %195
  %245 = landingpad { ptr, i32 }
          cleanup
  br label %248

246:                                              ; preds = %196
  %247 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #7
  br label %248

248:                                              ; preds = %246, %244
  %.pn235 = phi { ptr, i32 } [ %247, %246 ], [ %245, %244 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  br label %249

249:                                              ; preds = %248, %242
  %.pn235.pn = phi { ptr, i32 } [ %.pn235, %248 ], [ %243, %242 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #7
  br label %250

250:                                              ; preds = %249, %240
  %.pn235.pn.pn = phi { ptr, i32 } [ %.pn235.pn, %249 ], [ %241, %240 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #7
  br label %256

251:                                              ; preds = %199, %197
  %252 = landingpad { ptr, i32 }
          cleanup
  br label %255

253:                                              ; preds = %219, %212, %210, %200
  %254 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_8database10ILogWriterEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %255

255:                                              ; preds = %253, %251
  %.pn239 = phi { ptr, i32 } [ %254, %253 ], [ %252, %251 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #7
  br label %256

256:                                              ; preds = %255, %250
  %.pn239.pn = phi { ptr, i32 } [ %.pn239, %255 ], [ %.pn235.pn.pn, %250 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  br label %257

257:                                              ; preds = %256, %239
  %.pn239.pn.pn = phi { ptr, i32 } [ %.pn239.pn, %256 ], [ %.pn231.pn.pn, %239 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #7
  br label %461

.preheader262:                                    ; preds = %._crit_edge280, %.preheader269
  %258 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %259 = icmp sgt i64 %258, 0
  br i1 %259, label %.lr.ph284, label %._crit_edge285

.lr.ph282:                                        ; preds = %.preheader269, %._crit_edge280
  %.0135281 = phi i64 [ %264, %._crit_edge280 ], [ 0, %.preheader269 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #7
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %2, i64 noundef %.0135281)
          to label %261 unwind label %267

261:                                              ; preds = %.lr.ph282
  %.sroa.022.0.copyload = load i64, ptr %260, align 8, !tbaa !9
  invoke void @_ZN2vl8database10LogManager11EnumLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr") align 8 %28, ptr noundef nonnull align 8 dereferenceable(304) %11, i64 %.sroa.022.0.copyload)
          to label %.preheader263 unwind label %267

.preheader263:                                    ; preds = %261
  %262 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %263 = icmp sgt i64 %262, 0
  br i1 %263, label %.lr.ph279, label %._crit_edge280

._crit_edge280:                                   ; preds = %418, %.preheader263
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #7
  %264 = add nuw nsw i64 %.0135281, 1
  %265 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %266 = icmp slt i64 %264, %265
  br i1 %266, label %.lr.ph282, label %.preheader262, !llvm.loop !16

267:                                              ; preds = %261, %.lr.ph282
  %268 = landingpad { ptr, i32 }
          cleanup
  br label %443

.lr.ph279:                                        ; preds = %.preheader263, %418
  %.0133278 = phi i64 [ %419, %418 ], [ 0, %.preheader263 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %30) #7
  %269 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %3, i64 noundef %.0135281)
          to label %270 unwind label %293

270:                                              ; preds = %.lr.ph279
  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.41, i1 noundef zeroext true)
          to label %271 unwind label %295

271:                                              ; preds = %270
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %30, ptr noundef nonnull align 8 dereferenceable(48) %269, ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %272 unwind label %297

272:                                              ; preds = %271
  %273 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %4, i64 noundef %.0133278)
          to label %274 unwind label %299

274:                                              ; preds = %272
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %29, ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull align 8 dereferenceable(48) %273)
          to label %275 unwind label %299

275:                                              ; preds = %274
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #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 @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %33, ptr noundef nonnull @.str.44, ptr noundef nonnull align 8 dereferenceable(48) %29)
          to label %276 unwind label %304

276:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %34) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef nonnull @.str.43, i1 noundef zeroext true)
          to label %277 unwind label %306

277:                                              ; preds = %276
  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 %278 unwind label %308

278:                                              ; preds = %277
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %32)
          to label %279 unwind label %310

279:                                              ; preds = %278
  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 4096, ptr nonnull %35) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4096) %35, i8 0, i64 4096, i1 false)
  %280 = call noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %29)
  %281 = shl i64 %280, 2
  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.19, i1 noundef zeroext true)
          to label %282 unwind label %315

282:                                              ; preds = %279
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %36)
          to label %283 unwind label %317

283:                                              ; preds = %282
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %36) #7
  %284 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %28)
  %285 = load ptr, ptr %284, align 8, !tbaa !13
  %286 = getelementptr inbounds i8, ptr %285, i64 32
  %287 = load ptr, ptr %286, align 8
  %288 = invoke noundef zeroext i1 %287(ptr noundef nonnull align 8 dereferenceable(8) %284)
          to label %289 unwind label %.loopexit264

289:                                              ; preds = %283
  br i1 %288, label %290, label %325

290:                                              ; preds = %289
  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 %291 unwind label %320

291:                                              ; preds = %290
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %37)
          to label %292 unwind label %322

292:                                              ; preds = %291
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %37) #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.45, i1 noundef zeroext true)
          to label %334 unwind label %355

293:                                              ; preds = %.lr.ph279
  %294 = landingpad { ptr, i32 }
          cleanup
  br label %303

295:                                              ; preds = %270
  %296 = landingpad { ptr, i32 }
          cleanup
  br label %302

297:                                              ; preds = %271
  %298 = landingpad { ptr, i32 }
          cleanup
  br label %301

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

301:                                              ; preds = %299, %297
  %.pn195 = phi { ptr, i32 } [ %300, %299 ], [ %298, %297 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  br label %302

302:                                              ; preds = %301, %295
  %.pn195.pn = phi { ptr, i32 } [ %.pn195, %301 ], [ %296, %295 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #7
  br label %303

303:                                              ; preds = %302, %293
  %.pn195.pn.pn = phi { ptr, i32 } [ %.pn195.pn, %302 ], [ %294, %293 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #7
  br label %442

304:                                              ; preds = %275
  %305 = landingpad { ptr, i32 }
          cleanup
  br label %314

306:                                              ; preds = %276
  %307 = landingpad { ptr, i32 }
          cleanup
  br label %313

308:                                              ; preds = %277
  %309 = landingpad { ptr, i32 }
          cleanup
  br label %312

310:                                              ; preds = %278
  %311 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #7
  br label %312

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

313:                                              ; preds = %312, %306
  %.pn199.pn = phi { ptr, i32 } [ %.pn199, %312 ], [ %307, %306 ]
  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 %314

314:                                              ; preds = %313, %304
  %.pn199.pn.pn = phi { ptr, i32 } [ %.pn199.pn, %313 ], [ %305, %304 ]
  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 %441

.loopexit264:                                     ; preds = %283, %335, %345, %374, %384, %413
  %lpad.loopexit266 = landingpad { ptr, i32 }
          cleanup
  br label %440

.loopexit.split-lp265:                            ; preds = %.invoke293
  %lpad.loopexit.split-lp267 = landingpad { ptr, i32 }
          cleanup
  br label %440

315:                                              ; preds = %279
  %316 = landingpad { ptr, i32 }
          cleanup
  br label %319

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

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

320:                                              ; preds = %290
  %321 = landingpad { ptr, i32 }
          cleanup
  br label %324

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

324:                                              ; preds = %322, %320
  %.pn207 = phi { ptr, i32 } [ %323, %322 ], [ %321, %320 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %37) #7
  br label %440

325:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %38) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %38, ptr noundef nonnull @.str.3, i1 noundef zeroext true)
          to label %326 unwind label %329

326:                                              ; preds = %325
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %38)
          to label %327 unwind label %331

327:                                              ; preds = %326
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %38) #7
  br label %.invoke293

.invoke293:                                       ; preds = %434, %406, %367, %327
  %328 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %328, align 16, !tbaa !17
  invoke void @__cxa_throw(ptr nonnull %328, ptr nonnull @_ZTIi, ptr null) #8
          to label %.cont294 unwind label %.loopexit.split-lp265

.cont294:                                         ; preds = %.invoke293
  unreachable

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

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

333:                                              ; preds = %331, %329
  %.pn205 = phi { ptr, i32 } [ %332, %331 ], [ %330, %329 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %38) #7
  br label %440

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

335:                                              ; preds = %334
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %39) #7
  %336 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %28)
  %337 = load ptr, ptr %336, align 8, !tbaa !13
  %338 = getelementptr i8, ptr %337, i64 -56
  %339 = load i64, ptr %338, align 8
  %340 = getelementptr inbounds i8, ptr %336, i64 %339
  %341 = load ptr, ptr %340, align 8, !tbaa !13
  %342 = getelementptr inbounds i8, ptr %341, i64 24
  %343 = load ptr, ptr %342, align 8
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr %343(ptr noundef nonnull align 8 dereferenceable(8) %340)
          to label %345 unwind label %.loopexit264

345:                                              ; preds = %335
  %346 = load ptr, ptr %344, align 8, !tbaa !13
  %347 = getelementptr inbounds i8, ptr %346, i64 80
  %348 = load ptr, ptr %347, align 8
  %349 = invoke noundef i64 %348(ptr noundef nonnull align 8 dereferenceable(8) %344)
          to label %350 unwind label %.loopexit264

350:                                              ; preds = %345
  %351 = icmp eq i64 %349, %281
  br i1 %351, label %352, label %365

352:                                              ; preds = %350
  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.2, i1 noundef zeroext true)
          to label %353 unwind label %360

353:                                              ; preds = %352
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %40)
          to label %354 unwind label %362

354:                                              ; preds = %353
  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.start.p0(i64 48, ptr nonnull %42) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %42, ptr noundef nonnull @.str.46, i1 noundef zeroext true)
          to label %373 unwind label %394

355:                                              ; preds = %292
  %356 = landingpad { ptr, i32 }
          cleanup
  br label %359

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

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

360:                                              ; preds = %352
  %361 = landingpad { ptr, i32 }
          cleanup
  br label %364

362:                                              ; preds = %353
  %363 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #7
  br label %364

364:                                              ; preds = %362, %360
  %.pn213 = phi { ptr, i32 } [ %363, %362 ], [ %361, %360 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %40) #7
  br label %440

365:                                              ; preds = %350
  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.3, i1 noundef zeroext true)
          to label %366 unwind label %368

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

367:                                              ; preds = %366
  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 %.invoke293

368:                                              ; preds = %365
  %369 = landingpad { ptr, i32 }
          cleanup
  br label %372

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

372:                                              ; preds = %370, %368
  %.pn211 = phi { ptr, i32 } [ %371, %370 ], [ %369, %368 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %41) #7
  br label %440

373:                                              ; preds = %354
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %42)
          to label %374 unwind label %396

374:                                              ; preds = %373
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %42) #7
  %375 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %28)
  %376 = load ptr, ptr %375, align 8, !tbaa !13
  %377 = getelementptr i8, ptr %376, i64 -56
  %378 = load i64, ptr %377, align 8
  %379 = getelementptr inbounds i8, ptr %375, i64 %378
  %380 = load ptr, ptr %379, align 8, !tbaa !13
  %381 = getelementptr inbounds i8, ptr %380, i64 24
  %382 = load ptr, ptr %381, align 8
  %383 = invoke noundef nonnull align 8 dereferenceable(8) ptr %382(ptr noundef nonnull align 8 dereferenceable(8) %379)
          to label %384 unwind label %.loopexit264

384:                                              ; preds = %374
  %385 = load ptr, ptr %383, align 8, !tbaa !13
  %386 = getelementptr inbounds i8, ptr %385, i64 112
  %387 = load ptr, ptr %386, align 8
  %388 = invoke noundef i64 %387(ptr noundef nonnull align 8 dereferenceable(8) %383, ptr noundef nonnull %35, i64 noundef %281)
          to label %389 unwind label %.loopexit264

389:                                              ; preds = %384
  %390 = icmp eq i64 %388, %281
  br i1 %390, label %391, label %404

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

392:                                              ; preds = %391
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %43)
          to label %393 unwind label %401

393:                                              ; preds = %392
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %43) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %45) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef nonnull @.str.47, i1 noundef zeroext true)
          to label %412 unwind label %422

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

396:                                              ; preds = %373
  %397 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #7
  br label %398

398:                                              ; preds = %396, %394
  %.pn215 = phi { ptr, i32 } [ %397, %396 ], [ %395, %394 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %42) #7
  br label %440

399:                                              ; preds = %391
  %400 = landingpad { ptr, i32 }
          cleanup
  br label %403

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

403:                                              ; preds = %401, %399
  %.pn219 = phi { ptr, i32 } [ %402, %401 ], [ %400, %399 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %43) #7
  br label %440

404:                                              ; preds = %389
  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.3, i1 noundef zeroext true)
          to label %405 unwind label %407

405:                                              ; preds = %404
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %44)
          to label %406 unwind label %409

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

407:                                              ; preds = %404
  %408 = landingpad { ptr, i32 }
          cleanup
  br label %411

409:                                              ; preds = %405
  %410 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #7
  br label %411

411:                                              ; preds = %409, %407
  %.pn217 = phi { ptr, i32 } [ %410, %409 ], [ %408, %407 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %44) #7
  br label %440

412:                                              ; preds = %393
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %45)
          to label %413 unwind label %424

413:                                              ; preds = %412
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %45) #7
  %414 = invoke noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48) %29, ptr noundef nonnull %35)
          to label %415 unwind label %.loopexit264

415:                                              ; preds = %413
  br i1 %414, label %416, label %432

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

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

418:                                              ; preds = %417
  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 @llvm.lifetime.end.p0(i64 4096, ptr nonnull %35) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #7
  %419 = add nuw nsw i64 %.0133278, 1
  %420 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %421 = icmp slt i64 %419, %420
  br i1 %421, label %.lr.ph279, label %._crit_edge280, !llvm.loop !19

422:                                              ; preds = %393
  %423 = landingpad { ptr, i32 }
          cleanup
  br label %426

424:                                              ; preds = %412
  %425 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #7
  br label %426

426:                                              ; preds = %424, %422
  %.pn221 = phi { ptr, i32 } [ %425, %424 ], [ %423, %422 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %45) #7
  br label %440

427:                                              ; preds = %416
  %428 = landingpad { ptr, i32 }
          cleanup
  br label %431

429:                                              ; preds = %417
  %430 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #7
  br label %431

431:                                              ; preds = %429, %427
  %.pn225 = phi { ptr, i32 } [ %430, %429 ], [ %428, %427 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %46) #7
  br label %440

432:                                              ; preds = %415
  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.3, i1 noundef zeroext true)
          to label %433 unwind label %435

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

434:                                              ; preds = %433
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %47) #7
  br label %.invoke293

435:                                              ; preds = %432
  %436 = landingpad { ptr, i32 }
          cleanup
  br label %439

437:                                              ; preds = %433
  %438 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #7
  br label %439

439:                                              ; preds = %437, %435
  %.pn223 = phi { ptr, i32 } [ %438, %437 ], [ %436, %435 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %47) #7
  br label %440

440:                                              ; preds = %.loopexit264, %.loopexit.split-lp265, %439, %431, %426, %411, %403, %398, %372, %364, %359, %333, %324, %319
  %.pn225.pn = phi { ptr, i32 } [ %.pn225, %431 ], [ %.pn223, %439 ], [ %.pn221, %426 ], [ %.pn219, %403 ], [ %.pn217, %411 ], [ %.pn215, %398 ], [ %.pn213, %364 ], [ %.pn211, %372 ], [ %.pn209, %359 ], [ %.pn207, %324 ], [ %.pn205, %333 ], [ %.pn203, %319 ], [ %lpad.loopexit266, %.loopexit264 ], [ %lpad.loopexit.split-lp267, %.loopexit.split-lp265 ]
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %35) #7
  br label %441

441:                                              ; preds = %440, %314
  %.pn225.pn.pn = phi { ptr, i32 } [ %.pn225.pn, %440 ], [ %.pn199.pn.pn, %314 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #7
  br label %442

442:                                              ; preds = %441, %303
  %.pn225.pn.pn.pn = phi { ptr, i32 } [ %.pn225.pn.pn, %441 ], [ %.pn195.pn.pn, %303 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #7
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %443

443:                                              ; preds = %442, %267
  %.pn225.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn225.pn.pn.pn, %442 ], [ %268, %267 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #7
  br label %461

._crit_edge285:                                   ; preds = %449, %.preheader262
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %11) #7
  call void @llvm.lifetime.end.p0(i64 304, ptr nonnull %11) #7
  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.49, i1 noundef zeroext true)
          to label %453 unwind label %463

444:                                              ; preds = %447, %.lr.ph284
  %445 = landingpad { ptr, i32 }
          cleanup
  br label %461

.lr.ph284:                                        ; preds = %.preheader262, %449
  %.0132283 = phi i64 [ %450, %449 ], [ 0, %.preheader262 ]
  %446 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %2, i64 noundef %.0132283)
          to label %447 unwind label %444

447:                                              ; preds = %.lr.ph284
  %.sroa.012.0.copyload = load i64, ptr %446, align 8, !tbaa !9
  %448 = invoke noundef zeroext i1 @_ZN2vl8database10LogManager16CloseTransactionENS0_8IdObjectImLl3EEE(ptr noundef nonnull align 8 dereferenceable(304) %11, i64 %.sroa.012.0.copyload)
          to label %449 unwind label %444

449:                                              ; preds = %447
  %450 = add nuw nsw i64 %.0132283, 1
  %451 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %452 = icmp slt i64 %450, %451
  br i1 %452, label %.lr.ph284, label %._crit_edge285, !llvm.loop !20

453:                                              ; preds = %._crit_edge285
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %48)
          to label %454 unwind label %465

454:                                              ; preds = %453
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %48) #7
  %455 = invoke noundef i64 @_ZN2vl8database13BufferManager27GetCurrentlyCachedPageCountEv(ptr noundef nonnull align 8 dereferenceable(168) %1)
          to label %456 unwind label %97

456:                                              ; preds = %454
  %457 = icmp eq i64 %455, 0
  br i1 %457, label %458, label %473

458:                                              ; preds = %456
  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 %459 unwind label %468

459:                                              ; preds = %458
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %49)
          to label %460 unwind label %470

460:                                              ; preds = %459
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %49) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %51) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %52) #7
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %52)
          to label %482 unwind label %489

461:                                              ; preds = %141, %156, %444, %443, %257, %179
  %.pn248.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn243.pn.pn.pn, %179 ], [ %.pn239.pn.pn, %257 ], [ %.pn225.pn.pn.pn.pn, %443 ], [ %445, %444 ], [ %.pn248.pn.pn.pn, %156 ], [ %142, %141 ]
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %11) #7
  br label %462

462:                                              ; preds = %461, %128
  %.pn248.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn248.pn.pn.pn.pn.pn, %461 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 304, ptr nonnull %11) #7
  br label %687

463:                                              ; preds = %._crit_edge285
  %464 = landingpad { ptr, i32 }
          cleanup
  br label %467

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

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

468:                                              ; preds = %458
  %469 = landingpad { ptr, i32 }
          cleanup
  br label %472

470:                                              ; preds = %459
  %471 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #7
  br label %472

472:                                              ; preds = %470, %468
  %.pn151 = phi { ptr, i32 } [ %471, %470 ], [ %469, %468 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %49) #7
  br label %687

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

474:                                              ; preds = %473
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %50)
          to label %475 unwind label %479

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

.invoke:                                          ; preds = %106, %475
  %476 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %476, align 16, !tbaa !17
  invoke void @__cxa_throw(ptr nonnull %476, ptr nonnull @_ZTIi, ptr null) #8
          to label %.cont unwind label %97

.cont:                                            ; preds = %.invoke
  unreachable

477:                                              ; preds = %473
  %478 = landingpad { ptr, i32 }
          cleanup
  br label %481

479:                                              ; preds = %474
  %480 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #7
  br label %481

481:                                              ; preds = %479, %477
  %.pn149 = phi { ptr, i32 } [ %480, %479 ], [ %478, %477 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %50) #7
  br label %687

482:                                              ; preds = %460
  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, i1 noundef zeroext true)
          to label %483 unwind label %491

483:                                              ; preds = %482
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %51, ptr noundef nonnull align 8 dereferenceable(48) %52, ptr noundef nonnull align 8 dereferenceable(48) %53)
          to label %484 unwind label %493

484:                                              ; preds = %483
  %485 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(48) %51, i1 noundef zeroext false)
          to label %486 unwind label %495

486:                                              ; preds = %484
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %51) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %53) #7
  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.end.p0(i64 48, ptr nonnull %51) #7
  call void @llvm.lifetime.start.p0(i64 304, ptr nonnull %54) #7
  invoke void @_ZN2vl8database10LogManagerC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEEbb(ptr noundef nonnull align 8 dereferenceable(304) %54, ptr noundef nonnull %1, i32 %485, i1 noundef zeroext false, i1 noundef zeroext true)
          to label %.preheader261 unwind label %500

.preheader261:                                    ; preds = %486
  %487 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %488 = icmp sgt i64 %487, 0
  br i1 %488, label %.lr.ph290, label %._crit_edge291

._crit_edge291:                                   ; preds = %._crit_edge288, %.preheader261
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %54) #7
  call void @llvm.lifetime.end.p0(i64 304, ptr nonnull %54) #7
  call void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #7
  call void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  call void @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %2) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #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

489:                                              ; preds = %460
  %490 = landingpad { ptr, i32 }
          cleanup
  br label %499

491:                                              ; preds = %482
  %492 = landingpad { ptr, i32 }
          cleanup
  br label %498

493:                                              ; preds = %483
  %494 = landingpad { ptr, i32 }
          cleanup
  br label %497

495:                                              ; preds = %484
  %496 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %51) #7
  br label %497

497:                                              ; preds = %495, %493
  %.pn153 = phi { ptr, i32 } [ %496, %495 ], [ %494, %493 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #7
  br label %498

498:                                              ; preds = %497, %491
  %.pn153.pn = phi { ptr, i32 } [ %.pn153, %497 ], [ %492, %491 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %53) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #7
  br label %499

499:                                              ; preds = %498, %489
  %.pn153.pn.pn = phi { ptr, i32 } [ %.pn153.pn, %498 ], [ %490, %489 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %52) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %51) #7
  br label %687

500:                                              ; preds = %486
  %501 = landingpad { ptr, i32 }
          cleanup
  br label %686

.lr.ph290:                                        ; preds = %.preheader261, %._crit_edge288
  %.0128289 = phi i64 [ %506, %._crit_edge288 ], [ 0, %.preheader261 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %55) #7
  %502 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %2, i64 noundef %.0128289)
          to label %503 unwind label %509

503:                                              ; preds = %.lr.ph290
  %.sroa.0.0.copyload = load i64, ptr %502, align 8, !tbaa !9
  invoke void @_ZN2vl8database10LogManager19EnumInactiveLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr") align 8 %55, ptr noundef nonnull align 8 dereferenceable(304) %54, i64 %.sroa.0.0.copyload)
          to label %.preheader unwind label %509

.preheader:                                       ; preds = %503
  %504 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %505 = icmp sgt i64 %504, 0
  br i1 %505, label %.lr.ph287, label %._crit_edge288

._crit_edge288:                                   ; preds = %660, %.preheader
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #7
  %506 = add nuw nsw i64 %.0128289, 1
  %507 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_8database8IdObjectImLl3EEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %508 = icmp slt i64 %506, %507
  br i1 %508, label %.lr.ph290, label %._crit_edge291, !llvm.loop !21

509:                                              ; preds = %503, %.lr.ph290
  %510 = landingpad { ptr, i32 }
          cleanup
  br label %685

.lr.ph287:                                        ; preds = %.preheader, %660
  %.044286 = phi i64 [ %661, %660 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %56) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %57) #7
  %511 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %3, i64 noundef %.0128289)
          to label %512 unwind label %535

512:                                              ; preds = %.lr.ph287
  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.41, i1 noundef zeroext true)
          to label %513 unwind label %537

513:                                              ; preds = %512
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %57, ptr noundef nonnull align 8 dereferenceable(48) %511, ptr noundef nonnull align 8 dereferenceable(48) %58)
          to label %514 unwind label %539

514:                                              ; preds = %513
  %515 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %4, i64 noundef %.044286)
          to label %516 unwind label %541

516:                                              ; preds = %514
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %56, ptr noundef nonnull align 8 dereferenceable(48) %57, ptr noundef nonnull align 8 dereferenceable(48) %515)
          to label %517 unwind label %541

517:                                              ; preds = %516
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #7
  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.end.p0(i64 48, ptr nonnull %57) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %59) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %60) #7
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %60, ptr noundef nonnull @.str.44, ptr noundef nonnull align 8 dereferenceable(48) %56)
          to label %518 unwind label %546

518:                                              ; preds = %517
  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.43, i1 noundef zeroext true)
          to label %519 unwind label %548

519:                                              ; preds = %518
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %59, ptr noundef nonnull align 8 dereferenceable(48) %60, ptr noundef nonnull align 8 dereferenceable(48) %61)
          to label %520 unwind label %550

520:                                              ; preds = %519
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %59)
          to label %521 unwind label %552

521:                                              ; preds = %520
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %59) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %61) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %60) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %60) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %59) #7
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %62) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4096) %62, i8 0, i64 4096, i1 false)
  %522 = call noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %56)
  %523 = shl i64 %522, 2
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %63) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %63, ptr noundef nonnull @.str.19, i1 noundef zeroext true)
          to label %524 unwind label %557

524:                                              ; preds = %521
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %63)
          to label %525 unwind label %559

525:                                              ; preds = %524
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %63) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %63) #7
  %526 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %55)
  %527 = load ptr, ptr %526, align 8, !tbaa !13
  %528 = getelementptr inbounds i8, ptr %527, i64 32
  %529 = load ptr, ptr %528, align 8
  %530 = invoke noundef zeroext i1 %529(ptr noundef nonnull align 8 dereferenceable(8) %526)
          to label %531 unwind label %.loopexit

531:                                              ; preds = %525
  br i1 %530, label %532, label %567

532:                                              ; preds = %531
  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.2, i1 noundef zeroext true)
          to label %533 unwind label %562

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

534:                                              ; preds = %533
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %64) #7
  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.45, i1 noundef zeroext true)
          to label %576 unwind label %597

535:                                              ; preds = %.lr.ph287
  %536 = landingpad { ptr, i32 }
          cleanup
  br label %545

537:                                              ; preds = %512
  %538 = landingpad { ptr, i32 }
          cleanup
  br label %544

539:                                              ; preds = %513
  %540 = landingpad { ptr, i32 }
          cleanup
  br label %543

541:                                              ; preds = %516, %514
  %542 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #7
  br label %543

543:                                              ; preds = %541, %539
  %.pn157 = phi { ptr, i32 } [ %542, %541 ], [ %540, %539 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #7
  br label %544

544:                                              ; preds = %543, %537
  %.pn157.pn = phi { ptr, i32 } [ %.pn157, %543 ], [ %538, %537 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %58) #7
  br label %545

545:                                              ; preds = %544, %535
  %.pn157.pn.pn = phi { ptr, i32 } [ %.pn157.pn, %544 ], [ %536, %535 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %57) #7
  br label %684

546:                                              ; preds = %517
  %547 = landingpad { ptr, i32 }
          cleanup
  br label %556

548:                                              ; preds = %518
  %549 = landingpad { ptr, i32 }
          cleanup
  br label %555

550:                                              ; preds = %519
  %551 = landingpad { ptr, i32 }
          cleanup
  br label %554

552:                                              ; preds = %520
  %553 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %59) #7
  br label %554

554:                                              ; preds = %552, %550
  %.pn161 = phi { ptr, i32 } [ %553, %552 ], [ %551, %550 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #7
  br label %555

555:                                              ; preds = %554, %548
  %.pn161.pn = phi { ptr, i32 } [ %.pn161, %554 ], [ %549, %548 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %61) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %60) #7
  br label %556

556:                                              ; preds = %555, %546
  %.pn161.pn.pn = phi { ptr, i32 } [ %.pn161.pn, %555 ], [ %547, %546 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %60) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %59) #7
  br label %683

.loopexit:                                        ; preds = %525, %577, %587, %616, %626, %655
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %682

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

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

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

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

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

564:                                              ; preds = %533
  %565 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #7
  br label %566

566:                                              ; preds = %564, %562
  %.pn169 = phi { ptr, i32 } [ %565, %564 ], [ %563, %562 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %64) #7
  br label %682

567:                                              ; preds = %531
  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.3, i1 noundef zeroext true)
          to label %568 unwind label %571

568:                                              ; preds = %567
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %65)
          to label %569 unwind label %573

569:                                              ; preds = %568
  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 label %.invoke295

.invoke295:                                       ; preds = %676, %648, %609, %569
  %570 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %570, align 16, !tbaa !17
  invoke void @__cxa_throw(ptr nonnull %570, ptr nonnull @_ZTIi, ptr null) #8
          to label %.cont296 unwind label %.loopexit.split-lp

.cont296:                                         ; preds = %.invoke295
  unreachable

571:                                              ; preds = %567
  %572 = landingpad { ptr, i32 }
          cleanup
  br label %575

573:                                              ; preds = %568
  %574 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #7
  br label %575

575:                                              ; preds = %573, %571
  %.pn167 = phi { ptr, i32 } [ %574, %573 ], [ %572, %571 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %65) #7
  br label %682

576:                                              ; preds = %534
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %66)
          to label %577 unwind label %599

577:                                              ; preds = %576
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %66) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %66) #7
  %578 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %55)
  %579 = load ptr, ptr %578, align 8, !tbaa !13
  %580 = getelementptr i8, ptr %579, i64 -56
  %581 = load i64, ptr %580, align 8
  %582 = getelementptr inbounds i8, ptr %578, i64 %581
  %583 = load ptr, ptr %582, align 8, !tbaa !13
  %584 = getelementptr inbounds i8, ptr %583, i64 24
  %585 = load ptr, ptr %584, align 8
  %586 = invoke noundef nonnull align 8 dereferenceable(8) ptr %585(ptr noundef nonnull align 8 dereferenceable(8) %582)
          to label %587 unwind label %.loopexit

587:                                              ; preds = %577
  %588 = load ptr, ptr %586, align 8, !tbaa !13
  %589 = getelementptr inbounds i8, ptr %588, i64 80
  %590 = load ptr, ptr %589, align 8
  %591 = invoke noundef i64 %590(ptr noundef nonnull align 8 dereferenceable(8) %586)
          to label %592 unwind label %.loopexit

592:                                              ; preds = %587
  %593 = icmp eq i64 %591, %523
  br i1 %593, label %594, label %607

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

595:                                              ; preds = %594
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %67)
          to label %596 unwind label %604

596:                                              ; preds = %595
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %67) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %67) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %69) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %69, ptr noundef nonnull @.str.46, i1 noundef zeroext true)
          to label %615 unwind label %636

597:                                              ; preds = %534
  %598 = landingpad { ptr, i32 }
          cleanup
  br label %601

599:                                              ; preds = %576
  %600 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %66) #7
  br label %601

601:                                              ; preds = %599, %597
  %.pn171 = phi { ptr, i32 } [ %600, %599 ], [ %598, %597 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %66) #7
  br label %682

602:                                              ; preds = %594
  %603 = landingpad { ptr, i32 }
          cleanup
  br label %606

604:                                              ; preds = %595
  %605 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %67) #7
  br label %606

606:                                              ; preds = %604, %602
  %.pn175 = phi { ptr, i32 } [ %605, %604 ], [ %603, %602 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %67) #7
  br label %682

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

608:                                              ; preds = %607
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %68)
          to label %609 unwind label %612

609:                                              ; preds = %608
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %68) #7
  br label %.invoke295

610:                                              ; preds = %607
  %611 = landingpad { ptr, i32 }
          cleanup
  br label %614

612:                                              ; preds = %608
  %613 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #7
  br label %614

614:                                              ; preds = %612, %610
  %.pn173 = phi { ptr, i32 } [ %613, %612 ], [ %611, %610 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %68) #7
  br label %682

615:                                              ; preds = %596
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %69)
          to label %616 unwind label %638

616:                                              ; preds = %615
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %69) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %69) #7
  %617 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %55)
  %618 = load ptr, ptr %617, align 8, !tbaa !13
  %619 = getelementptr i8, ptr %618, i64 -56
  %620 = load i64, ptr %619, align 8
  %621 = getelementptr inbounds i8, ptr %617, i64 %620
  %622 = load ptr, ptr %621, align 8, !tbaa !13
  %623 = getelementptr inbounds i8, ptr %622, i64 24
  %624 = load ptr, ptr %623, align 8
  %625 = invoke noundef nonnull align 8 dereferenceable(8) ptr %624(ptr noundef nonnull align 8 dereferenceable(8) %621)
          to label %626 unwind label %.loopexit

626:                                              ; preds = %616
  %627 = load ptr, ptr %625, align 8, !tbaa !13
  %628 = getelementptr inbounds i8, ptr %627, i64 112
  %629 = load ptr, ptr %628, align 8
  %630 = invoke noundef i64 %629(ptr noundef nonnull align 8 dereferenceable(8) %625, ptr noundef nonnull %62, i64 noundef %523)
          to label %631 unwind label %.loopexit

631:                                              ; preds = %626
  %632 = icmp eq i64 %630, %523
  br i1 %632, label %633, label %646

633:                                              ; preds = %631
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %70) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %70, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %634 unwind label %641

634:                                              ; preds = %633
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %70)
          to label %635 unwind label %643

635:                                              ; preds = %634
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %70) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %72) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %72, ptr noundef nonnull @.str.47, i1 noundef zeroext true)
          to label %654 unwind label %664

636:                                              ; preds = %596
  %637 = landingpad { ptr, i32 }
          cleanup
  br label %640

638:                                              ; preds = %615
  %639 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %69) #7
  br label %640

640:                                              ; preds = %638, %636
  %.pn177 = phi { ptr, i32 } [ %639, %638 ], [ %637, %636 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %69) #7
  br label %682

641:                                              ; preds = %633
  %642 = landingpad { ptr, i32 }
          cleanup
  br label %645

643:                                              ; preds = %634
  %644 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #7
  br label %645

645:                                              ; preds = %643, %641
  %.pn181 = phi { ptr, i32 } [ %644, %643 ], [ %642, %641 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %70) #7
  br label %682

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

647:                                              ; preds = %646
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %71)
          to label %648 unwind label %651

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

649:                                              ; preds = %646
  %650 = landingpad { ptr, i32 }
          cleanup
  br label %653

651:                                              ; preds = %647
  %652 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %71) #7
  br label %653

653:                                              ; preds = %651, %649
  %.pn179 = phi { ptr, i32 } [ %652, %651 ], [ %650, %649 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %71) #7
  br label %682

654:                                              ; preds = %635
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %72)
          to label %655 unwind label %666

655:                                              ; preds = %654
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %72) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %72) #7
  %656 = invoke noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48) %56, ptr noundef nonnull %62)
          to label %657 unwind label %.loopexit

657:                                              ; preds = %655
  br i1 %656, label %658, label %674

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

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

660:                                              ; preds = %659
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %73) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %73) #7
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %62) #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
  %661 = add nuw nsw i64 %.044286, 1
  %662 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_12ObjectStringIwEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %663 = icmp slt i64 %661, %662
  br i1 %663, label %.lr.ph287, label %._crit_edge288, !llvm.loop !22

664:                                              ; preds = %635
  %665 = landingpad { ptr, i32 }
          cleanup
  br label %668

666:                                              ; preds = %654
  %667 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %72) #7
  br label %668

668:                                              ; preds = %666, %664
  %.pn183 = phi { ptr, i32 } [ %667, %666 ], [ %665, %664 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %72) #7
  br label %682

669:                                              ; preds = %658
  %670 = landingpad { ptr, i32 }
          cleanup
  br label %673

671:                                              ; preds = %659
  %672 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %73) #7
  br label %673

673:                                              ; preds = %671, %669
  %.pn187 = phi { ptr, i32 } [ %672, %671 ], [ %670, %669 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %73) #7
  br label %682

674:                                              ; preds = %657
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %74) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %74, ptr noundef nonnull @.str.3, i1 noundef zeroext true)
          to label %675 unwind label %677

675:                                              ; preds = %674
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %74)
          to label %676 unwind label %679

676:                                              ; preds = %675
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %74) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %74) #7
  br label %.invoke295

677:                                              ; preds = %674
  %678 = landingpad { ptr, i32 }
          cleanup
  br label %681

679:                                              ; preds = %675
  %680 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %74) #7
  br label %681

681:                                              ; preds = %679, %677
  %.pn185 = phi { ptr, i32 } [ %680, %679 ], [ %678, %677 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %74) #7
  br label %682

682:                                              ; preds = %.loopexit, %.loopexit.split-lp, %681, %673, %668, %653, %645, %640, %614, %606, %601, %575, %566, %561
  %.pn187.pn = phi { ptr, i32 } [ %.pn187, %673 ], [ %.pn185, %681 ], [ %.pn183, %668 ], [ %.pn181, %645 ], [ %.pn179, %653 ], [ %.pn177, %640 ], [ %.pn175, %606 ], [ %.pn173, %614 ], [ %.pn171, %601 ], [ %.pn169, %566 ], [ %.pn167, %575 ], [ %.pn165, %561 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %62) #7
  br label %683

683:                                              ; preds = %682, %556
  %.pn187.pn.pn = phi { ptr, i32 } [ %.pn187.pn, %682 ], [ %.pn161.pn.pn, %556 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %56) #7
  br label %684

684:                                              ; preds = %683, %545
  %.pn187.pn.pn.pn = phi { ptr, i32 } [ %.pn187.pn.pn, %683 ], [ %.pn157.pn.pn, %545 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %56) #7
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #7
  br label %685

685:                                              ; preds = %684, %509
  %.pn187.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn187.pn.pn.pn, %684 ], [ %510, %509 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #7
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %54) #7
  br label %686

686:                                              ; preds = %685, %500
  %.pn187.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn187.pn.pn.pn.pn, %685 ], [ %501, %500 ]
  call void @llvm.lifetime.end.p0(i64 304, ptr nonnull %54) #7
  br label %687

687:                                              ; preds = %499, %686, %127, %462, %481, %472, %467, %111, %103, %97, %96
  %.pn248.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn151, %472 ], [ %98, %97 ], [ %.pn149, %481 ], [ %.pn147, %467 ], [ %.pn141, %103 ], [ %.pn139, %111 ], [ %.pn, %96 ], [ %.pn248.pn.pn.pn.pn.pn.pn, %462 ], [ %.pn143.pn.pn, %127 ], [ %.pn187.pn.pn.pn.pn.pn, %686 ], [ %.pn153.pn.pn, %499 ]
  call void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %4) #7
  br label %688

688:                                              ; preds = %687, %90
  %.pn248.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn248.pn.pn.pn.pn.pn.pn.pn.pn, %687 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #7
  call void @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %3) #7
  br label %689

689:                                              ; preds = %688, %88
  %.pn248.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn248.pn.pn.pn.pn.pn.pn.pn.pn.pn, %688 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  call void @_ZN2vl11collections4ListINS_8database8IdObjectImLl3EEES4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %2) #7
  br label %690

690:                                              ; preds = %689, %86
  %.pn248.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn248.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %689 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #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
  resume { ptr, i32 } %.pn248.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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 nocallback nofree nounwind willreturn memory(argmem: write) }
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 }

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


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