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

; 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" }
%"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::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.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.8 = external hidden unnamed_addr constant [32 x i32], align 4
@.str.19 = external hidden unnamed_addr constant [31 x i32], align 4
@.str.51 = external hidden unnamed_addr constant [75 x i32], align 4
@.str.52 = external hidden unnamed_addr constant [20 x i32], align 4
@.str.53 = external hidden unnamed_addr constant [50 x i32], align 4
@.str.54 = external hidden unnamed_addr constant [86 x i32], align 4
@.str.55 = external hidden unnamed_addr constant [55 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

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

; 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: mustprogress uwtable
define dso_local void @_Z33TestFunction_Utility_Log_LongItemv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.vl::database::BufferManager", align 8
  %2 = alloca %"struct.vl::database::IdObject", align 4
  %3 = alloca %"class.vl::ObjectString", align 8
  %4 = alloca %"class.vl::ObjectString", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.vl::ObjectString", align 8
  %8 = alloca %"class.vl::database::LogManager", align 8
  %9 = alloca %"struct.vl::database::IdObject", align 4
  %10 = alloca [1024 x i64], align 16
  %11 = alloca [1024 x i64], align 16
  %12 = alloca i64, align 8
  %13 = alloca %"struct.vl::database::IdObject.35", align 8
  %14 = alloca %"class.vl::Ptr.36", align 8
  %15 = alloca %"struct.vl::database::IdObject.35", 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::Ptr", align 8
  %23 = alloca %"struct.vl::database::IdObject.35", align 8
  %24 = alloca %"class.vl::ObjectString", align 8
  %25 = alloca %"class.vl::ObjectString", align 8
  %26 = alloca %"class.vl::ObjectString", align 8
  %27 = alloca %"class.vl::ObjectString", align 8
  %28 = alloca %"class.vl::ObjectString", align 8
  %29 = alloca %"class.vl::ObjectString", align 8
  %30 = alloca %"class.vl::ObjectString", align 8
  %31 = alloca %"class.vl::ObjectString", align 8
  %32 = alloca %"class.vl::ObjectString", align 8
  %33 = alloca %"class.vl::ObjectString", align 8
  %34 = alloca %"class.vl::ObjectString", align 8
  %35 = alloca %"class.vl::ObjectString", align 8
  %36 = alloca %"class.vl::ObjectString", align 8
  %37 = alloca %"class.vl::ObjectString", align 8
  %38 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 168, ptr %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 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %4) #7
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %4)
          to label %39 unwind label %52

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

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

41:                                               ; preds = %40
  %42 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(48) %3, i1 noundef zeroext true)
          to label %43 unwind label %64

43:                                               ; preds = %41
  %44 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %2, i32 0, i32 0
  store i32 %42, ptr %44, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 304, ptr %8) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %2, i64 4, i1 false), !tbaa.struct !5
  %45 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %9, i32 0, i32 0
  %46 = load i32, ptr %45, align 4
  invoke void @_ZN2vl8database10LogManagerC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEEbb(ptr noundef nonnull align 8 dereferenceable(304) %8, ptr noundef %1, i32 %46, i1 noundef zeroext true, i1 noundef zeroext true)
          to label %47 unwind label %71

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8192, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8192, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 0, ptr %12, align 8, !tbaa !10
  br label %48

48:                                               ; preds = %79, %47
  %49 = load i64, ptr %12, align 8, !tbaa !10
  %50 = icmp ult i64 %49, 1024
  br i1 %50, label %75, label %51

51:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %82

52:                                               ; preds = %0
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %5, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %6, align 4
  br label %70

56:                                               ; preds = %39
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %5, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %6, align 4
  br label %69

60:                                               ; preds = %40
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %5, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %6, align 4
  br label %68

64:                                               ; preds = %41
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %5, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  br label %68

68:                                               ; preds = %64, %60
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  br label %69

69:                                               ; preds = %68, %56
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #7
  br label %70

70:                                               ; preds = %69, %52
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #7
  br label %480

71:                                               ; preds = %43
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %5, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %6, align 4
  br label %479

75:                                               ; preds = %48
  %76 = load i64, ptr %12, align 8, !tbaa !10
  %77 = load i64, ptr %12, align 8, !tbaa !10
  %78 = getelementptr inbounds [1024 x i64], ptr %10, i64 0, i64 %77
  store i64 %76, ptr %78, align 8, !tbaa !10
  br label %79

79:                                               ; preds = %75
  %80 = load i64, ptr %12, align 8, !tbaa !10
  %81 = add nsw i64 %80, 1
  store i64 %81, ptr %12, align 8, !tbaa !10
  br label %48, !llvm.loop !12

82:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %83 = invoke i64 @_ZN2vl8database10LogManager15OpenTransactionEv(ptr noundef nonnull align 8 dereferenceable(304) %8)
          to label %84 unwind label %113

84:                                               ; preds = %82
  %85 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %13, i32 0, i32 0
  store i64 %83, ptr %85, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %13, i64 8, i1 false), !tbaa.struct !14
  %86 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %15, i32 0, i32 0
  %87 = load i64, ptr %86, align 8
  invoke void @_ZN2vl8database10LogManager11OpenLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.36") align 8 %14, ptr noundef nonnull align 8 dereferenceable(304) %8, i64 %87)
          to label %88 unwind label %117

88:                                               ; preds = %84
  br label %89

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef @.str.51, i1 noundef zeroext true)
          to label %90 unwind label %121

90:                                               ; preds = %89
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %91 unwind label %125

91:                                               ; preds = %90
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #7
  %92 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogWriterEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %93 unwind label %130

93:                                               ; preds = %91
  %94 = load ptr, ptr %92, align 8, !tbaa !15
  %95 = getelementptr i8, ptr %94, i64 -56
  %96 = load i64, ptr %95, align 8
  %97 = getelementptr inbounds i8, ptr %92, i64 %96
  %98 = load ptr, ptr %97, align 8, !tbaa !15
  %99 = getelementptr inbounds ptr, ptr %98, i64 3
  %100 = load ptr, ptr %99, align 8
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr %100(ptr noundef nonnull align 8 dereferenceable(8) %97)
          to label %102 unwind label %130

102:                                              ; preds = %93
  %103 = getelementptr inbounds [1024 x i64], ptr %10, i64 0, i64 0
  %104 = load ptr, ptr %101, align 8, !tbaa !15
  %105 = getelementptr inbounds ptr, ptr %104, i64 15
  %106 = load ptr, ptr %105, align 8
  %107 = invoke noundef i64 %106(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef %103, i64 noundef 8192)
          to label %108 unwind label %130

108:                                              ; preds = %102
  %109 = icmp eq i64 %107, 8192
  br i1 %109, label %110, label %143

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

111:                                              ; preds = %110
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %17)
          to label %112 unwind label %138

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

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

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

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

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

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

130:                                              ; preds = %192, %163, %161, %145, %102, %93, %91
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %5, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %6, align 4
  br label %224

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

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

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

143:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 48, ptr %18) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %18, 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) %18)
          to label %145 unwind label %151

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

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

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

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

156:                                              ; preds = %112
  br label %157

157:                                              ; preds = %156
  br label %158

158:                                              ; preds = %157
  br label %159

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

160:                                              ; preds = %159
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %161 unwind label %176

161:                                              ; preds = %160
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #7
  %162 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogWriterEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %163 unwind label %130

163:                                              ; preds = %161
  %164 = load ptr, ptr %162, align 8, !tbaa !15
  %165 = getelementptr inbounds ptr, ptr %164, i64 5
  %166 = load ptr, ptr %165, align 8
  %167 = invoke noundef zeroext i1 %166(ptr noundef nonnull align 8 dereferenceable(8) %162)
          to label %168 unwind label %130

168:                                              ; preds = %163
  br i1 %167, label %169, label %190

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

170:                                              ; preds = %169
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %171 unwind label %185

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

172:                                              ; preds = %159
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %5, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %6, align 4
  br label %180

176:                                              ; preds = %160
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %5, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  br label %180

180:                                              ; preds = %176, %172
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #7
  br label %224

181:                                              ; preds = %169
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %5, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %6, align 4
  br label %189

185:                                              ; preds = %170
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %5, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #7
  br label %189

189:                                              ; preds = %185, %181
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #7
  br label %224

190:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 48, ptr %21) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef @.str.3, i1 noundef zeroext true)
          to label %191 unwind label %194

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

192:                                              ; preds = %191
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #7
  %193 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %193, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %193, ptr @_ZTIi, ptr null) #8
          to label %486 unwind label %130

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

198:                                              ; preds = %191
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %5, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  br label %202

202:                                              ; preds = %198, %194
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #7
  br label %224

203:                                              ; preds = %171
  br label %204

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204
  call void @_ZN2vl3PtrINS_8database10ILogWriterEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %13, i64 8, i1 false), !tbaa.struct !14
  %206 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %23, i32 0, i32 0
  %207 = load i64, ptr %206, align 8
  invoke void @_ZN2vl8database10LogManager11EnumLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr") align 8 %22, ptr noundef nonnull align 8 dereferenceable(304) %8, i64 %207)
          to label %208 unwind label %226

208:                                              ; preds = %205
  br label %209

209:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef @.str.19, i1 noundef zeroext true)
          to label %210 unwind label %230

210:                                              ; preds = %209
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %211 unwind label %234

211:                                              ; preds = %210
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #7
  %212 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %213 unwind label %239

213:                                              ; preds = %211
  %214 = load ptr, ptr %212, align 8, !tbaa !15
  %215 = getelementptr inbounds ptr, ptr %214, i64 4
  %216 = load ptr, ptr %215, align 8
  %217 = invoke noundef zeroext i1 %216(ptr noundef nonnull align 8 dereferenceable(8) %212)
          to label %218 unwind label %239

218:                                              ; preds = %213
  %219 = zext i1 %217 to i32
  %220 = icmp eq i32 %219, 1
  br i1 %220, label %221, label %252

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

222:                                              ; preds = %221
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %223 unwind label %247

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

224:                                              ; preds = %202, %189, %180, %155, %142, %130, %129
  call void @_ZN2vl3PtrINS_8database10ILogWriterEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %225

225:                                              ; preds = %224, %117
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  br label %478

226:                                              ; preds = %205
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %5, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %6, align 4
  br label %477

230:                                              ; preds = %209
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %5, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %6, align 4
  br label %238

234:                                              ; preds = %210
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %5, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #7
  br label %238

238:                                              ; preds = %234, %230
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #7
  br label %476

239:                                              ; preds = %462, %431, %429, %413, %369, %338, %329, %327, %311, %281, %272, %270, %254, %213, %211
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %5, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %6, align 4
  br label %476

243:                                              ; preds = %221
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %5, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %6, align 4
  br label %251

247:                                              ; preds = %222
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %5, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #7
  br label %251

251:                                              ; preds = %247, %243
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #7
  br label %476

252:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 48, ptr %26) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef @.str.3, i1 noundef zeroext true)
          to label %253 unwind label %256

253:                                              ; preds = %252
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %26)
          to label %254 unwind label %260

254:                                              ; preds = %253
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #7
  %255 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %255, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %255, ptr @_ZTIi, ptr null) #8
          to label %486 unwind label %239

256:                                              ; preds = %252
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %5, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %6, align 4
  br label %264

260:                                              ; preds = %253
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %5, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  br label %264

264:                                              ; preds = %260, %256
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #7
  br label %476

265:                                              ; preds = %223
  br label %266

266:                                              ; preds = %265
  br label %267

267:                                              ; preds = %266
  br label %268

268:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef @.str.53, i1 noundef zeroext true)
          to label %269 unwind label %291

269:                                              ; preds = %268
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %270 unwind label %295

270:                                              ; preds = %269
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #7
  %271 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %272 unwind label %239

272:                                              ; preds = %270
  %273 = load ptr, ptr %271, align 8, !tbaa !15
  %274 = getelementptr i8, ptr %273, i64 -56
  %275 = load i64, ptr %274, align 8
  %276 = getelementptr inbounds i8, ptr %271, i64 %275
  %277 = load ptr, ptr %276, align 8, !tbaa !15
  %278 = getelementptr inbounds ptr, ptr %277, i64 3
  %279 = load ptr, ptr %278, align 8
  %280 = invoke noundef nonnull align 8 dereferenceable(8) ptr %279(ptr noundef nonnull align 8 dereferenceable(8) %276)
          to label %281 unwind label %239

281:                                              ; preds = %272
  %282 = load ptr, ptr %280, align 8, !tbaa !15
  %283 = getelementptr inbounds ptr, ptr %282, i64 10
  %284 = load ptr, ptr %283, align 8
  %285 = invoke noundef i64 %284(ptr noundef nonnull align 8 dereferenceable(8) %280)
          to label %286 unwind label %239

286:                                              ; preds = %281
  %287 = icmp eq i64 %285, 8192
  br i1 %287, label %288, label %309

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

289:                                              ; preds = %288
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %290 unwind label %304

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

291:                                              ; preds = %268
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %5, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %6, align 4
  br label %299

295:                                              ; preds = %269
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %5, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #7
  br label %299

299:                                              ; preds = %295, %291
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #7
  br label %476

300:                                              ; preds = %288
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %5, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %6, align 4
  br label %308

304:                                              ; preds = %289
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %5, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #7
  br label %308

308:                                              ; preds = %304, %300
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #7
  br label %476

309:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %29, ptr noundef @.str.3, i1 noundef zeroext true)
          to label %310 unwind label %313

310:                                              ; preds = %309
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %29)
          to label %311 unwind label %317

311:                                              ; preds = %310
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #7
  %312 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %312, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %312, ptr @_ZTIi, ptr null) #8
          to label %486 unwind label %239

313:                                              ; preds = %309
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %5, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %6, align 4
  br label %321

317:                                              ; preds = %310
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %5, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #7
  br label %321

321:                                              ; preds = %317, %313
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #7
  br label %476

322:                                              ; preds = %290
  br label %323

323:                                              ; preds = %322
  br label %324

324:                                              ; preds = %323
  br label %325

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

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

327:                                              ; preds = %326
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #7
  %328 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %329 unwind label %239

329:                                              ; preds = %327
  %330 = load ptr, ptr %328, align 8, !tbaa !15
  %331 = getelementptr i8, ptr %330, i64 -56
  %332 = load i64, ptr %331, align 8
  %333 = getelementptr inbounds i8, ptr %328, i64 %332
  %334 = load ptr, ptr %333, align 8, !tbaa !15
  %335 = getelementptr inbounds ptr, ptr %334, i64 3
  %336 = load ptr, ptr %335, align 8
  %337 = invoke noundef nonnull align 8 dereferenceable(8) ptr %336(ptr noundef nonnull align 8 dereferenceable(8) %333)
          to label %338 unwind label %239

338:                                              ; preds = %329
  %339 = getelementptr inbounds [1024 x i64], ptr %11, i64 0, i64 0
  %340 = load ptr, ptr %337, align 8, !tbaa !15
  %341 = getelementptr inbounds ptr, ptr %340, i64 14
  %342 = load ptr, ptr %341, align 8
  %343 = invoke noundef i64 %342(ptr noundef nonnull align 8 dereferenceable(8) %337, ptr noundef %339, i64 noundef 8192)
          to label %344 unwind label %239

344:                                              ; preds = %338
  %345 = icmp eq i64 %343, 8192
  br i1 %345, label %346, label %367

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

347:                                              ; preds = %346
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %348 unwind label %362

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

349:                                              ; preds = %325
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %5, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %6, align 4
  br label %357

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

357:                                              ; preds = %353, %349
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #7
  br label %476

358:                                              ; preds = %346
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %5, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %6, align 4
  br label %366

362:                                              ; preds = %347
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %5, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  br label %366

366:                                              ; preds = %362, %358
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  br label %476

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

368:                                              ; preds = %367
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %32)
          to label %369 unwind label %375

369:                                              ; preds = %368
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #7
  %370 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %370, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %370, ptr @_ZTIi, ptr null) #8
          to label %486 unwind label %239

371:                                              ; preds = %367
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %5, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %6, align 4
  br label %379

375:                                              ; preds = %368
  %376 = landingpad { ptr, i32 }
          cleanup
  %377 = extractvalue { ptr, i32 } %376, 0
  store ptr %377, ptr %5, align 8
  %378 = extractvalue { ptr, i32 } %376, 1
  store i32 %378, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #7
  br label %379

379:                                              ; preds = %375, %371
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #7
  br label %476

380:                                              ; preds = %348
  br label %381

381:                                              ; preds = %380
  br label %382

382:                                              ; preds = %381
  br label %383

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

384:                                              ; preds = %383
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %33)
          to label %385 unwind label %397

385:                                              ; preds = %384
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #7
  %386 = getelementptr inbounds [1024 x i64], ptr %10, i64 0, i64 0
  %387 = getelementptr inbounds [1024 x i64], ptr %11, i64 0, i64 0
  %388 = call i32 @memcmp(ptr noundef %386, ptr noundef %387, i64 noundef 8192) #9
  %389 = icmp eq i32 %388, 0
  br i1 %389, label %390, label %411

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

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

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

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

397:                                              ; preds = %384
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %5, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #7
  br label %401

401:                                              ; preds = %397, %393
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #7
  br label %476

402:                                              ; preds = %390
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %5, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %6, align 4
  br label %410

406:                                              ; preds = %391
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %5, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #7
  br label %410

410:                                              ; preds = %406, %402
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #7
  br label %476

411:                                              ; preds = %385
  call void @llvm.lifetime.start.p0(i64 48, ptr %35) #7
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef @.str.3, i1 noundef zeroext true)
          to label %412 unwind label %415

412:                                              ; preds = %411
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %35)
          to label %413 unwind label %419

413:                                              ; preds = %412
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %35) #7
  %414 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %414, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %414, ptr @_ZTIi, ptr null) #8
          to label %486 unwind label %239

415:                                              ; preds = %411
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %5, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %6, align 4
  br label %423

419:                                              ; preds = %412
  %420 = landingpad { ptr, i32 }
          cleanup
  %421 = extractvalue { ptr, i32 } %420, 0
  store ptr %421, ptr %5, align 8
  %422 = extractvalue { ptr, i32 } %420, 1
  store i32 %422, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #7
  br label %423

423:                                              ; preds = %419, %415
  call void @llvm.lifetime.end.p0(i64 48, ptr %35) #7
  br label %476

424:                                              ; preds = %392
  br label %425

425:                                              ; preds = %424
  br label %426

426:                                              ; preds = %425
  br label %427

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

428:                                              ; preds = %427
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %36)
          to label %429 unwind label %446

429:                                              ; preds = %428
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #7
  %430 = invoke noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %431 unwind label %239

431:                                              ; preds = %429
  %432 = load ptr, ptr %430, align 8, !tbaa !15
  %433 = getelementptr inbounds ptr, ptr %432, i64 4
  %434 = load ptr, ptr %433, align 8
  %435 = invoke noundef zeroext i1 %434(ptr noundef nonnull align 8 dereferenceable(8) %430)
          to label %436 unwind label %239

436:                                              ; preds = %431
  %437 = zext i1 %435 to i32
  %438 = icmp eq i32 %437, 0
  br i1 %438, label %439, label %460

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

440:                                              ; preds = %439
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %37)
          to label %441 unwind label %455

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

442:                                              ; preds = %427
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %5, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %6, align 4
  br label %450

446:                                              ; preds = %428
  %447 = landingpad { ptr, i32 }
          cleanup
  %448 = extractvalue { ptr, i32 } %447, 0
  store ptr %448, ptr %5, align 8
  %449 = extractvalue { ptr, i32 } %447, 1
  store i32 %449, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #7
  br label %450

450:                                              ; preds = %446, %442
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #7
  br label %476

451:                                              ; preds = %439
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %5, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %6, align 4
  br label %459

455:                                              ; preds = %440
  %456 = landingpad { ptr, i32 }
          cleanup
  %457 = extractvalue { ptr, i32 } %456, 0
  store ptr %457, ptr %5, align 8
  %458 = extractvalue { ptr, i32 } %456, 1
  store i32 %458, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #7
  br label %459

459:                                              ; preds = %455, %451
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #7
  br label %476

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

461:                                              ; preds = %460
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %38)
          to label %462 unwind label %468

462:                                              ; preds = %461
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %38) #7
  %463 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %463, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %463, ptr @_ZTIi, ptr null) #8
          to label %486 unwind label %239

464:                                              ; preds = %460
  %465 = landingpad { ptr, i32 }
          cleanup
  %466 = extractvalue { ptr, i32 } %465, 0
  store ptr %466, ptr %5, align 8
  %467 = extractvalue { ptr, i32 } %465, 1
  store i32 %467, ptr %6, align 4
  br label %472

468:                                              ; preds = %461
  %469 = landingpad { ptr, i32 }
          cleanup
  %470 = extractvalue { ptr, i32 } %469, 0
  store ptr %470, ptr %5, align 8
  %471 = extractvalue { ptr, i32 } %469, 1
  store i32 %471, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #7
  br label %472

472:                                              ; preds = %468, %464
  call void @llvm.lifetime.end.p0(i64 48, ptr %38) #7
  br label %476

473:                                              ; preds = %441
  br label %474

474:                                              ; preds = %473
  br label %475

475:                                              ; preds = %474
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8192, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8192, ptr %10) #7
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %8) #7
  call void @llvm.lifetime.end.p0(i64 304, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %1) #7
  call void @llvm.lifetime.end.p0(i64 168, ptr %1) #7
  ret void

476:                                              ; preds = %472, %459, %450, %423, %410, %401, %379, %366, %357, %321, %308, %299, %264, %251, %239, %238
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  br label %477

477:                                              ; preds = %476, %226
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #7
  br label %478

478:                                              ; preds = %477, %225, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8192, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8192, ptr %10) #7
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %8) #7
  br label %479

479:                                              ; preds = %478, %71
  call void @llvm.lifetime.end.p0(i64 304, ptr %8) #7
  br label %480

480:                                              ; preds = %479, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %1) #7
  call void @llvm.lifetime.end.p0(i64 168, ptr %1) #7
  br label %481

481:                                              ; preds = %480
  %482 = load ptr, ptr %5, align 8
  %483 = load i32, ptr %6, align 4
  %484 = insertvalue { ptr, i32 } poison, ptr %482, 0
  %485 = insertvalue { ptr, i32 } %484, i32 %483, 1
  resume { ptr, i32 } %485

486:                                              ; preds = %462, %413, %369, %311, %254, %192, %145
  unreachable
}

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

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

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

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


; 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::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::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.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" }

@.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.8 = external hidden unnamed_addr constant [32 x i32], align 4
@.str.19 = external hidden unnamed_addr constant [31 x i32], align 4
@.str.51 = external hidden unnamed_addr constant [75 x i32], align 4
@.str.52 = external hidden unnamed_addr constant [20 x i32], align 4
@.str.53 = external hidden unnamed_addr constant [50 x i32], align 4
@.str.54 = external hidden unnamed_addr constant [86 x i32], align 4
@.str.55 = external hidden unnamed_addr constant [55 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

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

; 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 uwtable
define dso_local void @_Z33TestFunction_Utility_Log_LongItemv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.vl::database::BufferManager", align 8
  %2 = alloca %"class.vl::ObjectString", align 8
  %3 = alloca %"class.vl::ObjectString", align 8
  %4 = alloca %"class.vl::ObjectString", align 8
  %5 = alloca %"class.vl::database::LogManager", align 8
  %6 = alloca [1024 x i64], align 16
  %7 = alloca [1024 x i64], align 16
  %8 = alloca %"class.vl::Ptr.36", align 8
  %9 = alloca %"class.vl::ObjectString", align 8
  %10 = alloca %"class.vl::ObjectString", align 8
  %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::ObjectString", align 8
  %15 = alloca %"class.vl::Ptr", 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::ObjectString", align 8
  %28 = alloca %"class.vl::ObjectString", align 8
  %29 = alloca %"class.vl::ObjectString", align 8
  %30 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %1) #6
  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) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #6
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %3)
          to label %31 unwind label %46

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

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

33:                                               ; preds = %32
  %34 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %1, ptr noundef nonnull align 8 dereferenceable(48) %2, i1 noundef zeroext true)
          to label %35 unwind label %52

35:                                               ; preds = %33
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 304, ptr nonnull %5) #6
  invoke void @_ZN2vl8database10LogManagerC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEEbb(ptr noundef nonnull align 8 dereferenceable(304) %5, ptr noundef nonnull %1, i32 %34, i1 noundef zeroext true, i1 noundef zeroext true)
          to label %vector.ph unwind label %57

vector.ph:                                        ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8192, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 8192, ptr nonnull %7) #6
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next.3, %vector.body ]
  %vec.ind = phi <2 x i64> [ <i64 0, i64 1>, %vector.ph ], [ %vec.ind.next.3, %vector.body ]
  %step.add = add <2 x i64> %vec.ind, <i64 2, i64 2>
  %36 = getelementptr inbounds [1024 x i64], ptr %6, i64 0, i64 %index
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  store <2 x i64> %vec.ind, ptr %36, align 16, !tbaa !5
  store <2 x i64> %step.add, ptr %37, align 16, !tbaa !5
  %index.next = or disjoint i64 %index, 4
  %vec.ind.next = add <2 x i64> %vec.ind, <i64 4, i64 4>
  %step.add.1 = add <2 x i64> %vec.ind, <i64 6, i64 6>
  %38 = getelementptr inbounds [1024 x i64], ptr %6, i64 0, i64 %index.next
  %39 = getelementptr inbounds i8, ptr %38, i64 16
  store <2 x i64> %vec.ind.next, ptr %38, align 16, !tbaa !5
  store <2 x i64> %step.add.1, ptr %39, align 16, !tbaa !5
  %index.next.1 = or disjoint i64 %index, 8
  %vec.ind.next.1 = add <2 x i64> %vec.ind, <i64 8, i64 8>
  %step.add.2 = add <2 x i64> %vec.ind, <i64 10, i64 10>
  %40 = getelementptr inbounds [1024 x i64], ptr %6, i64 0, i64 %index.next.1
  %41 = getelementptr inbounds i8, ptr %40, i64 16
  store <2 x i64> %vec.ind.next.1, ptr %40, align 16, !tbaa !5
  store <2 x i64> %step.add.2, ptr %41, align 16, !tbaa !5
  %index.next.2 = or disjoint i64 %index, 12
  %vec.ind.next.2 = add <2 x i64> %vec.ind, <i64 12, i64 12>
  %step.add.3 = add <2 x i64> %vec.ind, <i64 14, i64 14>
  %42 = getelementptr inbounds [1024 x i64], ptr %6, i64 0, i64 %index.next.2
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  store <2 x i64> %vec.ind.next.2, ptr %42, align 16, !tbaa !5
  store <2 x i64> %step.add.3, ptr %43, align 16, !tbaa !5
  %index.next.3 = add nuw nsw i64 %index, 16
  %vec.ind.next.3 = add <2 x i64> %vec.ind, <i64 16, i64 16>
  %44 = icmp eq i64 %index.next.3, 1024
  br i1 %44, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %45 = invoke i64 @_ZN2vl8database10LogManager15OpenTransactionEv(ptr noundef nonnull align 8 dereferenceable(304) %5)
          to label %59 unwind label %82

46:                                               ; preds = %0
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %56

48:                                               ; preds = %31
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %55

50:                                               ; preds = %32
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %33
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  br label %54

54:                                               ; preds = %52, %50
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  br label %55

55:                                               ; preds = %54, %48
  %.pn.pn = phi { ptr, i32 } [ %.pn, %54 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  br label %56

56:                                               ; preds = %55, %46
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %55 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  br label %308

57:                                               ; preds = %35
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %307

59:                                               ; preds = %middle.block
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  invoke void @_ZN2vl8database10LogManager11OpenLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.36") align 8 %8, ptr noundef nonnull align 8 dereferenceable(304) %5, i64 %45)
          to label %60 unwind label %84

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull @.str.51, i1 noundef zeroext true)
          to label %61 unwind label %86

61:                                               ; preds = %60
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %62 unwind label %88

62:                                               ; preds = %61
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  %63 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogWriterEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
  %64 = load ptr, ptr %63, align 8, !tbaa !13
  %65 = getelementptr i8, ptr %64, i64 -56
  %66 = load i64, ptr %65, align 8
  %67 = getelementptr inbounds i8, ptr %63, i64 %66
  %68 = load ptr, ptr %67, align 8, !tbaa !13
  %69 = getelementptr inbounds i8, ptr %68, i64 24
  %70 = load ptr, ptr %69, align 8
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr %70(ptr noundef nonnull align 8 dereferenceable(8) %67)
          to label %72 unwind label %91

72:                                               ; preds = %62
  %73 = load ptr, ptr %71, align 8, !tbaa !13
  %74 = getelementptr inbounds i8, ptr %73, i64 120
  %75 = load ptr, ptr %74, align 8
  %76 = invoke noundef i64 %75(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull %6, i64 noundef 8192)
          to label %77 unwind label %91

77:                                               ; preds = %72
  %78 = icmp eq i64 %76, 8192
  br i1 %78, label %79, label %98

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

80:                                               ; preds = %79
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %81 unwind label %95

81:                                               ; preds = %80
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull @.str.52, i1 noundef zeroext true)
          to label %106 unwind label %117

82:                                               ; preds = %middle.block
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %306

84:                                               ; preds = %59
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %149

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

88:                                               ; preds = %61
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  br label %90

90:                                               ; preds = %88, %86
  %.pn45 = phi { ptr, i32 } [ %89, %88 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  br label %148

91:                                               ; preds = %.invoke, %107, %72, %62
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %148

93:                                               ; preds = %79
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %97

95:                                               ; preds = %80
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #6
  br label %97

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

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

99:                                               ; preds = %98
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %100 unwind label %103

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

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

103:                                              ; preds = %99
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  br label %105

105:                                              ; preds = %103, %101
  %.pn47 = phi { ptr, i32 } [ %104, %103 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #6
  br label %148

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

107:                                              ; preds = %106
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #6
  %108 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogWriterEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
  %109 = load ptr, ptr %108, align 8, !tbaa !13
  %110 = getelementptr inbounds i8, ptr %109, i64 40
  %111 = load ptr, ptr %110, align 8
  %112 = invoke noundef zeroext i1 %111(ptr noundef nonnull align 8 dereferenceable(8) %108)
          to label %113 unwind label %91

113:                                              ; preds = %107
  br i1 %112, label %114, label %127

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %115 unwind label %122

115:                                              ; preds = %114
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %116 unwind label %124

116:                                              ; preds = %115
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  call void @_ZN2vl3PtrINS_8database10ILogWriterEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  invoke void @_ZN2vl8database10LogManager11EnumLogItemENS0_8IdObjectImLl3EEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr") align 8 %15, ptr noundef nonnull align 8 dereferenceable(304) %5, i64 %45)
          to label %136 unwind label %150

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

119:                                              ; preds = %106
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #6
  br label %121

121:                                              ; preds = %119, %117
  %.pn51 = phi { ptr, i32 } [ %120, %119 ], [ %118, %117 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #6
  br label %148

122:                                              ; preds = %114
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %126

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

126:                                              ; preds = %124, %122
  %.pn55 = phi { ptr, i32 } [ %125, %124 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  br label %148

127:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull @.str.3, i1 noundef zeroext true)
          to label %128 unwind label %131

128:                                              ; preds = %127
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %129 unwind label %133

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

.invoke:                                          ; preds = %100, %129
  %130 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %130, align 16, !tbaa !15
  invoke void @__cxa_throw(ptr nonnull %130, ptr nonnull @_ZTIi, ptr null) #7
          to label %.cont unwind label %91

.cont:                                            ; preds = %.invoke
  unreachable

131:                                              ; preds = %127
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %135

133:                                              ; preds = %128
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #6
  br label %135

135:                                              ; preds = %133, %131
  %.pn53 = phi { ptr, i32 } [ %134, %133 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #6
  br label %148

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

137:                                              ; preds = %136
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %138 unwind label %154

138:                                              ; preds = %137
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #6
  %139 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
  %140 = load ptr, ptr %139, align 8, !tbaa !13
  %141 = getelementptr inbounds i8, ptr %140, i64 32
  %142 = load ptr, ptr %141, align 8
  %143 = invoke noundef zeroext i1 %142(ptr noundef nonnull align 8 dereferenceable(8) %139)
          to label %144 unwind label %157

144:                                              ; preds = %138
  br i1 %143, label %145, label %164

145:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %17, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %146 unwind label %159

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

147:                                              ; preds = %146
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull @.str.53, i1 noundef zeroext true)
          to label %172 unwind label %193

148:                                              ; preds = %135, %126, %121, %105, %97, %91, %90
  %.pn55.pn = phi { ptr, i32 } [ %.pn55, %126 ], [ %92, %91 ], [ %.pn53, %135 ], [ %.pn51, %121 ], [ %.pn49, %97 ], [ %.pn47, %105 ], [ %.pn45, %90 ]
  call void @_ZN2vl3PtrINS_8database10ILogWriterEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %149

149:                                              ; preds = %148, %84
  %.pn55.pn.pn = phi { ptr, i32 } [ %.pn55.pn, %148 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  br label %306

150:                                              ; preds = %116
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %305

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

154:                                              ; preds = %137
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  br label %156

156:                                              ; preds = %154, %152
  %.pn59 = phi { ptr, i32 } [ %155, %154 ], [ %153, %152 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #6
  br label %304

157:                                              ; preds = %.invoke95, %275, %222, %212, %183, %173, %138
  %158 = landingpad { ptr, i32 }
          cleanup
  br label %304

159:                                              ; preds = %145
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %163

161:                                              ; preds = %146
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #6
  br label %163

163:                                              ; preds = %161, %159
  %.pn63 = phi { ptr, i32 } [ %162, %161 ], [ %160, %159 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #6
  br label %304

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

165:                                              ; preds = %164
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %166 unwind label %169

166:                                              ; preds = %165
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #6
  br label %.invoke95

167:                                              ; preds = %164
  %168 = landingpad { ptr, i32 }
          cleanup
  br label %171

169:                                              ; preds = %165
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  br label %171

171:                                              ; preds = %169, %167
  %.pn61 = phi { ptr, i32 } [ %170, %169 ], [ %168, %167 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #6
  br label %304

172:                                              ; preds = %147
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %173 unwind label %195

173:                                              ; preds = %172
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #6
  %174 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
  %175 = load ptr, ptr %174, align 8, !tbaa !13
  %176 = getelementptr i8, ptr %175, i64 -56
  %177 = load i64, ptr %176, align 8
  %178 = getelementptr inbounds i8, ptr %174, i64 %177
  %179 = load ptr, ptr %178, align 8, !tbaa !13
  %180 = getelementptr inbounds i8, ptr %179, i64 24
  %181 = load ptr, ptr %180, align 8
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr %181(ptr noundef nonnull align 8 dereferenceable(8) %178)
          to label %183 unwind label %157

183:                                              ; preds = %173
  %184 = load ptr, ptr %182, align 8, !tbaa !13
  %185 = getelementptr inbounds i8, ptr %184, i64 80
  %186 = load ptr, ptr %185, align 8
  %187 = invoke noundef i64 %186(ptr noundef nonnull align 8 dereferenceable(8) %182)
          to label %188 unwind label %157

188:                                              ; preds = %183
  %189 = icmp eq i64 %187, 8192
  br i1 %189, label %190, label %203

190:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %20) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %191 unwind label %198

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

192:                                              ; preds = %191
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull @.str.54, i1 noundef zeroext true)
          to label %211 unwind label %232

193:                                              ; preds = %147
  %194 = landingpad { ptr, i32 }
          cleanup
  br label %197

195:                                              ; preds = %172
  %196 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  br label %197

197:                                              ; preds = %195, %193
  %.pn65 = phi { ptr, i32 } [ %196, %195 ], [ %194, %193 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #6
  br label %304

198:                                              ; preds = %190
  %199 = landingpad { ptr, i32 }
          cleanup
  br label %202

200:                                              ; preds = %191
  %201 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #6
  br label %202

202:                                              ; preds = %200, %198
  %.pn69 = phi { ptr, i32 } [ %201, %200 ], [ %199, %198 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #6
  br label %304

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

204:                                              ; preds = %203
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %205 unwind label %208

205:                                              ; preds = %204
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #6
  br label %.invoke95

206:                                              ; preds = %203
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %210

208:                                              ; preds = %204
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #6
  br label %210

210:                                              ; preds = %208, %206
  %.pn67 = phi { ptr, i32 } [ %209, %208 ], [ %207, %206 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #6
  br label %304

211:                                              ; preds = %192
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %212 unwind label %234

212:                                              ; preds = %211
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #6
  %213 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
  %214 = load ptr, ptr %213, align 8, !tbaa !13
  %215 = getelementptr i8, ptr %214, i64 -56
  %216 = load i64, ptr %215, align 8
  %217 = getelementptr inbounds i8, ptr %213, i64 %216
  %218 = load ptr, ptr %217, align 8, !tbaa !13
  %219 = getelementptr inbounds i8, ptr %218, i64 24
  %220 = load ptr, ptr %219, align 8
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr %220(ptr noundef nonnull align 8 dereferenceable(8) %217)
          to label %222 unwind label %157

222:                                              ; preds = %212
  %223 = load ptr, ptr %221, align 8, !tbaa !13
  %224 = getelementptr inbounds i8, ptr %223, i64 112
  %225 = load ptr, ptr %224, align 8
  %226 = invoke noundef i64 %225(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef nonnull %7, i64 noundef 8192)
          to label %227 unwind label %157

227:                                              ; preds = %222
  %228 = icmp eq i64 %226, 8192
  br i1 %228, label %229, label %242

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

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

231:                                              ; preds = %230
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull @.str.55, i1 noundef zeroext true)
          to label %250 unwind label %256

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

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

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

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

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

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

242:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %24) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull @.str.3, i1 noundef zeroext true)
          to label %243 unwind label %245

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

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

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

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

249:                                              ; preds = %247, %245
  %.pn73 = phi { ptr, i32 } [ %248, %247 ], [ %246, %245 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #6
  br label %304

250:                                              ; preds = %231
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %251 unwind label %258

251:                                              ; preds = %250
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #6
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(8192) %6, ptr noundef nonnull dereferenceable(8192) %7, i64 8192)
  %252 = icmp eq i32 %bcmp, 0
  br i1 %252, label %253, label %266

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

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

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

256:                                              ; preds = %231
  %257 = landingpad { ptr, i32 }
          cleanup
  br label %260

258:                                              ; preds = %250
  %259 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  br label %260

260:                                              ; preds = %258, %256
  %.pn77 = phi { ptr, i32 } [ %259, %258 ], [ %257, %256 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #6
  br label %304

261:                                              ; preds = %253
  %262 = landingpad { ptr, i32 }
          cleanup
  br label %265

263:                                              ; preds = %254
  %264 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #6
  br label %265

265:                                              ; preds = %263, %261
  %.pn81 = phi { ptr, i32 } [ %264, %263 ], [ %262, %261 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #6
  br label %304

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

267:                                              ; preds = %266
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %268 unwind label %271

268:                                              ; preds = %267
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #6
  br label %.invoke95

269:                                              ; preds = %266
  %270 = landingpad { ptr, i32 }
          cleanup
  br label %273

271:                                              ; preds = %267
  %272 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  br label %273

273:                                              ; preds = %271, %269
  %.pn79 = phi { ptr, i32 } [ %272, %271 ], [ %270, %269 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #6
  br label %304

274:                                              ; preds = %255
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %275 unwind label %287

275:                                              ; preds = %274
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #6
  %276 = call noundef ptr @_ZNK2vl3PtrINS_8database10ILogReaderEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
  %277 = load ptr, ptr %276, align 8, !tbaa !13
  %278 = getelementptr inbounds i8, ptr %277, i64 32
  %279 = load ptr, ptr %278, align 8
  %280 = invoke noundef zeroext i1 %279(ptr noundef nonnull align 8 dereferenceable(8) %276)
          to label %281 unwind label %157

281:                                              ; preds = %275
  br i1 %280, label %295, label %282

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

283:                                              ; preds = %282
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %29)
          to label %284 unwind label %292

284:                                              ; preds = %283
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #6
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8192, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8192, ptr nonnull %6) #6
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %5) #6
  call void @llvm.lifetime.end.p0(i64 304, ptr nonnull %5) #6
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %1) #6
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %1) #6
  ret void

285:                                              ; preds = %255
  %286 = landingpad { ptr, i32 }
          cleanup
  br label %289

287:                                              ; preds = %274
  %288 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  br label %289

289:                                              ; preds = %287, %285
  %.pn83 = phi { ptr, i32 } [ %288, %287 ], [ %286, %285 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #6
  br label %304

290:                                              ; preds = %282
  %291 = landingpad { ptr, i32 }
          cleanup
  br label %294

292:                                              ; preds = %283
  %293 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #6
  br label %294

294:                                              ; preds = %292, %290
  %.pn87 = phi { ptr, i32 } [ %293, %292 ], [ %291, %290 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #6
  br label %304

295:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %30) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull @.str.3, i1 noundef zeroext true)
          to label %296 unwind label %299

296:                                              ; preds = %295
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %297 unwind label %301

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

.invoke95:                                        ; preds = %166, %205, %244, %268, %297
  %298 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %298, align 16, !tbaa !15
  invoke void @__cxa_throw(ptr nonnull %298, ptr nonnull @_ZTIi, ptr null) #7
          to label %.cont96 unwind label %157

.cont96:                                          ; preds = %.invoke95
  unreachable

299:                                              ; preds = %295
  %300 = landingpad { ptr, i32 }
          cleanup
  br label %303

301:                                              ; preds = %296
  %302 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #6
  br label %303

303:                                              ; preds = %301, %299
  %.pn85 = phi { ptr, i32 } [ %302, %301 ], [ %300, %299 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #6
  br label %304

304:                                              ; preds = %303, %294, %289, %273, %265, %260, %249, %241, %236, %210, %202, %197, %171, %163, %157, %156
  %.pn87.pn = phi { ptr, i32 } [ %.pn87, %294 ], [ %158, %157 ], [ %.pn85, %303 ], [ %.pn83, %289 ], [ %.pn81, %265 ], [ %.pn79, %273 ], [ %.pn77, %260 ], [ %.pn75, %241 ], [ %.pn73, %249 ], [ %.pn71, %236 ], [ %.pn69, %202 ], [ %.pn67, %210 ], [ %.pn65, %197 ], [ %.pn63, %163 ], [ %.pn61, %171 ], [ %.pn59, %156 ]
  call void @_ZN2vl3PtrINS_8database10ILogReaderEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %305

305:                                              ; preds = %304, %150
  %.pn87.pn.pn = phi { ptr, i32 } [ %.pn87.pn, %304 ], [ %151, %150 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  br label %306

306:                                              ; preds = %305, %149, %82
  %.pn87.pn.pn.pn = phi { ptr, i32 } [ %.pn87.pn.pn, %305 ], [ %.pn55.pn.pn, %149 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 8192, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8192, ptr nonnull %6) #6
  call void @_ZN2vl8database10LogManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(304) %5) #6
  br label %307

307:                                              ; preds = %306, %57
  %.pn87.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn87.pn.pn.pn, %306 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 304, ptr nonnull %5) #6
  br label %308

308:                                              ; preds = %307, %56
  %.pn87.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn87.pn.pn.pn.pn, %307 ], [ %.pn.pn.pn, %56 ]
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %1) #6
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn87.pn.pn.pn.pn.pn
}

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #5

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 = { nofree nounwind willreturn memory(argmem: read) }
attributes #6 = { nounwind }
attributes #7 = { noreturn }

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopLoadEliminationPass,LoopRotatePass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass