; LLVM IR from vczh/herodb :: Kernel/UnitTest (TestUtility_Lock)

; 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"

%"struct.vl::database::IdObject.69" = type { i64 }
%"struct.vl::database::LockResult" = type { i8, ptr }
%"struct.vl::database::LockTarget" = type { i32, i32, %"struct.vl::database::IdObject.68", %union.anon }
%"struct.vl::database::IdObject.68" = type { i32 }
%union.anon = type { %"struct.vl::database::IdObject.70" }
%"struct.vl::database::IdObject.70" = type { i64 }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }

@.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.11 = external hidden unnamed_addr constant [42 x i32], align 4
@.str.12 = external hidden unnamed_addr constant [25 x i32], align 4
@.str.13 = external hidden unnamed_addr constant [42 x i32], align 4
@.str.14 = external hidden unnamed_addr constant [44 x i32], align 4
@_ZL17lockCompatibility = external hidden constant [6 x [6 x i8]], align 16
@.str.15 = external hidden unnamed_addr constant [37 x i32], align 4
@.str.16 = external hidden unnamed_addr constant [37 x i32], align 4
@.str.17 = external hidden unnamed_addr constant [25 x i32], align 4
@.str.18 = external hidden unnamed_addr constant [54 x i32], align 4
@.str.19 = external hidden unnamed_addr constant [37 x i32], align 4
@.str.20 = external hidden unnamed_addr constant [53 x i32], align 4
@.str.21 = external hidden unnamed_addr constant [52 x i32], align 4
@.str.22 = external hidden unnamed_addr constant [43 x i32], align 4
@.str.23 = external hidden unnamed_addr constant [36 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 i32 @__gxx_personality_v0(...)

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20general_lock_testing8TestLockERN2vl8database11LockManagerENS1_8IdObjectImLl3EEES5_NS0_4FuncIFNS1_10LockTargetElEEES9_(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, i64 %2, ptr noundef %3, ptr noundef %4) #2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"struct.vl::database::IdObject.69", align 8
  %7 = alloca %"struct.vl::database::IdObject.69", align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"struct.vl::database::LockResult", align 8
  %12 = alloca %"struct.vl::database::LockResult", align 8
  %13 = alloca %"struct.vl::database::LockResult", align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"struct.vl::database::LockTarget", align 8
  %17 = alloca %"class.vl::ObjectString", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"struct.vl::database::IdObject.69", 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 i64, align 8
  %27 = alloca %"struct.vl::database::LockTarget", align 8
  %28 = alloca %"class.vl::ObjectString", align 8
  %29 = alloca %"struct.vl::database::IdObject.69", align 8
  %30 = alloca %"class.vl::ObjectString", align 8
  %31 = alloca %"class.vl::ObjectString", align 8
  %32 = alloca %"class.vl::ObjectString", align 8
  %33 = alloca %"class.vl::ObjectString", align 8
  %34 = alloca %"class.vl::ObjectString", align 8
  %35 = alloca %"class.vl::ObjectString", align 8
  %36 = alloca %"struct.vl::database::IdObject.69", 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 %"struct.vl::database::IdObject.69", align 8
  %41 = alloca %"class.vl::ObjectString", align 8
  %42 = alloca %"class.vl::ObjectString", align 8
  %43 = alloca i64, align 8
  %44 = alloca %"struct.vl::database::LockTarget", align 8
  %45 = alloca %"class.vl::ObjectString", align 8
  %46 = alloca %"struct.vl::database::IdObject.69", align 8
  %47 = alloca %"class.vl::ObjectString", align 8
  %48 = alloca %"class.vl::ObjectString", align 8
  %49 = alloca %"class.vl::ObjectString", align 8
  %50 = alloca %"class.vl::ObjectString", align 8
  %51 = alloca %"class.vl::ObjectString", align 8
  %52 = alloca i64, align 8
  %53 = alloca %"struct.vl::database::LockTarget", align 8
  %54 = alloca %"class.vl::ObjectString", align 8
  %55 = alloca %"struct.vl::database::IdObject.69", align 8
  %56 = alloca %"class.vl::ObjectString", align 8
  %57 = alloca %"class.vl::ObjectString", align 8
  %58 = alloca %"class.vl::ObjectString", align 8
  %59 = alloca %"class.vl::ObjectString", align 8
  %60 = alloca %"class.vl::ObjectString", align 8
  %61 = alloca %"class.vl::ObjectString", align 8
  %62 = alloca %"struct.vl::database::IdObject.69", align 8
  %63 = alloca %"class.vl::ObjectString", align 8
  %64 = alloca %"class.vl::ObjectString", align 8
  %65 = alloca %"class.vl::ObjectString", align 8
  %66 = alloca %"struct.vl::database::IdObject.69", align 8
  %67 = alloca %"class.vl::ObjectString", align 8
  %68 = alloca %"class.vl::ObjectString", align 8
  %69 = alloca i64, align 8
  %70 = alloca i64, align 8
  %71 = alloca %"struct.vl::database::LockTarget", align 8
  %72 = alloca %"class.vl::ObjectString", align 8
  %73 = alloca %"struct.vl::database::IdObject.69", align 8
  %74 = alloca %"class.vl::ObjectString", align 8
  %75 = alloca %"class.vl::ObjectString", align 8
  %76 = alloca %"class.vl::ObjectString", align 8
  %77 = alloca %"class.vl::ObjectString", align 8
  %78 = alloca %"class.vl::ObjectString", align 8
  %79 = alloca %"struct.vl::database::LockTarget", align 8
  %80 = alloca %"class.vl::ObjectString", align 8
  %81 = alloca %"struct.vl::database::IdObject.69", align 8
  %82 = alloca %"class.vl::ObjectString", align 8
  %83 = alloca %"class.vl::ObjectString", align 8
  %84 = alloca %"class.vl::ObjectString", align 8
  %85 = alloca %"class.vl::ObjectString", align 8
  %86 = alloca %"class.vl::ObjectString", align 8
  %87 = alloca %"class.vl::ObjectString", align 8
  %88 = alloca %"struct.vl::database::IdObject.69", align 8
  %89 = alloca %"class.vl::ObjectString", align 8
  %90 = alloca %"class.vl::ObjectString", align 8
  %91 = alloca i64, align 8
  %92 = alloca %"struct.vl::database::LockTarget", align 8
  %93 = alloca %"class.vl::ObjectString", align 8
  %94 = alloca %"struct.vl::database::IdObject.69", align 8
  %95 = alloca %"class.vl::ObjectString", align 8
  %96 = alloca %"class.vl::ObjectString", align 8
  %97 = alloca %"class.vl::ObjectString", align 8
  %98 = alloca %"class.vl::ObjectString", align 8
  %99 = alloca %"class.vl::ObjectString", align 8
  %100 = alloca i64, align 8
  %101 = alloca i64, align 8
  %102 = alloca %"struct.vl::database::LockTarget", align 8
  %103 = alloca %"class.vl::ObjectString", align 8
  %104 = alloca %"struct.vl::database::IdObject.69", align 8
  %105 = alloca %"class.vl::ObjectString", align 8
  %106 = alloca %"class.vl::ObjectString", align 8
  %107 = alloca %"class.vl::ObjectString", align 8
  %108 = alloca %"class.vl::ObjectString", align 8
  %109 = alloca %"class.vl::ObjectString", align 8
  %110 = alloca %"struct.vl::database::LockTarget", align 8
  %111 = alloca %"class.vl::ObjectString", align 8
  %112 = alloca %"struct.vl::database::IdObject.69", align 8
  %113 = alloca %"class.vl::ObjectString", align 8
  %114 = alloca %"class.vl::ObjectString", align 8
  %115 = alloca %"class.vl::ObjectString", align 8
  %116 = alloca %"struct.vl::database::IdObject.69", align 8
  %117 = alloca %"class.vl::ObjectString", align 8
  %118 = alloca %"class.vl::ObjectString", align 8
  %119 = alloca %"class.vl::ObjectString", align 8
  %120 = alloca %"struct.vl::database::IdObject.69", align 8
  %121 = alloca %"class.vl::ObjectString", align 8
  %122 = alloca %"class.vl::ObjectString", align 8
  %123 = alloca %"class.vl::ObjectString", align 8
  %124 = alloca %"class.vl::ObjectString", align 8
  %125 = alloca %"class.vl::ObjectString", align 8
  %126 = alloca %"class.vl::ObjectString", align 8
  %127 = alloca %"struct.vl::database::IdObject.69", align 8
  %128 = alloca %"class.vl::ObjectString", align 8
  %129 = alloca %"class.vl::ObjectString", align 8
  %130 = alloca %"class.vl::ObjectString", align 8
  %131 = alloca %"struct.vl::database::IdObject.69", align 8
  %132 = alloca %"class.vl::ObjectString", align 8
  %133 = alloca %"class.vl::ObjectString", align 8
  %134 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %6, i32 0, i32 0
  store i64 %1, ptr %134, align 8
  %135 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %7, i32 0, i32 0
  store i64 %2, ptr %135, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  call void @_ZN2vl8database10LockResultC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  call void @_ZN2vl8database10LockResultC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  call void @_ZN2vl8database10LockResultC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 0, ptr %14, align 8, !tbaa !9
  br label %136

136:                                              ; preds = %327, %5
  %137 = load i64, ptr %14, align 8, !tbaa !9
  %138 = icmp slt i64 %137, 6
  br i1 %138, label %140, label %139

139:                                              ; preds = %136
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %331

140:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  %141 = load i64, ptr %14, align 8, !tbaa !9
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind writable sret(%"struct.vl::database::LockTarget") align 8 %16, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %141)
  br label %142

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

143:                                              ; preds = %142
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #6
  %144 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %6, i64 8, i1 false), !tbaa.struct !11
  %145 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %20, i32 0, i32 0
  %146 = load i64, ptr %145, align 8
  %147 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %144, i64 %146, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(16) %12)
  %148 = zext i1 %147 to i32
  %149 = icmp eq i32 %148, 1
  br i1 %149, label %150, label %160

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

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

152:                                              ; preds = %142
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %18, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #6
  br label %330

156:                                              ; preds = %150
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %18, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #6
  br label %330

160:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %161 unwind label %163

161:                                              ; preds = %160
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  %162 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %162, align 16, !tbaa !12
  call void @__cxa_throw(ptr %162, ptr @_ZTIi, ptr null) #7
  unreachable

163:                                              ; preds = %160
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %18, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  br label %330

167:                                              ; preds = %151
  br label %168

168:                                              ; preds = %167
  br label %169

169:                                              ; preds = %168
  br label %170

170:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %23, ptr noundef @.str.12, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %23)
          to label %171 unwind label %179

171:                                              ; preds = %170
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #6
  %172 = getelementptr inbounds %"struct.vl::database::LockResult", ptr %12, i32 0, i32 0
  %173 = load i8, ptr %172, align 8, !tbaa !14, !range !17, !noundef !18
  %174 = trunc i8 %173 to i1
  %175 = zext i1 %174 to i32
  %176 = icmp eq i32 %175, 0
  br i1 %176, label %177, label %187

177:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %178 unwind label %183

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

179:                                              ; preds = %170
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %18, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #6
  br label %330

183:                                              ; preds = %177
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %18, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #6
  br label %330

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

188:                                              ; preds = %187
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  %189 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %189, align 16, !tbaa !12
  call void @__cxa_throw(ptr %189, ptr @_ZTIi, ptr null) #7
  unreachable

190:                                              ; preds = %187
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %18, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  br label %330

194:                                              ; preds = %178
  br label %195

195:                                              ; preds = %194
  br label %196

196:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %197

197:                                              ; preds = %294, %196
  %198 = load i64, ptr %26, align 8, !tbaa !9
  %199 = icmp slt i64 %198, 6
  br i1 %199, label %201, label %200

200:                                              ; preds = %197
  store i32 9, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %298

201:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #6
  %202 = load i64, ptr %26, align 8, !tbaa !9
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind writable sret(%"struct.vl::database::LockTarget") align 8 %27, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %202)
  br label %203

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

204:                                              ; preds = %203
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  %205 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !11
  %206 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %29, i32 0, i32 0
  %207 = load i64, ptr %206, align 8
  %208 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %205, i64 %207, ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %209 = zext i1 %208 to i32
  %210 = icmp eq i32 %209, 1
  br i1 %210, label %211, label %221

211:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 48, ptr %30) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %212 unwind label %217

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

213:                                              ; preds = %203
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %18, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  br label %297

217:                                              ; preds = %211
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %18, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #6
  br label %297

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

222:                                              ; preds = %221
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #6
  %223 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %223, align 16, !tbaa !12
  call void @__cxa_throw(ptr %223, ptr @_ZTIi, ptr null) #7
  unreachable

224:                                              ; preds = %221
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %18, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #6
  br label %297

228:                                              ; preds = %212
  br label %229

229:                                              ; preds = %228
  br label %230

230:                                              ; preds = %229
  br label %231

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

232:                                              ; preds = %231
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #6
  %233 = getelementptr inbounds %"struct.vl::database::LockResult", ptr %13, i32 0, i32 0
  %234 = load i8, ptr %233, align 8, !tbaa !14, !range !17, !noundef !18
  %235 = trunc i8 %234 to i1
  %236 = zext i1 %235 to i32
  %237 = load i64, ptr %26, align 8, !tbaa !9
  %238 = getelementptr inbounds [6 x [6 x i8]], ptr @_ZL17lockCompatibility, i64 0, i64 %237
  %239 = load i64, ptr %14, align 8, !tbaa !9
  %240 = getelementptr inbounds [6 x i8], ptr %238, i64 0, i64 %239
  %241 = load i8, ptr %240, align 1, !tbaa !19, !range !17, !noundef !18
  %242 = trunc i8 %241 to i1
  %243 = xor i1 %242, true
  %244 = zext i1 %243 to i32
  %245 = icmp eq i32 %236, %244
  br i1 %245, label %246, label %256

246:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 48, ptr %33) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %33)
          to label %247 unwind label %252

247:                                              ; preds = %246
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #6
  br label %263

248:                                              ; preds = %231
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %18, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #6
  br label %297

252:                                              ; preds = %246
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %18, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #6
  br label %297

256:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 48, ptr %34) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %34)
          to label %257 unwind label %259

257:                                              ; preds = %256
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #6
  %258 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %258, align 16, !tbaa !12
  call void @__cxa_throw(ptr %258, ptr @_ZTIi, ptr null) #7
  unreachable

259:                                              ; preds = %256
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %18, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #6
  br label %297

263:                                              ; preds = %247
  br label %264

264:                                              ; preds = %263
  br label %265

265:                                              ; preds = %264
  br label %266

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

267:                                              ; preds = %266
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %35) #6
  %268 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !11
  %269 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %36, i32 0, i32 0
  %270 = load i64, ptr %269, align 8
  %271 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %268, i64 %270, ptr noundef nonnull align 8 dereferenceable(24) %27)
  %272 = zext i1 %271 to i32
  %273 = icmp eq i32 %272, 1
  br i1 %273, label %274, label %284

274:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 48, ptr %37) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %37)
          to label %275 unwind label %280

275:                                              ; preds = %274
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #6
  br label %291

276:                                              ; preds = %266
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %18, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %35) #6
  br label %297

280:                                              ; preds = %274
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %18, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #6
  br label %297

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

285:                                              ; preds = %284
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %38) #6
  %286 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %286, align 16, !tbaa !12
  call void @__cxa_throw(ptr %286, ptr @_ZTIi, ptr null) #7
  unreachable

287:                                              ; preds = %284
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %18, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %38) #6
  br label %297

291:                                              ; preds = %275
  br label %292

292:                                              ; preds = %291
  br label %293

293:                                              ; preds = %292
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  br label %294

294:                                              ; preds = %293
  %295 = load i64, ptr %26, align 8, !tbaa !9
  %296 = add nsw i64 %295, 1
  store i64 %296, ptr %26, align 8, !tbaa !9
  br label %197, !llvm.loop !20

297:                                              ; preds = %287, %280, %276, %259, %252, %248, %224, %217, %213
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %330

298:                                              ; preds = %200
  br label %299

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

300:                                              ; preds = %299
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #6
  %301 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %6, i64 8, i1 false), !tbaa.struct !11
  %302 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %40, i32 0, i32 0
  %303 = load i64, ptr %302, align 8
  %304 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %301, i64 %303, ptr noundef nonnull align 8 dereferenceable(24) %16)
  %305 = zext i1 %304 to i32
  %306 = icmp eq i32 %305, 1
  br i1 %306, label %307, label %317

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

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

309:                                              ; preds = %299
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %18, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #6
  br label %330

313:                                              ; preds = %307
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %18, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %41) #6
  br label %330

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

318:                                              ; preds = %317
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %42) #6
  %319 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %319, align 16, !tbaa !12
  call void @__cxa_throw(ptr %319, ptr @_ZTIi, ptr null) #7
  unreachable

320:                                              ; preds = %317
  %321 = landingpad { ptr, i32 }
          cleanup
  %322 = extractvalue { ptr, i32 } %321, 0
  store ptr %322, ptr %18, align 8
  %323 = extractvalue { ptr, i32 } %321, 1
  store i32 %323, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %42) #6
  br label %330

324:                                              ; preds = %308
  br label %325

325:                                              ; preds = %324
  br label %326

326:                                              ; preds = %325
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  br label %327

327:                                              ; preds = %326
  %328 = load i64, ptr %14, align 8, !tbaa !9
  %329 = add nsw i64 %328, 1
  store i64 %329, ptr %14, align 8, !tbaa !9
  br label %136, !llvm.loop !22

330:                                              ; preds = %320, %313, %309, %297, %190, %183, %179, %163, %156, %152
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %1018

331:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  store i64 0, ptr %43, align 8, !tbaa !9
  br label %332

332:                                              ; preds = %515, %331
  %333 = load i64, ptr %43, align 8, !tbaa !9
  %334 = icmp slt i64 %333, 6
  br i1 %334, label %336, label %335

335:                                              ; preds = %332
  store i32 20, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  br label %519

336:                                              ; preds = %332
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #6
  %337 = load i64, ptr %43, align 8, !tbaa !9
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind writable sret(%"struct.vl::database::LockTarget") align 8 %44, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %337)
  br label %338

338:                                              ; preds = %336
  call void @llvm.lifetime.start.p0(i64 48, ptr %45) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef @.str.11, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %45)
          to label %339 unwind label %348

339:                                              ; preds = %338
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #6
  %340 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %46, ptr align 8 %6, i64 8, i1 false), !tbaa.struct !11
  %341 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %46, i32 0, i32 0
  %342 = load i64, ptr %341, align 8
  %343 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %340, i64 %342, ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(16) %12)
  %344 = zext i1 %343 to i32
  %345 = icmp eq i32 %344, 1
  br i1 %345, label %346, label %356

346:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 48, ptr %47) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %47, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %47)
          to label %347 unwind label %352

347:                                              ; preds = %346
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %47) #6
  br label %363

348:                                              ; preds = %338
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %18, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %45) #6
  br label %518

352:                                              ; preds = %346
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %18, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %47) #6
  br label %518

356:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 48, ptr %48) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %48, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %48)
          to label %357 unwind label %359

357:                                              ; preds = %356
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %48) #6
  %358 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %358, align 16, !tbaa !12
  call void @__cxa_throw(ptr %358, ptr @_ZTIi, ptr null) #7
  unreachable

359:                                              ; preds = %356
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %18, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %48) #6
  br label %518

363:                                              ; preds = %347
  br label %364

364:                                              ; preds = %363
  br label %365

365:                                              ; preds = %364
  br label %366

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

367:                                              ; preds = %366
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %49) #6
  %368 = getelementptr inbounds %"struct.vl::database::LockResult", ptr %12, i32 0, i32 0
  %369 = load i8, ptr %368, align 8, !tbaa !14, !range !17, !noundef !18
  %370 = trunc i8 %369 to i1
  %371 = zext i1 %370 to i32
  %372 = icmp eq i32 %371, 0
  br i1 %372, label %373, label %383

373:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 48, ptr %50) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %50, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %50)
          to label %374 unwind label %379

374:                                              ; preds = %373
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %50) #6
  br label %390

375:                                              ; preds = %366
  %376 = landingpad { ptr, i32 }
          cleanup
  %377 = extractvalue { ptr, i32 } %376, 0
  store ptr %377, ptr %18, align 8
  %378 = extractvalue { ptr, i32 } %376, 1
  store i32 %378, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %49) #6
  br label %518

379:                                              ; preds = %373
  %380 = landingpad { ptr, i32 }
          cleanup
  %381 = extractvalue { ptr, i32 } %380, 0
  store ptr %381, ptr %18, align 8
  %382 = extractvalue { ptr, i32 } %380, 1
  store i32 %382, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %50) #6
  br label %518

383:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 48, ptr %51) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %51, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %51)
          to label %384 unwind label %386

384:                                              ; preds = %383
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %51) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %51) #6
  %385 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %385, align 16, !tbaa !12
  call void @__cxa_throw(ptr %385, ptr @_ZTIi, ptr null) #7
  unreachable

386:                                              ; preds = %383
  %387 = landingpad { ptr, i32 }
          cleanup
  %388 = extractvalue { ptr, i32 } %387, 0
  store ptr %388, ptr %18, align 8
  %389 = extractvalue { ptr, i32 } %387, 1
  store i32 %389, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %51) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %51) #6
  br label %518

390:                                              ; preds = %374
  br label %391

391:                                              ; preds = %390
  br label %392

392:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #6
  store i64 0, ptr %52, align 8, !tbaa !9
  br label %393

393:                                              ; preds = %482, %392
  %394 = load i64, ptr %52, align 8, !tbaa !9
  %395 = icmp slt i64 %394, 6
  br i1 %395, label %397, label %396

396:                                              ; preds = %393
  store i32 27, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #6
  br label %486

397:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #6
  %398 = load i64, ptr %52, align 8, !tbaa !9
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind writable sret(%"struct.vl::database::LockTarget") align 8 %53, ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %398)
  br label %399

399:                                              ; preds = %397
  call void @llvm.lifetime.start.p0(i64 48, ptr %54) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %54, ptr noundef @.str.13, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %54)
          to label %400 unwind label %409

400:                                              ; preds = %399
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %54) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %54) #6
  %401 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %55, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !11
  %402 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %55, i32 0, i32 0
  %403 = load i64, ptr %402, align 8
  %404 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %401, i64 %403, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %405 = zext i1 %404 to i32
  %406 = icmp eq i32 %405, 1
  br i1 %406, label %407, label %417

407:                                              ; preds = %400
  call void @llvm.lifetime.start.p0(i64 48, ptr %56) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %56, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %56)
          to label %408 unwind label %413

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

409:                                              ; preds = %399
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %18, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %54) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %54) #6
  br label %485

413:                                              ; preds = %407
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %18, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %56) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %56) #6
  br label %485

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

418:                                              ; preds = %417
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %57) #6
  %419 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %419, align 16, !tbaa !12
  call void @__cxa_throw(ptr %419, ptr @_ZTIi, ptr null) #7
  unreachable

420:                                              ; preds = %417
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %18, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %57) #6
  br label %485

424:                                              ; preds = %408
  br label %425

425:                                              ; preds = %424
  br label %426

426:                                              ; preds = %425
  br label %427

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

428:                                              ; preds = %427
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %58) #6
  %429 = getelementptr inbounds %"struct.vl::database::LockResult", ptr %13, i32 0, i32 0
  %430 = load i8, ptr %429, align 8, !tbaa !14, !range !17, !noundef !18
  %431 = trunc i8 %430 to i1
  %432 = zext i1 %431 to i32
  %433 = icmp eq i32 %432, 0
  br i1 %433, label %434, label %444

434:                                              ; preds = %428
  call void @llvm.lifetime.start.p0(i64 48, ptr %59) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %59, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %59)
          to label %435 unwind label %440

435:                                              ; preds = %434
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %59) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %59) #6
  br label %451

436:                                              ; preds = %427
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %18, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %58) #6
  br label %485

440:                                              ; preds = %434
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %18, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %59) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %59) #6
  br label %485

444:                                              ; preds = %428
  call void @llvm.lifetime.start.p0(i64 48, ptr %60) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %60, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %60)
          to label %445 unwind label %447

445:                                              ; preds = %444
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %60) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %60) #6
  %446 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %446, align 16, !tbaa !12
  call void @__cxa_throw(ptr %446, ptr @_ZTIi, ptr null) #7
  unreachable

447:                                              ; preds = %444
  %448 = landingpad { ptr, i32 }
          cleanup
  %449 = extractvalue { ptr, i32 } %448, 0
  store ptr %449, ptr %18, align 8
  %450 = extractvalue { ptr, i32 } %448, 1
  store i32 %450, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %60) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %60) #6
  br label %485

451:                                              ; preds = %435
  br label %452

452:                                              ; preds = %451
  br label %453

453:                                              ; preds = %452
  br label %454

454:                                              ; preds = %453
  call void @llvm.lifetime.start.p0(i64 48, ptr %61) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %61, ptr noundef @.str.15, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %61)
          to label %455 unwind label %464

455:                                              ; preds = %454
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %61) #6
  %456 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %62, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !11
  %457 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %62, i32 0, i32 0
  %458 = load i64, ptr %457, align 8
  %459 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %456, i64 %458, ptr noundef nonnull align 8 dereferenceable(24) %53)
  %460 = zext i1 %459 to i32
  %461 = icmp eq i32 %460, 1
  br i1 %461, label %462, label %472

462:                                              ; preds = %455
  call void @llvm.lifetime.start.p0(i64 48, ptr %63) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %63, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %63)
          to label %463 unwind label %468

463:                                              ; preds = %462
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %63) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %63) #6
  br label %479

464:                                              ; preds = %454
  %465 = landingpad { ptr, i32 }
          cleanup
  %466 = extractvalue { ptr, i32 } %465, 0
  store ptr %466, ptr %18, align 8
  %467 = extractvalue { ptr, i32 } %465, 1
  store i32 %467, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %61) #6
  br label %485

468:                                              ; preds = %462
  %469 = landingpad { ptr, i32 }
          cleanup
  %470 = extractvalue { ptr, i32 } %469, 0
  store ptr %470, ptr %18, align 8
  %471 = extractvalue { ptr, i32 } %469, 1
  store i32 %471, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %63) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %63) #6
  br label %485

472:                                              ; preds = %455
  call void @llvm.lifetime.start.p0(i64 48, ptr %64) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %64)
          to label %473 unwind label %475

473:                                              ; preds = %472
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %64) #6
  %474 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %474, align 16, !tbaa !12
  call void @__cxa_throw(ptr %474, ptr @_ZTIi, ptr null) #7
  unreachable

475:                                              ; preds = %472
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %18, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %64) #6
  br label %485

479:                                              ; preds = %463
  br label %480

480:                                              ; preds = %479
  br label %481

481:                                              ; preds = %480
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #6
  br label %482

482:                                              ; preds = %481
  %483 = load i64, ptr %52, align 8, !tbaa !9
  %484 = add nsw i64 %483, 1
  store i64 %484, ptr %52, align 8, !tbaa !9
  br label %393, !llvm.loop !23

485:                                              ; preds = %475, %468, %464, %447, %440, %436, %420, %413, %409
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #6
  br label %518

486:                                              ; preds = %396
  br label %487

487:                                              ; preds = %486
  call void @llvm.lifetime.start.p0(i64 48, ptr %65) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %65, ptr noundef @.str.16, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %65)
          to label %488 unwind label %497

488:                                              ; preds = %487
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %65) #6
  %489 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %66, ptr align 8 %6, i64 8, i1 false), !tbaa.struct !11
  %490 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %66, i32 0, i32 0
  %491 = load i64, ptr %490, align 8
  %492 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %489, i64 %491, ptr noundef nonnull align 8 dereferenceable(24) %44)
  %493 = zext i1 %492 to i32
  %494 = icmp eq i32 %493, 1
  br i1 %494, label %495, label %505

495:                                              ; preds = %488
  call void @llvm.lifetime.start.p0(i64 48, ptr %67) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %67, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %67)
          to label %496 unwind label %501

496:                                              ; preds = %495
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %67) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %67) #6
  br label %512

497:                                              ; preds = %487
  %498 = landingpad { ptr, i32 }
          cleanup
  %499 = extractvalue { ptr, i32 } %498, 0
  store ptr %499, ptr %18, align 8
  %500 = extractvalue { ptr, i32 } %498, 1
  store i32 %500, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %65) #6
  br label %518

501:                                              ; preds = %495
  %502 = landingpad { ptr, i32 }
          cleanup
  %503 = extractvalue { ptr, i32 } %502, 0
  store ptr %503, ptr %18, align 8
  %504 = extractvalue { ptr, i32 } %502, 1
  store i32 %504, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %67) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %67) #6
  br label %518

505:                                              ; preds = %488
  call void @llvm.lifetime.start.p0(i64 48, ptr %68) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %68, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %68)
          to label %506 unwind label %508

506:                                              ; preds = %505
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %68) #6
  %507 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %507, align 16, !tbaa !12
  call void @__cxa_throw(ptr %507, ptr @_ZTIi, ptr null) #7
  unreachable

508:                                              ; preds = %505
  %509 = landingpad { ptr, i32 }
          cleanup
  %510 = extractvalue { ptr, i32 } %509, 0
  store ptr %510, ptr %18, align 8
  %511 = extractvalue { ptr, i32 } %509, 1
  store i32 %511, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %68) #6
  br label %518

512:                                              ; preds = %496
  br label %513

513:                                              ; preds = %512
  br label %514

514:                                              ; preds = %513
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #6
  br label %515

515:                                              ; preds = %514
  %516 = load i64, ptr %43, align 8, !tbaa !9
  %517 = add nsw i64 %516, 1
  store i64 %517, ptr %43, align 8, !tbaa !9
  br label %332, !llvm.loop !24

518:                                              ; preds = %508, %501, %497, %485, %386, %379, %375, %359, %352, %348
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  br label %1018

519:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #6
  store i64 0, ptr %69, align 8, !tbaa !9
  br label %520

520:                                              ; preds = %678, %519
  %521 = load i64, ptr %69, align 8, !tbaa !9
  %522 = icmp slt i64 %521, 6
  br i1 %522, label %524, label %523

523:                                              ; preds = %520
  store i32 38, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #6
  br label %681

524:                                              ; preds = %520
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #6
  store i64 0, ptr %70, align 8, !tbaa !9
  br label %525

525:                                              ; preds = %672, %524
  %526 = load i64, ptr %70, align 8, !tbaa !9
  %527 = icmp slt i64 %526, 6
  br i1 %527, label %529, label %528

528:                                              ; preds = %525
  store i32 41, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #6
  br label %677

529:                                              ; preds = %525
  call void @llvm.lifetime.start.p0(i64 24, ptr %71) #6
  %530 = load i64, ptr %69, align 8, !tbaa !9
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind writable sret(%"struct.vl::database::LockTarget") align 8 %71, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %530)
  br label %531

531:                                              ; preds = %529
  call void @llvm.lifetime.start.p0(i64 48, ptr %72) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %72, ptr noundef @.str.11, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %72)
          to label %532 unwind label %541

532:                                              ; preds = %531
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %72) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %72) #6
  %533 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %73, ptr align 8 %6, i64 8, i1 false), !tbaa.struct !11
  %534 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %73, i32 0, i32 0
  %535 = load i64, ptr %534, align 8
  %536 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %533, i64 %535, ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 8 dereferenceable(16) %12)
  %537 = zext i1 %536 to i32
  %538 = icmp eq i32 %537, 1
  br i1 %538, label %539, label %549

539:                                              ; preds = %532
  call void @llvm.lifetime.start.p0(i64 48, ptr %74) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %74, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %74)
          to label %540 unwind label %545

540:                                              ; preds = %539
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %74) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %74) #6
  br label %556

541:                                              ; preds = %531
  %542 = landingpad { ptr, i32 }
          cleanup
  %543 = extractvalue { ptr, i32 } %542, 0
  store ptr %543, ptr %18, align 8
  %544 = extractvalue { ptr, i32 } %542, 1
  store i32 %544, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %72) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %72) #6
  br label %676

545:                                              ; preds = %539
  %546 = landingpad { ptr, i32 }
          cleanup
  %547 = extractvalue { ptr, i32 } %546, 0
  store ptr %547, ptr %18, align 8
  %548 = extractvalue { ptr, i32 } %546, 1
  store i32 %548, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %74) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %74) #6
  br label %676

549:                                              ; preds = %532
  call void @llvm.lifetime.start.p0(i64 48, ptr %75) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %75, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %75)
          to label %550 unwind label %552

550:                                              ; preds = %549
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %75) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %75) #6
  %551 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %551, align 16, !tbaa !12
  call void @__cxa_throw(ptr %551, ptr @_ZTIi, ptr null) #7
  unreachable

552:                                              ; preds = %549
  %553 = landingpad { ptr, i32 }
          cleanup
  %554 = extractvalue { ptr, i32 } %553, 0
  store ptr %554, ptr %18, align 8
  %555 = extractvalue { ptr, i32 } %553, 1
  store i32 %555, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %75) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %75) #6
  br label %676

556:                                              ; preds = %540
  br label %557

557:                                              ; preds = %556
  br label %558

558:                                              ; preds = %557
  br label %559

559:                                              ; preds = %558
  call void @llvm.lifetime.start.p0(i64 48, ptr %76) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %76, ptr noundef @.str.12, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %76)
          to label %560 unwind label %568

560:                                              ; preds = %559
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %76) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %76) #6
  %561 = getelementptr inbounds %"struct.vl::database::LockResult", ptr %12, i32 0, i32 0
  %562 = load i8, ptr %561, align 8, !tbaa !14, !range !17, !noundef !18
  %563 = trunc i8 %562 to i1
  %564 = zext i1 %563 to i32
  %565 = icmp eq i32 %564, 0
  br i1 %565, label %566, label %576

566:                                              ; preds = %560
  call void @llvm.lifetime.start.p0(i64 48, ptr %77) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %77, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %77)
          to label %567 unwind label %572

567:                                              ; preds = %566
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %77) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %77) #6
  br label %583

568:                                              ; preds = %559
  %569 = landingpad { ptr, i32 }
          cleanup
  %570 = extractvalue { ptr, i32 } %569, 0
  store ptr %570, ptr %18, align 8
  %571 = extractvalue { ptr, i32 } %569, 1
  store i32 %571, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %76) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %76) #6
  br label %676

572:                                              ; preds = %566
  %573 = landingpad { ptr, i32 }
          cleanup
  %574 = extractvalue { ptr, i32 } %573, 0
  store ptr %574, ptr %18, align 8
  %575 = extractvalue { ptr, i32 } %573, 1
  store i32 %575, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %77) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %77) #6
  br label %676

576:                                              ; preds = %560
  call void @llvm.lifetime.start.p0(i64 48, ptr %78) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %78, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %78)
          to label %577 unwind label %579

577:                                              ; preds = %576
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %78) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %78) #6
  %578 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %578, align 16, !tbaa !12
  call void @__cxa_throw(ptr %578, ptr @_ZTIi, ptr null) #7
  unreachable

579:                                              ; preds = %576
  %580 = landingpad { ptr, i32 }
          cleanup
  %581 = extractvalue { ptr, i32 } %580, 0
  store ptr %581, ptr %18, align 8
  %582 = extractvalue { ptr, i32 } %580, 1
  store i32 %582, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %78) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %78) #6
  br label %676

583:                                              ; preds = %567
  br label %584

584:                                              ; preds = %583
  br label %585

585:                                              ; preds = %584
  call void @llvm.lifetime.start.p0(i64 24, ptr %79) #6
  %586 = load i64, ptr %70, align 8, !tbaa !9
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind writable sret(%"struct.vl::database::LockTarget") align 8 %79, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %586)
  br label %587

587:                                              ; preds = %585
  call void @llvm.lifetime.start.p0(i64 48, ptr %80) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %80, ptr noundef @.str.18, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %80)
          to label %588 unwind label %599

588:                                              ; preds = %587
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %80) #6
  %589 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %81, ptr align 8 %6, i64 8, i1 false), !tbaa.struct !11
  %590 = getelementptr inbounds %"struct.vl::database::LockTarget", ptr %79, i32 0, i32 1
  %591 = load i32, ptr %590, align 4, !tbaa !25
  %592 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %81, i32 0, i32 0
  %593 = load i64, ptr %592, align 8
  %594 = call noundef zeroext i1 @_ZN2vl8database11LockManager11UpgradeLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetENS0_16LockTargetAccessERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %589, i64 %593, ptr noundef nonnull align 8 dereferenceable(24) %71, i32 noundef %591, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %595 = zext i1 %594 to i32
  %596 = icmp eq i32 %595, 1
  br i1 %596, label %597, label %607

597:                                              ; preds = %588
  call void @llvm.lifetime.start.p0(i64 48, ptr %82) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %82, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %82)
          to label %598 unwind label %603

598:                                              ; preds = %597
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %82) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %82) #6
  br label %614

599:                                              ; preds = %587
  %600 = landingpad { ptr, i32 }
          cleanup
  %601 = extractvalue { ptr, i32 } %600, 0
  store ptr %601, ptr %18, align 8
  %602 = extractvalue { ptr, i32 } %600, 1
  store i32 %602, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %80) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %80) #6
  br label %675

603:                                              ; preds = %597
  %604 = landingpad { ptr, i32 }
          cleanup
  %605 = extractvalue { ptr, i32 } %604, 0
  store ptr %605, ptr %18, align 8
  %606 = extractvalue { ptr, i32 } %604, 1
  store i32 %606, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %82) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %82) #6
  br label %675

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

608:                                              ; preds = %607
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %83) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %83) #6
  %609 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %609, align 16, !tbaa !12
  call void @__cxa_throw(ptr %609, ptr @_ZTIi, ptr null) #7
  unreachable

610:                                              ; preds = %607
  %611 = landingpad { ptr, i32 }
          cleanup
  %612 = extractvalue { ptr, i32 } %611, 0
  store ptr %612, ptr %18, align 8
  %613 = extractvalue { ptr, i32 } %611, 1
  store i32 %613, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %83) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %83) #6
  br label %675

614:                                              ; preds = %598
  br label %615

615:                                              ; preds = %614
  br label %616

616:                                              ; preds = %615
  br label %617

617:                                              ; preds = %616
  call void @llvm.lifetime.start.p0(i64 48, ptr %84) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %84, ptr noundef @.str.17, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %84)
          to label %618 unwind label %626

618:                                              ; preds = %617
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %84) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %84) #6
  %619 = getelementptr inbounds %"struct.vl::database::LockResult", ptr %13, i32 0, i32 0
  %620 = load i8, ptr %619, align 8, !tbaa !14, !range !17, !noundef !18
  %621 = trunc i8 %620 to i1
  %622 = zext i1 %621 to i32
  %623 = icmp eq i32 %622, 0
  br i1 %623, label %624, label %634

624:                                              ; preds = %618
  call void @llvm.lifetime.start.p0(i64 48, ptr %85) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %85, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %85)
          to label %625 unwind label %630

625:                                              ; preds = %624
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %85) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %85) #6
  br label %641

626:                                              ; preds = %617
  %627 = landingpad { ptr, i32 }
          cleanup
  %628 = extractvalue { ptr, i32 } %627, 0
  store ptr %628, ptr %18, align 8
  %629 = extractvalue { ptr, i32 } %627, 1
  store i32 %629, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %84) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %84) #6
  br label %675

630:                                              ; preds = %624
  %631 = landingpad { ptr, i32 }
          cleanup
  %632 = extractvalue { ptr, i32 } %631, 0
  store ptr %632, ptr %18, align 8
  %633 = extractvalue { ptr, i32 } %631, 1
  store i32 %633, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %85) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %85) #6
  br label %675

634:                                              ; preds = %618
  call void @llvm.lifetime.start.p0(i64 48, ptr %86) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %86, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %86)
          to label %635 unwind label %637

635:                                              ; preds = %634
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %86) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %86) #6
  %636 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %636, align 16, !tbaa !12
  call void @__cxa_throw(ptr %636, ptr @_ZTIi, ptr null) #7
  unreachable

637:                                              ; preds = %634
  %638 = landingpad { ptr, i32 }
          cleanup
  %639 = extractvalue { ptr, i32 } %638, 0
  store ptr %639, ptr %18, align 8
  %640 = extractvalue { ptr, i32 } %638, 1
  store i32 %640, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %86) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %86) #6
  br label %675

641:                                              ; preds = %625
  br label %642

642:                                              ; preds = %641
  br label %643

643:                                              ; preds = %642
  br label %644

644:                                              ; preds = %643
  call void @llvm.lifetime.start.p0(i64 48, ptr %87) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %87, ptr noundef @.str.19, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %87)
          to label %645 unwind label %654

645:                                              ; preds = %644
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %87) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %87) #6
  %646 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %88, ptr align 8 %6, i64 8, i1 false), !tbaa.struct !11
  %647 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %88, i32 0, i32 0
  %648 = load i64, ptr %647, align 8
  %649 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %646, i64 %648, ptr noundef nonnull align 8 dereferenceable(24) %79)
  %650 = zext i1 %649 to i32
  %651 = icmp eq i32 %650, 1
  br i1 %651, label %652, label %662

652:                                              ; preds = %645
  call void @llvm.lifetime.start.p0(i64 48, ptr %89) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %89, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %89)
          to label %653 unwind label %658

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

654:                                              ; preds = %644
  %655 = landingpad { ptr, i32 }
          cleanup
  %656 = extractvalue { ptr, i32 } %655, 0
  store ptr %656, ptr %18, align 8
  %657 = extractvalue { ptr, i32 } %655, 1
  store i32 %657, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %87) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %87) #6
  br label %675

658:                                              ; preds = %652
  %659 = landingpad { ptr, i32 }
          cleanup
  %660 = extractvalue { ptr, i32 } %659, 0
  store ptr %660, ptr %18, align 8
  %661 = extractvalue { ptr, i32 } %659, 1
  store i32 %661, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %89) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %89) #6
  br label %675

662:                                              ; preds = %645
  call void @llvm.lifetime.start.p0(i64 48, ptr %90) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %90, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %90)
          to label %663 unwind label %665

663:                                              ; preds = %662
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %90) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %90) #6
  %664 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %664, align 16, !tbaa !12
  call void @__cxa_throw(ptr %664, ptr @_ZTIi, ptr null) #7
  unreachable

665:                                              ; preds = %662
  %666 = landingpad { ptr, i32 }
          cleanup
  %667 = extractvalue { ptr, i32 } %666, 0
  store ptr %667, ptr %18, align 8
  %668 = extractvalue { ptr, i32 } %666, 1
  store i32 %668, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %90) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %90) #6
  br label %675

669:                                              ; preds = %653
  br label %670

670:                                              ; preds = %669
  br label %671

671:                                              ; preds = %670
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %71) #6
  br label %672

672:                                              ; preds = %671
  %673 = load i64, ptr %70, align 8, !tbaa !9
  %674 = add nsw i64 %673, 1
  store i64 %674, ptr %70, align 8, !tbaa !9
  br label %525, !llvm.loop !30

675:                                              ; preds = %665, %658, %654, %637, %630, %626, %610, %603, %599
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #6
  br label %676

676:                                              ; preds = %675, %579, %572, %568, %552, %545, %541
  call void @llvm.lifetime.end.p0(i64 24, ptr %71) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #6
  br label %1018

677:                                              ; preds = %528
  br label %678

678:                                              ; preds = %677
  %679 = load i64, ptr %69, align 8, !tbaa !9
  %680 = add nsw i64 %679, 1
  store i64 %680, ptr %69, align 8, !tbaa !9
  br label %520, !llvm.loop !31

681:                                              ; preds = %523
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #6
  store i64 0, ptr %91, align 8, !tbaa !9
  br label %682

682:                                              ; preds = %1013, %681
  %683 = load i64, ptr %91, align 8, !tbaa !9
  %684 = icmp slt i64 %683, 6
  br i1 %684, label %686, label %685

685:                                              ; preds = %682
  store i32 54, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #6
  br label %1017

686:                                              ; preds = %682
  call void @llvm.lifetime.start.p0(i64 24, ptr %92) #6
  %687 = load i64, ptr %91, align 8, !tbaa !9
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind writable sret(%"struct.vl::database::LockTarget") align 8 %92, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %687)
  br label %688

688:                                              ; preds = %686
  call void @llvm.lifetime.start.p0(i64 48, ptr %93) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %93, ptr noundef @.str.11, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %93)
          to label %689 unwind label %698

689:                                              ; preds = %688
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %93) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %93) #6
  %690 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %94, ptr align 8 %6, i64 8, i1 false), !tbaa.struct !11
  %691 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %94, i32 0, i32 0
  %692 = load i64, ptr %691, align 8
  %693 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %690, i64 %692, ptr noundef nonnull align 8 dereferenceable(24) %92, ptr noundef nonnull align 8 dereferenceable(16) %12)
  %694 = zext i1 %693 to i32
  %695 = icmp eq i32 %694, 1
  br i1 %695, label %696, label %706

696:                                              ; preds = %689
  call void @llvm.lifetime.start.p0(i64 48, ptr %95) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %95, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %95)
          to label %697 unwind label %702

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

698:                                              ; preds = %688
  %699 = landingpad { ptr, i32 }
          cleanup
  %700 = extractvalue { ptr, i32 } %699, 0
  store ptr %700, ptr %18, align 8
  %701 = extractvalue { ptr, i32 } %699, 1
  store i32 %701, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %93) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %93) #6
  br label %1016

702:                                              ; preds = %696
  %703 = landingpad { ptr, i32 }
          cleanup
  %704 = extractvalue { ptr, i32 } %703, 0
  store ptr %704, ptr %18, align 8
  %705 = extractvalue { ptr, i32 } %703, 1
  store i32 %705, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %95) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %95) #6
  br label %1016

706:                                              ; preds = %689
  call void @llvm.lifetime.start.p0(i64 48, ptr %96) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %96, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %96)
          to label %707 unwind label %709

707:                                              ; preds = %706
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %96) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %96) #6
  %708 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %708, align 16, !tbaa !12
  call void @__cxa_throw(ptr %708, ptr @_ZTIi, ptr null) #7
  unreachable

709:                                              ; preds = %706
  %710 = landingpad { ptr, i32 }
          cleanup
  %711 = extractvalue { ptr, i32 } %710, 0
  store ptr %711, ptr %18, align 8
  %712 = extractvalue { ptr, i32 } %710, 1
  store i32 %712, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %96) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %96) #6
  br label %1016

713:                                              ; preds = %697
  br label %714

714:                                              ; preds = %713
  br label %715

715:                                              ; preds = %714
  br label %716

716:                                              ; preds = %715
  call void @llvm.lifetime.start.p0(i64 48, ptr %97) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %97, ptr noundef @.str.12, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %97)
          to label %717 unwind label %725

717:                                              ; preds = %716
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %97) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %97) #6
  %718 = getelementptr inbounds %"struct.vl::database::LockResult", ptr %12, i32 0, i32 0
  %719 = load i8, ptr %718, align 8, !tbaa !14, !range !17, !noundef !18
  %720 = trunc i8 %719 to i1
  %721 = zext i1 %720 to i32
  %722 = icmp eq i32 %721, 0
  br i1 %722, label %723, label %733

723:                                              ; preds = %717
  call void @llvm.lifetime.start.p0(i64 48, ptr %98) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %98, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %98)
          to label %724 unwind label %729

724:                                              ; preds = %723
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %98) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %98) #6
  br label %740

725:                                              ; preds = %716
  %726 = landingpad { ptr, i32 }
          cleanup
  %727 = extractvalue { ptr, i32 } %726, 0
  store ptr %727, ptr %18, align 8
  %728 = extractvalue { ptr, i32 } %726, 1
  store i32 %728, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %97) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %97) #6
  br label %1016

729:                                              ; preds = %723
  %730 = landingpad { ptr, i32 }
          cleanup
  %731 = extractvalue { ptr, i32 } %730, 0
  store ptr %731, ptr %18, align 8
  %732 = extractvalue { ptr, i32 } %730, 1
  store i32 %732, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %98) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %98) #6
  br label %1016

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

734:                                              ; preds = %733
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %99) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %99) #6
  %735 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %735, align 16, !tbaa !12
  call void @__cxa_throw(ptr %735, ptr @_ZTIi, ptr null) #7
  unreachable

736:                                              ; preds = %733
  %737 = landingpad { ptr, i32 }
          cleanup
  %738 = extractvalue { ptr, i32 } %737, 0
  store ptr %738, ptr %18, align 8
  %739 = extractvalue { ptr, i32 } %737, 1
  store i32 %739, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %99) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %99) #6
  br label %1016

740:                                              ; preds = %724
  br label %741

741:                                              ; preds = %740
  br label %742

742:                                              ; preds = %741
  call void @llvm.lifetime.start.p0(i64 8, ptr %100) #6
  store i64 0, ptr %100, align 8, !tbaa !9
  br label %743

743:                                              ; preds = %981, %742
  %744 = load i64, ptr %100, align 8, !tbaa !9
  %745 = icmp slt i64 %744, 6
  br i1 %745, label %747, label %746

746:                                              ; preds = %743
  store i32 61, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #6
  br label %984

747:                                              ; preds = %743
  call void @llvm.lifetime.start.p0(i64 8, ptr %101) #6
  store i64 0, ptr %101, align 8, !tbaa !9
  br label %748

748:                                              ; preds = %975, %747
  %749 = load i64, ptr %101, align 8, !tbaa !9
  %750 = icmp slt i64 %749, 6
  br i1 %750, label %752, label %751

751:                                              ; preds = %748
  store i32 64, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #6
  br label %980

752:                                              ; preds = %748
  call void @llvm.lifetime.start.p0(i64 24, ptr %102) #6
  %753 = load i64, ptr %100, align 8, !tbaa !9
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind writable sret(%"struct.vl::database::LockTarget") align 8 %102, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %753)
  br label %754

754:                                              ; preds = %752
  call void @llvm.lifetime.start.p0(i64 48, ptr %103) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %103, ptr noundef @.str.13, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %103)
          to label %755 unwind label %764

755:                                              ; preds = %754
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %103) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %103) #6
  %756 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %104, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !11
  %757 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %104, i32 0, i32 0
  %758 = load i64, ptr %757, align 8
  %759 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %756, i64 %758, ptr noundef nonnull align 8 dereferenceable(24) %102, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %760 = zext i1 %759 to i32
  %761 = icmp eq i32 %760, 1
  br i1 %761, label %762, label %772

762:                                              ; preds = %755
  call void @llvm.lifetime.start.p0(i64 48, ptr %105) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %105, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %105)
          to label %763 unwind label %768

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

764:                                              ; preds = %754
  %765 = landingpad { ptr, i32 }
          cleanup
  %766 = extractvalue { ptr, i32 } %765, 0
  store ptr %766, ptr %18, align 8
  %767 = extractvalue { ptr, i32 } %765, 1
  store i32 %767, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %103) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %103) #6
  br label %979

768:                                              ; preds = %762
  %769 = landingpad { ptr, i32 }
          cleanup
  %770 = extractvalue { ptr, i32 } %769, 0
  store ptr %770, ptr %18, align 8
  %771 = extractvalue { ptr, i32 } %769, 1
  store i32 %771, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %105) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %105) #6
  br label %979

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

773:                                              ; preds = %772
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %106) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %106) #6
  %774 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %774, align 16, !tbaa !12
  call void @__cxa_throw(ptr %774, ptr @_ZTIi, ptr null) #7
  unreachable

775:                                              ; preds = %772
  %776 = landingpad { ptr, i32 }
          cleanup
  %777 = extractvalue { ptr, i32 } %776, 0
  store ptr %777, ptr %18, align 8
  %778 = extractvalue { ptr, i32 } %776, 1
  store i32 %778, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %106) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %106) #6
  br label %979

779:                                              ; preds = %763
  br label %780

780:                                              ; preds = %779
  br label %781

781:                                              ; preds = %780
  br label %782

782:                                              ; preds = %781
  call void @llvm.lifetime.start.p0(i64 48, ptr %107) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %107, ptr noundef @.str.14, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %107)
          to label %783 unwind label %799

783:                                              ; preds = %782
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %107) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %107) #6
  %784 = getelementptr inbounds %"struct.vl::database::LockResult", ptr %13, i32 0, i32 0
  %785 = load i8, ptr %784, align 8, !tbaa !14, !range !17, !noundef !18
  %786 = trunc i8 %785 to i1
  %787 = zext i1 %786 to i32
  %788 = load i64, ptr %100, align 8, !tbaa !9
  %789 = getelementptr inbounds [6 x [6 x i8]], ptr @_ZL17lockCompatibility, i64 0, i64 %788
  %790 = load i64, ptr %91, align 8, !tbaa !9
  %791 = getelementptr inbounds [6 x i8], ptr %789, i64 0, i64 %790
  %792 = load i8, ptr %791, align 1, !tbaa !19, !range !17, !noundef !18
  %793 = trunc i8 %792 to i1
  %794 = xor i1 %793, true
  %795 = zext i1 %794 to i32
  %796 = icmp eq i32 %787, %795
  br i1 %796, label %797, label %807

797:                                              ; preds = %783
  call void @llvm.lifetime.start.p0(i64 48, ptr %108) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %108, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %108)
          to label %798 unwind label %803

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

799:                                              ; preds = %782
  %800 = landingpad { ptr, i32 }
          cleanup
  %801 = extractvalue { ptr, i32 } %800, 0
  store ptr %801, ptr %18, align 8
  %802 = extractvalue { ptr, i32 } %800, 1
  store i32 %802, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %107) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %107) #6
  br label %979

803:                                              ; preds = %797
  %804 = landingpad { ptr, i32 }
          cleanup
  %805 = extractvalue { ptr, i32 } %804, 0
  store ptr %805, ptr %18, align 8
  %806 = extractvalue { ptr, i32 } %804, 1
  store i32 %806, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %108) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %108) #6
  br label %979

807:                                              ; preds = %783
  call void @llvm.lifetime.start.p0(i64 48, ptr %109) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %109, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %109)
          to label %808 unwind label %810

808:                                              ; preds = %807
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %109) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %109) #6
  %809 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %809, align 16, !tbaa !12
  call void @__cxa_throw(ptr %809, ptr @_ZTIi, ptr null) #7
  unreachable

810:                                              ; preds = %807
  %811 = landingpad { ptr, i32 }
          cleanup
  %812 = extractvalue { ptr, i32 } %811, 0
  store ptr %812, ptr %18, align 8
  %813 = extractvalue { ptr, i32 } %811, 1
  store i32 %813, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %109) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %109) #6
  br label %979

814:                                              ; preds = %798
  br label %815

815:                                              ; preds = %814
  br label %816

816:                                              ; preds = %815
  call void @llvm.lifetime.start.p0(i64 24, ptr %110) #6
  %817 = load i64, ptr %101, align 8, !tbaa !9
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind writable sret(%"struct.vl::database::LockTarget") align 8 %110, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %817)
  %818 = getelementptr inbounds %"struct.vl::database::LockResult", ptr %13, i32 0, i32 0
  %819 = load i8, ptr %818, align 8, !tbaa !14, !range !17, !noundef !18
  %820 = trunc i8 %819 to i1
  br i1 %820, label %821, label %880

821:                                              ; preds = %816
  br label %822

822:                                              ; preds = %821
  call void @llvm.lifetime.start.p0(i64 48, ptr %111) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %111, ptr noundef @.str.20, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %111)
          to label %823 unwind label %834

823:                                              ; preds = %822
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %111) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %111) #6
  %824 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %112, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !11
  %825 = getelementptr inbounds %"struct.vl::database::LockTarget", ptr %110, i32 0, i32 1
  %826 = load i32, ptr %825, align 4, !tbaa !25
  %827 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %112, i32 0, i32 0
  %828 = load i64, ptr %827, align 8
  %829 = call noundef zeroext i1 @_ZN2vl8database11LockManager11UpgradeLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetENS0_16LockTargetAccessERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %824, i64 %828, ptr noundef nonnull align 8 dereferenceable(24) %102, i32 noundef %826, ptr noundef nonnull align 8 dereferenceable(16) %11)
  %830 = zext i1 %829 to i32
  %831 = icmp eq i32 %830, 0
  br i1 %831, label %832, label %842

832:                                              ; preds = %823
  call void @llvm.lifetime.start.p0(i64 48, ptr %113) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %113, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %113)
          to label %833 unwind label %838

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

834:                                              ; preds = %822
  %835 = landingpad { ptr, i32 }
          cleanup
  %836 = extractvalue { ptr, i32 } %835, 0
  store ptr %836, ptr %18, align 8
  %837 = extractvalue { ptr, i32 } %835, 1
  store i32 %837, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %111) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %111) #6
  br label %978

838:                                              ; preds = %832
  %839 = landingpad { ptr, i32 }
          cleanup
  %840 = extractvalue { ptr, i32 } %839, 0
  store ptr %840, ptr %18, align 8
  %841 = extractvalue { ptr, i32 } %839, 1
  store i32 %841, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %113) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %113) #6
  br label %978

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

843:                                              ; preds = %842
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %114) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %114) #6
  %844 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %844, align 16, !tbaa !12
  call void @__cxa_throw(ptr %844, ptr @_ZTIi, ptr null) #7
  unreachable

845:                                              ; preds = %842
  %846 = landingpad { ptr, i32 }
          cleanup
  %847 = extractvalue { ptr, i32 } %846, 0
  store ptr %847, ptr %18, align 8
  %848 = extractvalue { ptr, i32 } %846, 1
  store i32 %848, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %114) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %114) #6
  br label %978

849:                                              ; preds = %833
  br label %850

850:                                              ; preds = %849
  br label %851

851:                                              ; preds = %850
  br label %852

852:                                              ; preds = %851
  call void @llvm.lifetime.start.p0(i64 48, ptr %115) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %115, ptr noundef @.str.15, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %115)
          to label %853 unwind label %862

853:                                              ; preds = %852
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %115) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %115) #6
  %854 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %116, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !11
  %855 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %116, i32 0, i32 0
  %856 = load i64, ptr %855, align 8
  %857 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %854, i64 %856, ptr noundef nonnull align 8 dereferenceable(24) %102)
  %858 = zext i1 %857 to i32
  %859 = icmp eq i32 %858, 1
  br i1 %859, label %860, label %870

860:                                              ; preds = %853
  call void @llvm.lifetime.start.p0(i64 48, ptr %117) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %117, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %117)
          to label %861 unwind label %866

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

862:                                              ; preds = %852
  %863 = landingpad { ptr, i32 }
          cleanup
  %864 = extractvalue { ptr, i32 } %863, 0
  store ptr %864, ptr %18, align 8
  %865 = extractvalue { ptr, i32 } %863, 1
  store i32 %865, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %115) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %115) #6
  br label %978

866:                                              ; preds = %860
  %867 = landingpad { ptr, i32 }
          cleanup
  %868 = extractvalue { ptr, i32 } %867, 0
  store ptr %868, ptr %18, align 8
  %869 = extractvalue { ptr, i32 } %867, 1
  store i32 %869, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %117) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %117) #6
  br label %978

870:                                              ; preds = %853
  call void @llvm.lifetime.start.p0(i64 48, ptr %118) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %118, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %118)
          to label %871 unwind label %873

871:                                              ; preds = %870
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %118) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %118) #6
  %872 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %872, align 16, !tbaa !12
  call void @__cxa_throw(ptr %872, ptr @_ZTIi, ptr null) #7
  unreachable

873:                                              ; preds = %870
  %874 = landingpad { ptr, i32 }
          cleanup
  %875 = extractvalue { ptr, i32 } %874, 0
  store ptr %875, ptr %18, align 8
  %876 = extractvalue { ptr, i32 } %874, 1
  store i32 %876, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %118) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %118) #6
  br label %978

877:                                              ; preds = %861
  br label %878

878:                                              ; preds = %877
  br label %879

879:                                              ; preds = %878
  br label %974

880:                                              ; preds = %816
  br label %881

881:                                              ; preds = %880
  call void @llvm.lifetime.start.p0(i64 48, ptr %119) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %119, ptr noundef @.str.21, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %119)
          to label %882 unwind label %893

882:                                              ; preds = %881
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %119) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %119) #6
  %883 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %120, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !11
  %884 = getelementptr inbounds %"struct.vl::database::LockTarget", ptr %110, i32 0, i32 1
  %885 = load i32, ptr %884, align 4, !tbaa !25
  %886 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %120, i32 0, i32 0
  %887 = load i64, ptr %886, align 8
  %888 = call noundef zeroext i1 @_ZN2vl8database11LockManager11UpgradeLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetENS0_16LockTargetAccessERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %883, i64 %887, ptr noundef nonnull align 8 dereferenceable(24) %102, i32 noundef %885, ptr noundef nonnull align 8 dereferenceable(16) %11)
  %889 = zext i1 %888 to i32
  %890 = icmp eq i32 %889, 1
  br i1 %890, label %891, label %901

891:                                              ; preds = %882
  call void @llvm.lifetime.start.p0(i64 48, ptr %121) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %121, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %121)
          to label %892 unwind label %897

892:                                              ; preds = %891
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %121) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %121) #6
  br label %908

893:                                              ; preds = %881
  %894 = landingpad { ptr, i32 }
          cleanup
  %895 = extractvalue { ptr, i32 } %894, 0
  store ptr %895, ptr %18, align 8
  %896 = extractvalue { ptr, i32 } %894, 1
  store i32 %896, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %119) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %119) #6
  br label %978

897:                                              ; preds = %891
  %898 = landingpad { ptr, i32 }
          cleanup
  %899 = extractvalue { ptr, i32 } %898, 0
  store ptr %899, ptr %18, align 8
  %900 = extractvalue { ptr, i32 } %898, 1
  store i32 %900, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %121) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %121) #6
  br label %978

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

902:                                              ; preds = %901
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %122) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %122) #6
  %903 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %903, align 16, !tbaa !12
  call void @__cxa_throw(ptr %903, ptr @_ZTIi, ptr null) #7
  unreachable

904:                                              ; preds = %901
  %905 = landingpad { ptr, i32 }
          cleanup
  %906 = extractvalue { ptr, i32 } %905, 0
  store ptr %906, ptr %18, align 8
  %907 = extractvalue { ptr, i32 } %905, 1
  store i32 %907, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %122) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %122) #6
  br label %978

908:                                              ; preds = %892
  br label %909

909:                                              ; preds = %908
  br label %910

910:                                              ; preds = %909
  br label %911

911:                                              ; preds = %910
  call void @llvm.lifetime.start.p0(i64 48, ptr %123) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %123, ptr noundef @.str.22, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %123)
          to label %912 unwind label %928

912:                                              ; preds = %911
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %123) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %123) #6
  %913 = getelementptr inbounds %"struct.vl::database::LockResult", ptr %11, i32 0, i32 0
  %914 = load i8, ptr %913, align 8, !tbaa !14, !range !17, !noundef !18
  %915 = trunc i8 %914 to i1
  %916 = zext i1 %915 to i32
  %917 = load i64, ptr %101, align 8, !tbaa !9
  %918 = getelementptr inbounds [6 x [6 x i8]], ptr @_ZL17lockCompatibility, i64 0, i64 %917
  %919 = load i64, ptr %91, align 8, !tbaa !9
  %920 = getelementptr inbounds [6 x i8], ptr %918, i64 0, i64 %919
  %921 = load i8, ptr %920, align 1, !tbaa !19, !range !17, !noundef !18
  %922 = trunc i8 %921 to i1
  %923 = xor i1 %922, true
  %924 = zext i1 %923 to i32
  %925 = icmp eq i32 %916, %924
  br i1 %925, label %926, label %936

926:                                              ; preds = %912
  call void @llvm.lifetime.start.p0(i64 48, ptr %124) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %124, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %124)
          to label %927 unwind label %932

927:                                              ; preds = %926
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %124) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %124) #6
  br label %943

928:                                              ; preds = %911
  %929 = landingpad { ptr, i32 }
          cleanup
  %930 = extractvalue { ptr, i32 } %929, 0
  store ptr %930, ptr %18, align 8
  %931 = extractvalue { ptr, i32 } %929, 1
  store i32 %931, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %123) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %123) #6
  br label %978

932:                                              ; preds = %926
  %933 = landingpad { ptr, i32 }
          cleanup
  %934 = extractvalue { ptr, i32 } %933, 0
  store ptr %934, ptr %18, align 8
  %935 = extractvalue { ptr, i32 } %933, 1
  store i32 %935, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %124) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %124) #6
  br label %978

936:                                              ; preds = %912
  call void @llvm.lifetime.start.p0(i64 48, ptr %125) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %125, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %125)
          to label %937 unwind label %939

937:                                              ; preds = %936
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %125) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %125) #6
  %938 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %938, align 16, !tbaa !12
  call void @__cxa_throw(ptr %938, ptr @_ZTIi, ptr null) #7
  unreachable

939:                                              ; preds = %936
  %940 = landingpad { ptr, i32 }
          cleanup
  %941 = extractvalue { ptr, i32 } %940, 0
  store ptr %941, ptr %18, align 8
  %942 = extractvalue { ptr, i32 } %940, 1
  store i32 %942, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %125) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %125) #6
  br label %978

943:                                              ; preds = %927
  br label %944

944:                                              ; preds = %943
  br label %945

945:                                              ; preds = %944
  br label %946

946:                                              ; preds = %945
  call void @llvm.lifetime.start.p0(i64 48, ptr %126) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %126, ptr noundef @.str.23, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %126)
          to label %947 unwind label %956

947:                                              ; preds = %946
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %126) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %126) #6
  %948 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %127, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !11
  %949 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %127, i32 0, i32 0
  %950 = load i64, ptr %949, align 8
  %951 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %948, i64 %950, ptr noundef nonnull align 8 dereferenceable(24) %110)
  %952 = zext i1 %951 to i32
  %953 = icmp eq i32 %952, 1
  br i1 %953, label %954, label %964

954:                                              ; preds = %947
  call void @llvm.lifetime.start.p0(i64 48, ptr %128) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %128, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %128)
          to label %955 unwind label %960

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

956:                                              ; preds = %946
  %957 = landingpad { ptr, i32 }
          cleanup
  %958 = extractvalue { ptr, i32 } %957, 0
  store ptr %958, ptr %18, align 8
  %959 = extractvalue { ptr, i32 } %957, 1
  store i32 %959, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %126) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %126) #6
  br label %978

960:                                              ; preds = %954
  %961 = landingpad { ptr, i32 }
          cleanup
  %962 = extractvalue { ptr, i32 } %961, 0
  store ptr %962, ptr %18, align 8
  %963 = extractvalue { ptr, i32 } %961, 1
  store i32 %963, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %128) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %128) #6
  br label %978

964:                                              ; preds = %947
  call void @llvm.lifetime.start.p0(i64 48, ptr %129) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %129, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %129)
          to label %965 unwind label %967

965:                                              ; preds = %964
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %129) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %129) #6
  %966 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %966, align 16, !tbaa !12
  call void @__cxa_throw(ptr %966, ptr @_ZTIi, ptr null) #7
  unreachable

967:                                              ; preds = %964
  %968 = landingpad { ptr, i32 }
          cleanup
  %969 = extractvalue { ptr, i32 } %968, 0
  store ptr %969, ptr %18, align 8
  %970 = extractvalue { ptr, i32 } %968, 1
  store i32 %970, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %129) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %129) #6
  br label %978

971:                                              ; preds = %955
  br label %972

972:                                              ; preds = %971
  br label %973

973:                                              ; preds = %972
  br label %974

974:                                              ; preds = %973, %879
  call void @llvm.lifetime.end.p0(i64 24, ptr %110) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %102) #6
  br label %975

975:                                              ; preds = %974
  %976 = load i64, ptr %101, align 8, !tbaa !9
  %977 = add nsw i64 %976, 1
  store i64 %977, ptr %101, align 8, !tbaa !9
  br label %748, !llvm.loop !32

978:                                              ; preds = %967, %960, %956, %939, %932, %928, %904, %897, %893, %873, %866, %862, %845, %838, %834
  call void @llvm.lifetime.end.p0(i64 24, ptr %110) #6
  br label %979

979:                                              ; preds = %978, %810, %803, %799, %775, %768, %764
  call void @llvm.lifetime.end.p0(i64 24, ptr %102) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #6
  br label %1016

980:                                              ; preds = %751
  br label %981

981:                                              ; preds = %980
  %982 = load i64, ptr %100, align 8, !tbaa !9
  %983 = add nsw i64 %982, 1
  store i64 %983, ptr %100, align 8, !tbaa !9
  br label %743, !llvm.loop !33

984:                                              ; preds = %746
  br label %985

985:                                              ; preds = %984
  call void @llvm.lifetime.start.p0(i64 48, ptr %130) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %130, ptr noundef @.str.16, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %130)
          to label %986 unwind label %995

986:                                              ; preds = %985
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %130) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %130) #6
  %987 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %131, ptr align 8 %6, i64 8, i1 false), !tbaa.struct !11
  %988 = getelementptr inbounds %"struct.vl::database::IdObject.69", ptr %131, i32 0, i32 0
  %989 = load i64, ptr %988, align 8
  %990 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %987, i64 %989, ptr noundef nonnull align 8 dereferenceable(24) %92)
  %991 = zext i1 %990 to i32
  %992 = icmp eq i32 %991, 1
  br i1 %992, label %993, label %1003

993:                                              ; preds = %986
  call void @llvm.lifetime.start.p0(i64 48, ptr %132) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %132, ptr noundef @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %132)
          to label %994 unwind label %999

994:                                              ; preds = %993
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %132) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %132) #6
  br label %1010

995:                                              ; preds = %985
  %996 = landingpad { ptr, i32 }
          cleanup
  %997 = extractvalue { ptr, i32 } %996, 0
  store ptr %997, ptr %18, align 8
  %998 = extractvalue { ptr, i32 } %996, 1
  store i32 %998, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %130) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %130) #6
  br label %1016

999:                                              ; preds = %993
  %1000 = landingpad { ptr, i32 }
          cleanup
  %1001 = extractvalue { ptr, i32 } %1000, 0
  store ptr %1001, ptr %18, align 8
  %1002 = extractvalue { ptr, i32 } %1000, 1
  store i32 %1002, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %132) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %132) #6
  br label %1016

1003:                                             ; preds = %986
  call void @llvm.lifetime.start.p0(i64 48, ptr %133) #6
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %133, ptr noundef @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %133)
          to label %1004 unwind label %1006

1004:                                             ; preds = %1003
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %133) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %133) #6
  %1005 = call ptr @__cxa_allocate_exception(i64 4) #6
  store i32 0, ptr %1005, align 16, !tbaa !12
  call void @__cxa_throw(ptr %1005, ptr @_ZTIi, ptr null) #7
  unreachable

1006:                                             ; preds = %1003
  %1007 = landingpad { ptr, i32 }
          cleanup
  %1008 = extractvalue { ptr, i32 } %1007, 0
  store ptr %1008, ptr %18, align 8
  %1009 = extractvalue { ptr, i32 } %1007, 1
  store i32 %1009, ptr %19, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %133) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %133) #6
  br label %1016

1010:                                             ; preds = %994
  br label %1011

1011:                                             ; preds = %1010
  br label %1012

1012:                                             ; preds = %1011
  call void @llvm.lifetime.end.p0(i64 24, ptr %92) #6
  br label %1013

1013:                                             ; preds = %1012
  %1014 = load i64, ptr %91, align 8, !tbaa !9
  %1015 = add nsw i64 %1014, 1
  store i64 %1015, ptr %91, align 8, !tbaa !9
  br label %682, !llvm.loop !34

1016:                                             ; preds = %1006, %999, %995, %979, %736, %729, %725, %709, %702, %698
  call void @llvm.lifetime.end.p0(i64 24, ptr %92) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #6
  br label %1018

1017:                                             ; preds = %685
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  ret void

1018:                                             ; preds = %1016, %676, %518, %330
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  br label %1019

1019:                                             ; preds = %1018
  %1020 = load ptr, ptr %18, align 8
  %1021 = load i32, ptr %19, align 4
  %1022 = insertvalue { ptr, i32 } poison, ptr %1020, 0
  %1023 = insertvalue { ptr, i32 } %1022, i32 %1021, 1
  resume { ptr, i32 } %1023
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind noalias writable sret(%"struct.vl::database::LockTarget") align 8, ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #2 align 2

declare noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400), i64, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) #1

declare noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400), i64, ptr noundef nonnull align 8 dereferenceable(24)) #1

declare noundef zeroext i1 @_ZN2vl8database11LockManager11UpgradeLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetENS0_16LockTargetAccessERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400), i64, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 8 dereferenceable(16)) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{i64 0, i64 8, !9}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"_ZTSN2vl8database10LockResultE", !16, i64 0, !6, i64 8}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!16, !16, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !21}
!25 = !{!26, !28, i64 4}
!26 = !{!"_ZTSN2vl8database10LockTargetE", !27, i64 0, !28, i64 4, !29, i64 8, !7, i64 16}
!27 = !{!"_ZTSN2vl8database14LockTargetTypeE", !7, i64 0}
!28 = !{!"_ZTSN2vl8database16LockTargetAccessE", !7, i64 0}
!29 = !{!"_ZTSN2vl8database8IdObjectIiLl4EEE", !13, i64 0}
!30 = distinct !{!30, !21}
!31 = distinct !{!31, !21}
!32 = distinct !{!32, !21}
!33 = distinct !{!33, !21}
!34 = distinct !{!34, !21}


; 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"

%"struct.vl::database::LockResult" = type { i8, ptr }
%"struct.vl::database::LockTarget" = type { i32, i32, %"struct.vl::database::IdObject.68", %union.anon }
%"struct.vl::database::IdObject.68" = type { i32 }
%union.anon = type { %"struct.vl::database::IdObject.70" }
%"struct.vl::database::IdObject.70" = type { i64 }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }

@.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.11 = external hidden unnamed_addr constant [42 x i32], align 4
@.str.12 = external hidden unnamed_addr constant [25 x i32], align 4
@.str.13 = external hidden unnamed_addr constant [42 x i32], align 4
@.str.14 = external hidden unnamed_addr constant [44 x i32], align 4
@_ZL17lockCompatibility = external hidden local_unnamed_addr constant [6 x [6 x i8]], align 16
@.str.15 = external hidden unnamed_addr constant [37 x i32], align 4
@.str.16 = external hidden unnamed_addr constant [37 x i32], align 4
@.str.17 = external hidden unnamed_addr constant [25 x i32], align 4
@.str.18 = external hidden unnamed_addr constant [54 x i32], align 4
@.str.19 = external hidden unnamed_addr constant [37 x i32], align 4
@.str.20 = external hidden unnamed_addr constant [53 x i32], align 4
@.str.21 = external hidden unnamed_addr constant [52 x i32], align 4
@.str.22 = external hidden unnamed_addr constant [43 x i32], align 4
@.str.23 = external hidden unnamed_addr constant [36 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 i32 @__gxx_personality_v0(...)

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

; 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20general_lock_testing8TestLockERN2vl8database11LockManagerENS1_8IdObjectImLl3EEES5_NS0_4FuncIFNS1_10LockTargetElEEES9_(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, i64 %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"struct.vl::database::LockResult", align 8
  %7 = alloca %"struct.vl::database::LockResult", align 8
  %8 = alloca %"struct.vl::database::LockResult", align 8
  %9 = alloca %"struct.vl::database::LockTarget", 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 %"struct.vl::database::LockTarget", align 8
  %17 = alloca %"class.vl::ObjectString", align 8
  %18 = alloca %"class.vl::ObjectString", align 8
  %19 = alloca %"class.vl::ObjectString", align 8
  %20 = alloca %"class.vl::ObjectString", align 8
  %21 = alloca %"class.vl::ObjectString", align 8
  %22 = alloca %"class.vl::ObjectString", align 8
  %23 = alloca %"class.vl::ObjectString", align 8
  %24 = alloca %"class.vl::ObjectString", align 8
  %25 = alloca %"class.vl::ObjectString", align 8
  %26 = alloca %"class.vl::ObjectString", align 8
  %27 = alloca %"class.vl::ObjectString", align 8
  %28 = alloca %"class.vl::ObjectString", align 8
  %29 = alloca %"struct.vl::database::LockTarget", align 8
  %30 = alloca %"class.vl::ObjectString", align 8
  %31 = alloca %"class.vl::ObjectString", align 8
  %32 = alloca %"class.vl::ObjectString", align 8
  %33 = alloca %"class.vl::ObjectString", align 8
  %34 = alloca %"class.vl::ObjectString", align 8
  %35 = alloca %"class.vl::ObjectString", align 8
  %36 = alloca %"struct.vl::database::LockTarget", align 8
  %37 = alloca %"class.vl::ObjectString", align 8
  %38 = alloca %"class.vl::ObjectString", align 8
  %39 = alloca %"class.vl::ObjectString", align 8
  %40 = alloca %"class.vl::ObjectString", align 8
  %41 = alloca %"class.vl::ObjectString", align 8
  %42 = alloca %"class.vl::ObjectString", align 8
  %43 = alloca %"class.vl::ObjectString", align 8
  %44 = alloca %"class.vl::ObjectString", align 8
  %45 = alloca %"class.vl::ObjectString", align 8
  %46 = alloca %"class.vl::ObjectString", align 8
  %47 = alloca %"class.vl::ObjectString", align 8
  %48 = alloca %"class.vl::ObjectString", align 8
  %49 = alloca %"struct.vl::database::LockTarget", align 8
  %50 = alloca %"class.vl::ObjectString", align 8
  %51 = alloca %"class.vl::ObjectString", align 8
  %52 = alloca %"class.vl::ObjectString", align 8
  %53 = alloca %"class.vl::ObjectString", align 8
  %54 = alloca %"class.vl::ObjectString", align 8
  %55 = alloca %"class.vl::ObjectString", align 8
  %56 = alloca %"struct.vl::database::LockTarget", align 8
  %57 = alloca %"class.vl::ObjectString", align 8
  %58 = alloca %"class.vl::ObjectString", align 8
  %59 = alloca %"class.vl::ObjectString", align 8
  %60 = alloca %"class.vl::ObjectString", align 8
  %61 = alloca %"class.vl::ObjectString", align 8
  %62 = alloca %"class.vl::ObjectString", align 8
  %63 = alloca %"class.vl::ObjectString", align 8
  %64 = alloca %"class.vl::ObjectString", align 8
  %65 = alloca %"class.vl::ObjectString", align 8
  %66 = alloca %"struct.vl::database::LockTarget", align 8
  %67 = alloca %"class.vl::ObjectString", align 8
  %68 = alloca %"class.vl::ObjectString", align 8
  %69 = alloca %"class.vl::ObjectString", align 8
  %70 = alloca %"class.vl::ObjectString", align 8
  %71 = alloca %"class.vl::ObjectString", align 8
  %72 = alloca %"class.vl::ObjectString", align 8
  %73 = alloca %"struct.vl::database::LockTarget", align 8
  %74 = alloca %"class.vl::ObjectString", align 8
  %75 = alloca %"class.vl::ObjectString", align 8
  %76 = alloca %"class.vl::ObjectString", align 8
  %77 = alloca %"class.vl::ObjectString", align 8
  %78 = alloca %"class.vl::ObjectString", align 8
  %79 = alloca %"class.vl::ObjectString", align 8
  %80 = alloca %"struct.vl::database::LockTarget", align 8
  %81 = alloca %"class.vl::ObjectString", align 8
  %82 = alloca %"class.vl::ObjectString", align 8
  %83 = alloca %"class.vl::ObjectString", align 8
  %84 = alloca %"class.vl::ObjectString", align 8
  %85 = alloca %"class.vl::ObjectString", align 8
  %86 = alloca %"class.vl::ObjectString", align 8
  %87 = alloca %"class.vl::ObjectString", align 8
  %88 = alloca %"class.vl::ObjectString", align 8
  %89 = alloca %"class.vl::ObjectString", align 8
  %90 = alloca %"class.vl::ObjectString", align 8
  %91 = alloca %"class.vl::ObjectString", align 8
  %92 = alloca %"class.vl::ObjectString", align 8
  %93 = alloca %"class.vl::ObjectString", align 8
  %94 = alloca %"class.vl::ObjectString", align 8
  %95 = alloca %"class.vl::ObjectString", align 8
  %96 = alloca %"class.vl::ObjectString", align 8
  %97 = alloca %"class.vl::ObjectString", align 8
  %98 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @_ZN2vl8database10LockResultC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @_ZN2vl8database10LockResultC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @_ZN2vl8database10LockResultC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  br label %99

99:                                               ; preds = %5, %175
  %.0126 = phi i64 [ 0, %5 ], [ %176, %175 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind nonnull writable sret(%"struct.vl::database::LockTarget") align 8 %9, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %.0126)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull @.str.11, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %100 unwind label %104

100:                                              ; preds = %99
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  %101 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(16) %7)
  br i1 %101, label %102, label %108

102:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %103 unwind label %106

103:                                              ; preds = %102
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull @.str.12, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %113 unwind label %118

104:                                              ; preds = %99
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  br label %186

106:                                              ; preds = %102
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #5
  br label %186

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

109:                                              ; preds = %108
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  %110 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %110, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %110, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

111:                                              ; preds = %108
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  br label %186

113:                                              ; preds = %103
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #5
  %114 = load i8, ptr %7, align 8, !tbaa !9, !range !13, !noundef !14
  %115 = icmp eq i8 %114, 0
  br i1 %115, label %116, label %122

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

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

118:                                              ; preds = %103
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #5
  br label %186

120:                                              ; preds = %116
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #5
  br label %186

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

123:                                              ; preds = %122
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #5
  %124 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %124, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %124, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

125:                                              ; preds = %122
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #5
  br label %186

127:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %26) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef nonnull @.str.16, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %26)
          to label %172 unwind label %177

128:                                              ; preds = %117, %160
  %.098125 = phi i64 [ 0, %117 ], [ %161, %160 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #5
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind nonnull writable sret(%"struct.vl::database::LockTarget") align 8 %16, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %.098125)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %17, ptr noundef nonnull @.str.13, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %17)
          to label %129 unwind label %133

129:                                              ; preds = %128
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #5
  %130 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %2, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(16) %8)
  br i1 %130, label %131, label %137

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

132:                                              ; preds = %131
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %20) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull @.str.14, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %142 unwind label %148

133:                                              ; preds = %128
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #5
  br label %171

135:                                              ; preds = %131
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #5
  br label %171

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

138:                                              ; preds = %137
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #5
  %139 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %139, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %139, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

140:                                              ; preds = %137
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #5
  br label %171

142:                                              ; preds = %132
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #5
  %143 = load i8, ptr %8, align 8, !tbaa !9, !range !13, !noundef !14
  %144 = getelementptr inbounds [6 x [6 x i8]], ptr @_ZL17lockCompatibility, i64 0, i64 %.098125, i64 %.0126
  %145 = load i8, ptr %144, align 1, !tbaa !15, !range !13, !noundef !14
  %.not116 = icmp eq i8 %145, %143
  br i1 %.not116, label %152, label %146

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

147:                                              ; preds = %146
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %23) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %23, ptr noundef nonnull @.str.15, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %23)
          to label %157 unwind label %162

148:                                              ; preds = %132
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %20) #5
  br label %171

150:                                              ; preds = %146
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #5
  br label %171

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

153:                                              ; preds = %152
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #5
  %154 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %154, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %154, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

155:                                              ; preds = %152
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #5
  br label %171

157:                                              ; preds = %147
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #5
  %158 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %2, ptr noundef nonnull align 8 dereferenceable(24) %16)
  br i1 %158, label %159, label %166

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

160:                                              ; preds = %159
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #5
  %161 = add nuw nsw i64 %.098125, 1
  %exitcond.not = icmp eq i64 %161, 6
  br i1 %exitcond.not, label %127, label %128, !llvm.loop !16

162:                                              ; preds = %147
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %23) #5
  br label %171

164:                                              ; preds = %159
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #5
  br label %171

166:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %167 unwind label %169

167:                                              ; preds = %166
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #5
  %168 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %168, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %168, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

169:                                              ; preds = %166
  %170 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #5
  br label %171

171:                                              ; preds = %169, %164, %162, %155, %150, %148, %140, %135, %133
  %.pn117 = phi { ptr, i32 } [ %165, %164 ], [ %170, %169 ], [ %163, %162 ], [ %151, %150 ], [ %156, %155 ], [ %149, %148 ], [ %136, %135 ], [ %141, %140 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #5
  br label %186

172:                                              ; preds = %127
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #5
  %173 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %9)
  br i1 %173, label %174, label %181

174:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %27) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %175 unwind label %179

175:                                              ; preds = %174
  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 @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  %176 = add nuw nsw i64 %.0126, 1
  %exitcond134.not = icmp eq i64 %176, 6
  br i1 %exitcond134.not, label %.preheader124, label %99, !llvm.loop !18

177:                                              ; preds = %127
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #5
  br label %186

179:                                              ; preds = %174
  %180 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #5
  br label %186

181:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %28) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %182 unwind label %184

182:                                              ; preds = %181
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #5
  %183 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %183, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %183, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

184:                                              ; preds = %181
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %28) #5
  br label %186

186:                                              ; preds = %184, %179, %177, %171, %125, %120, %118, %111, %106, %104
  %.pn117.pn = phi { ptr, i32 } [ %.pn117, %171 ], [ %180, %179 ], [ %185, %184 ], [ %178, %177 ], [ %121, %120 ], [ %126, %125 ], [ %119, %118 ], [ %107, %106 ], [ %112, %111 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  br label %502

.preheader123:                                    ; preds = %262
  %187 = getelementptr inbounds i8, ptr %56, i64 4
  br label %.preheader122

.preheader124:                                    ; preds = %175, %262
  %.099128 = phi i64 [ %263, %262 ], [ 0, %175 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #5
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind nonnull writable sret(%"struct.vl::database::LockTarget") align 8 %29, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %.099128)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %30) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef nonnull @.str.11, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %188 unwind label %192

188:                                              ; preds = %.preheader124
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #5
  %189 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(16) %7)
  br i1 %189, label %190, label %196

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

191:                                              ; preds = %190
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %33) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef nonnull @.str.12, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %33)
          to label %201 unwind label %206

192:                                              ; preds = %.preheader124
  %193 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30) #5
  br label %273

194:                                              ; preds = %190
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #5
  br label %273

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

197:                                              ; preds = %196
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #5
  %198 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %198, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %198, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

199:                                              ; preds = %196
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %32) #5
  br label %273

201:                                              ; preds = %191
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %33) #5
  %202 = load i8, ptr %7, align 8, !tbaa !9, !range !13, !noundef !14
  %203 = icmp eq i8 %202, 0
  br i1 %203, label %204, label %210

204:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %34) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %34)
          to label %205 unwind label %208

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

206:                                              ; preds = %191
  %207 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %33) #5
  br label %273

208:                                              ; preds = %204
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %34) #5
  br label %273

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

211:                                              ; preds = %210
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %35) #5
  %212 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %212, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %212, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

213:                                              ; preds = %210
  %214 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %35) #5
  br label %273

215:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %46) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef nonnull @.str.16, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %46)
          to label %259 unwind label %264

216:                                              ; preds = %205, %247
  %.0102127 = phi i64 [ 0, %205 ], [ %248, %247 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #5
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind nonnull writable sret(%"struct.vl::database::LockTarget") align 8 %36, ptr noundef nonnull align 8 dereferenceable(40) %4, i64 noundef %.0102127)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %37) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef nonnull @.str.13, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %37)
          to label %217 unwind label %221

217:                                              ; preds = %216
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %37) #5
  %218 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %2, ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(16) %8)
  br i1 %218, label %219, label %225

219:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %38) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %38, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %38)
          to label %220 unwind label %223

220:                                              ; preds = %219
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %38) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %40) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %40, ptr noundef nonnull @.str.17, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %40)
          to label %230 unwind label %235

221:                                              ; preds = %216
  %222 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %37) #5
  br label %258

223:                                              ; preds = %219
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %38) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %38) #5
  br label %258

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

226:                                              ; preds = %225
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %39) #5
  %227 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %227, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %227, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

228:                                              ; preds = %225
  %229 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %39) #5
  br label %258

230:                                              ; preds = %220
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %40) #5
  %231 = load i8, ptr %8, align 8, !tbaa !9, !range !13, !noundef !14
  %232 = icmp eq i8 %231, 0
  br i1 %232, label %233, label %239

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

234:                                              ; preds = %233
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %41) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %43) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef nonnull @.str.15, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %43)
          to label %244 unwind label %249

235:                                              ; preds = %220
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %40) #5
  br label %258

237:                                              ; preds = %233
  %238 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %41) #5
  br label %258

239:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %42) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %42, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %42)
          to label %240 unwind label %242

240:                                              ; preds = %239
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %42) #5
  %241 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %241, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %241, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

242:                                              ; preds = %239
  %243 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %42) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %42) #5
  br label %258

244:                                              ; preds = %234
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %43) #5
  %245 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %2, ptr noundef nonnull align 8 dereferenceable(24) %36)
  br i1 %245, label %246, label %253

246:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %44) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %44, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %44)
          to label %247 unwind label %251

247:                                              ; preds = %246
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %44) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #5
  %248 = add nuw nsw i64 %.0102127, 1
  %exitcond135.not = icmp eq i64 %248, 6
  br i1 %exitcond135.not, label %215, label %216, !llvm.loop !19

249:                                              ; preds = %234
  %250 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %43) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %43) #5
  br label %258

251:                                              ; preds = %246
  %252 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %44) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %44) #5
  br label %258

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

254:                                              ; preds = %253
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %45) #5
  %255 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %255, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %255, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

256:                                              ; preds = %253
  %257 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %45) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %45) #5
  br label %258

258:                                              ; preds = %256, %251, %249, %242, %237, %235, %228, %223, %221
  %.pn113 = phi { ptr, i32 } [ %252, %251 ], [ %257, %256 ], [ %250, %249 ], [ %238, %237 ], [ %243, %242 ], [ %236, %235 ], [ %224, %223 ], [ %229, %228 ], [ %222, %221 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #5
  br label %273

259:                                              ; preds = %215
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %46) #5
  %260 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %29)
  br i1 %260, label %261, label %268

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

262:                                              ; preds = %261
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %47) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #5
  %263 = add nuw nsw i64 %.099128, 1
  %exitcond136.not = icmp eq i64 %263, 6
  br i1 %exitcond136.not, label %.preheader123, label %.preheader124, !llvm.loop !20

264:                                              ; preds = %215
  %265 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %46) #5
  br label %273

266:                                              ; preds = %261
  %267 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %47) #5
  br label %273

268:                                              ; preds = %259
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %48) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %48, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %48)
          to label %269 unwind label %271

269:                                              ; preds = %268
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %48) #5
  %270 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %270, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %270, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

271:                                              ; preds = %268
  %272 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %48) #5
  br label %273

273:                                              ; preds = %271, %266, %264, %258, %213, %208, %206, %199, %194, %192
  %.pn113.pn = phi { ptr, i32 } [ %.pn113, %258 ], [ %267, %266 ], [ %272, %271 ], [ %265, %264 ], [ %209, %208 ], [ %214, %213 ], [ %207, %206 ], [ %195, %194 ], [ %200, %199 ], [ %193, %192 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #5
  br label %502

.preheader122:                                    ; preds = %.preheader123, %275
  %.0104130 = phi i64 [ 0, %.preheader123 ], [ %276, %275 ]
  br label %277

.preheader121:                                    ; preds = %275
  %274 = getelementptr inbounds i8, ptr %80, i64 4
  br label %350

275:                                              ; preds = %336
  %276 = add nuw nsw i64 %.0104130, 1
  %exitcond138.not = icmp eq i64 %276, 6
  br i1 %exitcond138.not, label %.preheader121, label %.preheader122, !llvm.loop !21

277:                                              ; preds = %.preheader122, %336
  %.0105129 = phi i64 [ 0, %.preheader122 ], [ %337, %336 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #5
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind nonnull writable sret(%"struct.vl::database::LockTarget") align 8 %49, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %.0104130)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %50) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %50, ptr noundef nonnull @.str.11, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %50)
          to label %278 unwind label %282

278:                                              ; preds = %277
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %50) #5
  %279 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 8 dereferenceable(16) %7)
  br i1 %279, label %280, label %286

280:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %51) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %51, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %51)
          to label %281 unwind label %284

281:                                              ; preds = %280
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %51) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %51) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %53) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %53, ptr noundef nonnull @.str.12, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %53)
          to label %291 unwind label %296

282:                                              ; preds = %277
  %283 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %50) #5
  br label %348

284:                                              ; preds = %280
  %285 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %51) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %51) #5
  br label %348

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

287:                                              ; preds = %286
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %52) #5
  %288 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %288, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %288, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

289:                                              ; preds = %286
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %52) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %52) #5
  br label %348

291:                                              ; preds = %281
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %53) #5
  %292 = load i8, ptr %7, align 8, !tbaa !9, !range !13, !noundef !14
  %293 = icmp eq i8 %292, 0
  br i1 %293, label %294, label %300

294:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %54) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %54, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %54)
          to label %295 unwind label %298

295:                                              ; preds = %294
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %54) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %54) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %56) #5
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind nonnull writable sret(%"struct.vl::database::LockTarget") align 8 %56, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %.0105129)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %57) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %57, ptr noundef nonnull @.str.18, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %57)
          to label %305 unwind label %310

296:                                              ; preds = %281
  %297 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %53) #5
  br label %348

298:                                              ; preds = %294
  %299 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %54) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %54) #5
  br label %348

300:                                              ; preds = %291
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %55) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %55, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %55)
          to label %301 unwind label %303

301:                                              ; preds = %300
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %55) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %55) #5
  %302 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %302, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %302, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

303:                                              ; preds = %300
  %304 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %55) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %55) #5
  br label %348

305:                                              ; preds = %295
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %57) #5
  %306 = load i32, ptr %187, align 4, !tbaa !22
  %307 = call noundef zeroext i1 @_ZN2vl8database11LockManager11UpgradeLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetENS0_16LockTargetAccessERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %49, i32 noundef %306, ptr noundef nonnull align 8 dereferenceable(16) %8)
  br i1 %307, label %308, label %314

308:                                              ; preds = %305
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %58) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %58, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %58)
          to label %309 unwind label %312

309:                                              ; preds = %308
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %58) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %60) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %60, ptr noundef nonnull @.str.17, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %60)
          to label %319 unwind label %324

310:                                              ; preds = %295
  %311 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %57) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %57) #5
  br label %347

312:                                              ; preds = %308
  %313 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %58) #5
  br label %347

314:                                              ; preds = %305
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %59) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %59, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %59)
          to label %315 unwind label %317

315:                                              ; preds = %314
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %59) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %59) #5
  %316 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %316, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %316, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

317:                                              ; preds = %314
  %318 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %59) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %59) #5
  br label %347

319:                                              ; preds = %309
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %60) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %60) #5
  %320 = load i8, ptr %8, align 8, !tbaa !9, !range !13, !noundef !14
  %321 = icmp eq i8 %320, 0
  br i1 %321, label %322, label %328

322:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %61) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %61, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %61)
          to label %323 unwind label %326

323:                                              ; preds = %322
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %61) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %63) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %63, ptr noundef nonnull @.str.19, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %63)
          to label %333 unwind label %338

324:                                              ; preds = %309
  %325 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %60) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %60) #5
  br label %347

326:                                              ; preds = %322
  %327 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %61) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %61) #5
  br label %347

328:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %62) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %62, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %62)
          to label %329 unwind label %331

329:                                              ; preds = %328
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %62) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %62) #5
  %330 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %330, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %330, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

331:                                              ; preds = %328
  %332 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %62) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %62) #5
  br label %347

333:                                              ; preds = %323
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %63) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %63) #5
  %334 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %56)
  br i1 %334, label %335, label %342

335:                                              ; preds = %333
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %64) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %64)
          to label %336 unwind label %340

336:                                              ; preds = %335
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %64) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %56) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #5
  %337 = add nuw nsw i64 %.0105129, 1
  %exitcond137.not = icmp eq i64 %337, 6
  br i1 %exitcond137.not, label %275, label %277, !llvm.loop !27

338:                                              ; preds = %323
  %339 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %63) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %63) #5
  br label %347

340:                                              ; preds = %335
  %341 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %64) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %64) #5
  br label %347

342:                                              ; preds = %333
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %65) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %65, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %65)
          to label %343 unwind label %345

343:                                              ; preds = %342
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %65) #5
  %344 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %344, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %344, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

345:                                              ; preds = %342
  %346 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %65) #5
  br label %347

347:                                              ; preds = %345, %340, %338, %331, %326, %324, %317, %312, %310
  %.pn110 = phi { ptr, i32 } [ %341, %340 ], [ %346, %345 ], [ %339, %338 ], [ %327, %326 ], [ %332, %331 ], [ %325, %324 ], [ %313, %312 ], [ %318, %317 ], [ %311, %310 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %56) #5
  br label %348

348:                                              ; preds = %347, %303, %298, %296, %289, %284, %282
  %.pn110.pn = phi { ptr, i32 } [ %.pn110, %347 ], [ %299, %298 ], [ %304, %303 ], [ %297, %296 ], [ %285, %284 ], [ %290, %289 ], [ %283, %282 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #5
  br label %502

349:                                              ; preds = %490
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  ret void

350:                                              ; preds = %.preheader121, %490
  %.0103133 = phi i64 [ 0, %.preheader121 ], [ %491, %490 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %66) #5
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind nonnull writable sret(%"struct.vl::database::LockTarget") align 8 %66, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %.0103133)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %67) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %67, ptr noundef nonnull @.str.11, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %67)
          to label %351 unwind label %355

351:                                              ; preds = %350
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %67) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %67) #5
  %352 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 8 dereferenceable(16) %7)
  br i1 %352, label %353, label %359

353:                                              ; preds = %351
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %68) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %68, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %68)
          to label %354 unwind label %357

354:                                              ; preds = %353
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %68) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %70) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %70, ptr noundef nonnull @.str.12, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %70)
          to label %364 unwind label %369

355:                                              ; preds = %350
  %356 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %67) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %67) #5
  br label %501

357:                                              ; preds = %353
  %358 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %68) #5
  br label %501

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

360:                                              ; preds = %359
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %69) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %69) #5
  %361 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %361, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %361, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

362:                                              ; preds = %359
  %363 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %69) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %69) #5
  br label %501

364:                                              ; preds = %354
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %70) #5
  %365 = load i8, ptr %7, align 8, !tbaa !9, !range !13, !noundef !14
  %366 = icmp eq i8 %365, 0
  br i1 %366, label %367, label %373

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

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

369:                                              ; preds = %354
  %370 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %70) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %70) #5
  br label %501

371:                                              ; preds = %367
  %372 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %71) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %71) #5
  br label %501

373:                                              ; preds = %364
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %72) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %72, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %72)
          to label %374 unwind label %376

374:                                              ; preds = %373
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %72) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %72) #5
  %375 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %375, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %375, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

376:                                              ; preds = %373
  %377 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %72) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %72) #5
  br label %501

.preheader:                                       ; preds = %368, %380
  %.0101132 = phi i64 [ 0, %368 ], [ %381, %380 ]
  %378 = getelementptr inbounds [6 x [6 x i8]], ptr @_ZL17lockCompatibility, i64 0, i64 %.0101132, i64 %.0103133
  br label %382

379:                                              ; preds = %380
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %96) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %96, ptr noundef nonnull @.str.16, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %96)
          to label %487 unwind label %492

380:                                              ; preds = %483
  %381 = add nuw nsw i64 %.0101132, 1
  %exitcond140.not = icmp eq i64 %381, 6
  br i1 %exitcond140.not, label %379, label %.preheader, !llvm.loop !28

382:                                              ; preds = %.preheader, %483
  %.0100131 = phi i64 [ 0, %.preheader ], [ %484, %483 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %73) #5
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind nonnull writable sret(%"struct.vl::database::LockTarget") align 8 %73, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %.0101132)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %74) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %74, ptr noundef nonnull @.str.13, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %74)
          to label %383 unwind label %387

383:                                              ; preds = %382
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %74) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %74) #5
  %384 = call noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %2, ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 8 dereferenceable(16) %8)
  br i1 %384, label %385, label %391

385:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %75) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %75, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %75)
          to label %386 unwind label %389

386:                                              ; preds = %385
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %75) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %75) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %77) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %77, ptr noundef nonnull @.str.14, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %77)
          to label %396 unwind label %403

387:                                              ; preds = %382
  %388 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %74) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %74) #5
  br label %486

389:                                              ; preds = %385
  %390 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %75) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %75) #5
  br label %486

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

392:                                              ; preds = %391
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %76) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %76) #5
  %393 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %393, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %393, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

394:                                              ; preds = %391
  %395 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %76) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %76) #5
  br label %486

396:                                              ; preds = %386
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %77) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %77) #5
  %397 = load i8, ptr %8, align 8, !tbaa !9, !range !13, !noundef !14
  %398 = load i8, ptr %378, align 1, !tbaa !15, !range !13, !noundef !14
  %.not = icmp eq i8 %398, %397
  br i1 %.not, label %407, label %399

399:                                              ; preds = %396
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %78) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %78, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %78)
          to label %400 unwind label %405

400:                                              ; preds = %399
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %78) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %78) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %80) #5
  call void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind nonnull writable sret(%"struct.vl::database::LockTarget") align 8 %80, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 noundef %.0100131)
  %401 = load i8, ptr %8, align 8, !tbaa !9, !range !13, !noundef !14
  %402 = trunc nuw i8 %401 to i1
  br i1 %402, label %412, label %440

403:                                              ; preds = %386
  %404 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %77) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %77) #5
  br label %486

405:                                              ; preds = %399
  %406 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %78) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %78) #5
  br label %486

407:                                              ; preds = %396
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %79) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %79, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %79)
          to label %408 unwind label %410

408:                                              ; preds = %407
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %79) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %79) #5
  %409 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %409, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %409, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

410:                                              ; preds = %407
  %411 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %79) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %79) #5
  br label %486

412:                                              ; preds = %400
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %81) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %81, ptr noundef nonnull @.str.20, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %81)
          to label %413 unwind label %418

413:                                              ; preds = %412
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %81) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %81) #5
  %414 = load i32, ptr %274, align 4, !tbaa !22
  %415 = call noundef zeroext i1 @_ZN2vl8database11LockManager11UpgradeLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetENS0_16LockTargetAccessERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %2, ptr noundef nonnull align 8 dereferenceable(24) %73, i32 noundef %414, ptr noundef nonnull align 8 dereferenceable(16) %6)
  br i1 %415, label %422, label %416

416:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %82) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %82, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %82)
          to label %417 unwind label %420

417:                                              ; preds = %416
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %82) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %82) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %84) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %84, ptr noundef nonnull @.str.15, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %84)
          to label %427 unwind label %431

418:                                              ; preds = %412
  %419 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %81) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %81) #5
  br label %485

420:                                              ; preds = %416
  %421 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %82) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %82) #5
  br label %485

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

423:                                              ; preds = %422
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %83) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %83) #5
  %424 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %424, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %424, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

425:                                              ; preds = %422
  %426 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %83) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %83) #5
  br label %485

427:                                              ; preds = %417
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %84) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %84) #5
  %428 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %2, ptr noundef nonnull align 8 dereferenceable(24) %73)
  br i1 %428, label %429, label %435

429:                                              ; preds = %427
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %85) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %85, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %85)
          to label %430 unwind label %433

430:                                              ; preds = %429
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %85) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %85) #5
  br label %483

431:                                              ; preds = %417
  %432 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %84) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %84) #5
  br label %485

433:                                              ; preds = %429
  %434 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %85) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %85) #5
  br label %485

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

436:                                              ; preds = %435
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %86) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %86) #5
  %437 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %437, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %437, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

438:                                              ; preds = %435
  %439 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %86) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %86) #5
  br label %485

440:                                              ; preds = %400
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %87) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %87, ptr noundef nonnull @.str.21, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %87)
          to label %441 unwind label %446

441:                                              ; preds = %440
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %87) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %87) #5
  %442 = load i32, ptr %274, align 4, !tbaa !22
  %443 = call noundef zeroext i1 @_ZN2vl8database11LockManager11UpgradeLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetENS0_16LockTargetAccessERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %2, ptr noundef nonnull align 8 dereferenceable(24) %73, i32 noundef %442, ptr noundef nonnull align 8 dereferenceable(16) %6)
  br i1 %443, label %444, label %450

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

445:                                              ; preds = %444
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %88) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %88) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %90) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %90, ptr noundef nonnull @.str.22, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %90)
          to label %455 unwind label %461

446:                                              ; preds = %440
  %447 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %87) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %87) #5
  br label %485

448:                                              ; preds = %444
  %449 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %88) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %88) #5
  br label %485

450:                                              ; preds = %441
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %89) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %89, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %89)
          to label %451 unwind label %453

451:                                              ; preds = %450
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %89) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %89) #5
  %452 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %452, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %452, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

453:                                              ; preds = %450
  %454 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %89) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %89) #5
  br label %485

455:                                              ; preds = %445
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %90) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %90) #5
  %456 = load i8, ptr %6, align 8, !tbaa !9, !range !13, !noundef !14
  %457 = getelementptr inbounds [6 x [6 x i8]], ptr @_ZL17lockCompatibility, i64 0, i64 %.0100131, i64 %.0103133
  %458 = load i8, ptr %457, align 1, !tbaa !15, !range !13, !noundef !14
  %.not106 = icmp eq i8 %458, %456
  br i1 %.not106, label %465, label %459

459:                                              ; preds = %455
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %91) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %91, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %91)
          to label %460 unwind label %463

460:                                              ; preds = %459
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %91) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %91) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %93) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %93, ptr noundef nonnull @.str.23, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %93)
          to label %470 unwind label %474

461:                                              ; preds = %445
  %462 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %90) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %90) #5
  br label %485

463:                                              ; preds = %459
  %464 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %91) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %91) #5
  br label %485

465:                                              ; preds = %455
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %92) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %92, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %92)
          to label %466 unwind label %468

466:                                              ; preds = %465
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %92) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %92) #5
  %467 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %467, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %467, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

468:                                              ; preds = %465
  %469 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %92) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %92) #5
  br label %485

470:                                              ; preds = %460
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %93) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %93) #5
  %471 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %2, ptr noundef nonnull align 8 dereferenceable(24) %80)
  br i1 %471, label %472, label %478

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

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

474:                                              ; preds = %460
  %475 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %93) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %93) #5
  br label %485

476:                                              ; preds = %472
  %477 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %94) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %94) #5
  br label %485

478:                                              ; preds = %470
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %95) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %95, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %95)
          to label %479 unwind label %481

479:                                              ; preds = %478
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %95) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %95) #5
  %480 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %480, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %480, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

481:                                              ; preds = %478
  %482 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %95) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %95) #5
  br label %485

483:                                              ; preds = %473, %430
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %80) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %73) #5
  %484 = add nuw nsw i64 %.0100131, 1
  %exitcond139.not = icmp eq i64 %484, 6
  br i1 %exitcond139.not, label %380, label %382, !llvm.loop !29

485:                                              ; preds = %481, %476, %474, %468, %463, %461, %453, %448, %446, %438, %433, %431, %425, %420, %418
  %.pn = phi { ptr, i32 } [ %434, %433 ], [ %439, %438 ], [ %432, %431 ], [ %421, %420 ], [ %426, %425 ], [ %419, %418 ], [ %477, %476 ], [ %482, %481 ], [ %475, %474 ], [ %464, %463 ], [ %469, %468 ], [ %462, %461 ], [ %449, %448 ], [ %454, %453 ], [ %447, %446 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %80) #5
  br label %486

486:                                              ; preds = %485, %410, %405, %403, %394, %389, %387
  %.pn.pn = phi { ptr, i32 } [ %.pn, %485 ], [ %406, %405 ], [ %411, %410 ], [ %404, %403 ], [ %390, %389 ], [ %395, %394 ], [ %388, %387 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %73) #5
  br label %501

487:                                              ; preds = %379
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %96) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %96) #5
  %488 = call noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 %1, ptr noundef nonnull align 8 dereferenceable(24) %66)
  br i1 %488, label %489, label %496

489:                                              ; preds = %487
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %97) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %97, ptr noundef nonnull @.str.1, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %97)
          to label %490 unwind label %494

490:                                              ; preds = %489
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %97) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %97) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %66) #5
  %491 = add nuw nsw i64 %.0103133, 1
  %exitcond141.not = icmp eq i64 %491, 6
  br i1 %exitcond141.not, label %349, label %350, !llvm.loop !30

492:                                              ; preds = %379
  %493 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %96) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %96) #5
  br label %501

494:                                              ; preds = %489
  %495 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %97) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %97) #5
  br label %501

496:                                              ; preds = %487
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %98) #5
  call void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %98, ptr noundef nonnull @.str.2, i1 noundef zeroext true)
  invoke void @_ZN2vl7console7Console9WriteLineERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %98)
          to label %497 unwind label %499

497:                                              ; preds = %496
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %98) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %98) #5
  %498 = call ptr @__cxa_allocate_exception(i64 4) #5
  store i32 0, ptr %498, align 16, !tbaa !5
  call void @__cxa_throw(ptr nonnull %498, ptr nonnull @_ZTIi, ptr null) #6
  unreachable

499:                                              ; preds = %496
  %500 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %98) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %98) #5
  br label %501

501:                                              ; preds = %499, %494, %492, %486, %376, %371, %369, %362, %357, %355
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %486 ], [ %495, %494 ], [ %500, %499 ], [ %493, %492 ], [ %372, %371 ], [ %377, %376 ], [ %370, %369 ], [ %358, %357 ], [ %363, %362 ], [ %356, %355 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %66) #5
  br label %502

502:                                              ; preds = %501, %348, %273, %186
  %.pn117.pn.pn = phi { ptr, i32 } [ %.pn117.pn, %186 ], [ %.pn113.pn, %273 ], [ %.pn110.pn, %348 ], [ %.pn.pn.pn, %501 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  resume { ptr, i32 } %.pn117.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl4FuncIFNS_8database10LockTargetElEEclEl(ptr dead_on_unwind noalias writable sret(%"struct.vl::database::LockTarget") align 8, ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN2vl8database11LockManager11AcquireLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400), i64, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN2vl8database11LockManager11ReleaseLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetE(ptr noundef nonnull align 8 dereferenceable(400), i64, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN2vl8database11LockManager11UpgradeLockENS0_8IdObjectImLl3EEERKNS0_10LockTargetENS0_16LockTargetAccessERNS0_10LockResultE(ptr noundef nonnull align 8 dereferenceable(400), i64, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN2vl8database10LockResultE", !11, i64 0, !12, i64 8}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = !{!23, !25, i64 4}
!23 = !{!"_ZTSN2vl8database10LockTargetE", !24, i64 0, !25, i64 4, !26, i64 8, !7, i64 16}
!24 = !{!"_ZTSN2vl8database14LockTargetTypeE", !7, i64 0}
!25 = !{!"_ZTSN2vl8database16LockTargetAccessE", !7, i64 0}
!26 = !{!"_ZTSN2vl8database8IdObjectIiLl4EEE", !6, i64 0}
!27 = distinct !{!27, !17}
!28 = distinct !{!28, !17}
!29 = distinct !{!29, !17}
!30 = distinct !{!30, !17}


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