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

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

%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::database::BufferManager" = type { i64, i64, i64, i64, %"class.vl::SpinLock", i64, %"class.vl::collections::Dictionary" }
%"class.vl::SpinLock" = type { %"class.vl::Object", i64 }
%"class.vl::collections::Dictionary" = type { %"class.vl::Object", %"class.vl::collections::SortedList", %"class.vl::collections::List", %"class.vl::collections::IEnumerable.6" }
%"class.vl::collections::SortedList" = type { %"class.vl::collections::ListBase.base", %"class.vl::collections::IEnumerable" }
%"class.vl::collections::ListBase.base" = type <{ %"class.vl::collections::ArrayBase.base", i64, i8 }>
%"class.vl::collections::ArrayBase.base" = type { %"class.vl::collections::ListStore", ptr, i64 }
%"class.vl::collections::ListStore" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::collections::List" = type { %"class.vl::collections::ListBase.base.5", %"class.vl::collections::IEnumerable.3" }
%"class.vl::collections::ListBase.base.5" = type <{ %"class.vl::collections::ArrayBase.base.4", i64, i8 }>
%"class.vl::collections::ArrayBase.base.4" = type { %"class.vl::collections::ListStore.2", ptr, i64 }
%"class.vl::collections::ListStore.2" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.3" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.6" = type { %"class.vl::Interface" }
%"struct.vl::database::IdObject" = type { i32 }
%"class.vl::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" }
%"struct.vl::database::IdObject.35" = type { i64 }
%"struct.vl::database::IdObject.15" = 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.57 = external hidden unnamed_addr constant [66 x i32], align 4
@.str.58 = external hidden unnamed_addr constant [59 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 @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48)) #1

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z43TestFunction_Utility_Log_LogTransactionItemv() #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::log_internal::LogAddressItem", align 8
  %9 = alloca %"struct.vl::database::IdObject", align 4
  %10 = alloca i64, align 8
  %11 = alloca %"struct.vl::database::IdObject.35", align 8
  %12 = alloca %"struct.vl::database::IdObject.15", align 8
  %13 = alloca %"class.vl::ObjectString", align 8
  %14 = alloca %"struct.vl::database::IdObject.35", align 8
  %15 = alloca %"struct.vl::database::IdObject.15", align 8
  %16 = alloca %"class.vl::ObjectString", align 8
  %17 = alloca %"class.vl::ObjectString", align 8
  %18 = alloca i64, align 8
  %19 = alloca %"struct.vl::database::IdObject.35", align 8
  %20 = alloca %"struct.vl::database::IdObject.15", align 8
  %21 = alloca %"class.vl::ObjectString", align 8
  %22 = alloca %"struct.vl::database::IdObject.15", align 8
  %23 = alloca %"struct.vl::database::IdObject.35", align 8
  %24 = alloca %"struct.vl::database::IdObject.15", align 8
  %25 = alloca %"class.vl::ObjectString", align 8
  %26 = alloca %"class.vl::ObjectString", align 8
  %27 = alloca %"class.vl::database::BufferManager", align 8
  %28 = alloca %"struct.vl::database::IdObject", align 4
  %29 = alloca %"class.vl::ObjectString", align 8
  %30 = alloca %"class.vl::ObjectString", align 8
  %31 = alloca %"class.vl::ObjectString", align 8
  %32 = alloca %"class.vl::database::log_internal::LogAddressItem", align 8
  %33 = alloca %"struct.vl::database::IdObject", align 4
  %34 = alloca i64, align 8
  %35 = alloca %"struct.vl::database::IdObject.35", align 8
  %36 = alloca %"struct.vl::database::IdObject.15", align 8
  %37 = alloca %"class.vl::ObjectString", align 8
  %38 = alloca %"struct.vl::database::IdObject.15", align 8
  %39 = alloca %"struct.vl::database::IdObject.35", align 8
  %40 = alloca %"struct.vl::database::IdObject.15", align 8
  %41 = alloca %"class.vl::ObjectString", align 8
  %42 = 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 %43 unwind label %58

43:                                               ; 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 %44 unwind label %62

44:                                               ; preds = %43
  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 %45 unwind label %66

45:                                               ; preds = %44
  %46 = 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 %47 unwind label %70

47:                                               ; preds = %45
  %48 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %2, i32 0, i32 0
  store i32 %46, ptr %48, 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 88, 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
  %49 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %9, i32 0, i32 0
  %50 = load i32, ptr %49, align 4
  invoke void @_ZN2vl8database12log_internal14LogAddressItemC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEE(ptr noundef nonnull align 8 dereferenceable(88) %8, ptr noundef %1, i32 %50)
          to label %51 unwind label %77

51:                                               ; preds = %47
  %52 = invoke noundef i64 @_ZN2vl8database12log_internal14LogAddressItem20InitializeEmptyItemsEv(ptr noundef nonnull align 8 dereferenceable(88) %8)
          to label %53 unwind label %81

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store i64 0, ptr %10, align 8, !tbaa !10
  br label %54

54:                                               ; preds = %146, %53
  %55 = load i64, ptr %10, align 8, !tbaa !10
  %56 = icmp slt i64 %55, 1024
  br i1 %56, label %85, label %57

57:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %151

58:                                               ; preds = %0
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %5, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %6, align 4
  br label %76

62:                                               ; preds = %43
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %5, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %6, align 4
  br label %75

66:                                               ; preds = %44
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %5, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %6, align 4
  br label %74

70:                                               ; preds = %45
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %5, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #7
  br label %74

74:                                               ; preds = %70, %66
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  br label %75

75:                                               ; preds = %74, %62
  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 %76

76:                                               ; preds = %75, %58
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #7
  br label %245

77:                                               ; preds = %47
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %5, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %6, align 4
  br label %244

81:                                               ; preds = %51
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %5, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %6, align 4
  br label %243

85:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %86 = load i64, ptr %10, align 8, !tbaa !10
  invoke void @_ZN2vl8database8IdObjectImLl3EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %86)
          to label %87 unwind label %104

87:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %88 = load i64, ptr %10, align 8, !tbaa !10
  invoke void @_ZN2vl8database8IdObjectImLl2EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %12, i64 noundef %88)
          to label %89 unwind label %108

89:                                               ; preds = %87
  br label %90

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

91:                                               ; preds = %90
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %92 unwind label %116

92:                                               ; preds = %91
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %11, i64 8, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %12, i64 8, i1 false), !tbaa.struct !12
  %93 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %14, i32 0, i32 0
  %94 = load i64, ptr %93, align 8
  %95 = getelementptr inbounds %"struct.vl::database::IdObject.15", ptr %15, i32 0, i32 0
  %96 = load i64, ptr %95, align 8
  %97 = invoke noundef zeroext i1 @_ZN2vl8database12log_internal14LogAddressItem16WriteAddressItemENS0_8IdObjectImLl3EEENS3_ImLl2EEE(ptr noundef nonnull align 8 dereferenceable(88) %8, i64 %94, i64 %96)
          to label %98 unwind label %108

98:                                               ; preds = %92
  %99 = zext i1 %97 to i32
  %100 = icmp eq i32 %99, 1
  br i1 %100, label %101, label %130

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

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

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

104:                                              ; preds = %85
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %5, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %6, align 4
  br label %150

108:                                              ; preds = %132, %92, %87
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %5, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %6, align 4
  br label %149

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

116:                                              ; preds = %91
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %5, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #7
  br label %120

120:                                              ; preds = %116, %112
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #7
  br label %149

121:                                              ; preds = %101
  %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 = %102
  %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 %149

130:                                              ; preds = %98
  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.3, i1 noundef zeroext true)
          to label %131 unwind label %134

131:                                              ; preds = %130
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %17)
          to label %132 unwind label %138

132:                                              ; preds = %131
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #7
  %133 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %133, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %133, ptr @_ZTIi, ptr null) #8
          to label %353 unwind label %108

134:                                              ; preds = %130
  %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 = %131
  %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 %149

143:                                              ; preds = %103
  br label %144

144:                                              ; preds = %143
  br label %145

145:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %146

146:                                              ; preds = %145
  %147 = load i64, ptr %10, align 8, !tbaa !10
  %148 = add nsw i64 %147, 1
  store i64 %148, ptr %10, align 8, !tbaa !10
  br label %54, !llvm.loop !13

149:                                              ; preds = %142, %129, %120, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %150

150:                                              ; preds = %149, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %243

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

152:                                              ; preds = %222, %151
  %153 = load i64, ptr %18, align 8, !tbaa !10
  %154 = icmp slt i64 %153, 1024
  br i1 %154, label %156, label %155

155:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %227

156:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %157 = load i64, ptr %18, align 8, !tbaa !10
  invoke void @_ZN2vl8database8IdObjectImLl3EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %19, i64 noundef %157)
          to label %158 unwind label %176

158:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %159 = load i64, ptr %18, align 8, !tbaa !10
  invoke void @_ZN2vl8database8IdObjectImLl2EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef %159)
          to label %160 unwind label %180

160:                                              ; preds = %158
  br label %161

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

162:                                              ; preds = %161
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %163 unwind label %188

163:                                              ; preds = %162
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %19, i64 8, i1 false), !tbaa.struct !12
  %164 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %23, i32 0, i32 0
  %165 = load i64, ptr %164, align 8
  %166 = invoke i64 @_ZN2vl8database12log_internal14LogAddressItem15ReadAddressItemENS0_8IdObjectImLl3EEE(ptr noundef nonnull align 8 dereferenceable(88) %8, i64 %165)
          to label %167 unwind label %193

167:                                              ; preds = %163
  %168 = getelementptr inbounds %"struct.vl::database::IdObject.15", ptr %22, i32 0, i32 0
  store i64 %166, ptr %168, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 %20, i64 8, i1 false), !tbaa.struct !12
  %169 = getelementptr inbounds %"struct.vl::database::IdObject.15", ptr %24, i32 0, i32 0
  %170 = load i64, ptr %169, align 8
  %171 = invoke noundef zeroext i1 @_ZNK2vl8database8IdObjectImLl2EEeqES2_(ptr noundef nonnull align 8 dereferenceable(8) %22, i64 %170)
          to label %172 unwind label %193

172:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br i1 %171, label %173, label %206

173:                                              ; preds = %172
  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 %174 unwind label %197

174:                                              ; preds = %173
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %175 unwind label %201

175:                                              ; preds = %174
  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 %219

176:                                              ; preds = %156
  %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
  br label %226

180:                                              ; preds = %208, %158
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %5, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %6, align 4
  br label %225

184:                                              ; preds = %161
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %5, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %6, align 4
  br label %192

188:                                              ; preds = %162
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %5, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #7
  br label %192

192:                                              ; preds = %188, %184
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #7
  br label %225

193:                                              ; preds = %167, %163
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %5, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %225

197:                                              ; preds = %173
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %5, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %6, align 4
  br label %205

201:                                              ; preds = %174
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %5, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #7
  br label %205

205:                                              ; preds = %201, %197
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #7
  br label %225

206:                                              ; preds = %172
  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 %207 unwind label %210

207:                                              ; preds = %206
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %26)
          to label %208 unwind label %214

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

210:                                              ; preds = %206
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %5, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %6, align 4
  br label %218

214:                                              ; preds = %207
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %5, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %6, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #7
  br label %218

218:                                              ; preds = %214, %210
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #7
  br label %225

219:                                              ; preds = %175
  br label %220

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %222

222:                                              ; preds = %221
  %223 = load i64, ptr %18, align 8, !tbaa !10
  %224 = add nsw i64 %223, 1
  store i64 %224, ptr %18, align 8, !tbaa !10
  br label %152, !llvm.loop !15

225:                                              ; preds = %218, %205, %193, %192, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %226

226:                                              ; preds = %225, %176
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %243

227:                                              ; preds = %155
  call void @_ZN2vl8database12log_internal14LogAddressItemD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #7
  call void @llvm.lifetime.end.p0(i64 88, 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
  call void @llvm.lifetime.start.p0(i64 168, ptr %27) #7
  call void @_ZN2vl8database13BufferManagerC1Emm(ptr noundef nonnull align 8 dereferenceable(168) %27, i64 noundef 4096, i64 noundef 16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %30) #7
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %30)
          to label %228 unwind label %246

228:                                              ; preds = %227
  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, i1 noundef zeroext true)
          to label %229 unwind label %250

229:                                              ; preds = %228
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %29, ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %230 unwind label %254

230:                                              ; preds = %229
  %231 = invoke i32 @_ZN2vl8database13BufferManager14LoadFileSourceERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(168) %27, ptr noundef nonnull align 8 dereferenceable(48) %29, i1 noundef zeroext false)
          to label %232 unwind label %258

232:                                              ; preds = %230
  %233 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %28, i32 0, i32 0
  store i32 %231, ptr %233, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 88, ptr %32) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %28, i64 4, i1 false), !tbaa.struct !5
  %234 = getelementptr inbounds %"struct.vl::database::IdObject", ptr %33, i32 0, i32 0
  %235 = load i32, ptr %234, align 4
  invoke void @_ZN2vl8database12log_internal14LogAddressItemC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEE(ptr noundef nonnull align 8 dereferenceable(88) %32, ptr noundef %27, i32 %235)
          to label %236 unwind label %265

236:                                              ; preds = %232
  %237 = invoke noundef i64 @_ZN2vl8database12log_internal14LogAddressItem23InitializeExistingItemsEv(ptr noundef nonnull align 8 dereferenceable(88) %32)
          to label %238 unwind label %269

238:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  store i64 0, ptr %34, align 8, !tbaa !10
  br label %239

239:                                              ; preds = %339, %238
  %240 = load i64, ptr %34, align 8, !tbaa !10
  %241 = icmp slt i64 %240, 1024
  br i1 %241, label %273, label %242

242:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %344

243:                                              ; preds = %226, %150, %81
  call void @_ZN2vl8database12log_internal14LogAddressItemD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #7
  br label %244

244:                                              ; preds = %243, %77
  call void @llvm.lifetime.end.p0(i64 88, ptr %8) #7
  br label %245

245:                                              ; preds = %244, %76
  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 %348

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

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

254:                                              ; preds = %229
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %5, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %6, align 4
  br label %262

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

262:                                              ; preds = %258, %254
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  br label %263

263:                                              ; preds = %262, %250
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #7
  br label %264

264:                                              ; preds = %263, %246
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #7
  br label %347

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

269:                                              ; preds = %236
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %5, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %6, align 4
  br label %345

273:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %274 = load i64, ptr %34, align 8, !tbaa !10
  invoke void @_ZN2vl8database8IdObjectImLl3EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %35, i64 noundef %274)
          to label %275 unwind label %293

275:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %276 = load i64, ptr %34, align 8, !tbaa !10
  invoke void @_ZN2vl8database8IdObjectImLl2EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %36, i64 noundef %276)
          to label %277 unwind label %297

277:                                              ; preds = %275
  br label %278

278:                                              ; preds = %277
  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.58, i1 noundef zeroext true)
          to label %279 unwind label %301

279:                                              ; preds = %278
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %37)
          to label %280 unwind label %305

280:                                              ; preds = %279
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %39, ptr align 8 %35, i64 8, i1 false), !tbaa.struct !12
  %281 = getelementptr inbounds %"struct.vl::database::IdObject.35", ptr %39, i32 0, i32 0
  %282 = load i64, ptr %281, align 8
  %283 = invoke i64 @_ZN2vl8database12log_internal14LogAddressItem15ReadAddressItemENS0_8IdObjectImLl3EEE(ptr noundef nonnull align 8 dereferenceable(88) %32, i64 %282)
          to label %284 unwind label %310

284:                                              ; preds = %280
  %285 = getelementptr inbounds %"struct.vl::database::IdObject.15", ptr %38, i32 0, i32 0
  store i64 %283, ptr %285, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %36, i64 8, i1 false), !tbaa.struct !12
  %286 = getelementptr inbounds %"struct.vl::database::IdObject.15", ptr %40, i32 0, i32 0
  %287 = load i64, ptr %286, align 8
  %288 = invoke noundef zeroext i1 @_ZNK2vl8database8IdObjectImLl2EEeqES2_(ptr noundef nonnull align 8 dereferenceable(8) %38, i64 %287)
          to label %289 unwind label %310

289:                                              ; preds = %284
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br i1 %288, label %290, label %323

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

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

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

293:                                              ; preds = %273
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %5, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %6, align 4
  br label %343

297:                                              ; preds = %325, %275
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %5, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %6, align 4
  br label %342

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

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

309:                                              ; preds = %305, %301
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #7
  br label %342

310:                                              ; preds = %284, %280
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %5, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  br label %342

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

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

322:                                              ; preds = %318, %314
  call void @llvm.lifetime.end.p0(i64 48, ptr %41) #7
  br label %342

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

324:                                              ; preds = %323
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %42)
          to label %325 unwind label %331

325:                                              ; preds = %324
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %42) #7
  %326 = call ptr @__cxa_allocate_exception(i64 4) #7
  store i32 0, ptr %326, align 16, !tbaa !6
  invoke void @__cxa_throw(ptr %326, ptr @_ZTIi, ptr null) #8
          to label %353 unwind label %297

327:                                              ; preds = %323
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %5, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %6, align 4
  br label %335

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

335:                                              ; preds = %331, %327
  call void @llvm.lifetime.end.p0(i64 48, ptr %42) #7
  br label %342

336:                                              ; preds = %292
  br label %337

337:                                              ; preds = %336
  br label %338

338:                                              ; preds = %337
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %339

339:                                              ; preds = %338
  %340 = load i64, ptr %34, align 8, !tbaa !10
  %341 = add nsw i64 %340, 1
  store i64 %341, ptr %34, align 8, !tbaa !10
  br label %239, !llvm.loop !16

342:                                              ; preds = %335, %322, %310, %309, %297
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %343

343:                                              ; preds = %342, %293
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %345

344:                                              ; preds = %242
  call void @_ZN2vl8database12log_internal14LogAddressItemD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %32) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %27) #7
  call void @llvm.lifetime.end.p0(i64 168, ptr %27) #7
  ret void

345:                                              ; preds = %343, %269
  call void @_ZN2vl8database12log_internal14LogAddressItemD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %32) #7
  br label %346

346:                                              ; preds = %345, %265
  call void @llvm.lifetime.end.p0(i64 88, ptr %32) #7
  br label %347

347:                                              ; preds = %346, %264
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %27) #7
  call void @llvm.lifetime.end.p0(i64 168, ptr %27) #7
  br label %348

348:                                              ; preds = %347, %245
  %349 = load ptr, ptr %5, align 8
  %350 = load i32, ptr %6, align 4
  %351 = insertvalue { ptr, i32 } poison, ptr %349, 0
  %352 = insertvalue { ptr, i32 } %351, i32 %350, 1
  resume { ptr, i32 } %352

353:                                              ; preds = %325, %208, %132
  unreachable
}

declare void @_ZN2vl8database12log_internal14LogAddressItemC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef, i32) unnamed_addr #1

declare noundef i64 @_ZN2vl8database12log_internal14LogAddressItem20InitializeEmptyItemsEv(ptr noundef nonnull align 8 dereferenceable(88)) #1

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

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

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

declare i64 @_ZN2vl8database12log_internal14LogAddressItem15ReadAddressItemENS0_8IdObjectImLl3EEE(ptr noundef nonnull align 8 dereferenceable(88), i64) #1

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

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

declare noundef i64 @_ZN2vl8database12log_internal14LogAddressItem23InitializeExistingItemsEv(ptr noundef nonnull align 8 dereferenceable(88)) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{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 = !{i64 0, i64 8, !10}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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

%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::database::BufferManager" = type { i64, i64, i64, i64, %"class.vl::SpinLock", i64, %"class.vl::collections::Dictionary" }
%"class.vl::SpinLock" = type { %"class.vl::Object", i64 }
%"class.vl::collections::Dictionary" = type { %"class.vl::Object", %"class.vl::collections::SortedList", %"class.vl::collections::List", %"class.vl::collections::IEnumerable.6" }
%"class.vl::collections::SortedList" = type { %"class.vl::collections::ListBase.base", %"class.vl::collections::IEnumerable" }
%"class.vl::collections::ListBase.base" = type <{ %"class.vl::collections::ArrayBase.base", i64, i8 }>
%"class.vl::collections::ArrayBase.base" = type { %"class.vl::collections::ListStore", ptr, i64 }
%"class.vl::collections::ListStore" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::collections::List" = type { %"class.vl::collections::ListBase.base.5", %"class.vl::collections::IEnumerable.3" }
%"class.vl::collections::ListBase.base.5" = type <{ %"class.vl::collections::ArrayBase.base.4", i64, i8 }>
%"class.vl::collections::ArrayBase.base.4" = type { %"class.vl::collections::ListStore.2", ptr, i64 }
%"class.vl::collections::ListStore.2" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.3" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.6" = type { %"class.vl::Interface" }
%"class.vl::database::log_internal::LogAddressItem" = type { %"class.vl::Object", ptr, %"struct.vl::database::IdObject", i64, i64, %"class.vl::collections::List.7" }
%"struct.vl::database::IdObject" = type { i32 }
%"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" }
%"struct.vl::database::IdObject.35" = type { i64 }
%"struct.vl::database::IdObject.15" = 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.57 = external hidden unnamed_addr constant [66 x i32], align 4
@.str.58 = external hidden unnamed_addr constant [59 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 @_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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z43TestFunction_Utility_Log_LogTransactionItemv() 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::log_internal::LogAddressItem", align 8
  %6 = alloca %"struct.vl::database::IdObject.35", align 8
  %7 = alloca %"struct.vl::database::IdObject.15", align 8
  %8 = alloca %"class.vl::ObjectString", align 8
  %9 = alloca %"class.vl::ObjectString", align 8
  %10 = alloca %"class.vl::ObjectString", align 8
  %11 = alloca %"struct.vl::database::IdObject.35", align 8
  %12 = alloca %"struct.vl::database::IdObject.15", align 8
  %13 = alloca %"class.vl::ObjectString", align 8
  %14 = alloca %"struct.vl::database::IdObject.15", align 8
  %15 = alloca %"class.vl::ObjectString", align 8
  %16 = alloca %"class.vl::ObjectString", align 8
  %17 = alloca %"class.vl::database::BufferManager", 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::database::log_internal::LogAddressItem", align 8
  %22 = alloca %"struct.vl::database::IdObject.35", align 8
  %23 = alloca %"struct.vl::database::IdObject.15", align 8
  %24 = alloca %"class.vl::ObjectString", align 8
  %25 = alloca %"struct.vl::database::IdObject.15", align 8
  %26 = alloca %"class.vl::ObjectString", align 8
  %27 = 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 %28 unwind label %35

28:                                               ; 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 %29 unwind label %37

29:                                               ; preds = %28
  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 %30 unwind label %39

30:                                               ; preds = %29
  %31 = 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 %32 unwind label %41

32:                                               ; preds = %30
  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 88, ptr nonnull %5) #6
  invoke void @_ZN2vl8database12log_internal14LogAddressItemC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEE(ptr noundef nonnull align 8 dereferenceable(88) %5, ptr noundef nonnull %1, i32 %31)
          to label %33 unwind label %46

33:                                               ; preds = %32
  %34 = invoke noundef i64 @_ZN2vl8database12log_internal14LogAddressItem20InitializeEmptyItemsEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %.preheader86 unwind label %48

35:                                               ; preds = %0
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %45

37:                                               ; preds = %28
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %44

39:                                               ; preds = %29
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %43

41:                                               ; preds = %30
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  br label %43

43:                                               ; preds = %41, %39
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  br label %44

44:                                               ; preds = %43, %37
  %.pn.pn = phi { ptr, i32 } [ %.pn, %43 ], [ %38, %37 ]
  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 %45

45:                                               ; preds = %44, %35
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %44 ], [ %36, %35 ]
  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 %122

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

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

.preheader86:                                     ; preds = %33, %56
  %.04887 = phi i64 [ %57, %56 ], [ 0, %33 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN2vl8database8IdObjectImLl3EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %.04887)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @_ZN2vl8database8IdObjectImLl2EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %.04887)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull @.str.57, i1 noundef zeroext true)
          to label %50 unwind label %58

50:                                               ; preds = %.preheader86
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %51 unwind label %60

51:                                               ; preds = %50
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  %.sroa.014.0.copyload = load i64, ptr %6, align 8, !tbaa !5
  %.sroa.013.0.copyload = load i64, ptr %7, align 8, !tbaa !5
  %52 = invoke noundef zeroext i1 @_ZN2vl8database12log_internal14LogAddressItem16WriteAddressItemENS0_8IdObjectImLl3EEENS3_ImLl2EEE(ptr noundef nonnull align 8 dereferenceable(88) %5, i64 %.sroa.014.0.copyload, i64 %.sroa.013.0.copyload)
          to label %53 unwind label %.loopexit

53:                                               ; preds = %51
  br i1 %52, label %54, label %68

54:                                               ; preds = %53
  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.2, i1 noundef zeroext true)
          to label %55 unwind label %63

55:                                               ; preds = %54
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %56 unwind label %65

56:                                               ; preds = %55
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %57 = add nuw nsw i64 %.04887, 1
  %exitcond.not = icmp eq i64 %57, 1024
  br i1 %exitcond.not, label %.preheader85, label %.preheader86, !llvm.loop !9

.loopexit:                                        ; preds = %51
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %77

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

58:                                               ; preds = %.preheader86
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %62

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

62:                                               ; preds = %60, %58
  %.pn74 = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  br label %77

63:                                               ; preds = %54
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %67

65:                                               ; preds = %55
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  br label %67

67:                                               ; preds = %65, %63
  %.pn78 = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  br label %77

68:                                               ; preds = %53
  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.3, i1 noundef zeroext true)
          to label %69 unwind label %72

69:                                               ; preds = %68
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %70 unwind label %74

70:                                               ; preds = %69
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #6
  %71 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %71, align 16, !tbaa !11
  invoke void @__cxa_throw(ptr nonnull %71, ptr nonnull @_ZTIi, ptr null) #7
          to label %175 unwind label %.loopexit.split-lp

72:                                               ; preds = %68
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %76

74:                                               ; preds = %69
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #6
  br label %76

76:                                               ; preds = %74, %72
  %.pn76 = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #6
  br label %77

77:                                               ; preds = %.loopexit, %.loopexit.split-lp, %76, %67, %62
  %.pn78.pn = phi { ptr, i32 } [ %.pn78, %67 ], [ %.pn76, %76 ], [ %.pn74, %62 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %120

78:                                               ; preds = %86
  call void @_ZN2vl8database12log_internal14LogAddressItemD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #6
  call void @llvm.lifetime.end.p0(i64 88, 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
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %17) #6
  call void @_ZN2vl8database13BufferManagerC1Emm(ptr noundef nonnull align 8 dereferenceable(168) %17, i64 noundef 4096, i64 noundef 16)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #6
  invoke void @_Z13GetTempFolderv(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %19)
          to label %112 unwind label %123

.preheader85:                                     ; preds = %56, %86
  %.04988 = phi i64 [ %87, %86 ], [ 0, %56 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  call void @_ZN2vl8database8IdObjectImLl3EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %.04988)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  call void @_ZN2vl8database8IdObjectImLl2EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %12, i64 noundef %.04988)
  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.58, i1 noundef zeroext true)
          to label %79 unwind label %90

79:                                               ; preds = %.preheader85
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %80 unwind label %92

80:                                               ; preds = %79
  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 @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %.sroa.08.0.copyload = load i64, ptr %11, align 8, !tbaa !5
  %81 = invoke i64 @_ZN2vl8database12log_internal14LogAddressItem15ReadAddressItemENS0_8IdObjectImLl3EEE(ptr noundef nonnull align 8 dereferenceable(88) %5, i64 %.sroa.08.0.copyload)
          to label %82 unwind label %95

82:                                               ; preds = %80
  store i64 %81, ptr %14, align 8
  %.sroa.07.0.copyload = load i64, ptr %12, align 8, !tbaa !5
  %83 = call noundef zeroext i1 @_ZNK2vl8database8IdObjectImLl2EEeqES2_(ptr noundef nonnull align 8 dereferenceable(8) %14, i64 %.sroa.07.0.copyload)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br i1 %83, label %84, label %102

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

85:                                               ; preds = %84
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %86 unwind label %99

86:                                               ; preds = %85
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %87 = add nuw nsw i64 %.04988, 1
  %exitcond90.not = icmp eq i64 %87, 1024
  br i1 %exitcond90.not, label %78, label %.preheader85, !llvm.loop !13

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

90:                                               ; preds = %.preheader85
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

92:                                               ; preds = %79
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  br label %94

94:                                               ; preds = %92, %90
  %.pn67 = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  br label %111

95:                                               ; preds = %80
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %111

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

99:                                               ; preds = %85
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  br label %101

101:                                              ; preds = %99, %97
  %.pn71 = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #6
  br label %111

102:                                              ; preds = %82
  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.3, i1 noundef zeroext true)
          to label %103 unwind label %106

103:                                              ; preds = %102
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %104 unwind label %108

104:                                              ; preds = %103
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #6
  %105 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %105, align 16, !tbaa !11
  invoke void @__cxa_throw(ptr nonnull %105, ptr nonnull @_ZTIi, ptr null) #7
          to label %175 unwind label %88

106:                                              ; preds = %102
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %110

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

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

111:                                              ; preds = %110, %101, %95, %94, %88
  %.pn71.pn = phi { ptr, i32 } [ %.pn71, %101 ], [ %89, %88 ], [ %.pn69, %110 ], [ %96, %95 ], [ %.pn67, %94 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %120

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

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

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

116:                                              ; preds = %114
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  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 @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %21) #6
  invoke void @_ZN2vl8database12log_internal14LogAddressItemC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEE(ptr noundef nonnull align 8 dereferenceable(88) %21, ptr noundef nonnull %17, i32 %115)
          to label %117 unwind label %134

117:                                              ; preds = %116
  %118 = invoke noundef i64 @_ZN2vl8database12log_internal14LogAddressItem23InitializeExistingItemsEv(ptr noundef nonnull align 8 dereferenceable(88) %21)
          to label %.preheader unwind label %136

119:                                              ; preds = %145
  call void @_ZN2vl8database12log_internal14LogAddressItemD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %21) #6
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %17) #6
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %17) #6
  ret void

120:                                              ; preds = %111, %77, %48
  %.pn78.pn.pn = phi { ptr, i32 } [ %.pn78.pn, %77 ], [ %.pn71.pn, %111 ], [ %49, %48 ]
  call void @_ZN2vl8database12log_internal14LogAddressItemD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #6
  br label %121

121:                                              ; preds = %120, %46
  %.pn78.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn, %120 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %5) #6
  br label %122

122:                                              ; preds = %121, %45
  %.pn78.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn, %121 ], [ %.pn.pn.pn, %45 ]
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %1) #6
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %1) #6
  br label %174

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

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

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

129:                                              ; preds = %114
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  br label %131

131:                                              ; preds = %129, %127
  %.pn53 = phi { ptr, i32 } [ %130, %129 ], [ %128, %127 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #6
  br label %132

132:                                              ; preds = %131, %125
  %.pn53.pn = phi { ptr, i32 } [ %.pn53, %131 ], [ %126, %125 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  br label %133

133:                                              ; preds = %132, %123
  %.pn53.pn.pn = phi { ptr, i32 } [ %.pn53.pn, %132 ], [ %124, %123 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #6
  br label %173

134:                                              ; preds = %116
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %172

136:                                              ; preds = %117
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %171

.preheader:                                       ; preds = %117, %145
  %.04789 = phi i64 [ %146, %145 ], [ 0, %117 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  call void @_ZN2vl8database8IdObjectImLl3EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %22, i64 noundef %.04789)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  call void @_ZN2vl8database8IdObjectImLl2EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %23, i64 noundef %.04789)
  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.58, i1 noundef zeroext true)
          to label %138 unwind label %149

138:                                              ; preds = %.preheader
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %139 unwind label %151

139:                                              ; preds = %138
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  %.sroa.01.0.copyload = load i64, ptr %22, align 8, !tbaa !5
  %140 = invoke i64 @_ZN2vl8database12log_internal14LogAddressItem15ReadAddressItemENS0_8IdObjectImLl3EEE(ptr noundef nonnull align 8 dereferenceable(88) %21, i64 %.sroa.01.0.copyload)
          to label %141 unwind label %154

141:                                              ; preds = %139
  store i64 %140, ptr %25, align 8
  %.sroa.0.0.copyload = load i64, ptr %23, align 8, !tbaa !5
  %142 = call noundef zeroext i1 @_ZNK2vl8database8IdObjectImLl2EEeqES2_(ptr noundef nonnull align 8 dereferenceable(8) %25, i64 %.sroa.0.0.copyload)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  br i1 %142, label %143, label %161

143:                                              ; preds = %141
  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 %144 unwind label %156

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

145:                                              ; preds = %144
  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.end.p0(i64 8, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  %146 = add nuw nsw i64 %.04789, 1
  %exitcond91.not = icmp eq i64 %146, 1024
  br i1 %exitcond91.not, label %119, label %.preheader, !llvm.loop !14

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

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

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

153:                                              ; preds = %151, %149
  %.pn57 = phi { ptr, i32 } [ %152, %151 ], [ %150, %149 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #6
  br label %170

154:                                              ; preds = %139
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  br label %170

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

158:                                              ; preds = %144
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #6
  br label %160

160:                                              ; preds = %158, %156
  %.pn61 = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #6
  br label %170

161:                                              ; preds = %141
  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 %162 unwind label %165

162:                                              ; preds = %161
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %163 unwind label %167

163:                                              ; preds = %162
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #6
  %164 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %164, align 16, !tbaa !11
  invoke void @__cxa_throw(ptr nonnull %164, ptr nonnull @_ZTIi, ptr null) #7
          to label %175 unwind label %147

165:                                              ; preds = %161
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %169

167:                                              ; preds = %162
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  br label %169

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

170:                                              ; preds = %169, %160, %154, %153, %147
  %.pn61.pn = phi { ptr, i32 } [ %.pn61, %160 ], [ %148, %147 ], [ %.pn59, %169 ], [ %155, %154 ], [ %.pn57, %153 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  br label %171

171:                                              ; preds = %170, %136
  %.pn61.pn.pn = phi { ptr, i32 } [ %.pn61.pn, %170 ], [ %137, %136 ]
  call void @_ZN2vl8database12log_internal14LogAddressItemD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #6
  br label %172

172:                                              ; preds = %171, %134
  %.pn61.pn.pn.pn = phi { ptr, i32 } [ %.pn61.pn.pn, %171 ], [ %135, %134 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %21) #6
  br label %173

173:                                              ; preds = %172, %133
  %.pn61.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn61.pn.pn.pn, %172 ], [ %.pn53.pn.pn, %133 ]
  call void @_ZN2vl8database13BufferManagerD1Ev(ptr noundef nonnull align 8 dereferenceable(168) %17) #6
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %17) #6
  br label %174

174:                                              ; preds = %173, %122
  %.pn78.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn, %122 ], [ %.pn61.pn.pn.pn.pn, %173 ]
  resume { ptr, i32 } %.pn78.pn.pn.pn.pn.pn

175:                                              ; preds = %163, %104, %70
  unreachable
}

declare void @_ZN2vl8database12log_internal14LogAddressItemC1EPNS0_13BufferManagerENS0_8IdObjectIiLl0EEE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef, i32) unnamed_addr #1

declare noundef i64 @_ZN2vl8database12log_internal14LogAddressItem20InitializeEmptyItemsEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #1

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

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

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

declare i64 @_ZN2vl8database12log_internal14LogAddressItem15ReadAddressItemENS0_8IdObjectImLl3EEE(ptr noundef nonnull align 8 dereferenceable(88), i64) local_unnamed_addr #1

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

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

declare noundef i64 @_ZN2vl8database12log_internal14LogAddressItem23InitializeExistingItemsEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


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