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

; 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::buffer_internal::FileMapping" = type { %"class.vl::Object", i64, i32, ptr, %"class.vl::collections::Dictionary.16", i64 }
%"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::Interface" = type { ptr }
%"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" }
%"class.vl::database::buffer_internal::FileUseMasks" = type { %"class.vl::Object", i32, i64, %"class.vl::collections::List.35", i64, ptr }
%"class.vl::collections::List.35" = type { %"class.vl::collections::ListBase.base.23", %"class.vl::collections::IEnumerable.21" }
%"class.vl::database::buffer_internal::FileFreePages" = type { %"class.vl::Object", i64, %"class.vl::collections::List.35", i64, i64, ptr, ptr }
%"struct.vl::database::IdObject.7" = type { i64 }

@.str.1 = external hidden unnamed_addr constant [11 x i32], align 4
@.str.2 = external hidden unnamed_addr constant [11 x i32], align 4
@_ZTIi = external constant ptr
@.str.5 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.69 = external hidden unnamed_addr constant [24 x i32], align 4
@.str.71 = external hidden unnamed_addr constant [20 x i32], align 4
@.str.72 = external hidden unnamed_addr constant [20 x i32], align 4
@.str.73 = external hidden unnamed_addr constant [13 x i32], align 4
@.str.74 = external hidden unnamed_addr constant [27 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 @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48)) #1

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

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

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

declare noundef i32 @_ZN2vl8database26CreateNewFileForFileSourceERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48)) #1

declare void @_ZN2vl8database15buffer_internal11FileMappingC1EmiPVm(ptr noundef nonnull align 8 dereferenceable(152), i64 noundef, i32 noundef, ptr noundef) unnamed_addr #1

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

declare void @_ZN2vl8database15buffer_internal11FileMapping21InitializeEmptySourceEv(ptr noundef nonnull align 8 dereferenceable(152)) #1

declare void @_ZN2vl8database15buffer_internal12FileUseMasks21InitializeEmptySourceEPNS1_11FileMappingE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) #1

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

declare void @_ZN2vl8database15buffer_internal11FileMapping13UnmapAllPagesEv(ptr noundef nonnull align 8 dereferenceable(152)) #1

declare void @_ZN2vl8database22CloseFileForFileSourceEi(i32 noundef) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z41TestFunction_Utility_Buffer_FileFreePagesv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i32, align 4
  %3 = alloca %"class.vl::ObjectString", align 8
  %4 = alloca %"class.vl::ObjectString", align 8
  %5 = alloca %"class.vl::ObjectString", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca %"class.vl::database::buffer_internal::FileMapping", align 8
  %10 = alloca %"class.vl::database::buffer_internal::FileUseMasks", align 8
  %11 = alloca %"class.vl::database::buffer_internal::FileFreePages", align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca %"struct.vl::database::IdObject.7", align 8
  %15 = alloca %"class.vl::ObjectString", align 8
  %16 = alloca %"class.vl::ObjectString", align 8
  %17 = alloca %"struct.vl::database::IdObject.7", align 8
  %18 = alloca i64, align 8
  %19 = alloca %"struct.vl::database::IdObject.7", 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 i64, align 8
  %30 = alloca %"struct.vl::database::IdObject.7", align 8
  %31 = alloca %"class.vl::ObjectString", align 8
  %32 = alloca %"class.vl::ObjectString", align 8
  %33 = alloca %"struct.vl::database::IdObject.7", align 8
  %34 = alloca i64, align 8
  %35 = alloca %"struct.vl::database::IdObject.7", align 8
  %36 = alloca %"class.vl::ObjectString", align 8
  %37 = alloca %"class.vl::ObjectString", align 8
  %38 = alloca %"class.vl::ObjectString", align 8
  %39 = alloca %"class.vl::ObjectString", align 8
  %40 = alloca %"class.vl::ObjectString", align 8
  %41 = alloca %"class.vl::ObjectString", align 8
  %42 = alloca %"class.vl::ObjectString", align 8
  %43 = alloca %"class.vl::ObjectString", align 8
  %44 = alloca %"class.vl::ObjectString", align 8
  %45 = alloca %"class.vl::ObjectString", align 8
  %46 = alloca %"class.vl::ObjectString", align 8
  %47 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #6
  store i64 4096, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %4) #6
  call void @_Z13GetTempFolderv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %4)
  call void @llvm.lifetime.start.p0(i64 48, ptr %5) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef @.str.5, i1 noundef zeroext true)
          to label %48 unwind label %67

48:                                               ; preds = %0
  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) %5)
          to label %49 unwind label %71

49:                                               ; preds = %48
  %50 = invoke noundef i32 @_ZN2vl8database26CreateNewFileForFileSourceERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %51 unwind label %75

51:                                               ; preds = %49
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #6
  store i32 %50, ptr %2, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store volatile i64 0, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 152, ptr %9) #6
  %52 = load i64, ptr %1, align 8, !tbaa !5
  %53 = load i32, ptr %2, align 4, !tbaa !9
  call void @_ZN2vl8database15buffer_internal11FileMappingC1EmiPVm(ptr noundef nonnull align 8 dereferenceable(152) %9, i64 noundef %52, i32 noundef %53, ptr noundef %8)
  call void @llvm.lifetime.start.p0(i64 88, ptr %10) #6
  %54 = load i64, ptr %1, align 8, !tbaa !5
  %55 = load i32, ptr %2, align 4, !tbaa !9
  invoke void @_ZN2vl8database15buffer_internal12FileUseMasksC1Emi(ptr noundef nonnull align 8 dereferenceable(88) %10, i64 noundef %54, i32 noundef %55)
          to label %56 unwind label %81

56:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 96, ptr %11) #6
  %57 = load i64, ptr %1, align 8, !tbaa !5
  invoke void @_ZN2vl8database15buffer_internal13FileFreePagesC1Em(ptr noundef nonnull align 8 dereferenceable(96) %11, i64 noundef %57)
          to label %58 unwind label %85

58:                                               ; preds = %56
  invoke void @_ZN2vl8database15buffer_internal11FileMapping21InitializeEmptySourceEv(ptr noundef nonnull align 8 dereferenceable(152) %9)
          to label %59 unwind label %89

59:                                               ; preds = %58
  invoke void @_ZN2vl8database15buffer_internal12FileUseMasks21InitializeEmptySourceEPNS1_11FileMappingE(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef %9)
          to label %60 unwind label %89

60:                                               ; preds = %59
  invoke void @_ZN2vl8database15buffer_internal13FileFreePages21InitializeEmptySourceEPNS1_11FileMappingEPNS1_12FileUseMasksE(ptr noundef nonnull align 8 dereferenceable(96) %11, ptr noundef %9, ptr noundef %10)
          to label %61 unwind label %89

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 1024, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %62

62:                                               ; preds = %105, %61
  %63 = load i64, ptr %13, align 8, !tbaa !5
  %64 = load i64, ptr %12, align 8, !tbaa !5
  %65 = icmp slt i64 %63, %64
  br i1 %65, label %93, label %66

66:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %127

67:                                               ; preds = %0
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %6, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %7, align 4
  br label %80

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

75:                                               ; preds = %49
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %6, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %7, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  br label %79

79:                                               ; preds = %75, %71
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  br label %80

80:                                               ; preds = %79, %67
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #6
  br label %439

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

85:                                               ; preds = %56
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %6, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %7, align 4
  br label %437

89:                                               ; preds = %60, %59, %58
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %6, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %7, align 4
  br label %436

93:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %94 = load i64, ptr %13, align 8, !tbaa !5
  %95 = add nsw i64 1024, %94
  invoke void @_ZN2vl8database8IdObjectImLl1EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %14, i64 noundef %95)
          to label %96 unwind label %108

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #6
  %97 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %14, i32 0, i32 0
  %98 = load i64, ptr %97, align 8, !tbaa !11
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %16, i64 noundef %98)
          to label %99 unwind label %112

99:                                               ; preds = %96
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %15, ptr noundef @.str.71, ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %100 unwind label %116

100:                                              ; preds = %99
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %101 unwind label %120

101:                                              ; preds = %100
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %14, i64 8, i1 false), !tbaa.struct !13
  %102 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %17, i32 0, i32 0
  %103 = load i64, ptr %102, align 8
  invoke void @_ZN2vl8database15buffer_internal13FileFreePages12PushFreePageENS0_8IdObjectImLl1EEE(ptr noundef nonnull align 8 dereferenceable(96) %11, i64 %103)
          to label %104 unwind label %108

104:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %105

105:                                              ; preds = %104
  %106 = load i64, ptr %13, align 8, !tbaa !5
  %107 = add nsw i64 %106, 1
  store i64 %107, ptr %13, align 8, !tbaa !5
  br label %62, !llvm.loop !14

108:                                              ; preds = %101, %93
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %6, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %7, align 4
  br label %126

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

116:                                              ; preds = %99
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %6, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %7, align 4
  br label %124

120:                                              ; preds = %100
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %6, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %7, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  br label %124

124:                                              ; preds = %120, %116
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  br label %125

125:                                              ; preds = %124, %112
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #6
  br label %126

126:                                              ; preds = %125, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %435

127:                                              ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %128 = load i64, ptr %12, align 8, !tbaa !5
  %129 = sub nsw i64 %128, 1
  store i64 %129, ptr %18, align 8, !tbaa !5
  br label %130

130:                                              ; preds = %232, %127
  %131 = load i64, ptr %18, align 8, !tbaa !5
  %132 = icmp sge i64 %131, 0
  br i1 %132, label %134, label %133

133:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %236

134:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %135 = invoke i64 @_ZN2vl8database15buffer_internal13FileFreePages11PopFreePageEv(ptr noundef nonnull align 8 dereferenceable(96) %11)
          to label %136 unwind label %160

136:                                              ; preds = %134
  %137 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %19, i32 0, i32 0
  store i64 %135, ptr %137, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #6
  %138 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %19, i32 0, i32 0
  %139 = load i64, ptr %138, align 8, !tbaa !11
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %23, i64 noundef %139)
          to label %140 unwind label %164

140:                                              ; preds = %136
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %22, ptr noundef @.str.72, ptr noundef nonnull align 8 dereferenceable(48) %23)
          to label %141 unwind label %168

141:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef @.str.73, i1 noundef zeroext true)
          to label %142 unwind label %172

142:                                              ; preds = %141
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %21, ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %143 unwind label %176

143:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 48, ptr %25) #6
  %144 = load i64, ptr %18, align 8, !tbaa !5
  %145 = add nsw i64 1024, %144
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %25, i64 noundef %145)
          to label %146 unwind label %180

146:                                              ; preds = %143
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %20, ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %147 unwind label %184

147:                                              ; preds = %146
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %148 unwind label %188

148:                                              ; preds = %147
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #6
  br label %149

149:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 48, ptr %26) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef @.str.74, i1 noundef zeroext true)
          to label %150 unwind label %198

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

151:                                              ; preds = %150
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #6
  %152 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %19, i32 0, i32 0
  %153 = load i64, ptr %152, align 8, !tbaa !11
  %154 = load i64, ptr %18, align 8, !tbaa !5
  %155 = add nsw i64 1024, %154
  %156 = icmp eq i64 %153, %155
  br i1 %156, label %157, label %216

157:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %158 unwind label %207

158:                                              ; preds = %157
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %159 unwind label %211

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

160:                                              ; preds = %218, %134
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %6, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %7, align 4
  br label %235

164:                                              ; preds = %136
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %6, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %7, align 4
  br label %197

168:                                              ; preds = %140
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %6, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %7, align 4
  br label %196

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

176:                                              ; preds = %142
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %6, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %7, align 4
  br label %194

180:                                              ; preds = %143
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %6, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %7, align 4
  br label %193

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

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

192:                                              ; preds = %188, %184
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  br label %193

193:                                              ; preds = %192, %180
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #6
  br label %194

194:                                              ; preds = %193, %176
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  br label %195

195:                                              ; preds = %194, %172
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  br label %196

196:                                              ; preds = %195, %168
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  br label %197

197:                                              ; preds = %196, %164
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #6
  br label %235

198:                                              ; preds = %149
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %6, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %7, align 4
  br label %206

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

206:                                              ; preds = %202, %198
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #6
  br label %235

207:                                              ; preds = %157
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %6, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %7, align 4
  br label %215

211:                                              ; preds = %158
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %6, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %7, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  br label %215

215:                                              ; preds = %211, %207
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #6
  br label %235

216:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %217 unwind label %220

217:                                              ; preds = %216
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %218 unwind label %224

218:                                              ; preds = %217
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  %219 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %219, align 16, !tbaa !9
  invoke void @__cxa_throw(ptr %219, ptr @_ZTIi, ptr null) #7
          to label %445 unwind label %160

220:                                              ; preds = %216
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %6, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %7, align 4
  br label %228

224:                                              ; preds = %217
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %6, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %7, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  br label %228

228:                                              ; preds = %224, %220
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  br label %235

229:                                              ; preds = %159
  br label %230

230:                                              ; preds = %229
  br label %231

231:                                              ; preds = %230
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %232

232:                                              ; preds = %231
  %233 = load i64, ptr %18, align 8, !tbaa !5
  %234 = add nsw i64 %233, -1
  store i64 %234, ptr %18, align 8, !tbaa !5
  br label %130, !llvm.loop !16

235:                                              ; preds = %228, %215, %206, %197, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %435

236:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  store i64 0, ptr %29, align 8, !tbaa !5
  br label %237

237:                                              ; preds = %254, %236
  %238 = load i64, ptr %29, align 8, !tbaa !5
  %239 = load i64, ptr %12, align 8, !tbaa !5
  %240 = icmp slt i64 %238, %239
  br i1 %240, label %242, label %241

241:                                              ; preds = %237
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %276

242:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %243 = load i64, ptr %29, align 8, !tbaa !5
  %244 = add nsw i64 1024, %243
  invoke void @_ZN2vl8database8IdObjectImLl1EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %30, i64 noundef %244)
          to label %245 unwind label %257

245:                                              ; preds = %242
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %32) #6
  %246 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %30, i32 0, i32 0
  %247 = load i64, ptr %246, align 8, !tbaa !11
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %32, i64 noundef %247)
          to label %248 unwind label %261

248:                                              ; preds = %245
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %31, ptr noundef @.str.71, ptr noundef nonnull align 8 dereferenceable(48) %32)
          to label %249 unwind label %265

249:                                              ; preds = %248
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %250 unwind label %269

250:                                              ; preds = %249
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %30, i64 8, i1 false), !tbaa.struct !13
  %251 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %33, i32 0, i32 0
  %252 = load i64, ptr %251, align 8
  invoke void @_ZN2vl8database15buffer_internal13FileFreePages12PushFreePageENS0_8IdObjectImLl1EEE(ptr noundef nonnull align 8 dereferenceable(96) %11, i64 %252)
          to label %253 unwind label %257

253:                                              ; preds = %250
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %254

254:                                              ; preds = %253
  %255 = load i64, ptr %29, align 8, !tbaa !5
  %256 = add nsw i64 %255, 1
  store i64 %256, ptr %29, align 8, !tbaa !5
  br label %237, !llvm.loop !17

257:                                              ; preds = %250, %242
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %6, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %7, align 4
  br label %275

261:                                              ; preds = %245
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %6, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %7, align 4
  br label %274

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

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

273:                                              ; preds = %269, %265
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #6
  br label %274

274:                                              ; preds = %273, %261
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #6
  br label %275

275:                                              ; preds = %274, %257
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %435

276:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %277 = load i64, ptr %12, align 8, !tbaa !5
  %278 = sub nsw i64 %277, 1
  store i64 %278, ptr %34, align 8, !tbaa !5
  br label %279

279:                                              ; preds = %381, %276
  %280 = load i64, ptr %34, align 8, !tbaa !5
  %281 = icmp sge i64 %280, 0
  br i1 %281, label %283, label %282

282:                                              ; preds = %279
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %385

283:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %284 = invoke i64 @_ZN2vl8database15buffer_internal13FileFreePages11PopFreePageEv(ptr noundef nonnull align 8 dereferenceable(96) %11)
          to label %285 unwind label %309

285:                                              ; preds = %283
  %286 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %35, i32 0, i32 0
  store i64 %284, ptr %286, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %39) #6
  %287 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %35, i32 0, i32 0
  %288 = load i64, ptr %287, align 8, !tbaa !11
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %39, i64 noundef %288)
          to label %289 unwind label %313

289:                                              ; preds = %285
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %38, ptr noundef @.str.72, ptr noundef nonnull align 8 dereferenceable(48) %39)
          to label %290 unwind label %317

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

291:                                              ; preds = %290
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %37, ptr noundef nonnull align 8 dereferenceable(48) %38, ptr noundef nonnull align 8 dereferenceable(48) %40)
          to label %292 unwind label %325

292:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 48, ptr %41) #6
  %293 = load i64, ptr %34, align 8, !tbaa !5
  %294 = add nsw i64 1024, %293
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %41, i64 noundef %294)
          to label %295 unwind label %329

295:                                              ; preds = %292
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %36, ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef nonnull align 8 dereferenceable(48) %41)
          to label %296 unwind label %333

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

297:                                              ; preds = %296
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %41) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #6
  br label %298

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

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

300:                                              ; preds = %299
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %42) #6
  %301 = getelementptr inbounds %"struct.vl::database::IdObject.7", ptr %35, i32 0, i32 0
  %302 = load i64, ptr %301, align 8, !tbaa !11
  %303 = load i64, ptr %34, align 8, !tbaa !5
  %304 = add nsw i64 1024, %303
  %305 = icmp eq i64 %302, %304
  br i1 %305, label %306, label %365

306:                                              ; preds = %300
  call void @llvm.lifetime.start.p0(i64 48, ptr %43) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %307 unwind label %356

307:                                              ; preds = %306
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %43)
          to label %308 unwind label %360

308:                                              ; preds = %307
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %43) #6
  br label %378

309:                                              ; preds = %367, %283
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %6, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %7, align 4
  br label %384

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

317:                                              ; preds = %289
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %6, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %7, align 4
  br label %345

321:                                              ; preds = %290
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %6, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %7, align 4
  br label %344

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

329:                                              ; preds = %292
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %6, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %7, align 4
  br label %342

333:                                              ; preds = %295
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %6, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %7, align 4
  br label %341

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

341:                                              ; preds = %337, %333
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #6
  br label %342

342:                                              ; preds = %341, %329
  call void @llvm.lifetime.end.p0(i64 48, ptr %41) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #6
  br label %343

343:                                              ; preds = %342, %325
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #6
  br label %344

344:                                              ; preds = %343, %321
  call void @llvm.lifetime.end.p0(i64 48, ptr %40) #6
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #6
  br label %345

345:                                              ; preds = %344, %317
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #6
  br label %346

346:                                              ; preds = %345, %313
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #6
  br label %384

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

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

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

356:                                              ; preds = %306
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %6, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %7, align 4
  br label %364

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

364:                                              ; preds = %360, %356
  call void @llvm.lifetime.end.p0(i64 48, ptr %43) #6
  br label %384

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

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

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

369:                                              ; preds = %365
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %6, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %7, align 4
  br label %377

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

377:                                              ; preds = %373, %369
  call void @llvm.lifetime.end.p0(i64 48, ptr %44) #6
  br label %384

378:                                              ; preds = %308
  br label %379

379:                                              ; preds = %378
  br label %380

380:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %381

381:                                              ; preds = %380
  %382 = load i64, ptr %34, align 8, !tbaa !5
  %383 = add nsw i64 %382, -1
  store i64 %383, ptr %34, align 8, !tbaa !5
  br label %279, !llvm.loop !18

384:                                              ; preds = %377, %364, %355, %346, %309
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %435

385:                                              ; preds = %282
  invoke void @_ZN2vl8database15buffer_internal11FileMapping13UnmapAllPagesEv(ptr noundef nonnull align 8 dereferenceable(152) %9)
          to label %386 unwind label %397

386:                                              ; preds = %385
  %387 = load i32, ptr %2, align 4, !tbaa !9
  invoke void @_ZN2vl8database22CloseFileForFileSourceEi(i32 noundef %387)
          to label %388 unwind label %397

388:                                              ; preds = %386
  br label %389

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

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

391:                                              ; preds = %390
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #6
  %392 = load volatile i64, ptr %8, align 8, !tbaa !5
  %393 = icmp eq i64 %392, 0
  br i1 %393, label %394, label %419

394:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 48, ptr %46) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef @.str.1, i1 noundef zeroext true)
          to label %395 unwind label %410

395:                                              ; preds = %394
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %46)
          to label %396 unwind label %414

396:                                              ; preds = %395
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #6
  br label %432

397:                                              ; preds = %421, %386, %385
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %6, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %7, align 4
  br label %435

401:                                              ; preds = %389
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %6, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %7, align 4
  br label %409

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

409:                                              ; preds = %405, %401
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #6
  br label %435

410:                                              ; preds = %394
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %6, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %7, align 4
  br label %418

414:                                              ; preds = %395
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %6, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %7, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #6
  br label %418

418:                                              ; preds = %414, %410
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #6
  br label %435

419:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 48, ptr %47) #6
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %47, ptr noundef @.str.2, i1 noundef zeroext true)
          to label %420 unwind label %423

420:                                              ; preds = %419
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %47)
          to label %421 unwind label %427

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

423:                                              ; preds = %419
  %424 = landingpad { ptr, i32 }
          cleanup
  %425 = extractvalue { ptr, i32 } %424, 0
  store ptr %425, ptr %6, align 8
  %426 = extractvalue { ptr, i32 } %424, 1
  store i32 %426, ptr %7, align 4
  br label %431

427:                                              ; preds = %420
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %6, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %7, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #6
  br label %431

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

432:                                              ; preds = %396
  br label %433

433:                                              ; preds = %432
  br label %434

434:                                              ; preds = %433
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @_ZN2vl8database15buffer_internal13FileFreePagesD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %11) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %11) #6
  call void @_ZN2vl8database15buffer_internal12FileUseMasksD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #6
  call void @_ZN2vl8database15buffer_internal11FileMappingD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %9) #6
  call void @llvm.lifetime.end.p0(i64 152, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  ret void

435:                                              ; preds = %431, %418, %409, %397, %384, %275, %235, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %436

436:                                              ; preds = %435, %89
  call void @_ZN2vl8database15buffer_internal13FileFreePagesD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %11) #6
  br label %437

437:                                              ; preds = %436, %85
  call void @llvm.lifetime.end.p0(i64 96, ptr %11) #6
  call void @_ZN2vl8database15buffer_internal12FileUseMasksD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #6
  br label %438

438:                                              ; preds = %437, %81
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #6
  call void @_ZN2vl8database15buffer_internal11FileMappingD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %9) #6
  call void @llvm.lifetime.end.p0(i64 152, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %439

439:                                              ; preds = %438, %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  br label %440

440:                                              ; preds = %439
  %441 = load ptr, ptr %6, align 8
  %442 = load i32, ptr %7, align 4
  %443 = insertvalue { ptr, i32 } poison, ptr %441, 0
  %444 = insertvalue { ptr, i32 } %443, i32 %442, 1
  resume { ptr, i32 } %444

445:                                              ; preds = %421, %367, %218
  unreachable
}

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

declare void @_ZN2vl8database15buffer_internal13FileFreePages21InitializeEmptySourceEPNS1_11FileMappingEPNS1_12FileUseMasksE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef, ptr noundef) #1

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

declare void @_ZN2vl8database15buffer_internal13FileFreePages12PushFreePageENS0_8IdObjectImLl1EEE(ptr noundef nonnull align 8 dereferenceable(96), i64) #1

declare i64 @_ZN2vl8database15buffer_internal13FileFreePages11PopFreePageEv(ptr noundef nonnull align 8 dereferenceable(96)) #1

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

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


; 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::buffer_internal::FileMapping" = type { %"class.vl::Object", i64, i32, ptr, %"class.vl::collections::Dictionary.16", i64 }
%"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::Interface" = type { ptr }
%"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" }
%"class.vl::database::buffer_internal::FileUseMasks" = type { %"class.vl::Object", i32, i64, %"class.vl::collections::List.35", i64, ptr }
%"class.vl::collections::List.35" = type { %"class.vl::collections::ListBase.base.23", %"class.vl::collections::IEnumerable.21" }
%"class.vl::database::buffer_internal::FileFreePages" = type { %"class.vl::Object", i64, %"class.vl::collections::List.35", i64, i64, ptr, ptr }
%"struct.vl::database::IdObject.7" = type { i64 }

@.str.1 = external hidden unnamed_addr constant [11 x i32], align 4
@.str.2 = external hidden unnamed_addr constant [11 x i32], align 4
@_ZTIi = external constant ptr
@.str.5 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.69 = external hidden unnamed_addr constant [24 x i32], align 4
@.str.71 = external hidden unnamed_addr constant [20 x i32], align 4
@.str.72 = external hidden unnamed_addr constant [20 x i32], align 4
@.str.73 = external hidden unnamed_addr constant [13 x i32], align 4
@.str.74 = external hidden unnamed_addr constant [27 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 @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1

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

declare i32 @__gxx_personality_v0(...)

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

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

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

declare noundef i32 @_ZN2vl8database26CreateNewFileForFileSourceERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1

declare void @_ZN2vl8database15buffer_internal11FileMappingC1EmiPVm(ptr noundef nonnull align 8 dereferenceable(152), i64 noundef, i32 noundef, ptr noundef) unnamed_addr #1

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

declare void @_ZN2vl8database15buffer_internal11FileMapping21InitializeEmptySourceEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #1

declare void @_ZN2vl8database15buffer_internal12FileUseMasks21InitializeEmptySourceEPNS1_11FileMappingE(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) local_unnamed_addr #1

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

declare void @_ZN2vl8database15buffer_internal11FileMapping13UnmapAllPagesEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #1

declare void @_ZN2vl8database22CloseFileForFileSourceEi(i32 noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2vl8database15buffer_internal11FileMappingD2Ev(ptr noundef nonnull align 8 dereferenceable(152)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z41TestFunction_Utility_Buffer_FileFreePagesv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.vl::ObjectString", align 8
  %2 = alloca %"class.vl::ObjectString", align 8
  %3 = alloca %"class.vl::ObjectString", align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.vl::database::buffer_internal::FileMapping", align 8
  %6 = alloca %"class.vl::database::buffer_internal::FileUseMasks", align 8
  %7 = alloca %"class.vl::database::buffer_internal::FileFreePages", align 8
  %8 = alloca %"struct.vl::database::IdObject.7", 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::ObjectString", align 8
  %16 = alloca %"class.vl::ObjectString", align 8
  %17 = alloca %"class.vl::ObjectString", align 8
  %18 = alloca %"class.vl::ObjectString", align 8
  %19 = alloca %"class.vl::ObjectString", align 8
  %20 = alloca %"struct.vl::database::IdObject.7", align 8
  %21 = alloca %"class.vl::ObjectString", align 8
  %22 = alloca %"class.vl::ObjectString", align 8
  %23 = alloca %"class.vl::ObjectString", align 8
  %24 = alloca %"class.vl::ObjectString", align 8
  %25 = alloca %"class.vl::ObjectString", align 8
  %26 = alloca %"class.vl::ObjectString", align 8
  %27 = alloca %"class.vl::ObjectString", align 8
  %28 = alloca %"class.vl::ObjectString", align 8
  %29 = alloca %"class.vl::ObjectString", align 8
  %30 = alloca %"class.vl::ObjectString", align 8
  %31 = alloca %"class.vl::ObjectString", align 8
  %32 = alloca %"class.vl::ObjectString", align 8
  %33 = alloca %"class.vl::ObjectString", align 8
  %34 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #5
  call void @_Z13GetTempFolderv(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %2)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull @.str.5, i1 noundef zeroext true)
          to label %35 unwind label %43

35:                                               ; preds = %0
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %36 unwind label %45

36:                                               ; preds = %35
  %37 = invoke noundef i32 @_ZN2vl8database26CreateNewFileForFileSourceERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %38 unwind label %47

38:                                               ; preds = %36
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %1) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  store volatile i64 0, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %5) #5
  call void @_ZN2vl8database15buffer_internal11FileMappingC1EmiPVm(ptr noundef nonnull align 8 dereferenceable(152) %5, i64 noundef 4096, i32 noundef %37, ptr noundef nonnull %4)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %6) #5
  invoke void @_ZN2vl8database15buffer_internal12FileUseMasksC1Emi(ptr noundef nonnull align 8 dereferenceable(88) %6, i64 noundef 4096, i32 noundef %37)
          to label %39 unwind label %51

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %7) #5
  invoke void @_ZN2vl8database15buffer_internal13FileFreePagesC1Em(ptr noundef nonnull align 8 dereferenceable(96) %7, i64 noundef 4096)
          to label %40 unwind label %53

40:                                               ; preds = %39
  invoke void @_ZN2vl8database15buffer_internal11FileMapping21InitializeEmptySourceEv(ptr noundef nonnull align 8 dereferenceable(152) %5)
          to label %41 unwind label %55

41:                                               ; preds = %40
  invoke void @_ZN2vl8database15buffer_internal12FileUseMasks21InitializeEmptySourceEPNS1_11FileMappingE(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull %5)
          to label %42 unwind label %55

42:                                               ; preds = %41
  invoke void @_ZN2vl8database15buffer_internal13FileFreePages21InitializeEmptySourceEPNS1_11FileMappingEPNS1_12FileUseMasksE(ptr noundef nonnull align 8 dereferenceable(96) %7, ptr noundef nonnull %5, ptr noundef nonnull %6)
          to label %.preheader128 unwind label %55

43:                                               ; preds = %0
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %50

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

47:                                               ; preds = %36
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %1) #5
  br label %49

49:                                               ; preds = %47, %45
  %.pn = phi { ptr, i32 } [ %48, %47 ], [ %46, %45 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #5
  br label %50

50:                                               ; preds = %49, %43
  %.pn.pn = phi { ptr, i32 } [ %.pn, %49 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %1) #5
  br label %239

51:                                               ; preds = %38
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %238

53:                                               ; preds = %39
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %237

55:                                               ; preds = %42, %41, %40
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %236

.preheader128:                                    ; preds = %42, %62
  %.068129 = phi i64 [ %63, %62 ], [ 0, %42 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %57 = or disjoint i64 %.068129, 1024
  call void @_ZN2vl8database8IdObjectImLl1EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %57)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #5
  %58 = load i64, ptr %8, align 8, !tbaa !9
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %10, i64 noundef %58)
          to label %59 unwind label %66

59:                                               ; preds = %.preheader128
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %9, ptr noundef nonnull @.str.71, ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %60 unwind label %68

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

61:                                               ; preds = %60
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  %.sroa.015.0.copyload = load i64, ptr %8, align 8, !tbaa !5
  invoke void @_ZN2vl8database15buffer_internal13FileFreePages12PushFreePageENS0_8IdObjectImLl1EEE(ptr noundef nonnull align 8 dereferenceable(96) %7, i64 %.sroa.015.0.copyload)
          to label %62 unwind label %64

62:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %63 = add nuw nsw i64 %.068129, 1
  %exitcond.not = icmp eq i64 %63, 1024
  br i1 %exitcond.not, label %.preheader122, label %.preheader128, !llvm.loop !11

64:                                               ; preds = %61
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %74

66:                                               ; preds = %.preheader128
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %73

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

70:                                               ; preds = %60
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #5
  br label %72

72:                                               ; preds = %70, %68
  %.pn111 = phi { ptr, i32 } [ %71, %70 ], [ %69, %68 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  br label %73

73:                                               ; preds = %72, %66
  %.pn111.pn = phi { ptr, i32 } [ %.pn111, %72 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #5
  br label %74

74:                                               ; preds = %73, %64
  %.pn114 = phi { ptr, i32 } [ %65, %64 ], [ %.pn111.pn, %73 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %236

.preheader122:                                    ; preds = %62, %90
  %.069130 = phi i64 [ %91, %90 ], [ 1023, %62 ]
  %75 = invoke i64 @_ZN2vl8database15buffer_internal13FileFreePages11PopFreePageEv(ptr noundef nonnull align 8 dereferenceable(96) %7)
          to label %76 unwind label %.loopexit123

76:                                               ; preds = %.preheader122
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #5
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %14, i64 noundef %75)
          to label %77 unwind label %92

77:                                               ; preds = %76
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %13, ptr noundef nonnull @.str.72, ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %78 unwind label %94

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

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

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16) #5
  %81 = add nuw nsw i64 %.069130, 1024
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %16, i64 noundef %81)
          to label %82 unwind label %100

82:                                               ; preds = %80
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %11, ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(48) %16)
          to label %83 unwind label %102

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

84:                                               ; preds = %83
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %17, ptr noundef nonnull @.str.74, i1 noundef zeroext true)
          to label %85 unwind label %112

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

86:                                               ; preds = %85
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #5
  %87 = icmp eq i64 %75, %81
  br i1 %87, label %88, label %122

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

89:                                               ; preds = %88
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %90 unwind label %119

90:                                               ; preds = %89
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #5
  %91 = add nsw i64 %.069130, -1
  %.not = icmp eq i64 %.069130, 0
  br i1 %.not, label %.preheader121, label %.preheader122, !llvm.loop !13

.loopexit123:                                     ; preds = %.preheader122
  %lpad.loopexit125 = landingpad { ptr, i32 }
          cleanup
  br label %236

.loopexit.split-lp124:                            ; preds = %124
  %lpad.loopexit.split-lp126 = landingpad { ptr, i32 }
          cleanup
  br label %236

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

94:                                               ; preds = %77
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %110

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

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

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

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

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

106:                                              ; preds = %104, %102
  %.pn97 = phi { ptr, i32 } [ %105, %104 ], [ %103, %102 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  br label %107

107:                                              ; preds = %106, %100
  %.pn97.pn = phi { ptr, i32 } [ %.pn97, %106 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %16) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  br label %108

108:                                              ; preds = %107, %98
  %.pn97.pn.pn = phi { ptr, i32 } [ %.pn97.pn, %107 ], [ %99, %98 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #5
  br label %109

109:                                              ; preds = %108, %96
  %.pn97.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn, %108 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #5
  br label %110

110:                                              ; preds = %109, %94
  %.pn97.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn.pn, %109 ], [ %95, %94 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  br label %111

111:                                              ; preds = %110, %92
  %.pn97.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn.pn.pn, %110 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #5
  br label %236

112:                                              ; preds = %84
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %116

114:                                              ; preds = %85
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  br label %116

116:                                              ; preds = %114, %112
  %.pn104 = phi { ptr, i32 } [ %115, %114 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #5
  br label %236

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

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

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

122:                                              ; preds = %86
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %123 unwind label %126

123:                                              ; preds = %122
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %124 unwind label %128

124:                                              ; preds = %123
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #5
  %125 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %125, align 16, !tbaa !14
  invoke void @__cxa_throw(ptr nonnull %125, ptr nonnull @_ZTIi, ptr null) #6
          to label %240 unwind label %.loopexit.split-lp124

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

128:                                              ; preds = %123
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #5
  br label %130

130:                                              ; preds = %128, %126
  %.pn106 = phi { ptr, i32 } [ %129, %128 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #5
  br label %236

.preheader121:                                    ; preds = %90, %136
  %.067131 = phi i64 [ %137, %136 ], [ 0, %90 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  %131 = or disjoint i64 %.067131, 1024
  call void @_ZN2vl8database8IdObjectImLl1EEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef %131)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #5
  %132 = load i64, ptr %20, align 8, !tbaa !9
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %22, i64 noundef %132)
          to label %133 unwind label %140

133:                                              ; preds = %.preheader121
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %21, ptr noundef nonnull @.str.71, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %134 unwind label %142

134:                                              ; preds = %133
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %135 unwind label %144

135:                                              ; preds = %134
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #5
  %.sroa.05.0.copyload = load i64, ptr %20, align 8, !tbaa !5
  invoke void @_ZN2vl8database15buffer_internal13FileFreePages12PushFreePageENS0_8IdObjectImLl1EEE(ptr noundef nonnull align 8 dereferenceable(96) %7, i64 %.sroa.05.0.copyload)
          to label %136 unwind label %138

136:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  %137 = add nuw nsw i64 %.067131, 1
  %exitcond133.not = icmp eq i64 %137, 1024
  br i1 %exitcond133.not, label %.preheader, label %.preheader121, !llvm.loop !16

138:                                              ; preds = %135
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %148

140:                                              ; preds = %.preheader121
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %147

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

144:                                              ; preds = %134
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #5
  br label %146

146:                                              ; preds = %144, %142
  %.pn92 = phi { ptr, i32 } [ %145, %144 ], [ %143, %142 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #5
  br label %147

147:                                              ; preds = %146, %140
  %.pn92.pn = phi { ptr, i32 } [ %.pn92, %146 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #5
  br label %148

148:                                              ; preds = %147, %138
  %.pn95 = phi { ptr, i32 } [ %139, %138 ], [ %.pn92.pn, %147 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  br label %236

149:                                              ; preds = %165
  invoke void @_ZN2vl8database15buffer_internal11FileMapping13UnmapAllPagesEv(ptr noundef nonnull align 8 dereferenceable(152) %5)
          to label %206 unwind label %215

.preheader:                                       ; preds = %136, %165
  %.030132 = phi i64 [ %166, %165 ], [ 1023, %136 ]
  %150 = invoke i64 @_ZN2vl8database15buffer_internal13FileFreePages11PopFreePageEv(ptr noundef nonnull align 8 dereferenceable(96) %7)
          to label %151 unwind label %.loopexit

151:                                              ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %24) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %26) #5
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %26, i64 noundef %150)
          to label %152 unwind label %167

152:                                              ; preds = %151
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %25, ptr noundef nonnull @.str.72, ptr noundef nonnull align 8 dereferenceable(48) %26)
          to label %153 unwind label %169

153:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %27) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull @.str.73, i1 noundef zeroext true)
          to label %154 unwind label %171

154:                                              ; preds = %153
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %24, ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %155 unwind label %173

155:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %28) #5
  %156 = add nuw nsw i64 %.030132, 1024
  invoke void @_ZN2vl4itowEl(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %28, i64 noundef %156)
          to label %157 unwind label %175

157:                                              ; preds = %155
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %23, ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %158 unwind label %177

158:                                              ; preds = %157
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %23)
          to label %159 unwind label %179

159:                                              ; preds = %158
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %29) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %29, ptr noundef nonnull @.str.74, i1 noundef zeroext true)
          to label %160 unwind label %187

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

161:                                              ; preds = %160
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #5
  %162 = icmp eq i64 %150, %156
  br i1 %162, label %163, label %197

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

164:                                              ; preds = %163
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %165 unwind label %194

165:                                              ; preds = %164
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #5
  %166 = add nsw i64 %.030132, -1
  %.not134 = icmp eq i64 %.030132, 0
  br i1 %.not134, label %149, label %.preheader, !llvm.loop !17

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

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

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

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

171:                                              ; preds = %153
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %184

173:                                              ; preds = %154
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %183

175:                                              ; preds = %155
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %182

177:                                              ; preds = %157
  %178 = landingpad { ptr, i32 }
          cleanup
  br label %181

179:                                              ; preds = %158
  %180 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #5
  br label %181

181:                                              ; preds = %179, %177
  %.pn78 = phi { ptr, i32 } [ %180, %179 ], [ %178, %177 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #5
  br label %182

182:                                              ; preds = %181, %175
  %.pn78.pn = phi { ptr, i32 } [ %.pn78, %181 ], [ %176, %175 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #5
  br label %183

183:                                              ; preds = %182, %173
  %.pn78.pn.pn = phi { ptr, i32 } [ %.pn78.pn, %182 ], [ %174, %173 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #5
  br label %184

184:                                              ; preds = %183, %171
  %.pn78.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn, %183 ], [ %172, %171 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #5
  br label %185

185:                                              ; preds = %184, %169
  %.pn78.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn, %184 ], [ %170, %169 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #5
  br label %186

186:                                              ; preds = %185, %167
  %.pn78.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn78.pn.pn.pn.pn, %185 ], [ %168, %167 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #5
  br label %236

187:                                              ; preds = %159
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %191

189:                                              ; preds = %160
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #5
  br label %191

191:                                              ; preds = %189, %187
  %.pn85 = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %29) #5
  br label %236

192:                                              ; preds = %163
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %196

194:                                              ; preds = %164
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #5
  br label %196

196:                                              ; preds = %194, %192
  %.pn89 = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #5
  br label %236

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

198:                                              ; preds = %197
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %199 unwind label %203

199:                                              ; preds = %198
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #5
  %200 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %200, align 16, !tbaa !14
  invoke void @__cxa_throw(ptr nonnull %200, ptr nonnull @_ZTIi, ptr null) #6
          to label %240 unwind label %.loopexit.split-lp

201:                                              ; preds = %197
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %205

203:                                              ; preds = %198
  %204 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #5
  br label %205

205:                                              ; preds = %203, %201
  %.pn87 = phi { ptr, i32 } [ %204, %203 ], [ %202, %201 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #5
  br label %236

206:                                              ; preds = %149
  invoke void @_ZN2vl8database22CloseFileForFileSourceEi(i32 noundef %37)
          to label %207 unwind label %215

207:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %32) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %32, ptr noundef nonnull @.str.69, i1 noundef zeroext true)
          to label %208 unwind label %217

208:                                              ; preds = %207
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %32)
          to label %209 unwind label %219

209:                                              ; preds = %208
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #5
  %210 = load volatile i64, ptr %4, align 8, !tbaa !5
  %211 = icmp eq i64 %210, 0
  br i1 %211, label %212, label %227

212:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %33) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
          to label %213 unwind label %222

213:                                              ; preds = %212
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %33)
          to label %214 unwind label %224

214:                                              ; preds = %213
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %33) #5
  call void @_ZN2vl8database15buffer_internal13FileFreePagesD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %7) #5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #5
  call void @_ZN2vl8database15buffer_internal12FileUseMasksD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #5
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #5
  call void @_ZN2vl8database15buffer_internal11FileMappingD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %5) #5
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  ret void

215:                                              ; preds = %229, %206, %149
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %236

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

219:                                              ; preds = %208
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #5
  br label %221

221:                                              ; preds = %219, %217
  %.pn72 = phi { ptr, i32 } [ %220, %219 ], [ %218, %217 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #5
  br label %236

222:                                              ; preds = %212
  %223 = landingpad { ptr, i32 }
          cleanup
  br label %226

224:                                              ; preds = %213
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #5
  br label %226

226:                                              ; preds = %224, %222
  %.pn76 = phi { ptr, i32 } [ %225, %224 ], [ %223, %222 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %33) #5
  br label %236

227:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %34) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
          to label %228 unwind label %231

228:                                              ; preds = %227
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %34)
          to label %229 unwind label %233

229:                                              ; preds = %228
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %34) #5
  %230 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %230, align 16, !tbaa !14
  invoke void @__cxa_throw(ptr nonnull %230, ptr nonnull @_ZTIi, ptr null) #6
          to label %240 unwind label %215

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

233:                                              ; preds = %228
  %234 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #5
  br label %235

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

236:                                              ; preds = %.loopexit, %.loopexit.split-lp, %.loopexit123, %.loopexit.split-lp124, %74, %148, %215, %221, %226, %235, %130, %121, %116, %111, %205, %196, %191, %186, %55
  %.pn114.pn.pn = phi { ptr, i32 } [ %56, %55 ], [ %.pn114, %74 ], [ %.pn95, %148 ], [ %.pn76, %226 ], [ %216, %215 ], [ %.pn74, %235 ], [ %.pn72, %221 ], [ %.pn108, %121 ], [ %.pn106, %130 ], [ %.pn104, %116 ], [ %.pn97.pn.pn.pn.pn.pn, %111 ], [ %.pn89, %196 ], [ %.pn87, %205 ], [ %.pn85, %191 ], [ %.pn78.pn.pn.pn.pn.pn, %186 ], [ %lpad.loopexit125, %.loopexit123 ], [ %lpad.loopexit.split-lp126, %.loopexit.split-lp124 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN2vl8database15buffer_internal13FileFreePagesD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %7) #5
  br label %237

237:                                              ; preds = %236, %53
  %.pn114.pn.pn.pn = phi { ptr, i32 } [ %.pn114.pn.pn, %236 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #5
  call void @_ZN2vl8database15buffer_internal12FileUseMasksD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #5
  br label %238

238:                                              ; preds = %237, %51
  %.pn114.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn114.pn.pn.pn, %237 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #5
  call void @_ZN2vl8database15buffer_internal11FileMappingD2Ev(ptr noundef nonnull align 8 dereferenceable(152) %5) #5
  call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %239

239:                                              ; preds = %238, %50
  %.pn114.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn114.pn.pn.pn.pn, %238 ], [ %.pn.pn, %50 ]
  resume { ptr, i32 } %.pn114.pn.pn.pn.pn.pn

240:                                              ; preds = %229, %199, %124
  unreachable
}

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

declare void @_ZN2vl8database15buffer_internal13FileFreePages21InitializeEmptySourceEPNS1_11FileMappingEPNS1_12FileUseMasksE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare void @_ZN2vl8database15buffer_internal13FileFreePages12PushFreePageENS0_8IdObjectImLl1EEE(ptr noundef nonnull align 8 dereferenceable(96), i64) local_unnamed_addr #1

declare i64 @_ZN2vl8database15buffer_internal13FileFreePages11PopFreePageEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2vl8database15buffer_internal13FileFreePagesD2Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #4 align 2

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


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