; LLVM IR from khushmmehta/Scorch-V :: src/ScorchVkEngine/Abstractions (VulkanMemoryAllocator)

; 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.VmaAllocator_T = type <{ i8, [3 x i8], i32, i8, i8, i8, i8, i8, i8, [2 x i8], ptr, ptr, i8, [7 x i8], %struct.VkAllocationCallbacks, %struct.VmaDeviceMemoryCallbacks, %class.VmaAllocationObjectAllocator, i32, [4 x i8], %struct.VkPhysicalDeviceProperties, %struct.VkPhysicalDeviceMemoryProperties, [32 x ptr], [32 x %class.VmaDedicatedAllocationList], %struct.VmaCurrentBudgetData, %"struct.std::atomic", [4 x i8], i64, ptr, %"struct.std::atomic", %"struct.std::atomic", [32 x i32], %class.VmaRWMutex, %class.VmaIntrusiveLinkedList.14, i32, [4 x i8], %struct.VmaVulkanFunctions, i32, [4 x i8] }>
%struct.VkAllocationCallbacks = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.VmaDeviceMemoryCallbacks = type { ptr, ptr, ptr }
%class.VmaAllocationObjectAllocator = type { %class.VmaMutex, %class.VmaPoolAllocator.11 }
%class.VmaMutex = type { %"class.std::mutex" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%class.VmaPoolAllocator.11 = type { ptr, i32, %class.VmaVector.12 }
%class.VmaVector.12 = type { %struct.VmaStlAllocator.13, ptr, i64, i64 }
%struct.VmaStlAllocator.13 = type { ptr }
%struct.VkPhysicalDeviceProperties = type { i32, i32, i32, i32, i32, [256 x i8], [16 x i8], %struct.VkPhysicalDeviceLimits, %struct.VkPhysicalDeviceSparseProperties }
%struct.VkPhysicalDeviceLimits = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [3 x i32], i32, [3 x i32], i32, i32, i32, i32, i32, float, float, i32, [2 x i32], [2 x float], i32, i64, i64, i64, i64, i32, i32, i32, i32, float, float, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, [2 x float], [2 x float], float, float, i32, i32, i64, i64, i64 }
%struct.VkPhysicalDeviceSparseProperties = type { i32, i32, i32, i32, i32 }
%struct.VkPhysicalDeviceMemoryProperties = type { i32, [32 x %struct.VkMemoryType], i32, [16 x %struct.VkMemoryHeap] }
%struct.VkMemoryType = type { i32, i32 }
%struct.VkMemoryHeap = type { i64, i32 }
%class.VmaDedicatedAllocationList = type { i8, %class.VmaRWMutex, %class.VmaIntrusiveLinkedList }
%class.VmaIntrusiveLinkedList = type { ptr, ptr, i64 }
%struct.VmaCurrentBudgetData = type { [16 x %"struct.std::atomic"], [16 x %"struct.std::atomic"], [16 x %"struct.std::atomic.9"], [16 x %"struct.std::atomic.9"], %"struct.std::atomic", %class.VmaRWMutex, [16 x i64], [16 x i64], [16 x i64] }
%"struct.std::atomic.9" = type { %"struct.std::__atomic_base.10" }
%"struct.std::__atomic_base.10" = type { i64 }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%class.VmaRWMutex = type { %"class.std::shared_mutex" }
%"class.std::shared_mutex" = type { %"class.std::__shared_mutex_pthread" }
%"class.std::__shared_mutex_pthread" = type { %union.pthread_rwlock_t }
%union.pthread_rwlock_t = type { %struct.__pthread_rwlock_arch_t }
%struct.__pthread_rwlock_arch_t = type { i32, i32, i32, i32, i32, i32, i32, i32, i8, [7 x i8], i64, i32 }
%class.VmaIntrusiveLinkedList.14 = type { ptr, ptr, i64 }
%struct.VmaVulkanFunctions = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [310 x i8], align 1
@__PRETTY_FUNCTION__._ZN14VmaAllocator_T29ImportVulkanFunctions_DynamicEv = external hidden unnamed_addr constant [53 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.216 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.217 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.219 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.220 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.221 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.222 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.223 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.224 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.225 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.226 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14VmaAllocator_T29ImportVulkanFunctions_DynamicEv(ptr noundef nonnull align 8 dereferenceable(5916) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %3 = load ptr, ptr %2, align 8
  %4 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %5 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %4, i32 0, i32 0
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = icmp ne ptr %6, null
  br i1 %7, label %8, label %14

8:                                                ; preds = %1
  %9 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %10 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %9, i32 0, i32 1
  %11 = load ptr, ptr %10, align 8, !tbaa !37
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %14

13:                                               ; preds = %8
  br label %14

14:                                               ; preds = %13, %8, %1
  %15 = phi i1 [ false, %8 ], [ false, %1 ], [ true, %13 ]
  br i1 %15, label %16, label %17

16:                                               ; preds = %14
  br label %19

17:                                               ; preds = %14
  call void @__assert_fail(ptr noundef @.str.201, ptr noundef @.str.2, i32 noundef 14389, ptr noundef @__PRETTY_FUNCTION__._ZN14VmaAllocator_T29ImportVulkanFunctions_DynamicEv) #2
  unreachable

18:                                               ; No predecessors!
  br label %19

19:                                               ; preds = %18, %16
  %20 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %21 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %20, i32 0, i32 2
  %22 = load ptr, ptr %21, align 8, !tbaa !38
  %23 = icmp eq ptr %22, null
  br i1 %23, label %24, label %33

24:                                               ; preds = %19
  %25 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %26 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %25, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 11
  %29 = load ptr, ptr %28, align 8, !tbaa !39
  %30 = call noundef ptr %27(ptr noundef %29, ptr noundef @.str.202)
  %31 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %32 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %31, i32 0, i32 2
  store ptr %30, ptr %32, align 8, !tbaa !38
  br label %33

33:                                               ; preds = %24, %19
  %34 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %35 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %34, i32 0, i32 3
  %36 = load ptr, ptr %35, align 8, !tbaa !40
  %37 = icmp eq ptr %36, null
  br i1 %37, label %38, label %47

38:                                               ; preds = %33
  %39 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %40 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 11
  %43 = load ptr, ptr %42, align 8, !tbaa !39
  %44 = call noundef ptr %41(ptr noundef %43, ptr noundef @.str.203)
  %45 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %46 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %45, i32 0, i32 3
  store ptr %44, ptr %46, align 8, !tbaa !40
  br label %47

47:                                               ; preds = %38, %33
  %48 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %49 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %48, i32 0, i32 4
  %50 = load ptr, ptr %49, align 8, !tbaa !41
  %51 = icmp eq ptr %50, null
  br i1 %51, label %52, label %61

52:                                               ; preds = %47
  %53 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %54 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %53, i32 0, i32 1
  %55 = load ptr, ptr %54, align 8, !tbaa !37
  %56 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %57 = load ptr, ptr %56, align 8, !tbaa !42
  %58 = call noundef ptr %55(ptr noundef %57, ptr noundef @.str.204)
  %59 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %60 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %59, i32 0, i32 4
  store ptr %58, ptr %60, align 8, !tbaa !41
  br label %61

61:                                               ; preds = %52, %47
  %62 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %63 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %62, i32 0, i32 5
  %64 = load ptr, ptr %63, align 8, !tbaa !43
  %65 = icmp eq ptr %64, null
  br i1 %65, label %66, label %75

66:                                               ; preds = %61
  %67 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %68 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %67, i32 0, i32 1
  %69 = load ptr, ptr %68, align 8, !tbaa !37
  %70 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %71 = load ptr, ptr %70, align 8, !tbaa !42
  %72 = call noundef ptr %69(ptr noundef %71, ptr noundef @.str.205)
  %73 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %74 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %73, i32 0, i32 5
  store ptr %72, ptr %74, align 8, !tbaa !43
  br label %75

75:                                               ; preds = %66, %61
  %76 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %77 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %76, i32 0, i32 6
  %78 = load ptr, ptr %77, align 8, !tbaa !44
  %79 = icmp eq ptr %78, null
  br i1 %79, label %80, label %89

80:                                               ; preds = %75
  %81 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %82 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %81, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !37
  %84 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %85 = load ptr, ptr %84, align 8, !tbaa !42
  %86 = call noundef ptr %83(ptr noundef %85, ptr noundef @.str.206)
  %87 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %88 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %87, i32 0, i32 6
  store ptr %86, ptr %88, align 8, !tbaa !44
  br label %89

89:                                               ; preds = %80, %75
  %90 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %91 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %90, i32 0, i32 7
  %92 = load ptr, ptr %91, align 8, !tbaa !45
  %93 = icmp eq ptr %92, null
  br i1 %93, label %94, label %103

94:                                               ; preds = %89
  %95 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %96 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %95, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8, !tbaa !37
  %98 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %99 = load ptr, ptr %98, align 8, !tbaa !42
  %100 = call noundef ptr %97(ptr noundef %99, ptr noundef @.str.207)
  %101 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %102 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %101, i32 0, i32 7
  store ptr %100, ptr %102, align 8, !tbaa !45
  br label %103

103:                                              ; preds = %94, %89
  %104 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %105 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %104, i32 0, i32 8
  %106 = load ptr, ptr %105, align 8, !tbaa !46
  %107 = icmp eq ptr %106, null
  br i1 %107, label %108, label %117

108:                                              ; preds = %103
  %109 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %110 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %109, i32 0, i32 1
  %111 = load ptr, ptr %110, align 8, !tbaa !37
  %112 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %113 = load ptr, ptr %112, align 8, !tbaa !42
  %114 = call noundef ptr %111(ptr noundef %113, ptr noundef @.str.208)
  %115 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %116 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %115, i32 0, i32 8
  store ptr %114, ptr %116, align 8, !tbaa !46
  br label %117

117:                                              ; preds = %108, %103
  %118 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %119 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %118, i32 0, i32 9
  %120 = load ptr, ptr %119, align 8, !tbaa !47
  %121 = icmp eq ptr %120, null
  br i1 %121, label %122, label %131

122:                                              ; preds = %117
  %123 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %124 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %123, i32 0, i32 1
  %125 = load ptr, ptr %124, align 8, !tbaa !37
  %126 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %127 = load ptr, ptr %126, align 8, !tbaa !42
  %128 = call noundef ptr %125(ptr noundef %127, ptr noundef @.str.209)
  %129 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %130 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %129, i32 0, i32 9
  store ptr %128, ptr %130, align 8, !tbaa !47
  br label %131

131:                                              ; preds = %122, %117
  %132 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %133 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %132, i32 0, i32 10
  %134 = load ptr, ptr %133, align 8, !tbaa !48
  %135 = icmp eq ptr %134, null
  br i1 %135, label %136, label %145

136:                                              ; preds = %131
  %137 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %138 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %137, i32 0, i32 1
  %139 = load ptr, ptr %138, align 8, !tbaa !37
  %140 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %141 = load ptr, ptr %140, align 8, !tbaa !42
  %142 = call noundef ptr %139(ptr noundef %141, ptr noundef @.str.210)
  %143 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %144 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %143, i32 0, i32 10
  store ptr %142, ptr %144, align 8, !tbaa !48
  br label %145

145:                                              ; preds = %136, %131
  %146 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %147 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %146, i32 0, i32 11
  %148 = load ptr, ptr %147, align 8, !tbaa !49
  %149 = icmp eq ptr %148, null
  br i1 %149, label %150, label %159

150:                                              ; preds = %145
  %151 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %152 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %151, i32 0, i32 1
  %153 = load ptr, ptr %152, align 8, !tbaa !37
  %154 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %155 = load ptr, ptr %154, align 8, !tbaa !42
  %156 = call noundef ptr %153(ptr noundef %155, ptr noundef @.str.211)
  %157 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %158 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %157, i32 0, i32 11
  store ptr %156, ptr %158, align 8, !tbaa !49
  br label %159

159:                                              ; preds = %150, %145
  %160 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %161 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %160, i32 0, i32 12
  %162 = load ptr, ptr %161, align 8, !tbaa !50
  %163 = icmp eq ptr %162, null
  br i1 %163, label %164, label %173

164:                                              ; preds = %159
  %165 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %166 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %165, i32 0, i32 1
  %167 = load ptr, ptr %166, align 8, !tbaa !37
  %168 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %169 = load ptr, ptr %168, align 8, !tbaa !42
  %170 = call noundef ptr %167(ptr noundef %169, ptr noundef @.str.212)
  %171 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %172 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %171, i32 0, i32 12
  store ptr %170, ptr %172, align 8, !tbaa !50
  br label %173

173:                                              ; preds = %164, %159
  %174 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %175 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %174, i32 0, i32 13
  %176 = load ptr, ptr %175, align 8, !tbaa !51
  %177 = icmp eq ptr %176, null
  br i1 %177, label %178, label %187

178:                                              ; preds = %173
  %179 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %180 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %179, i32 0, i32 1
  %181 = load ptr, ptr %180, align 8, !tbaa !37
  %182 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %183 = load ptr, ptr %182, align 8, !tbaa !42
  %184 = call noundef ptr %181(ptr noundef %183, ptr noundef @.str.213)
  %185 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %186 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %185, i32 0, i32 13
  store ptr %184, ptr %186, align 8, !tbaa !51
  br label %187

187:                                              ; preds = %178, %173
  %188 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %189 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %188, i32 0, i32 14
  %190 = load ptr, ptr %189, align 8, !tbaa !52
  %191 = icmp eq ptr %190, null
  br i1 %191, label %192, label %201

192:                                              ; preds = %187
  %193 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %194 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %193, i32 0, i32 1
  %195 = load ptr, ptr %194, align 8, !tbaa !37
  %196 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %197 = load ptr, ptr %196, align 8, !tbaa !42
  %198 = call noundef ptr %195(ptr noundef %197, ptr noundef @.str.214)
  %199 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %200 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %199, i32 0, i32 14
  store ptr %198, ptr %200, align 8, !tbaa !52
  br label %201

201:                                              ; preds = %192, %187
  %202 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %203 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %202, i32 0, i32 15
  %204 = load ptr, ptr %203, align 8, !tbaa !53
  %205 = icmp eq ptr %204, null
  br i1 %205, label %206, label %215

206:                                              ; preds = %201
  %207 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %208 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %207, i32 0, i32 1
  %209 = load ptr, ptr %208, align 8, !tbaa !37
  %210 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %211 = load ptr, ptr %210, align 8, !tbaa !42
  %212 = call noundef ptr %209(ptr noundef %211, ptr noundef @.str.215)
  %213 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %214 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %213, i32 0, i32 15
  store ptr %212, ptr %214, align 8, !tbaa !53
  br label %215

215:                                              ; preds = %206, %201
  %216 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %217 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %216, i32 0, i32 16
  %218 = load ptr, ptr %217, align 8, !tbaa !54
  %219 = icmp eq ptr %218, null
  br i1 %219, label %220, label %229

220:                                              ; preds = %215
  %221 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %222 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %221, i32 0, i32 1
  %223 = load ptr, ptr %222, align 8, !tbaa !37
  %224 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %225 = load ptr, ptr %224, align 8, !tbaa !42
  %226 = call noundef ptr %223(ptr noundef %225, ptr noundef @.str.216)
  %227 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %228 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %227, i32 0, i32 16
  store ptr %226, ptr %228, align 8, !tbaa !54
  br label %229

229:                                              ; preds = %220, %215
  %230 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %231 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %230, i32 0, i32 17
  %232 = load ptr, ptr %231, align 8, !tbaa !55
  %233 = icmp eq ptr %232, null
  br i1 %233, label %234, label %243

234:                                              ; preds = %229
  %235 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %236 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %235, i32 0, i32 1
  %237 = load ptr, ptr %236, align 8, !tbaa !37
  %238 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %239 = load ptr, ptr %238, align 8, !tbaa !42
  %240 = call noundef ptr %237(ptr noundef %239, ptr noundef @.str.217)
  %241 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %242 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %241, i32 0, i32 17
  store ptr %240, ptr %242, align 8, !tbaa !55
  br label %243

243:                                              ; preds = %234, %229
  %244 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %245 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %244, i32 0, i32 18
  %246 = load ptr, ptr %245, align 8, !tbaa !56
  %247 = icmp eq ptr %246, null
  br i1 %247, label %248, label %257

248:                                              ; preds = %243
  %249 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %250 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %249, i32 0, i32 1
  %251 = load ptr, ptr %250, align 8, !tbaa !37
  %252 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %253 = load ptr, ptr %252, align 8, !tbaa !42
  %254 = call noundef ptr %251(ptr noundef %253, ptr noundef @.str.218)
  %255 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %256 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %255, i32 0, i32 18
  store ptr %254, ptr %256, align 8, !tbaa !56
  br label %257

257:                                              ; preds = %248, %243
  %258 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 2
  %259 = load i32, ptr %258, align 4, !tbaa !57
  %260 = icmp uge i32 %259, 4198400
  br i1 %260, label %261, label %318

261:                                              ; preds = %257
  %262 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %263 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %262, i32 0, i32 19
  %264 = load ptr, ptr %263, align 8, !tbaa !58
  %265 = icmp eq ptr %264, null
  br i1 %265, label %266, label %275

266:                                              ; preds = %261
  %267 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %268 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %267, i32 0, i32 1
  %269 = load ptr, ptr %268, align 8, !tbaa !37
  %270 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %271 = load ptr, ptr %270, align 8, !tbaa !42
  %272 = call noundef ptr %269(ptr noundef %271, ptr noundef @.str.219)
  %273 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %274 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %273, i32 0, i32 19
  store ptr %272, ptr %274, align 8, !tbaa !58
  br label %275

275:                                              ; preds = %266, %261
  %276 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %277 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %276, i32 0, i32 20
  %278 = load ptr, ptr %277, align 8, !tbaa !59
  %279 = icmp eq ptr %278, null
  br i1 %279, label %280, label %289

280:                                              ; preds = %275
  %281 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %282 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %281, i32 0, i32 1
  %283 = load ptr, ptr %282, align 8, !tbaa !37
  %284 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %285 = load ptr, ptr %284, align 8, !tbaa !42
  %286 = call noundef ptr %283(ptr noundef %285, ptr noundef @.str.220)
  %287 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %288 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %287, i32 0, i32 20
  store ptr %286, ptr %288, align 8, !tbaa !59
  br label %289

289:                                              ; preds = %280, %275
  %290 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %291 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %290, i32 0, i32 21
  %292 = load ptr, ptr %291, align 8, !tbaa !60
  %293 = icmp eq ptr %292, null
  br i1 %293, label %294, label %303

294:                                              ; preds = %289
  %295 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %296 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %295, i32 0, i32 1
  %297 = load ptr, ptr %296, align 8, !tbaa !37
  %298 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %299 = load ptr, ptr %298, align 8, !tbaa !42
  %300 = call noundef ptr %297(ptr noundef %299, ptr noundef @.str.221)
  %301 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %302 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %301, i32 0, i32 21
  store ptr %300, ptr %302, align 8, !tbaa !60
  br label %303

303:                                              ; preds = %294, %289
  %304 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %305 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %304, i32 0, i32 22
  %306 = load ptr, ptr %305, align 8, !tbaa !61
  %307 = icmp eq ptr %306, null
  br i1 %307, label %308, label %317

308:                                              ; preds = %303
  %309 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %310 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %309, i32 0, i32 1
  %311 = load ptr, ptr %310, align 8, !tbaa !37
  %312 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %313 = load ptr, ptr %312, align 8, !tbaa !42
  %314 = call noundef ptr %311(ptr noundef %313, ptr noundef @.str.222)
  %315 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %316 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %315, i32 0, i32 22
  store ptr %314, ptr %316, align 8, !tbaa !61
  br label %317

317:                                              ; preds = %308, %303
  br label %318

318:                                              ; preds = %317, %257
  %319 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 2
  %320 = load i32, ptr %319, align 4, !tbaa !57
  %321 = icmp uge i32 %320, 4198400
  br i1 %321, label %322, label %337

322:                                              ; preds = %318
  %323 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %324 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %323, i32 0, i32 23
  %325 = load ptr, ptr %324, align 8, !tbaa !62
  %326 = icmp eq ptr %325, null
  br i1 %326, label %327, label %336

327:                                              ; preds = %322
  %328 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %329 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %328, i32 0, i32 0
  %330 = load ptr, ptr %329, align 8, !tbaa !9
  %331 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 11
  %332 = load ptr, ptr %331, align 8, !tbaa !39
  %333 = call noundef ptr %330(ptr noundef %332, ptr noundef @.str.223)
  %334 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %335 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %334, i32 0, i32 23
  store ptr %333, ptr %335, align 8, !tbaa !62
  br label %336

336:                                              ; preds = %327, %322
  br label %357

337:                                              ; preds = %318
  %338 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 5
  %339 = load i8, ptr %338, align 2, !tbaa !63, !range !64, !noundef !65
  %340 = trunc i8 %339 to i1
  br i1 %340, label %341, label %356

341:                                              ; preds = %337
  %342 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %343 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %342, i32 0, i32 23
  %344 = load ptr, ptr %343, align 8, !tbaa !62
  %345 = icmp eq ptr %344, null
  br i1 %345, label %346, label %355

346:                                              ; preds = %341
  %347 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %348 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %347, i32 0, i32 0
  %349 = load ptr, ptr %348, align 8, !tbaa !9
  %350 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 11
  %351 = load ptr, ptr %350, align 8, !tbaa !39
  %352 = call noundef ptr %349(ptr noundef %351, ptr noundef @.str.224)
  %353 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %354 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %353, i32 0, i32 23
  store ptr %352, ptr %354, align 8, !tbaa !62
  br label %355

355:                                              ; preds = %346, %341
  br label %356

356:                                              ; preds = %355, %337
  br label %357

357:                                              ; preds = %356, %336
  %358 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 3
  %359 = load i8, ptr %358, align 8, !tbaa !66, !range !64, !noundef !65
  %360 = trunc i8 %359 to i1
  br i1 %360, label %361, label %390

361:                                              ; preds = %357
  %362 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %363 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %362, i32 0, i32 19
  %364 = load ptr, ptr %363, align 8, !tbaa !58
  %365 = icmp eq ptr %364, null
  br i1 %365, label %366, label %375

366:                                              ; preds = %361
  %367 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %368 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %367, i32 0, i32 1
  %369 = load ptr, ptr %368, align 8, !tbaa !37
  %370 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %371 = load ptr, ptr %370, align 8, !tbaa !42
  %372 = call noundef ptr %369(ptr noundef %371, ptr noundef @.str.225)
  %373 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %374 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %373, i32 0, i32 19
  store ptr %372, ptr %374, align 8, !tbaa !58
  br label %375

375:                                              ; preds = %366, %361
  %376 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %377 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %376, i32 0, i32 20
  %378 = load ptr, ptr %377, align 8, !tbaa !59
  %379 = icmp eq ptr %378, null
  br i1 %379, label %380, label %389

380:                                              ; preds = %375
  %381 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %382 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %381, i32 0, i32 1
  %383 = load ptr, ptr %382, align 8, !tbaa !37
  %384 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %385 = load ptr, ptr %384, align 8, !tbaa !42
  %386 = call noundef ptr %383(ptr noundef %385, ptr noundef @.str.226)
  %387 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %388 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %387, i32 0, i32 20
  store ptr %386, ptr %388, align 8, !tbaa !59
  br label %389

389:                                              ; preds = %380, %375
  br label %390

390:                                              ; preds = %389, %357
  %391 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 4
  %392 = load i8, ptr %391, align 1, !tbaa !67, !range !64, !noundef !65
  %393 = trunc i8 %392 to i1
  br i1 %393, label %394, label %423

394:                                              ; preds = %390
  %395 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %396 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %395, i32 0, i32 21
  %397 = load ptr, ptr %396, align 8, !tbaa !60
  %398 = icmp eq ptr %397, null
  br i1 %398, label %399, label %408

399:                                              ; preds = %394
  %400 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %401 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %400, i32 0, i32 1
  %402 = load ptr, ptr %401, align 8, !tbaa !37
  %403 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %404 = load ptr, ptr %403, align 8, !tbaa !42
  %405 = call noundef ptr %402(ptr noundef %404, ptr noundef @.str.227)
  %406 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %407 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %406, i32 0, i32 21
  store ptr %405, ptr %407, align 8, !tbaa !60
  br label %408

408:                                              ; preds = %399, %394
  %409 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %410 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %409, i32 0, i32 22
  %411 = load ptr, ptr %410, align 8, !tbaa !61
  %412 = icmp eq ptr %411, null
  br i1 %412, label %413, label %422

413:                                              ; preds = %408
  %414 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %415 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %414, i32 0, i32 1
  %416 = load ptr, ptr %415, align 8, !tbaa !37
  %417 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %418 = load ptr, ptr %417, align 8, !tbaa !42
  %419 = call noundef ptr %416(ptr noundef %418, ptr noundef @.str.228)
  %420 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %421 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %420, i32 0, i32 22
  store ptr %419, ptr %421, align 8, !tbaa !61
  br label %422

422:                                              ; preds = %413, %408
  br label %423

423:                                              ; preds = %422, %390
  %424 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 2
  %425 = load i32, ptr %424, align 4, !tbaa !57
  %426 = icmp uge i32 %425, 4198400
  br i1 %426, label %427, label %442

427:                                              ; preds = %423
  %428 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %429 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %428, i32 0, i32 23
  %430 = load ptr, ptr %429, align 8, !tbaa !62
  %431 = icmp eq ptr %430, null
  br i1 %431, label %432, label %441

432:                                              ; preds = %427
  %433 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %434 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %433, i32 0, i32 0
  %435 = load ptr, ptr %434, align 8, !tbaa !9
  %436 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 11
  %437 = load ptr, ptr %436, align 8, !tbaa !39
  %438 = call noundef ptr %435(ptr noundef %437, ptr noundef @.str.223)
  %439 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %440 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %439, i32 0, i32 23
  store ptr %438, ptr %440, align 8, !tbaa !62
  br label %441

441:                                              ; preds = %432, %427
  br label %462

442:                                              ; preds = %423
  %443 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 5
  %444 = load i8, ptr %443, align 2, !tbaa !63, !range !64, !noundef !65
  %445 = trunc i8 %444 to i1
  br i1 %445, label %446, label %461

446:                                              ; preds = %442
  %447 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %448 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %447, i32 0, i32 23
  %449 = load ptr, ptr %448, align 8, !tbaa !62
  %450 = icmp eq ptr %449, null
  br i1 %450, label %451, label %460

451:                                              ; preds = %446
  %452 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %453 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %452, i32 0, i32 0
  %454 = load ptr, ptr %453, align 8, !tbaa !9
  %455 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 11
  %456 = load ptr, ptr %455, align 8, !tbaa !39
  %457 = call noundef ptr %454(ptr noundef %456, ptr noundef @.str.224)
  %458 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %459 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %458, i32 0, i32 23
  store ptr %457, ptr %459, align 8, !tbaa !62
  br label %460

460:                                              ; preds = %451, %446
  br label %461

461:                                              ; preds = %460, %442
  br label %462

462:                                              ; preds = %461, %441
  %463 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 2
  %464 = load i32, ptr %463, align 4, !tbaa !57
  %465 = icmp uge i32 %464, 4206592
  br i1 %465, label %466, label %495

466:                                              ; preds = %462
  %467 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %468 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %467, i32 0, i32 24
  %469 = load ptr, ptr %468, align 8, !tbaa !68
  %470 = icmp eq ptr %469, null
  br i1 %470, label %471, label %480

471:                                              ; preds = %466
  %472 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %473 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %472, i32 0, i32 1
  %474 = load ptr, ptr %473, align 8, !tbaa !37
  %475 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %476 = load ptr, ptr %475, align 8, !tbaa !42
  %477 = call noundef ptr %474(ptr noundef %476, ptr noundef @.str.229)
  %478 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %479 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %478, i32 0, i32 24
  store ptr %477, ptr %479, align 8, !tbaa !68
  br label %480

480:                                              ; preds = %471, %466
  %481 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %482 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %481, i32 0, i32 25
  %483 = load ptr, ptr %482, align 8, !tbaa !69
  %484 = icmp eq ptr %483, null
  br i1 %484, label %485, label %494

485:                                              ; preds = %480
  %486 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %487 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %486, i32 0, i32 1
  %488 = load ptr, ptr %487, align 8, !tbaa !37
  %489 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 10
  %490 = load ptr, ptr %489, align 8, !tbaa !42
  %491 = call noundef ptr %488(ptr noundef %490, ptr noundef @.str.230)
  %492 = getelementptr inbounds %struct.VmaAllocator_T, ptr %3, i32 0, i32 35
  %493 = getelementptr inbounds %struct.VmaVulkanFunctions, ptr %492, i32 0, i32 25
  store ptr %491, ptr %493, align 8, !tbaa !69
  br label %494

494:                                              ; preds = %485, %480
  br label %495

495:                                              ; preds = %494, %462
  ret void
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { noreturn nounwind }

!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, !6, i64 5704}
!10 = !{!"_ZTS14VmaAllocator_T", !11, i64 0, !12, i64 4, !11, i64 8, !11, i64 9, !11, i64 10, !11, i64 11, !11, i64 12, !11, i64 13, !6, i64 16, !6, i64 24, !11, i64 32, !13, i64 40, !14, i64 88, !15, i64 112, !12, i64 200, !23, i64 208, !28, i64 1032, !7, i64 1552, !7, i64 1808, !29, i64 4624, !30, i64 5456, !22, i64 5464, !6, i64 5472, !30, i64 5480, !30, i64 5484, !7, i64 5488, !32, i64 5616, !35, i64 5672, !12, i64 5696, !36, i64 5704, !12, i64 5912}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS21VkAllocationCallbacks", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!14 = !{!"_ZTS24VmaDeviceMemoryCallbacks", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"_ZTS28VmaAllocationObjectAllocator", !16, i64 0, !19, i64 40}
!16 = !{!"_ZTS8VmaMutex", !17, i64 0}
!17 = !{!"_ZTSSt5mutex", !18, i64 0}
!18 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!19 = !{!"_ZTS16VmaPoolAllocatorI15VmaAllocation_TE", !6, i64 0, !12, i64 8, !20, i64 16}
!20 = !{!"_ZTS9VmaVectorIN16VmaPoolAllocatorI15VmaAllocation_TE9ItemBlockE15VmaStlAllocatorIS3_EE", !21, i64 0, !6, i64 8, !22, i64 16, !22, i64 24}
!21 = !{!"_ZTS15VmaStlAllocatorIN16VmaPoolAllocatorI15VmaAllocation_TE9ItemBlockEE", !6, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTS26VkPhysicalDeviceProperties", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !24, i64 16, !7, i64 20, !7, i64 276, !25, i64 296, !27, i64 800}
!24 = !{!"_ZTS20VkPhysicalDeviceType", !7, i64 0}
!25 = !{!"_ZTS22VkPhysicalDeviceLimits", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !22, i64 48, !22, i64 56, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !12, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !12, i64 192, !12, i64 196, !12, i64 200, !12, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !7, i64 220, !12, i64 232, !7, i64 236, !12, i64 248, !12, i64 252, !12, i64 256, !12, i64 260, !12, i64 264, !26, i64 268, !26, i64 272, !12, i64 276, !7, i64 280, !7, i64 288, !12, i64 296, !22, i64 304, !22, i64 312, !22, i64 320, !22, i64 328, !12, i64 336, !12, i64 340, !12, i64 344, !12, i64 348, !26, i64 352, !26, i64 356, !12, i64 360, !12, i64 364, !12, i64 368, !12, i64 372, !12, i64 376, !12, i64 380, !12, i64 384, !12, i64 388, !12, i64 392, !12, i64 396, !12, i64 400, !12, i64 404, !12, i64 408, !12, i64 412, !12, i64 416, !12, i64 420, !26, i64 424, !12, i64 428, !12, i64 432, !12, i64 436, !12, i64 440, !7, i64 444, !7, i64 452, !26, i64 460, !26, i64 464, !12, i64 468, !12, i64 472, !22, i64 480, !22, i64 488, !22, i64 496}
!26 = !{!"float", !7, i64 0}
!27 = !{!"_ZTS32VkPhysicalDeviceSparseProperties", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16}
!28 = !{!"_ZTS32VkPhysicalDeviceMemoryProperties", !12, i64 0, !7, i64 4, !12, i64 260, !7, i64 264}
!29 = !{!"_ZTS20VmaCurrentBudgetData", !7, i64 0, !7, i64 64, !7, i64 128, !7, i64 256, !30, i64 384, !32, i64 392, !7, i64 448, !7, i64 576, !7, i64 704}
!30 = !{!"_ZTSSt6atomicIjE", !31, i64 0}
!31 = !{!"_ZTSSt13__atomic_baseIjE", !12, i64 0}
!32 = !{!"_ZTS10VmaRWMutex", !33, i64 0}
!33 = !{!"_ZTSSt12shared_mutex", !34, i64 0}
!34 = !{!"_ZTSSt22__shared_mutex_pthread", !7, i64 0}
!35 = !{!"_ZTS22VmaIntrusiveLinkedListI21VmaPoolListItemTraitsE", !6, i64 0, !6, i64 8, !22, i64 16}
!36 = !{!"_ZTS18VmaVulkanFunctions", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200}
!37 = !{!10, !6, i64 5712}
!38 = !{!10, !6, i64 5720}
!39 = !{!10, !6, i64 24}
!40 = !{!10, !6, i64 5728}
!41 = !{!10, !6, i64 5736}
!42 = !{!10, !6, i64 16}
!43 = !{!10, !6, i64 5744}
!44 = !{!10, !6, i64 5752}
!45 = !{!10, !6, i64 5760}
!46 = !{!10, !6, i64 5768}
!47 = !{!10, !6, i64 5776}
!48 = !{!10, !6, i64 5784}
!49 = !{!10, !6, i64 5792}
!50 = !{!10, !6, i64 5800}
!51 = !{!10, !6, i64 5808}
!52 = !{!10, !6, i64 5816}
!53 = !{!10, !6, i64 5824}
!54 = !{!10, !6, i64 5832}
!55 = !{!10, !6, i64 5840}
!56 = !{!10, !6, i64 5848}
!57 = !{!10, !12, i64 4}
!58 = !{!10, !6, i64 5856}
!59 = !{!10, !6, i64 5864}
!60 = !{!10, !6, i64 5872}
!61 = !{!10, !6, i64 5880}
!62 = !{!10, !6, i64 5888}
!63 = !{!10, !11, i64 10}
!64 = !{i8 0, i8 2}
!65 = !{}
!66 = !{!10, !11, i64 8}
!67 = !{!10, !11, i64 9}
!68 = !{!10, !6, i64 5896}
!69 = !{!10, !6, i64 5904}


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

@.str.2 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [310 x i8], align 1
@__PRETTY_FUNCTION__._ZN14VmaAllocator_T29ImportVulkanFunctions_DynamicEv = external hidden unnamed_addr constant [53 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.216 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.217 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.219 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.220 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.221 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.222 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.223 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.224 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.225 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.226 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14VmaAllocator_T29ImportVulkanFunctions_DynamicEv(ptr noundef nonnull align 8 dereferenceable(5916) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 5704
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %.critedge, label %4

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 5712
  %6 = load ptr, ptr %5, align 8, !tbaa !36
  %.not1 = icmp eq ptr %6, null
  br i1 %.not1, label %.critedge, label %7

.critedge:                                        ; preds = %1, %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.201, ptr noundef nonnull @.str.2, i32 noundef 14389, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14VmaAllocator_T29ImportVulkanFunctions_DynamicEv) #2
  unreachable

7:                                                ; preds = %4
  %8 = getelementptr inbounds i8, ptr %0, i64 5720
  %9 = load ptr, ptr %8, align 8, !tbaa !37
  %10 = icmp eq ptr %9, null
  br i1 %10, label %11, label %15

11:                                               ; preds = %7
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  %13 = load ptr, ptr %12, align 8, !tbaa !38
  %14 = tail call noundef ptr %3(ptr noundef %13, ptr noundef nonnull @.str.202)
  store ptr %14, ptr %8, align 8, !tbaa !37
  br label %15

15:                                               ; preds = %11, %7
  %16 = getelementptr inbounds i8, ptr %0, i64 5728
  %17 = load ptr, ptr %16, align 8, !tbaa !39
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %24

19:                                               ; preds = %15
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %0, i64 24
  %22 = load ptr, ptr %21, align 8, !tbaa !38
  %23 = tail call noundef ptr %20(ptr noundef %22, ptr noundef nonnull @.str.203)
  store ptr %23, ptr %16, align 8, !tbaa !39
  br label %24

24:                                               ; preds = %19, %15
  %25 = getelementptr inbounds i8, ptr %0, i64 5736
  %26 = load ptr, ptr %25, align 8, !tbaa !40
  %27 = icmp eq ptr %26, null
  br i1 %27, label %28, label %33

28:                                               ; preds = %24
  %29 = load ptr, ptr %5, align 8, !tbaa !36
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  %31 = load ptr, ptr %30, align 8, !tbaa !41
  %32 = tail call noundef ptr %29(ptr noundef %31, ptr noundef nonnull @.str.204)
  store ptr %32, ptr %25, align 8, !tbaa !40
  br label %33

33:                                               ; preds = %28, %24
  %34 = getelementptr inbounds i8, ptr %0, i64 5744
  %35 = load ptr, ptr %34, align 8, !tbaa !42
  %36 = icmp eq ptr %35, null
  br i1 %36, label %37, label %42

37:                                               ; preds = %33
  %38 = load ptr, ptr %5, align 8, !tbaa !36
  %39 = getelementptr inbounds i8, ptr %0, i64 16
  %40 = load ptr, ptr %39, align 8, !tbaa !41
  %41 = tail call noundef ptr %38(ptr noundef %40, ptr noundef nonnull @.str.205)
  store ptr %41, ptr %34, align 8, !tbaa !42
  br label %42

42:                                               ; preds = %37, %33
  %43 = getelementptr inbounds i8, ptr %0, i64 5752
  %44 = load ptr, ptr %43, align 8, !tbaa !43
  %45 = icmp eq ptr %44, null
  br i1 %45, label %46, label %51

46:                                               ; preds = %42
  %47 = load ptr, ptr %5, align 8, !tbaa !36
  %48 = getelementptr inbounds i8, ptr %0, i64 16
  %49 = load ptr, ptr %48, align 8, !tbaa !41
  %50 = tail call noundef ptr %47(ptr noundef %49, ptr noundef nonnull @.str.206)
  store ptr %50, ptr %43, align 8, !tbaa !43
  br label %51

51:                                               ; preds = %46, %42
  %52 = getelementptr inbounds i8, ptr %0, i64 5760
  %53 = load ptr, ptr %52, align 8, !tbaa !44
  %54 = icmp eq ptr %53, null
  br i1 %54, label %55, label %60

55:                                               ; preds = %51
  %56 = load ptr, ptr %5, align 8, !tbaa !36
  %57 = getelementptr inbounds i8, ptr %0, i64 16
  %58 = load ptr, ptr %57, align 8, !tbaa !41
  %59 = tail call noundef ptr %56(ptr noundef %58, ptr noundef nonnull @.str.207)
  store ptr %59, ptr %52, align 8, !tbaa !44
  br label %60

60:                                               ; preds = %55, %51
  %61 = getelementptr inbounds i8, ptr %0, i64 5768
  %62 = load ptr, ptr %61, align 8, !tbaa !45
  %63 = icmp eq ptr %62, null
  br i1 %63, label %64, label %69

64:                                               ; preds = %60
  %65 = load ptr, ptr %5, align 8, !tbaa !36
  %66 = getelementptr inbounds i8, ptr %0, i64 16
  %67 = load ptr, ptr %66, align 8, !tbaa !41
  %68 = tail call noundef ptr %65(ptr noundef %67, ptr noundef nonnull @.str.208)
  store ptr %68, ptr %61, align 8, !tbaa !45
  br label %69

69:                                               ; preds = %64, %60
  %70 = getelementptr inbounds i8, ptr %0, i64 5776
  %71 = load ptr, ptr %70, align 8, !tbaa !46
  %72 = icmp eq ptr %71, null
  br i1 %72, label %73, label %78

73:                                               ; preds = %69
  %74 = load ptr, ptr %5, align 8, !tbaa !36
  %75 = getelementptr inbounds i8, ptr %0, i64 16
  %76 = load ptr, ptr %75, align 8, !tbaa !41
  %77 = tail call noundef ptr %74(ptr noundef %76, ptr noundef nonnull @.str.209)
  store ptr %77, ptr %70, align 8, !tbaa !46
  br label %78

78:                                               ; preds = %73, %69
  %79 = getelementptr inbounds i8, ptr %0, i64 5784
  %80 = load ptr, ptr %79, align 8, !tbaa !47
  %81 = icmp eq ptr %80, null
  br i1 %81, label %82, label %87

82:                                               ; preds = %78
  %83 = load ptr, ptr %5, align 8, !tbaa !36
  %84 = getelementptr inbounds i8, ptr %0, i64 16
  %85 = load ptr, ptr %84, align 8, !tbaa !41
  %86 = tail call noundef ptr %83(ptr noundef %85, ptr noundef nonnull @.str.210)
  store ptr %86, ptr %79, align 8, !tbaa !47
  br label %87

87:                                               ; preds = %82, %78
  %88 = getelementptr inbounds i8, ptr %0, i64 5792
  %89 = load ptr, ptr %88, align 8, !tbaa !48
  %90 = icmp eq ptr %89, null
  br i1 %90, label %91, label %96

91:                                               ; preds = %87
  %92 = load ptr, ptr %5, align 8, !tbaa !36
  %93 = getelementptr inbounds i8, ptr %0, i64 16
  %94 = load ptr, ptr %93, align 8, !tbaa !41
  %95 = tail call noundef ptr %92(ptr noundef %94, ptr noundef nonnull @.str.211)
  store ptr %95, ptr %88, align 8, !tbaa !48
  br label %96

96:                                               ; preds = %91, %87
  %97 = getelementptr inbounds i8, ptr %0, i64 5800
  %98 = load ptr, ptr %97, align 8, !tbaa !49
  %99 = icmp eq ptr %98, null
  br i1 %99, label %100, label %105

100:                                              ; preds = %96
  %101 = load ptr, ptr %5, align 8, !tbaa !36
  %102 = getelementptr inbounds i8, ptr %0, i64 16
  %103 = load ptr, ptr %102, align 8, !tbaa !41
  %104 = tail call noundef ptr %101(ptr noundef %103, ptr noundef nonnull @.str.212)
  store ptr %104, ptr %97, align 8, !tbaa !49
  br label %105

105:                                              ; preds = %100, %96
  %106 = getelementptr inbounds i8, ptr %0, i64 5808
  %107 = load ptr, ptr %106, align 8, !tbaa !50
  %108 = icmp eq ptr %107, null
  br i1 %108, label %109, label %114

109:                                              ; preds = %105
  %110 = load ptr, ptr %5, align 8, !tbaa !36
  %111 = getelementptr inbounds i8, ptr %0, i64 16
  %112 = load ptr, ptr %111, align 8, !tbaa !41
  %113 = tail call noundef ptr %110(ptr noundef %112, ptr noundef nonnull @.str.213)
  store ptr %113, ptr %106, align 8, !tbaa !50
  br label %114

114:                                              ; preds = %109, %105
  %115 = getelementptr inbounds i8, ptr %0, i64 5816
  %116 = load ptr, ptr %115, align 8, !tbaa !51
  %117 = icmp eq ptr %116, null
  br i1 %117, label %118, label %123

118:                                              ; preds = %114
  %119 = load ptr, ptr %5, align 8, !tbaa !36
  %120 = getelementptr inbounds i8, ptr %0, i64 16
  %121 = load ptr, ptr %120, align 8, !tbaa !41
  %122 = tail call noundef ptr %119(ptr noundef %121, ptr noundef nonnull @.str.214)
  store ptr %122, ptr %115, align 8, !tbaa !51
  br label %123

123:                                              ; preds = %118, %114
  %124 = getelementptr inbounds i8, ptr %0, i64 5824
  %125 = load ptr, ptr %124, align 8, !tbaa !52
  %126 = icmp eq ptr %125, null
  br i1 %126, label %127, label %132

127:                                              ; preds = %123
  %128 = load ptr, ptr %5, align 8, !tbaa !36
  %129 = getelementptr inbounds i8, ptr %0, i64 16
  %130 = load ptr, ptr %129, align 8, !tbaa !41
  %131 = tail call noundef ptr %128(ptr noundef %130, ptr noundef nonnull @.str.215)
  store ptr %131, ptr %124, align 8, !tbaa !52
  br label %132

132:                                              ; preds = %127, %123
  %133 = getelementptr inbounds i8, ptr %0, i64 5832
  %134 = load ptr, ptr %133, align 8, !tbaa !53
  %135 = icmp eq ptr %134, null
  br i1 %135, label %136, label %141

136:                                              ; preds = %132
  %137 = load ptr, ptr %5, align 8, !tbaa !36
  %138 = getelementptr inbounds i8, ptr %0, i64 16
  %139 = load ptr, ptr %138, align 8, !tbaa !41
  %140 = tail call noundef ptr %137(ptr noundef %139, ptr noundef nonnull @.str.216)
  store ptr %140, ptr %133, align 8, !tbaa !53
  br label %141

141:                                              ; preds = %136, %132
  %142 = getelementptr inbounds i8, ptr %0, i64 5840
  %143 = load ptr, ptr %142, align 8, !tbaa !54
  %144 = icmp eq ptr %143, null
  br i1 %144, label %145, label %150

145:                                              ; preds = %141
  %146 = load ptr, ptr %5, align 8, !tbaa !36
  %147 = getelementptr inbounds i8, ptr %0, i64 16
  %148 = load ptr, ptr %147, align 8, !tbaa !41
  %149 = tail call noundef ptr %146(ptr noundef %148, ptr noundef nonnull @.str.217)
  store ptr %149, ptr %142, align 8, !tbaa !54
  br label %150

150:                                              ; preds = %145, %141
  %151 = getelementptr inbounds i8, ptr %0, i64 5848
  %152 = load ptr, ptr %151, align 8, !tbaa !55
  %153 = icmp eq ptr %152, null
  br i1 %153, label %154, label %159

154:                                              ; preds = %150
  %155 = load ptr, ptr %5, align 8, !tbaa !36
  %156 = getelementptr inbounds i8, ptr %0, i64 16
  %157 = load ptr, ptr %156, align 8, !tbaa !41
  %158 = tail call noundef ptr %155(ptr noundef %157, ptr noundef nonnull @.str.218)
  store ptr %158, ptr %151, align 8, !tbaa !55
  br label %159

159:                                              ; preds = %154, %150
  %160 = getelementptr inbounds i8, ptr %0, i64 4
  %161 = load i32, ptr %160, align 4, !tbaa !56
  %162 = icmp ugt i32 %161, 4198399
  br i1 %162, label %163, label %.thread

163:                                              ; preds = %159
  %164 = getelementptr inbounds i8, ptr %0, i64 5856
  %165 = load ptr, ptr %164, align 8, !tbaa !57
  %166 = icmp eq ptr %165, null
  br i1 %166, label %167, label %172

167:                                              ; preds = %163
  %168 = load ptr, ptr %5, align 8, !tbaa !36
  %169 = getelementptr inbounds i8, ptr %0, i64 16
  %170 = load ptr, ptr %169, align 8, !tbaa !41
  %171 = tail call noundef ptr %168(ptr noundef %170, ptr noundef nonnull @.str.219)
  store ptr %171, ptr %164, align 8, !tbaa !57
  br label %172

172:                                              ; preds = %167, %163
  %173 = getelementptr inbounds i8, ptr %0, i64 5864
  %174 = load ptr, ptr %173, align 8, !tbaa !58
  %175 = icmp eq ptr %174, null
  br i1 %175, label %176, label %181

176:                                              ; preds = %172
  %177 = load ptr, ptr %5, align 8, !tbaa !36
  %178 = getelementptr inbounds i8, ptr %0, i64 16
  %179 = load ptr, ptr %178, align 8, !tbaa !41
  %180 = tail call noundef ptr %177(ptr noundef %179, ptr noundef nonnull @.str.220)
  store ptr %180, ptr %173, align 8, !tbaa !58
  br label %181

181:                                              ; preds = %176, %172
  %182 = getelementptr inbounds i8, ptr %0, i64 5872
  %183 = load ptr, ptr %182, align 8, !tbaa !59
  %184 = icmp eq ptr %183, null
  br i1 %184, label %185, label %190

185:                                              ; preds = %181
  %186 = load ptr, ptr %5, align 8, !tbaa !36
  %187 = getelementptr inbounds i8, ptr %0, i64 16
  %188 = load ptr, ptr %187, align 8, !tbaa !41
  %189 = tail call noundef ptr %186(ptr noundef %188, ptr noundef nonnull @.str.221)
  store ptr %189, ptr %182, align 8, !tbaa !59
  br label %190

190:                                              ; preds = %185, %181
  %191 = getelementptr inbounds i8, ptr %0, i64 5880
  %192 = load ptr, ptr %191, align 8, !tbaa !60
  %193 = icmp eq ptr %192, null
  br i1 %193, label %194, label %199

194:                                              ; preds = %190
  %195 = load ptr, ptr %5, align 8, !tbaa !36
  %196 = getelementptr inbounds i8, ptr %0, i64 16
  %197 = load ptr, ptr %196, align 8, !tbaa !41
  %198 = tail call noundef ptr %195(ptr noundef %197, ptr noundef nonnull @.str.222)
  store ptr %198, ptr %191, align 8, !tbaa !60
  br label %199

199:                                              ; preds = %190, %194
  %.pr = load i32, ptr %160, align 4, !tbaa !56
  %200 = icmp ugt i32 %.pr, 4198399
  br i1 %200, label %201, label %.thread

201:                                              ; preds = %199
  %202 = getelementptr inbounds i8, ptr %0, i64 5888
  %203 = load ptr, ptr %202, align 8, !tbaa !61
  %204 = icmp eq ptr %203, null
  br i1 %204, label %.sink.split, label %215

.thread:                                          ; preds = %159, %199
  %205 = getelementptr inbounds i8, ptr %0, i64 10
  %206 = load i8, ptr %205, align 2, !tbaa !62, !range !63, !noundef !64
  %207 = trunc nuw i8 %206 to i1
  %208 = getelementptr inbounds i8, ptr %0, i64 5888
  %209 = load ptr, ptr %208, align 8
  %210 = icmp eq ptr %209, null
  %or.cond = select i1 %207, i1 %210, i1 false
  br i1 %or.cond, label %.sink.split, label %215

.sink.split:                                      ; preds = %.thread, %201
  %.str.224.sink = phi ptr [ @.str.223, %201 ], [ @.str.224, %.thread ]
  %.sink2 = phi ptr [ %202, %201 ], [ %208, %.thread ]
  %211 = load ptr, ptr %2, align 8, !tbaa !5
  %212 = getelementptr inbounds i8, ptr %0, i64 24
  %213 = load ptr, ptr %212, align 8, !tbaa !38
  %214 = tail call noundef ptr %211(ptr noundef %213, ptr noundef nonnull %.str.224.sink)
  store ptr %214, ptr %.sink2, align 8, !tbaa !61
  br label %215

215:                                              ; preds = %.sink.split, %.thread, %201
  %216 = getelementptr inbounds i8, ptr %0, i64 8
  %217 = load i8, ptr %216, align 8, !tbaa !65, !range !63, !noundef !64
  %218 = trunc nuw i8 %217 to i1
  br i1 %218, label %219, label %237

219:                                              ; preds = %215
  %220 = getelementptr inbounds i8, ptr %0, i64 5856
  %221 = load ptr, ptr %220, align 8, !tbaa !57
  %222 = icmp eq ptr %221, null
  br i1 %222, label %223, label %228

223:                                              ; preds = %219
  %224 = load ptr, ptr %5, align 8, !tbaa !36
  %225 = getelementptr inbounds i8, ptr %0, i64 16
  %226 = load ptr, ptr %225, align 8, !tbaa !41
  %227 = tail call noundef ptr %224(ptr noundef %226, ptr noundef nonnull @.str.225)
  store ptr %227, ptr %220, align 8, !tbaa !57
  br label %228

228:                                              ; preds = %223, %219
  %229 = getelementptr inbounds i8, ptr %0, i64 5864
  %230 = load ptr, ptr %229, align 8, !tbaa !58
  %231 = icmp eq ptr %230, null
  br i1 %231, label %232, label %237

232:                                              ; preds = %228
  %233 = load ptr, ptr %5, align 8, !tbaa !36
  %234 = getelementptr inbounds i8, ptr %0, i64 16
  %235 = load ptr, ptr %234, align 8, !tbaa !41
  %236 = tail call noundef ptr %233(ptr noundef %235, ptr noundef nonnull @.str.226)
  store ptr %236, ptr %229, align 8, !tbaa !58
  br label %237

237:                                              ; preds = %228, %232, %215
  %238 = getelementptr inbounds i8, ptr %0, i64 9
  %239 = load i8, ptr %238, align 1, !tbaa !66, !range !63, !noundef !64
  %240 = trunc nuw i8 %239 to i1
  br i1 %240, label %241, label %259

241:                                              ; preds = %237
  %242 = getelementptr inbounds i8, ptr %0, i64 5872
  %243 = load ptr, ptr %242, align 8, !tbaa !59
  %244 = icmp eq ptr %243, null
  br i1 %244, label %245, label %250

245:                                              ; preds = %241
  %246 = load ptr, ptr %5, align 8, !tbaa !36
  %247 = getelementptr inbounds i8, ptr %0, i64 16
  %248 = load ptr, ptr %247, align 8, !tbaa !41
  %249 = tail call noundef ptr %246(ptr noundef %248, ptr noundef nonnull @.str.227)
  store ptr %249, ptr %242, align 8, !tbaa !59
  br label %250

250:                                              ; preds = %245, %241
  %251 = getelementptr inbounds i8, ptr %0, i64 5880
  %252 = load ptr, ptr %251, align 8, !tbaa !60
  %253 = icmp eq ptr %252, null
  br i1 %253, label %254, label %259

254:                                              ; preds = %250
  %255 = load ptr, ptr %5, align 8, !tbaa !36
  %256 = getelementptr inbounds i8, ptr %0, i64 16
  %257 = load ptr, ptr %256, align 8, !tbaa !41
  %258 = tail call noundef ptr %255(ptr noundef %257, ptr noundef nonnull @.str.228)
  store ptr %258, ptr %251, align 8, !tbaa !60
  br label %259

259:                                              ; preds = %250, %254, %237
  %260 = load i32, ptr %160, align 4, !tbaa !56
  %261 = icmp ugt i32 %260, 4198399
  br i1 %261, label %262, label %266

262:                                              ; preds = %259
  %263 = getelementptr inbounds i8, ptr %0, i64 5888
  %264 = load ptr, ptr %263, align 8, !tbaa !61
  %265 = icmp eq ptr %264, null
  br i1 %265, label %.sink.split5, label %277

266:                                              ; preds = %259
  %267 = getelementptr inbounds i8, ptr %0, i64 10
  %268 = load i8, ptr %267, align 2, !tbaa !62, !range !63, !noundef !64
  %269 = trunc nuw i8 %268 to i1
  %270 = getelementptr inbounds i8, ptr %0, i64 5888
  %271 = load ptr, ptr %270, align 8
  %272 = icmp eq ptr %271, null
  %or.cond14 = select i1 %269, i1 %272, i1 false
  br i1 %or.cond14, label %.sink.split5, label %277

.sink.split5:                                     ; preds = %266, %262
  %.str.224.sink8 = phi ptr [ @.str.223, %262 ], [ @.str.224, %266 ]
  %.sink6 = phi ptr [ %263, %262 ], [ %270, %266 ]
  %273 = load ptr, ptr %2, align 8, !tbaa !5
  %274 = getelementptr inbounds i8, ptr %0, i64 24
  %275 = load ptr, ptr %274, align 8, !tbaa !38
  %276 = tail call noundef ptr %273(ptr noundef %275, ptr noundef nonnull %.str.224.sink8)
  store ptr %276, ptr %.sink6, align 8, !tbaa !61
  br label %277

277:                                              ; preds = %.sink.split5, %266, %262
  %278 = load i32, ptr %160, align 4, !tbaa !56
  %279 = icmp ugt i32 %278, 4206591
  br i1 %279, label %280, label %298

280:                                              ; preds = %277
  %281 = getelementptr inbounds i8, ptr %0, i64 5896
  %282 = load ptr, ptr %281, align 8, !tbaa !67
  %283 = icmp eq ptr %282, null
  br i1 %283, label %284, label %289

284:                                              ; preds = %280
  %285 = load ptr, ptr %5, align 8, !tbaa !36
  %286 = getelementptr inbounds i8, ptr %0, i64 16
  %287 = load ptr, ptr %286, align 8, !tbaa !41
  %288 = tail call noundef ptr %285(ptr noundef %287, ptr noundef nonnull @.str.229)
  store ptr %288, ptr %281, align 8, !tbaa !67
  br label %289

289:                                              ; preds = %284, %280
  %290 = getelementptr inbounds i8, ptr %0, i64 5904
  %291 = load ptr, ptr %290, align 8, !tbaa !68
  %292 = icmp eq ptr %291, null
  br i1 %292, label %293, label %298

293:                                              ; preds = %289
  %294 = load ptr, ptr %5, align 8, !tbaa !36
  %295 = getelementptr inbounds i8, ptr %0, i64 16
  %296 = load ptr, ptr %295, align 8, !tbaa !41
  %297 = tail call noundef ptr %294(ptr noundef %296, ptr noundef nonnull @.str.230)
  store ptr %297, ptr %290, align 8, !tbaa !68
  br label %298

298:                                              ; preds = %289, %293, %277
  ret void
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { noreturn nounwind }

!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, !11, i64 5704}
!6 = !{!"_ZTS14VmaAllocator_T", !7, i64 0, !10, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !7, i64 12, !7, i64 13, !11, i64 16, !11, i64 24, !7, i64 32, !12, i64 40, !13, i64 88, !14, i64 112, !10, i64 200, !22, i64 208, !27, i64 1032, !8, i64 1552, !8, i64 1808, !28, i64 4624, !29, i64 5456, !21, i64 5464, !11, i64 5472, !29, i64 5480, !29, i64 5484, !8, i64 5488, !31, i64 5616, !34, i64 5672, !10, i64 5696, !35, i64 5704, !10, i64 5912}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_ZTS21VkAllocationCallbacks", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!13 = !{!"_ZTS24VmaDeviceMemoryCallbacks", !11, i64 0, !11, i64 8, !11, i64 16}
!14 = !{!"_ZTS28VmaAllocationObjectAllocator", !15, i64 0, !18, i64 40}
!15 = !{!"_ZTS8VmaMutex", !16, i64 0}
!16 = !{!"_ZTSSt5mutex", !17, i64 0}
!17 = !{!"_ZTSSt12__mutex_base", !8, i64 0}
!18 = !{!"_ZTS16VmaPoolAllocatorI15VmaAllocation_TE", !11, i64 0, !10, i64 8, !19, i64 16}
!19 = !{!"_ZTS9VmaVectorIN16VmaPoolAllocatorI15VmaAllocation_TE9ItemBlockE15VmaStlAllocatorIS3_EE", !20, i64 0, !11, i64 8, !21, i64 16, !21, i64 24}
!20 = !{!"_ZTS15VmaStlAllocatorIN16VmaPoolAllocatorI15VmaAllocation_TE9ItemBlockEE", !11, i64 0}
!21 = !{!"long", !8, i64 0}
!22 = !{!"_ZTS26VkPhysicalDeviceProperties", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !23, i64 16, !8, i64 20, !8, i64 276, !24, i64 296, !26, i64 800}
!23 = !{!"_ZTS20VkPhysicalDeviceType", !8, i64 0}
!24 = !{!"_ZTS22VkPhysicalDeviceLimits", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !21, i64 48, !21, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !8, i64 220, !10, i64 232, !8, i64 236, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !25, i64 268, !25, i64 272, !10, i64 276, !8, i64 280, !8, i64 288, !10, i64 296, !21, i64 304, !21, i64 312, !21, i64 320, !21, i64 328, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !25, i64 352, !25, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !25, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !8, i64 444, !8, i64 452, !25, i64 460, !25, i64 464, !10, i64 468, !10, i64 472, !21, i64 480, !21, i64 488, !21, i64 496}
!25 = !{!"float", !8, i64 0}
!26 = !{!"_ZTS32VkPhysicalDeviceSparseProperties", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16}
!27 = !{!"_ZTS32VkPhysicalDeviceMemoryProperties", !10, i64 0, !8, i64 4, !10, i64 260, !8, i64 264}
!28 = !{!"_ZTS20VmaCurrentBudgetData", !8, i64 0, !8, i64 64, !8, i64 128, !8, i64 256, !29, i64 384, !31, i64 392, !8, i64 448, !8, i64 576, !8, i64 704}
!29 = !{!"_ZTSSt6atomicIjE", !30, i64 0}
!30 = !{!"_ZTSSt13__atomic_baseIjE", !10, i64 0}
!31 = !{!"_ZTS10VmaRWMutex", !32, i64 0}
!32 = !{!"_ZTSSt12shared_mutex", !33, i64 0}
!33 = !{!"_ZTSSt22__shared_mutex_pthread", !8, i64 0}
!34 = !{!"_ZTS22VmaIntrusiveLinkedListI21VmaPoolListItemTraitsE", !11, i64 0, !11, i64 8, !21, i64 16}
!35 = !{!"_ZTS18VmaVulkanFunctions", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !11, i64 200}
!36 = !{!6, !11, i64 5712}
!37 = !{!6, !11, i64 5720}
!38 = !{!6, !11, i64 24}
!39 = !{!6, !11, i64 5728}
!40 = !{!6, !11, i64 5736}
!41 = !{!6, !11, i64 16}
!42 = !{!6, !11, i64 5744}
!43 = !{!6, !11, i64 5752}
!44 = !{!6, !11, i64 5760}
!45 = !{!6, !11, i64 5768}
!46 = !{!6, !11, i64 5776}
!47 = !{!6, !11, i64 5784}
!48 = !{!6, !11, i64 5792}
!49 = !{!6, !11, i64 5800}
!50 = !{!6, !11, i64 5808}
!51 = !{!6, !11, i64 5816}
!52 = !{!6, !11, i64 5824}
!53 = !{!6, !11, i64 5832}
!54 = !{!6, !11, i64 5840}
!55 = !{!6, !11, i64 5848}
!56 = !{!6, !10, i64 4}
!57 = !{!6, !11, i64 5856}
!58 = !{!6, !11, i64 5864}
!59 = !{!6, !11, i64 5872}
!60 = !{!6, !11, i64 5880}
!61 = !{!6, !11, i64 5888}
!62 = !{!6, !7, i64 10}
!63 = !{i8 0, i8 2}
!64 = !{}
!65 = !{!6, !7, i64 8}
!66 = !{!6, !7, i64 9}
!67 = !{!6, !11, i64 5896}
!68 = !{!6, !11, i64 5904}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass