; LLVM IR from hbatagelo/abcg :: abcg/external/imgui (imgui_impl_vulkan)

; 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.VkMappedMemoryRange = type { i32, ptr, ptr, i64, i64 }
%struct.ImVec2 = type { float, float }
%struct.VkRect2D = type { %struct.VkOffset2D, %struct.VkExtent2D }
%struct.VkOffset2D = type { i32, i32 }
%struct.VkExtent2D = type { i32, i32 }
%struct.ImDrawData = type { i8, i32, i32, i32, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%struct.ImGui_ImplVulkan_Data = type { %struct.ImGui_ImplVulkan_InitInfo, ptr, i64, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImGui_ImplVulkanH_WindowRenderBuffers }
%struct.ImGui_ImplVulkan_InitInfo = type { ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, i32, i32, i32, ptr, ptr }
%struct.ImGui_ImplVulkanH_WindowRenderBuffers = type { i32, i32, ptr }
%struct.ImGui_ImplVulkanH_FrameRenderBuffers = type { ptr, ptr, i64, i64, ptr, ptr }
%struct.ImDrawList = type <{ %struct.ImVector, %struct.ImVector.0, %struct.ImVector.1, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.2, %struct.ImVector.3, %struct.ImVector.4, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawVert = type { %struct.ImVec2, %struct.ImVec2, i32 }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__._Z31ImGui_ImplVulkan_RenderDrawDataP10ImDrawDataP17VkCommandBuffer_TP12VkPipeline_T = external hidden unnamed_addr constant [80 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z31ImGui_ImplVulkan_RenderDrawDataP10ImDrawDataP17VkCommandBuffer_TP12VkPipeline_T(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca [2 x %struct.VkMappedMemoryRange], align 16
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca %struct.VkRect2D, align 4
  %33 = alloca [1 x ptr], align 8
  %34 = alloca %struct.VkRect2D, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImDrawData, ptr %35, i32 0, i32 6
  %37 = getelementptr inbounds %struct.ImVec2, ptr %36, i32 0, i32 0
  %38 = load float, ptr %37, align 8, !tbaa !9
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImDrawData, ptr %39, i32 0, i32 7
  %41 = getelementptr inbounds %struct.ImVec2, ptr %40, i32 0, i32 0
  %42 = load float, ptr %41, align 8, !tbaa !15
  %43 = fmul float %38, %42
  %44 = fptosi float %43 to i32
  store i32 %44, ptr %7, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImDrawData, ptr %45, i32 0, i32 6
  %47 = getelementptr inbounds %struct.ImVec2, ptr %46, i32 0, i32 1
  %48 = load float, ptr %47, align 4, !tbaa !17
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ImDrawData, ptr %49, i32 0, i32 7
  %51 = getelementptr inbounds %struct.ImVec2, ptr %50, i32 0, i32 1
  %52 = load float, ptr %51, align 4, !tbaa !18
  %53 = fmul float %48, %52
  %54 = fptosi float %53 to i32
  store i32 %54, ptr %8, align 4, !tbaa !16
  %55 = load i32, ptr %7, align 4, !tbaa !16
  %56 = icmp sle i32 %55, 0
  br i1 %56, label %60, label %57

57:                                               ; preds = %3
  %58 = load i32, ptr %8, align 4, !tbaa !16
  %59 = icmp sle i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %57, %3
  store i32 1, ptr %9, align 4
  br label %531

61:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %62 = call noundef ptr @_ZL31ImGui_ImplVulkan_GetBackendDatav()
  store ptr %62, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGui_ImplVulkan_Data, ptr %63, i32 0, i32 0
  store ptr %64, ptr %11, align 8, !tbaa !5
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = icmp eq ptr %65, null
  br i1 %66, label %67, label %71

67:                                               ; preds = %61
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImGui_ImplVulkan_Data, ptr %68, i32 0, i32 6
  %70 = load ptr, ptr %69, align 8, !tbaa !19
  store ptr %70, ptr %6, align 8, !tbaa !5
  br label %71

71:                                               ; preds = %67, %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ImGui_ImplVulkan_Data, ptr %72, i32 0, i32 17
  store ptr %73, ptr %12, align 8, !tbaa !5
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %74, i32 0, i32 2
  %76 = load ptr, ptr %75, align 8, !tbaa !25
  %77 = icmp eq ptr %76, null
  br i1 %77, label %78, label %102

78:                                               ; preds = %71
  %79 = load ptr, ptr %12, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %79, i32 0, i32 0
  store i32 0, ptr %80, align 8, !tbaa !26
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ImGui_ImplVulkan_InitInfo, ptr %81, i32 0, i32 9
  %83 = load i32, ptr %82, align 8, !tbaa !27
  %84 = load ptr, ptr %12, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %84, i32 0, i32 1
  store i32 %83, ptr %85, align 4, !tbaa !28
  %86 = load ptr, ptr %12, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %86, i32 0, i32 1
  %88 = load i32, ptr %87, align 4, !tbaa !28
  %89 = zext i32 %88 to i64
  %90 = mul i64 48, %89
  %91 = call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef %90)
  %92 = load ptr, ptr %12, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %92, i32 0, i32 2
  store ptr %91, ptr %93, align 8, !tbaa !25
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %94, i32 0, i32 2
  %96 = load ptr, ptr %95, align 8, !tbaa !25
  %97 = load ptr, ptr %12, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %97, i32 0, i32 1
  %99 = load i32, ptr %98, align 4, !tbaa !28
  %100 = zext i32 %99 to i64
  %101 = mul i64 48, %100
  call void @llvm.memset.p0.i64(ptr align 8 %96, i8 0, i64 %101, i1 false)
  br label %102

102:                                              ; preds = %78, %71
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %103, i32 0, i32 1
  %105 = load i32, ptr %104, align 4, !tbaa !28
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImGui_ImplVulkan_InitInfo, ptr %106, i32 0, i32 9
  %108 = load i32, ptr %107, align 8, !tbaa !27
  %109 = icmp eq i32 %105, %108
  br i1 %109, label %110, label %111

110:                                              ; preds = %102
  br label %113

111:                                              ; preds = %102
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 459, ptr noundef @__PRETTY_FUNCTION__._Z31ImGui_ImplVulkan_RenderDrawDataP10ImDrawDataP17VkCommandBuffer_TP12VkPipeline_T) #9
  unreachable

112:                                              ; No predecessors!
  br label %113

113:                                              ; preds = %112, %110
  %114 = load ptr, ptr %12, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %114, i32 0, i32 0
  %116 = load i32, ptr %115, align 8, !tbaa !26
  %117 = add i32 %116, 1
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %118, i32 0, i32 1
  %120 = load i32, ptr %119, align 4, !tbaa !28
  %121 = urem i32 %117, %120
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %122, i32 0, i32 0
  store i32 %121, ptr %123, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %124 = load ptr, ptr %12, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %124, i32 0, i32 2
  %126 = load ptr, ptr %125, align 8, !tbaa !25
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGui_ImplVulkanH_WindowRenderBuffers, ptr %127, i32 0, i32 0
  %129 = load i32, ptr %128, align 8, !tbaa !26
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %126, i64 %130
  store ptr %131, ptr %13, align 8, !tbaa !5
  %132 = load ptr, ptr %4, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImDrawData, ptr %132, i32 0, i32 3
  %134 = load i32, ptr %133, align 4, !tbaa !29
  %135 = icmp sgt i32 %134, 0
  br i1 %135, label %136, label %298

136:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImDrawData, ptr %137, i32 0, i32 3
  %139 = load i32, ptr %138, align 4, !tbaa !29
  %140 = sext i32 %139 to i64
  %141 = mul i64 %140, 20
  store i64 %141, ptr %14, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImDrawData, ptr %142, i32 0, i32 2
  %144 = load i32, ptr %143, align 8, !tbaa !31
  %145 = sext i32 %144 to i64
  %146 = mul i64 %145, 2
  store i64 %146, ptr %15, align 8, !tbaa !30
  %147 = load ptr, ptr %13, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %147, i32 0, i32 4
  %149 = load ptr, ptr %148, align 8, !tbaa !32
  %150 = icmp eq ptr %149, null
  br i1 %150, label %157, label %151

151:                                              ; preds = %136
  %152 = load ptr, ptr %13, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %152, i32 0, i32 2
  %154 = load i64, ptr %153, align 8, !tbaa !34
  %155 = load i64, ptr %14, align 8, !tbaa !30
  %156 = icmp ult i64 %154, %155
  br i1 %156, label %157, label %165

157:                                              ; preds = %151, %136
  %158 = load ptr, ptr %13, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %158, i32 0, i32 4
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %160, i32 0, i32 0
  %162 = load ptr, ptr %13, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %162, i32 0, i32 2
  %164 = load i64, ptr %14, align 8, !tbaa !30
  call void @_ZL20CreateOrResizeBufferRP10VkBuffer_TRP16VkDeviceMemory_TRmm21VkBufferUsageFlagBits(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull align 8 dereferenceable(8) %163, i64 noundef %164, i32 noundef 128)
  br label %165

165:                                              ; preds = %157, %151
  %166 = load ptr, ptr %13, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %166, i32 0, i32 5
  %168 = load ptr, ptr %167, align 8, !tbaa !35
  %169 = icmp eq ptr %168, null
  br i1 %169, label %176, label %170

170:                                              ; preds = %165
  %171 = load ptr, ptr %13, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %171, i32 0, i32 3
  %173 = load i64, ptr %172, align 8, !tbaa !36
  %174 = load i64, ptr %15, align 8, !tbaa !30
  %175 = icmp ult i64 %173, %174
  br i1 %175, label %176, label %184

176:                                              ; preds = %170, %165
  %177 = load ptr, ptr %13, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %177, i32 0, i32 5
  %179 = load ptr, ptr %13, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %179, i32 0, i32 1
  %181 = load ptr, ptr %13, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %181, i32 0, i32 3
  %183 = load i64, ptr %15, align 8, !tbaa !30
  call void @_ZL20CreateOrResizeBufferRP10VkBuffer_TRP16VkDeviceMemory_TRmm21VkBufferUsageFlagBits(ptr noundef nonnull align 8 dereferenceable(8) %178, ptr noundef nonnull align 8 dereferenceable(8) %180, ptr noundef nonnull align 8 dereferenceable(8) %182, i64 noundef %183, i32 noundef 64)
  br label %184

184:                                              ; preds = %176, %170
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  store ptr null, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  store ptr null, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %185 = load ptr, ptr %11, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.ImGui_ImplVulkan_InitInfo, ptr %185, i32 0, i32 2
  %187 = load ptr, ptr %186, align 8, !tbaa !37
  %188 = load ptr, ptr %13, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %188, i32 0, i32 0
  %190 = load ptr, ptr %189, align 8, !tbaa !38
  %191 = load ptr, ptr %13, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %191, i32 0, i32 2
  %193 = load i64, ptr %192, align 8, !tbaa !34
  %194 = call i32 @vkMapMemory(ptr noundef %187, ptr noundef %190, i64 noundef 0, i64 noundef %193, i32 noundef 0, ptr noundef %16)
  store i32 %194, ptr %18, align 4, !tbaa !39
  %195 = load i32, ptr %18, align 4, !tbaa !39
  call void @_ZL15check_vk_result8VkResult(i32 noundef %195)
  %196 = load ptr, ptr %11, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.ImGui_ImplVulkan_InitInfo, ptr %196, i32 0, i32 2
  %198 = load ptr, ptr %197, align 8, !tbaa !37
  %199 = load ptr, ptr %13, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %199, i32 0, i32 1
  %201 = load ptr, ptr %200, align 8, !tbaa !41
  %202 = load ptr, ptr %13, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %202, i32 0, i32 3
  %204 = load i64, ptr %203, align 8, !tbaa !36
  %205 = call i32 @vkMapMemory(ptr noundef %198, ptr noundef %201, i64 noundef 0, i64 noundef %204, i32 noundef 0, ptr noundef %17)
  store i32 %205, ptr %18, align 4, !tbaa !39
  %206 = load i32, ptr %18, align 4, !tbaa !39
  call void @_ZL15check_vk_result8VkResult(i32 noundef %206)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 0, ptr %19, align 4, !tbaa !16
  br label %207

207:                                              ; preds = %258, %184
  %208 = load i32, ptr %19, align 4, !tbaa !16
  %209 = load ptr, ptr %4, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImDrawData, ptr %209, i32 0, i32 1
  %211 = load i32, ptr %210, align 4, !tbaa !42
  %212 = icmp slt i32 %208, %211
  br i1 %212, label %214, label %213

213:                                              ; preds = %207
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %261

214:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %215 = load ptr, ptr %4, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.ImDrawData, ptr %215, i32 0, i32 4
  %217 = load ptr, ptr %216, align 8, !tbaa !43
  %218 = load i32, ptr %19, align 4, !tbaa !16
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds ptr, ptr %217, i64 %219
  %221 = load ptr, ptr %220, align 8, !tbaa !5
  store ptr %221, ptr %20, align 8, !tbaa !5
  %222 = load ptr, ptr %16, align 8, !tbaa !5
  %223 = load ptr, ptr %20, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.ImDrawList, ptr %223, i32 0, i32 2
  %225 = getelementptr inbounds %struct.ImVector.1, ptr %224, i32 0, i32 2
  %226 = load ptr, ptr %225, align 8, !tbaa !44
  %227 = load ptr, ptr %20, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.ImDrawList, ptr %227, i32 0, i32 2
  %229 = getelementptr inbounds %struct.ImVector.1, ptr %228, i32 0, i32 0
  %230 = load i32, ptr %229, align 8, !tbaa !56
  %231 = sext i32 %230 to i64
  %232 = mul i64 %231, 20
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %222, ptr align 4 %226, i64 %232, i1 false)
  %233 = load ptr, ptr %17, align 8, !tbaa !5
  %234 = load ptr, ptr %20, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.ImDrawList, ptr %234, i32 0, i32 1
  %236 = getelementptr inbounds %struct.ImVector.0, ptr %235, i32 0, i32 2
  %237 = load ptr, ptr %236, align 8, !tbaa !57
  %238 = load ptr, ptr %20, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.ImDrawList, ptr %238, i32 0, i32 1
  %240 = getelementptr inbounds %struct.ImVector.0, ptr %239, i32 0, i32 0
  %241 = load i32, ptr %240, align 8, !tbaa !58
  %242 = sext i32 %241 to i64
  %243 = mul i64 %242, 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %233, ptr align 2 %237, i64 %243, i1 false)
  %244 = load ptr, ptr %20, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.ImDrawList, ptr %244, i32 0, i32 2
  %246 = getelementptr inbounds %struct.ImVector.1, ptr %245, i32 0, i32 0
  %247 = load i32, ptr %246, align 8, !tbaa !56
  %248 = load ptr, ptr %16, align 8, !tbaa !5
  %249 = sext i32 %247 to i64
  %250 = getelementptr inbounds %struct.ImDrawVert, ptr %248, i64 %249
  store ptr %250, ptr %16, align 8, !tbaa !5
  %251 = load ptr, ptr %20, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImDrawList, ptr %251, i32 0, i32 1
  %253 = getelementptr inbounds %struct.ImVector.0, ptr %252, i32 0, i32 0
  %254 = load i32, ptr %253, align 8, !tbaa !58
  %255 = load ptr, ptr %17, align 8, !tbaa !5
  %256 = sext i32 %254 to i64
  %257 = getelementptr inbounds i16, ptr %255, i64 %256
  store ptr %257, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %258

258:                                              ; preds = %214
  %259 = load i32, ptr %19, align 4, !tbaa !16
  %260 = add nsw i32 %259, 1
  store i32 %260, ptr %19, align 4, !tbaa !16
  br label %207, !llvm.loop !59

261:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 80, ptr %21) #8
  call void @llvm.memset.p0.i64(ptr align 16 %21, i8 0, i64 80, i1 false)
  %262 = getelementptr inbounds [2 x %struct.VkMappedMemoryRange], ptr %21, i64 0, i64 0
  %263 = getelementptr inbounds %struct.VkMappedMemoryRange, ptr %262, i32 0, i32 0
  store i32 6, ptr %263, align 16, !tbaa !61
  %264 = load ptr, ptr %13, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %264, i32 0, i32 0
  %266 = load ptr, ptr %265, align 8, !tbaa !38
  %267 = getelementptr inbounds [2 x %struct.VkMappedMemoryRange], ptr %21, i64 0, i64 0
  %268 = getelementptr inbounds %struct.VkMappedMemoryRange, ptr %267, i32 0, i32 2
  store ptr %266, ptr %268, align 16, !tbaa !64
  %269 = getelementptr inbounds [2 x %struct.VkMappedMemoryRange], ptr %21, i64 0, i64 0
  %270 = getelementptr inbounds %struct.VkMappedMemoryRange, ptr %269, i32 0, i32 4
  store i64 -1, ptr %270, align 16, !tbaa !65
  %271 = getelementptr inbounds [2 x %struct.VkMappedMemoryRange], ptr %21, i64 0, i64 1
  %272 = getelementptr inbounds %struct.VkMappedMemoryRange, ptr %271, i32 0, i32 0
  store i32 6, ptr %272, align 8, !tbaa !61
  %273 = load ptr, ptr %13, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %273, i32 0, i32 1
  %275 = load ptr, ptr %274, align 8, !tbaa !41
  %276 = getelementptr inbounds [2 x %struct.VkMappedMemoryRange], ptr %21, i64 0, i64 1
  %277 = getelementptr inbounds %struct.VkMappedMemoryRange, ptr %276, i32 0, i32 2
  store ptr %275, ptr %277, align 8, !tbaa !64
  %278 = getelementptr inbounds [2 x %struct.VkMappedMemoryRange], ptr %21, i64 0, i64 1
  %279 = getelementptr inbounds %struct.VkMappedMemoryRange, ptr %278, i32 0, i32 4
  store i64 -1, ptr %279, align 8, !tbaa !65
  %280 = load ptr, ptr %11, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.ImGui_ImplVulkan_InitInfo, ptr %280, i32 0, i32 2
  %282 = load ptr, ptr %281, align 8, !tbaa !37
  %283 = getelementptr inbounds [2 x %struct.VkMappedMemoryRange], ptr %21, i64 0, i64 0
  %284 = call i32 @vkFlushMappedMemoryRanges(ptr noundef %282, i32 noundef 2, ptr noundef %283)
  store i32 %284, ptr %18, align 4, !tbaa !39
  %285 = load i32, ptr %18, align 4, !tbaa !39
  call void @_ZL15check_vk_result8VkResult(i32 noundef %285)
  %286 = load ptr, ptr %11, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.ImGui_ImplVulkan_InitInfo, ptr %286, i32 0, i32 2
  %288 = load ptr, ptr %287, align 8, !tbaa !37
  %289 = load ptr, ptr %13, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %289, i32 0, i32 0
  %291 = load ptr, ptr %290, align 8, !tbaa !38
  call void @vkUnmapMemory(ptr noundef %288, ptr noundef %291)
  %292 = load ptr, ptr %11, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.ImGui_ImplVulkan_InitInfo, ptr %292, i32 0, i32 2
  %294 = load ptr, ptr %293, align 8, !tbaa !37
  %295 = load ptr, ptr %13, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %295, i32 0, i32 1
  %297 = load ptr, ptr %296, align 8, !tbaa !41
  call void @vkUnmapMemory(ptr noundef %294, ptr noundef %297)
  call void @llvm.lifetime.end.p0(i64 80, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %298

298:                                              ; preds = %261, %113
  %299 = load ptr, ptr %4, align 8, !tbaa !5
  %300 = load ptr, ptr %6, align 8, !tbaa !5
  %301 = load ptr, ptr %5, align 8, !tbaa !5
  %302 = load ptr, ptr %13, align 8, !tbaa !5
  %303 = load i32, ptr %7, align 4, !tbaa !16
  %304 = load i32, ptr %8, align 4, !tbaa !16
  call void @_ZL33ImGui_ImplVulkan_SetupRenderStateP10ImDrawDataP12VkPipeline_TP17VkCommandBuffer_TP36ImGui_ImplVulkanH_FrameRenderBuffersii(ptr noundef %299, ptr noundef %300, ptr noundef %301, ptr noundef %302, i32 noundef %303, i32 noundef %304)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %305 = load ptr, ptr %4, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImDrawData, ptr %305, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 8 %306, i64 8, i1 false), !tbaa.struct !66
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %307 = load ptr, ptr %4, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.ImDrawData, ptr %307, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 8 %308, i64 8, i1 false), !tbaa.struct !66
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 0, ptr %24, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !16
  br label %309

309:                                              ; preds = %518, %298
  %310 = load i32, ptr %26, align 4, !tbaa !16
  %311 = load ptr, ptr %4, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.ImDrawData, ptr %311, i32 0, i32 1
  %313 = load i32, ptr %312, align 4, !tbaa !42
  %314 = icmp slt i32 %310, %313
  br i1 %314, label %316, label %315

315:                                              ; preds = %309
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %521

316:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %317 = load ptr, ptr %4, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.ImDrawData, ptr %317, i32 0, i32 4
  %319 = load ptr, ptr %318, align 8, !tbaa !43
  %320 = load i32, ptr %26, align 4, !tbaa !16
  %321 = sext i32 %320 to i64
  %322 = getelementptr inbounds ptr, ptr %319, i64 %321
  %323 = load ptr, ptr %322, align 8, !tbaa !5
  store ptr %323, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !16
  br label %324

324:                                              ; preds = %502, %316
  %325 = load i32, ptr %28, align 4, !tbaa !16
  %326 = load ptr, ptr %27, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImDrawList, ptr %326, i32 0, i32 0
  %328 = getelementptr inbounds %struct.ImVector, ptr %327, i32 0, i32 0
  %329 = load i32, ptr %328, align 8, !tbaa !68
  %330 = icmp slt i32 %325, %329
  br i1 %330, label %332, label %331

331:                                              ; preds = %324
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %505

332:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %333 = load ptr, ptr %27, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.ImDrawList, ptr %333, i32 0, i32 0
  %335 = load i32, ptr %28, align 4, !tbaa !16
  %336 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %334, i32 noundef %335)
  store ptr %336, ptr %29, align 8, !tbaa !5
  %337 = load ptr, ptr %29, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.ImDrawCmd, ptr %337, i32 0, i32 5
  %339 = load ptr, ptr %338, align 8, !tbaa !69
  %340 = icmp ne ptr %339, null
  br i1 %340, label %341, label %360

341:                                              ; preds = %332
  %342 = load ptr, ptr %29, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.ImDrawCmd, ptr %342, i32 0, i32 5
  %344 = load ptr, ptr %343, align 8, !tbaa !69
  %345 = icmp eq ptr %344, inttoptr (i64 -1 to ptr)
  br i1 %345, label %346, label %353

346:                                              ; preds = %341
  %347 = load ptr, ptr %4, align 8, !tbaa !5
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = load ptr, ptr %5, align 8, !tbaa !5
  %350 = load ptr, ptr %13, align 8, !tbaa !5
  %351 = load i32, ptr %7, align 4, !tbaa !16
  %352 = load i32, ptr %8, align 4, !tbaa !16
  call void @_ZL33ImGui_ImplVulkan_SetupRenderStateP10ImDrawDataP12VkPipeline_TP17VkCommandBuffer_TP36ImGui_ImplVulkanH_FrameRenderBuffersii(ptr noundef %347, ptr noundef %348, ptr noundef %349, ptr noundef %350, i32 noundef %351, i32 noundef %352)
  br label %359

353:                                              ; preds = %341
  %354 = load ptr, ptr %29, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.ImDrawCmd, ptr %354, i32 0, i32 5
  %356 = load ptr, ptr %355, align 8, !tbaa !69
  %357 = load ptr, ptr %27, align 8, !tbaa !5
  %358 = load ptr, ptr %29, align 8, !tbaa !5
  call void %356(ptr noundef %357, ptr noundef %358)
  br label %359

359:                                              ; preds = %353, %346
  br label %498

360:                                              ; preds = %332
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %361 = load ptr, ptr %29, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.ImDrawCmd, ptr %361, i32 0, i32 0
  %363 = getelementptr inbounds %struct.ImVec4, ptr %362, i32 0, i32 0
  %364 = load float, ptr %363, align 8, !tbaa !71
  %365 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %366 = load float, ptr %365, align 4, !tbaa !72
  %367 = fsub float %364, %366
  %368 = getelementptr inbounds %struct.ImVec2, ptr %23, i32 0, i32 0
  %369 = load float, ptr %368, align 4, !tbaa !72
  %370 = fmul float %367, %369
  %371 = load ptr, ptr %29, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.ImDrawCmd, ptr %371, i32 0, i32 0
  %373 = getelementptr inbounds %struct.ImVec4, ptr %372, i32 0, i32 1
  %374 = load float, ptr %373, align 4, !tbaa !73
  %375 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %376 = load float, ptr %375, align 4, !tbaa !74
  %377 = fsub float %374, %376
  %378 = getelementptr inbounds %struct.ImVec2, ptr %23, i32 0, i32 1
  %379 = load float, ptr %378, align 4, !tbaa !74
  %380 = fmul float %377, %379
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %370, float noundef %380)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %381 = load ptr, ptr %29, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.ImDrawCmd, ptr %381, i32 0, i32 0
  %383 = getelementptr inbounds %struct.ImVec4, ptr %382, i32 0, i32 2
  %384 = load float, ptr %383, align 8, !tbaa !75
  %385 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %386 = load float, ptr %385, align 4, !tbaa !72
  %387 = fsub float %384, %386
  %388 = getelementptr inbounds %struct.ImVec2, ptr %23, i32 0, i32 0
  %389 = load float, ptr %388, align 4, !tbaa !72
  %390 = fmul float %387, %389
  %391 = load ptr, ptr %29, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.ImDrawCmd, ptr %391, i32 0, i32 0
  %393 = getelementptr inbounds %struct.ImVec4, ptr %392, i32 0, i32 3
  %394 = load float, ptr %393, align 4, !tbaa !76
  %395 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %396 = load float, ptr %395, align 4, !tbaa !74
  %397 = fsub float %394, %396
  %398 = getelementptr inbounds %struct.ImVec2, ptr %23, i32 0, i32 1
  %399 = load float, ptr %398, align 4, !tbaa !74
  %400 = fmul float %397, %399
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %390, float noundef %400)
  %401 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %402 = load float, ptr %401, align 4, !tbaa !72
  %403 = fcmp olt float %402, 0.000000e+00
  br i1 %403, label %404, label %406

404:                                              ; preds = %360
  %405 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  store float 0.000000e+00, ptr %405, align 4, !tbaa !72
  br label %406

406:                                              ; preds = %404, %360
  %407 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %408 = load float, ptr %407, align 4, !tbaa !74
  %409 = fcmp olt float %408, 0.000000e+00
  br i1 %409, label %410, label %412

410:                                              ; preds = %406
  %411 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  store float 0.000000e+00, ptr %411, align 4, !tbaa !74
  br label %412

412:                                              ; preds = %410, %406
  %413 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 0
  %414 = load float, ptr %413, align 4, !tbaa !72
  %415 = load i32, ptr %7, align 4, !tbaa !16
  %416 = sitofp i32 %415 to float
  %417 = fcmp ogt float %414, %416
  br i1 %417, label %418, label %422

418:                                              ; preds = %412
  %419 = load i32, ptr %7, align 4, !tbaa !16
  %420 = sitofp i32 %419 to float
  %421 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 0
  store float %420, ptr %421, align 4, !tbaa !72
  br label %422

422:                                              ; preds = %418, %412
  %423 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 1
  %424 = load float, ptr %423, align 4, !tbaa !74
  %425 = load i32, ptr %8, align 4, !tbaa !16
  %426 = sitofp i32 %425 to float
  %427 = fcmp ogt float %424, %426
  br i1 %427, label %428, label %432

428:                                              ; preds = %422
  %429 = load i32, ptr %8, align 4, !tbaa !16
  %430 = sitofp i32 %429 to float
  %431 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 1
  store float %430, ptr %431, align 4, !tbaa !74
  br label %432

432:                                              ; preds = %428, %422
  %433 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 0
  %434 = load float, ptr %433, align 4, !tbaa !72
  %435 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %436 = load float, ptr %435, align 4, !tbaa !72
  %437 = fcmp ole float %434, %436
  br i1 %437, label %444, label %438

438:                                              ; preds = %432
  %439 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 1
  %440 = load float, ptr %439, align 4, !tbaa !74
  %441 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %442 = load float, ptr %441, align 4, !tbaa !74
  %443 = fcmp ole float %440, %442
  br i1 %443, label %444, label %445

444:                                              ; preds = %438, %432
  store i32 10, ptr %9, align 4
  br label %495

445:                                              ; preds = %438
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #8
  %446 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %447 = load float, ptr %446, align 4, !tbaa !72
  %448 = fptosi float %447 to i32
  %449 = getelementptr inbounds %struct.VkRect2D, ptr %32, i32 0, i32 0
  %450 = getelementptr inbounds %struct.VkOffset2D, ptr %449, i32 0, i32 0
  store i32 %448, ptr %450, align 4, !tbaa !77
  %451 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %452 = load float, ptr %451, align 4, !tbaa !74
  %453 = fptosi float %452 to i32
  %454 = getelementptr inbounds %struct.VkRect2D, ptr %32, i32 0, i32 0
  %455 = getelementptr inbounds %struct.VkOffset2D, ptr %454, i32 0, i32 1
  store i32 %453, ptr %455, align 4, !tbaa !81
  %456 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 0
  %457 = load float, ptr %456, align 4, !tbaa !72
  %458 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %459 = load float, ptr %458, align 4, !tbaa !72
  %460 = fsub float %457, %459
  %461 = fptoui float %460 to i32
  %462 = getelementptr inbounds %struct.VkRect2D, ptr %32, i32 0, i32 1
  %463 = getelementptr inbounds %struct.VkExtent2D, ptr %462, i32 0, i32 0
  store i32 %461, ptr %463, align 4, !tbaa !82
  %464 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 1
  %465 = load float, ptr %464, align 4, !tbaa !74
  %466 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %467 = load float, ptr %466, align 4, !tbaa !74
  %468 = fsub float %465, %467
  %469 = fptoui float %468 to i32
  %470 = getelementptr inbounds %struct.VkRect2D, ptr %32, i32 0, i32 1
  %471 = getelementptr inbounds %struct.VkExtent2D, ptr %470, i32 0, i32 1
  store i32 %469, ptr %471, align 4, !tbaa !83
  %472 = load ptr, ptr %5, align 8, !tbaa !5
  call void @vkCmdSetScissor(ptr noundef %472, i32 noundef 0, i32 noundef 1, ptr noundef %32)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %473 = load ptr, ptr %29, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.ImDrawCmd, ptr %473, i32 0, i32 1
  %475 = load ptr, ptr %474, align 8, !tbaa !84
  store ptr %475, ptr %33, align 8, !tbaa !5
  %476 = load ptr, ptr %5, align 8, !tbaa !5
  %477 = load ptr, ptr %10, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.ImGui_ImplVulkan_Data, ptr %477, i32 0, i32 5
  %479 = load ptr, ptr %478, align 8, !tbaa !85
  %480 = getelementptr inbounds [1 x ptr], ptr %33, i64 0, i64 0
  call void @vkCmdBindDescriptorSets(ptr noundef %476, i32 noundef 0, ptr noundef %479, i32 noundef 0, i32 noundef 1, ptr noundef %480, i32 noundef 0, ptr noundef null)
  %481 = load ptr, ptr %5, align 8, !tbaa !5
  %482 = load ptr, ptr %29, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct.ImDrawCmd, ptr %482, i32 0, i32 4
  %484 = load i32, ptr %483, align 8, !tbaa !86
  %485 = load ptr, ptr %29, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.ImDrawCmd, ptr %485, i32 0, i32 3
  %487 = load i32, ptr %486, align 4, !tbaa !87
  %488 = load i32, ptr %25, align 4, !tbaa !16
  %489 = add i32 %487, %488
  %490 = load ptr, ptr %29, align 8, !tbaa !5
  %491 = getelementptr inbounds %struct.ImDrawCmd, ptr %490, i32 0, i32 2
  %492 = load i32, ptr %491, align 8, !tbaa !88
  %493 = load i32, ptr %24, align 4, !tbaa !16
  %494 = add i32 %492, %493
  call void @vkCmdDrawIndexed(ptr noundef %481, i32 noundef %484, i32 noundef 1, i32 noundef %489, i32 noundef %494, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #8
  store i32 0, ptr %9, align 4
  br label %495

495:                                              ; preds = %445, %444
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  %496 = load i32, ptr %9, align 4
  switch i32 %496, label %499 [
    i32 0, label %497
  ]

497:                                              ; preds = %495
  br label %498

498:                                              ; preds = %497, %359
  store i32 0, ptr %9, align 4
  br label %499

499:                                              ; preds = %498, %495
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  %500 = load i32, ptr %9, align 4
  switch i32 %500, label %534 [
    i32 0, label %501
    i32 10, label %502
  ]

501:                                              ; preds = %499
  br label %502

502:                                              ; preds = %501, %499
  %503 = load i32, ptr %28, align 4, !tbaa !16
  %504 = add nsw i32 %503, 1
  store i32 %504, ptr %28, align 4, !tbaa !16
  br label %324, !llvm.loop !89

505:                                              ; preds = %331
  %506 = load ptr, ptr %27, align 8, !tbaa !5
  %507 = getelementptr inbounds %struct.ImDrawList, ptr %506, i32 0, i32 1
  %508 = getelementptr inbounds %struct.ImVector.0, ptr %507, i32 0, i32 0
  %509 = load i32, ptr %508, align 8, !tbaa !58
  %510 = load i32, ptr %25, align 4, !tbaa !16
  %511 = add nsw i32 %510, %509
  store i32 %511, ptr %25, align 4, !tbaa !16
  %512 = load ptr, ptr %27, align 8, !tbaa !5
  %513 = getelementptr inbounds %struct.ImDrawList, ptr %512, i32 0, i32 2
  %514 = getelementptr inbounds %struct.ImVector.1, ptr %513, i32 0, i32 0
  %515 = load i32, ptr %514, align 8, !tbaa !56
  %516 = load i32, ptr %24, align 4, !tbaa !16
  %517 = add nsw i32 %516, %515
  store i32 %517, ptr %24, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %518

518:                                              ; preds = %505
  %519 = load i32, ptr %26, align 4, !tbaa !16
  %520 = add nsw i32 %519, 1
  store i32 %520, ptr %26, align 4, !tbaa !16
  br label %309, !llvm.loop !90

521:                                              ; preds = %315
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #8
  %522 = getelementptr inbounds %struct.VkRect2D, ptr %34, i32 0, i32 0
  %523 = getelementptr inbounds %struct.VkOffset2D, ptr %522, i32 0, i32 0
  store i32 0, ptr %523, align 4, !tbaa !91
  %524 = getelementptr inbounds %struct.VkOffset2D, ptr %522, i32 0, i32 1
  store i32 0, ptr %524, align 4, !tbaa !92
  %525 = getelementptr inbounds %struct.VkRect2D, ptr %34, i32 0, i32 1
  %526 = getelementptr inbounds %struct.VkExtent2D, ptr %525, i32 0, i32 0
  %527 = load i32, ptr %7, align 4, !tbaa !16
  store i32 %527, ptr %526, align 4, !tbaa !93
  %528 = getelementptr inbounds %struct.VkExtent2D, ptr %525, i32 0, i32 1
  %529 = load i32, ptr %8, align 4, !tbaa !16
  store i32 %529, ptr %528, align 4, !tbaa !94
  %530 = load ptr, ptr %5, align 8, !tbaa !5
  call void @vkCmdSetScissor(ptr noundef %530, i32 noundef 0, i32 noundef 1, ptr noundef %34)
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  store i32 0, ptr %9, align 4
  br label %531

531:                                              ; preds = %521, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  %532 = load i32, ptr %9, align 4
  switch i32 %532, label %534 [
    i32 0, label %533
    i32 1, label %533
  ]

533:                                              ; preds = %531, %531
  ret void

534:                                              ; preds = %531, %499
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL31ImGui_ImplVulkan_GetBackendDatav() #0

declare noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20CreateOrResizeBufferRP10VkBuffer_TRP16VkDeviceMemory_TRmm21VkBufferUsageFlagBits(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i64 noundef, i32 noundef) #0

declare i32 @vkMapMemory(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL15check_vk_result8VkResult(i32 noundef) #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) #5

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

declare i32 @vkFlushMappedMemoryRanges(ptr noundef, i32 noundef, ptr noundef) #2

declare void @vkUnmapMemory(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL33ImGui_ImplVulkan_SetupRenderStateP10ImDrawDataP12VkPipeline_TP17VkCommandBuffer_TP36ImGui_ImplVulkanH_FrameRenderBuffersii(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #7 align 2

declare void @vkCmdSetScissor(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2

declare void @vkCmdBindDescriptorSets(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2

declare void @vkCmdDrawIndexed(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { 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, !14, i64 32}
!10 = !{!"_ZTS10ImDrawData", !11, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !6, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!10, !14, i64 40}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !14, i64 36}
!18 = !{!10, !14, i64 44}
!19 = !{!20, !6, i64 128}
!20 = !{!"_ZTS21ImGui_ImplVulkan_Data", !21, i64 0, !6, i64 88, !23, i64 96, !12, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !12, 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, !6, i64 208, !24, i64 216}
!21 = !{!"_ZTS25ImGui_ImplVulkan_InitInfo", !6, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !12, i64 56, !12, i64 60, !12, i64 64, !22, i64 68, !6, i64 72, !6, i64 80}
!22 = !{!"_ZTS21VkSampleCountFlagBits", !7, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTS37ImGui_ImplVulkanH_WindowRenderBuffers", !12, i64 0, !12, i64 4, !6, i64 8}
!25 = !{!24, !6, i64 8}
!26 = !{!24, !12, i64 0}
!27 = !{!21, !12, i64 64}
!28 = !{!24, !12, i64 4}
!29 = !{!10, !12, i64 12}
!30 = !{!23, !23, i64 0}
!31 = !{!10, !12, i64 8}
!32 = !{!33, !6, i64 32}
!33 = !{!"_ZTS36ImGui_ImplVulkanH_FrameRenderBuffers", !6, i64 0, !6, i64 8, !23, i64 16, !23, i64 24, !6, i64 32, !6, i64 40}
!34 = !{!33, !23, i64 16}
!35 = !{!33, !6, i64 40}
!36 = !{!33, !23, i64 24}
!37 = !{!21, !6, i64 16}
!38 = !{!33, !6, i64 0}
!39 = !{!40, !40, i64 0}
!40 = !{!"_ZTS8VkResult", !7, i64 0}
!41 = !{!33, !6, i64 8}
!42 = !{!10, !12, i64 4}
!43 = !{!10, !6, i64 16}
!44 = !{!45, !6, i64 40}
!45 = !{!"_ZTS10ImDrawList", !46, i64 0, !47, i64 16, !48, i64 32, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !49, i64 88, !50, i64 104, !51, i64 120, !52, i64 136, !54, i64 168, !14, i64 192}
!46 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!52 = !{!"_ZTS15ImDrawCmdHeader", !53, i64 0, !6, i64 16, !12, i64 24}
!53 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!54 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !55, i64 8}
!55 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!56 = !{!45, !12, i64 32}
!57 = !{!45, !6, i64 24}
!58 = !{!45, !12, i64 16}
!59 = distinct !{!59, !60}
!60 = !{!"llvm.loop.mustprogress"}
!61 = !{!62, !63, i64 0}
!62 = !{!"_ZTS19VkMappedMemoryRange", !63, i64 0, !6, i64 8, !6, i64 16, !23, i64 24, !23, i64 32}
!63 = !{!"_ZTS15VkStructureType", !7, i64 0}
!64 = !{!62, !6, i64 16}
!65 = !{!62, !23, i64 32}
!66 = !{i64 0, i64 4, !67, i64 4, i64 4, !67}
!67 = !{!14, !14, i64 0}
!68 = !{!45, !12, i64 0}
!69 = !{!70, !6, i64 40}
!70 = !{!"_ZTS9ImDrawCmd", !53, i64 0, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48}
!71 = !{!70, !14, i64 0}
!72 = !{!13, !14, i64 0}
!73 = !{!70, !14, i64 4}
!74 = !{!13, !14, i64 4}
!75 = !{!70, !14, i64 8}
!76 = !{!70, !14, i64 12}
!77 = !{!78, !12, i64 0}
!78 = !{!"_ZTS8VkRect2D", !79, i64 0, !80, i64 8}
!79 = !{!"_ZTS10VkOffset2D", !12, i64 0, !12, i64 4}
!80 = !{!"_ZTS10VkExtent2D", !12, i64 0, !12, i64 4}
!81 = !{!78, !12, i64 4}
!82 = !{!78, !12, i64 8}
!83 = !{!78, !12, i64 12}
!84 = !{!70, !6, i64 16}
!85 = !{!20, !6, i64 120}
!86 = !{!70, !12, i64 32}
!87 = !{!70, !12, i64 28}
!88 = !{!70, !12, i64 24}
!89 = distinct !{!89, !60}
!90 = distinct !{!90, !60}
!91 = !{!79, !12, i64 0}
!92 = !{!79, !12, i64 4}
!93 = !{!80, !12, i64 0}
!94 = !{!80, !12, i64 4}


; 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.VkMappedMemoryRange = type { i32, ptr, ptr, i64, i64 }
%struct.ImVec2 = type { float, float }
%struct.VkRect2D = type { %struct.VkOffset2D, %struct.VkExtent2D }
%struct.VkOffset2D = type { i32, i32 }
%struct.VkExtent2D = type { i32, i32 }
%struct.ImGui_ImplVulkanH_FrameRenderBuffers = type { ptr, ptr, i64, i64, ptr, ptr }
%struct.ImDrawVert = type { %struct.ImVec2, %struct.ImVec2, i32 }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__._Z31ImGui_ImplVulkan_RenderDrawDataP10ImDrawDataP17VkCommandBuffer_TP12VkPipeline_T = external hidden unnamed_addr constant [80 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z31ImGui_ImplVulkan_RenderDrawDataP10ImDrawDataP17VkCommandBuffer_TP12VkPipeline_T(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca [2 x %struct.VkMappedMemoryRange], align 16
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.VkRect2D, align 8
  %10 = alloca [1 x ptr], align 8
  %11 = alloca %struct.VkRect2D, align 4
  %12 = getelementptr inbounds i8, ptr %0, i64 32
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = getelementptr inbounds i8, ptr %0, i64 44
  %15 = load <2 x float>, ptr %12, align 8, !tbaa !5
  %16 = load <2 x float>, ptr %13, align 8, !tbaa !5
  %17 = fmul <2 x float> %15, %16
  %18 = fptosi <2 x float> %17 to <2 x i32>
  %19 = icmp slt <2 x i32> %18, <i32 1, i32 1>
  %20 = extractelement <2 x i1> %19, i64 0
  %21 = extractelement <2 x i1> %19, i64 1
  %or.cond = select i1 %20, i1 true, i1 %21
  br i1 %or.cond, label %244, label %22

22:                                               ; preds = %3
  %23 = tail call noundef ptr @_ZL31ImGui_ImplVulkan_GetBackendDatav()
  %24 = icmp eq ptr %2, null
  br i1 %24, label %25, label %28

25:                                               ; preds = %22
  %26 = getelementptr inbounds i8, ptr %23, i64 128
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  br label %28

28:                                               ; preds = %25, %22
  %.0 = phi ptr [ %27, %25 ], [ %2, %22 ]
  %29 = getelementptr inbounds i8, ptr %23, i64 216
  %30 = getelementptr inbounds i8, ptr %23, i64 224
  %31 = load ptr, ptr %30, align 8, !tbaa !17
  %32 = icmp eq ptr %31, null
  br i1 %32, label %33, label %43

33:                                               ; preds = %28
  store i32 0, ptr %29, align 8, !tbaa !18
  %34 = getelementptr inbounds i8, ptr %23, i64 64
  %35 = load i32, ptr %34, align 8, !tbaa !19
  %36 = getelementptr inbounds i8, ptr %23, i64 220
  store i32 %35, ptr %36, align 4, !tbaa !20
  %37 = zext i32 %35 to i64
  %38 = mul nuw nsw i64 %37, 48
  %39 = tail call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef %38)
  store ptr %39, ptr %30, align 8, !tbaa !17
  %40 = load i32, ptr %36, align 4, !tbaa !20
  %41 = zext i32 %40 to i64
  %42 = mul nuw nsw i64 %41, 48
  tail call void @llvm.memset.p0.i64(ptr align 8 %39, i8 0, i64 %42, i1 false)
  br label %43

43:                                               ; preds = %33, %28
  %44 = getelementptr inbounds i8, ptr %23, i64 220
  %45 = load i32, ptr %44, align 4, !tbaa !20
  %46 = getelementptr inbounds i8, ptr %23, i64 64
  %47 = load i32, ptr %46, align 8, !tbaa !19
  %48 = icmp eq i32 %45, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %43
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 459, ptr noundef nonnull @__PRETTY_FUNCTION__._Z31ImGui_ImplVulkan_RenderDrawDataP10ImDrawDataP17VkCommandBuffer_TP12VkPipeline_T) #8
  unreachable

50:                                               ; preds = %43
  %51 = load i32, ptr %29, align 8, !tbaa !18
  %52 = add i32 %51, 1
  %53 = urem i32 %52, %45
  store i32 %53, ptr %29, align 8, !tbaa !18
  %54 = load ptr, ptr %30, align 8, !tbaa !17
  %55 = zext i32 %53 to i64
  %56 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameRenderBuffers, ptr %54, i64 %55
  %57 = getelementptr inbounds i8, ptr %0, i64 12
  %58 = load i32, ptr %57, align 4, !tbaa !21
  %59 = icmp sgt i32 %58, 0
  br i1 %59, label %60, label %146

60:                                               ; preds = %50
  %61 = zext nneg i32 %58 to i64
  %62 = mul nuw nsw i64 %61, 20
  %63 = getelementptr inbounds i8, ptr %0, i64 8
  %64 = load i32, ptr %63, align 8, !tbaa !25
  %65 = sext i32 %64 to i64
  %66 = shl nsw i64 %65, 1
  %67 = getelementptr inbounds i8, ptr %56, i64 32
  %68 = load ptr, ptr %67, align 8, !tbaa !26
  %69 = icmp eq ptr %68, null
  br i1 %69, label %74, label %70

70:                                               ; preds = %60
  %71 = getelementptr inbounds i8, ptr %56, i64 16
  %72 = load i64, ptr %71, align 8, !tbaa !28
  %73 = icmp ult i64 %72, %62
  br i1 %73, label %74, label %76

74:                                               ; preds = %70, %60
  %75 = getelementptr inbounds i8, ptr %56, i64 16
  tail call void @_ZL20CreateOrResizeBufferRP10VkBuffer_TRP16VkDeviceMemory_TRmm21VkBufferUsageFlagBits(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %75, i64 noundef %62, i32 noundef 128)
  br label %76

76:                                               ; preds = %74, %70
  %77 = getelementptr inbounds i8, ptr %56, i64 40
  %78 = load ptr, ptr %77, align 8, !tbaa !29
  %79 = icmp eq ptr %78, null
  br i1 %79, label %84, label %80

80:                                               ; preds = %76
  %81 = getelementptr inbounds i8, ptr %56, i64 24
  %82 = load i64, ptr %81, align 8, !tbaa !30
  %83 = icmp ult i64 %82, %66
  br i1 %83, label %84, label %87

84:                                               ; preds = %80, %76
  %85 = getelementptr inbounds i8, ptr %56, i64 8
  %86 = getelementptr inbounds i8, ptr %56, i64 24
  tail call void @_ZL20CreateOrResizeBufferRP10VkBuffer_TRP16VkDeviceMemory_TRmm21VkBufferUsageFlagBits(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull align 8 dereferenceable(8) %86, i64 noundef %66, i32 noundef 64)
  br label %87

87:                                               ; preds = %84, %80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  store ptr null, ptr %4, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  store ptr null, ptr %5, align 8, !tbaa !31
  %88 = getelementptr inbounds i8, ptr %23, i64 16
  %89 = load ptr, ptr %88, align 8, !tbaa !32
  %90 = load ptr, ptr %56, align 8, !tbaa !33
  %91 = getelementptr inbounds i8, ptr %56, i64 16
  %92 = load i64, ptr %91, align 8, !tbaa !28
  %93 = call i32 @vkMapMemory(ptr noundef %89, ptr noundef %90, i64 noundef 0, i64 noundef %92, i32 noundef 0, ptr noundef nonnull %4)
  call void @_ZL15check_vk_result8VkResult(i32 noundef %93)
  %94 = load ptr, ptr %88, align 8, !tbaa !32
  %95 = getelementptr inbounds i8, ptr %56, i64 8
  %96 = load ptr, ptr %95, align 8, !tbaa !34
  %97 = getelementptr inbounds i8, ptr %56, i64 24
  %98 = load i64, ptr %97, align 8, !tbaa !30
  %99 = call i32 @vkMapMemory(ptr noundef %94, ptr noundef %96, i64 noundef 0, i64 noundef %98, i32 noundef 0, ptr noundef nonnull %5)
  call void @_ZL15check_vk_result8VkResult(i32 noundef %99)
  %100 = getelementptr inbounds i8, ptr %0, i64 4
  %101 = load i32, ptr %100, align 4, !tbaa !35
  %102 = icmp sgt i32 %101, 0
  br i1 %102, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %87
  %103 = getelementptr inbounds i8, ptr %0, i64 16
  %.pre = load ptr, ptr %4, align 8, !tbaa !31
  br label %117

._crit_edge:                                      ; preds = %117, %87
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %6, i8 0, i64 80, i1 false)
  store i32 6, ptr %6, align 16, !tbaa !36
  %104 = load ptr, ptr %56, align 8, !tbaa !33
  %105 = getelementptr inbounds i8, ptr %6, i64 16
  store ptr %104, ptr %105, align 16, !tbaa !39
  %106 = getelementptr inbounds i8, ptr %6, i64 32
  store i64 -1, ptr %106, align 16, !tbaa !40
  %107 = getelementptr inbounds i8, ptr %6, i64 40
  store i32 6, ptr %107, align 8, !tbaa !36
  %108 = load ptr, ptr %95, align 8, !tbaa !34
  %109 = getelementptr inbounds i8, ptr %6, i64 56
  store ptr %108, ptr %109, align 8, !tbaa !39
  %110 = getelementptr inbounds i8, ptr %6, i64 72
  store i64 -1, ptr %110, align 8, !tbaa !40
  %111 = load ptr, ptr %88, align 8, !tbaa !32
  %112 = call i32 @vkFlushMappedMemoryRanges(ptr noundef %111, i32 noundef 2, ptr noundef nonnull %6)
  call void @_ZL15check_vk_result8VkResult(i32 noundef %112)
  %113 = load ptr, ptr %88, align 8, !tbaa !32
  %114 = load ptr, ptr %56, align 8, !tbaa !33
  call void @vkUnmapMemory(ptr noundef %113, ptr noundef %114)
  %115 = load ptr, ptr %88, align 8, !tbaa !32
  %116 = load ptr, ptr %95, align 8, !tbaa !34
  call void @vkUnmapMemory(ptr noundef %115, ptr noundef %116)
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  br label %146

117:                                              ; preds = %.lr.ph, %117
  %118 = phi ptr [ %.pre, %.lr.ph ], [ %138, %117 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %117 ]
  %119 = load ptr, ptr %103, align 8, !tbaa !41
  %120 = getelementptr inbounds ptr, ptr %119, i64 %indvars.iv
  %121 = load ptr, ptr %120, align 8, !tbaa !31
  %122 = getelementptr inbounds i8, ptr %121, i64 32
  %123 = getelementptr inbounds i8, ptr %121, i64 40
  %124 = load ptr, ptr %123, align 8, !tbaa !42
  %125 = load i32, ptr %122, align 8, !tbaa !54
  %126 = sext i32 %125 to i64
  %127 = mul nsw i64 %126, 20
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %118, ptr align 4 %124, i64 %127, i1 false)
  %128 = load ptr, ptr %5, align 8, !tbaa !31
  %129 = getelementptr inbounds i8, ptr %121, i64 16
  %130 = getelementptr inbounds i8, ptr %121, i64 24
  %131 = load ptr, ptr %130, align 8, !tbaa !55
  %132 = load i32, ptr %129, align 8, !tbaa !56
  %133 = sext i32 %132 to i64
  %134 = shl nsw i64 %133, 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %128, ptr align 2 %131, i64 %134, i1 false)
  %135 = load i32, ptr %122, align 8, !tbaa !54
  %136 = load ptr, ptr %4, align 8, !tbaa !31
  %137 = sext i32 %135 to i64
  %138 = getelementptr inbounds %struct.ImDrawVert, ptr %136, i64 %137
  store ptr %138, ptr %4, align 8, !tbaa !31
  %139 = load i32, ptr %129, align 8, !tbaa !56
  %140 = load ptr, ptr %5, align 8, !tbaa !31
  %141 = sext i32 %139 to i64
  %142 = getelementptr inbounds i16, ptr %140, i64 %141
  store ptr %142, ptr %5, align 8, !tbaa !31
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %143 = load i32, ptr %100, align 4, !tbaa !35
  %144 = sext i32 %143 to i64
  %145 = icmp slt i64 %indvars.iv.next, %144
  br i1 %145, label %117, label %._crit_edge, !llvm.loop !57

146:                                              ; preds = %._crit_edge, %50
  %147 = extractelement <2 x i32> %18, i64 0
  %148 = extractelement <2 x i32> %18, i64 1
  call void @_ZL33ImGui_ImplVulkan_SetupRenderStateP10ImDrawDataP12VkPipeline_TP17VkCommandBuffer_TP36ImGui_ImplVulkanH_FrameRenderBuffersii(ptr noundef nonnull %0, ptr noundef %.0, ptr noundef %1, ptr noundef %56, i32 noundef %147, i32 noundef %148)
  %149 = getelementptr inbounds i8, ptr %0, i64 24
  %.sroa.029.0.copyload = load float, ptr %149, align 8, !tbaa !5
  %.sroa.531.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 28
  %.sroa.531.0.copyload = load float, ptr %.sroa.531.0..sroa_idx, align 4, !tbaa !5
  %.sroa.0.0.copyload = load float, ptr %13, align 8, !tbaa !5
  %.sroa.5.0.copyload = load float, ptr %14, align 4, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %0, i64 4
  %151 = load i32, ptr %150, align 4, !tbaa !35
  %152 = icmp sgt i32 %151, 0
  br i1 %152, label %.lr.ph153, label %._crit_edge154

.lr.ph153:                                        ; preds = %146
  %153 = getelementptr inbounds i8, ptr %0, i64 16
  %154 = getelementptr inbounds i8, ptr %7, i64 4
  %155 = uitofp nneg i32 %147 to float
  %156 = getelementptr inbounds i8, ptr %8, i64 4
  %157 = uitofp nneg i32 %148 to float
  %158 = getelementptr inbounds i8, ptr %9, i64 8
  %159 = getelementptr inbounds i8, ptr %23, i64 120
  br label %162

._crit_edge154:                                   ; preds = %._crit_edge148, %146
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  store i32 0, ptr %11, align 4, !tbaa !59
  %160 = getelementptr inbounds i8, ptr %11, i64 4
  store i32 0, ptr %160, align 4, !tbaa !61
  %161 = getelementptr inbounds i8, ptr %11, i64 8
  store <2 x i32> %18, ptr %161, align 4, !tbaa !62
  call void @vkCmdSetScissor(ptr noundef %1, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %11)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  br label %244

162:                                              ; preds = %.lr.ph153, %._crit_edge148
  %163 = phi i32 [ %151, %.lr.ph153 ], [ %169, %._crit_edge148 ]
  %indvars.iv156 = phi i64 [ 0, %.lr.ph153 ], [ %indvars.iv.next157, %._crit_edge148 ]
  %.0133150 = phi i32 [ 0, %.lr.ph153 ], [ %172, %._crit_edge148 ]
  %.0134149 = phi i32 [ 0, %.lr.ph153 ], [ %175, %._crit_edge148 ]
  %164 = load ptr, ptr %153, align 8, !tbaa !41
  %165 = getelementptr inbounds ptr, ptr %164, i64 %indvars.iv156
  %166 = load ptr, ptr %165, align 8, !tbaa !31
  %167 = load i32, ptr %166, align 8, !tbaa !63
  %168 = icmp sgt i32 %167, 0
  br i1 %168, label %.lr.ph147, label %._crit_edge148

._crit_edge148.loopexit:                          ; preds = %240
  %.pre159 = load i32, ptr %150, align 4, !tbaa !35
  br label %._crit_edge148

._crit_edge148:                                   ; preds = %._crit_edge148.loopexit, %162
  %169 = phi i32 [ %.pre159, %._crit_edge148.loopexit ], [ %163, %162 ]
  %170 = getelementptr inbounds i8, ptr %166, i64 16
  %171 = load i32, ptr %170, align 8, !tbaa !56
  %172 = add nsw i32 %171, %.0133150
  %173 = getelementptr inbounds i8, ptr %166, i64 32
  %174 = load i32, ptr %173, align 8, !tbaa !54
  %175 = add nsw i32 %174, %.0134149
  %indvars.iv.next157 = add nuw nsw i64 %indvars.iv156, 1
  %176 = sext i32 %169 to i64
  %177 = icmp slt i64 %indvars.iv.next157, %176
  br i1 %177, label %162, label %._crit_edge154, !llvm.loop !64

.lr.ph147:                                        ; preds = %162, %240
  %.0130145 = phi i32 [ %241, %240 ], [ 0, %162 ]
  %178 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %166, i32 noundef %.0130145)
  %179 = getelementptr inbounds i8, ptr %178, i64 40
  %180 = load ptr, ptr %179, align 8, !tbaa !65
  %magicptr = ptrtoint ptr %180 to i64
  switch i64 %magicptr, label %182 [
    i64 0, label %183
    i64 -1, label %181
  ]

181:                                              ; preds = %.lr.ph147
  call void @_ZL33ImGui_ImplVulkan_SetupRenderStateP10ImDrawDataP12VkPipeline_TP17VkCommandBuffer_TP36ImGui_ImplVulkanH_FrameRenderBuffersii(ptr noundef %0, ptr noundef %.0, ptr noundef %1, ptr noundef %56, i32 noundef %147, i32 noundef %148)
  br label %240

182:                                              ; preds = %.lr.ph147
  call void %180(ptr noundef nonnull %166, ptr noundef nonnull %178)
  br label %240

183:                                              ; preds = %.lr.ph147
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %184 = load float, ptr %178, align 8, !tbaa !67
  %185 = fsub float %184, %.sroa.029.0.copyload
  %186 = fmul float %.sroa.0.0.copyload, %185
  %187 = getelementptr inbounds i8, ptr %178, i64 4
  %188 = load float, ptr %187, align 4, !tbaa !68
  %189 = fsub float %188, %.sroa.531.0.copyload
  %190 = fmul float %.sroa.5.0.copyload, %189
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %186, float noundef %190)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %191 = getelementptr inbounds i8, ptr %178, i64 8
  %192 = load float, ptr %191, align 8, !tbaa !69
  %193 = fsub float %192, %.sroa.029.0.copyload
  %194 = fmul float %.sroa.0.0.copyload, %193
  %195 = getelementptr inbounds i8, ptr %178, i64 12
  %196 = load float, ptr %195, align 4, !tbaa !70
  %197 = fsub float %196, %.sroa.531.0.copyload
  %198 = fmul float %.sroa.5.0.copyload, %197
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %194, float noundef %198)
  %199 = load float, ptr %7, align 4, !tbaa !71
  %200 = fcmp olt float %199, 0.000000e+00
  br i1 %200, label %201, label %202

201:                                              ; preds = %183
  store float 0.000000e+00, ptr %7, align 4, !tbaa !71
  br label %202

202:                                              ; preds = %201, %183
  %203 = phi float [ 0.000000e+00, %201 ], [ %199, %183 ]
  %204 = load float, ptr %154, align 4, !tbaa !72
  %205 = fcmp olt float %204, 0.000000e+00
  br i1 %205, label %206, label %207

206:                                              ; preds = %202
  store float 0.000000e+00, ptr %154, align 4, !tbaa !72
  br label %207

207:                                              ; preds = %206, %202
  %208 = phi float [ 0.000000e+00, %206 ], [ %204, %202 ]
  %209 = load float, ptr %8, align 4, !tbaa !71
  %210 = fcmp ogt float %209, %155
  br i1 %210, label %211, label %212

211:                                              ; preds = %207
  store float %155, ptr %8, align 4, !tbaa !71
  br label %212

212:                                              ; preds = %211, %207
  %213 = phi float [ %155, %211 ], [ %209, %207 ]
  %214 = load float, ptr %156, align 4, !tbaa !72
  %215 = fcmp ogt float %214, %157
  br i1 %215, label %216, label %217

216:                                              ; preds = %212
  store float %157, ptr %156, align 4, !tbaa !72
  br label %217

217:                                              ; preds = %216, %212
  %218 = phi float [ %157, %216 ], [ %214, %212 ]
  %219 = fcmp ugt float %213, %203
  %220 = fcmp ugt float %218, %208
  %or.cond160 = select i1 %219, i1 %220, i1 false
  br i1 %or.cond160, label %.critedge, label %239

.critedge:                                        ; preds = %217
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #9
  %221 = insertelement <2 x float> poison, float %203, i64 0
  %222 = insertelement <2 x float> %221, float %208, i64 1
  %223 = fptosi <2 x float> %222 to <2 x i32>
  store <2 x i32> %223, ptr %9, align 8, !tbaa !62
  %224 = insertelement <2 x float> poison, float %213, i64 0
  %225 = insertelement <2 x float> %224, float %218, i64 1
  %226 = fsub <2 x float> %225, %222
  %227 = fptoui <2 x float> %226 to <2 x i32>
  store <2 x i32> %227, ptr %158, align 8, !tbaa !62
  call void @vkCmdSetScissor(ptr noundef %1, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %228 = getelementptr inbounds i8, ptr %178, i64 16
  %229 = load ptr, ptr %228, align 8, !tbaa !73
  store ptr %229, ptr %10, align 8, !tbaa !31
  %230 = load ptr, ptr %159, align 8, !tbaa !74
  call void @vkCmdBindDescriptorSets(ptr noundef %1, i32 noundef 0, ptr noundef %230, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %10, i32 noundef 0, ptr noundef null)
  %231 = getelementptr inbounds i8, ptr %178, i64 32
  %232 = load i32, ptr %231, align 8, !tbaa !75
  %233 = getelementptr inbounds i8, ptr %178, i64 28
  %234 = load i32, ptr %233, align 4, !tbaa !76
  %235 = add i32 %234, %.0133150
  %236 = getelementptr inbounds i8, ptr %178, i64 24
  %237 = load i32, ptr %236, align 8, !tbaa !77
  %238 = add i32 %237, %.0134149
  call void @vkCmdDrawIndexed(ptr noundef %1, i32 noundef %232, i32 noundef 1, i32 noundef %235, i32 noundef %238, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %240

239:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %240

240:                                              ; preds = %182, %181, %.critedge, %239
  %241 = add nuw nsw i32 %.0130145, 1
  %242 = load i32, ptr %166, align 8, !tbaa !63
  %243 = icmp slt i32 %241, %242
  br i1 %243, label %.lr.ph147, label %._crit_edge148.loopexit, !llvm.loop !78

244:                                              ; preds = %3, %._crit_edge154
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL31ImGui_ImplVulkan_GetBackendDatav() local_unnamed_addr #0

declare noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20CreateOrResizeBufferRP10VkBuffer_TRP16VkDeviceMemory_TRmm21VkBufferUsageFlagBits(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i64 noundef, i32 noundef) local_unnamed_addr #0

declare i32 @vkMapMemory(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL15check_vk_result8VkResult(i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress 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) #5

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

declare i32 @vkFlushMappedMemoryRanges(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare void @vkUnmapMemory(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL33ImGui_ImplVulkan_SetupRenderStateP10ImDrawDataP12VkPipeline_TP17VkCommandBuffer_TP36ImGui_ImplVulkanH_FrameRenderBuffersii(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #7 align 2

declare void @vkCmdSetScissor(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare void @vkCmdBindDescriptorSets(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare void @vkCmdDrawIndexed(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { noreturn nounwind }
attributes #9 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 128}
!10 = !{!"_ZTS21ImGui_ImplVulkan_Data", !11, i64 0, !12, i64 88, !15, i64 96, !13, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !13, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !16, i64 216}
!11 = !{!"_ZTS25ImGui_ImplVulkan_InitInfo", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !13, i64 64, !14, i64 68, !12, i64 72, !12, i64 80}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS21VkSampleCountFlagBits", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTS37ImGui_ImplVulkanH_WindowRenderBuffers", !13, i64 0, !13, i64 4, !12, i64 8}
!17 = !{!16, !12, i64 8}
!18 = !{!16, !13, i64 0}
!19 = !{!11, !13, i64 64}
!20 = !{!16, !13, i64 4}
!21 = !{!22, !13, i64 12}
!22 = !{!"_ZTS10ImDrawData", !23, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !12, i64 16, !24, i64 24, !24, i64 32, !24, i64 40}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"_ZTS6ImVec2", !6, i64 0, !6, i64 4}
!25 = !{!22, !13, i64 8}
!26 = !{!27, !12, i64 32}
!27 = !{!"_ZTS36ImGui_ImplVulkanH_FrameRenderBuffers", !12, i64 0, !12, i64 8, !15, i64 16, !15, i64 24, !12, i64 32, !12, i64 40}
!28 = !{!27, !15, i64 16}
!29 = !{!27, !12, i64 40}
!30 = !{!27, !15, i64 24}
!31 = !{!12, !12, i64 0}
!32 = !{!11, !12, i64 16}
!33 = !{!27, !12, i64 0}
!34 = !{!27, !12, i64 8}
!35 = !{!22, !13, i64 4}
!36 = !{!37, !38, i64 0}
!37 = !{!"_ZTS19VkMappedMemoryRange", !38, i64 0, !12, i64 8, !12, i64 16, !15, i64 24, !15, i64 32}
!38 = !{!"_ZTS15VkStructureType", !7, i64 0}
!39 = !{!37, !12, i64 16}
!40 = !{!37, !15, i64 32}
!41 = !{!22, !12, i64 16}
!42 = !{!43, !12, i64 40}
!43 = !{!"_ZTS10ImDrawList", !44, i64 0, !45, i64 16, !46, i64 32, !13, i64 48, !13, i64 52, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !47, i64 88, !48, i64 104, !49, i64 120, !50, i64 136, !52, i64 168, !6, i64 192}
!44 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !12, i64 8}
!45 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !12, i64 8}
!46 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !12, i64 8}
!47 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !12, i64 8}
!48 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !12, i64 8}
!49 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !12, i64 8}
!50 = !{!"_ZTS15ImDrawCmdHeader", !51, i64 0, !12, i64 16, !13, i64 24}
!51 = !{!"_ZTS6ImVec4", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!52 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !53, i64 8}
!53 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !12, i64 8}
!54 = !{!43, !13, i64 32}
!55 = !{!43, !12, i64 24}
!56 = !{!43, !13, i64 16}
!57 = distinct !{!57, !58}
!58 = !{!"llvm.loop.mustprogress"}
!59 = !{!60, !13, i64 0}
!60 = !{!"_ZTS10VkOffset2D", !13, i64 0, !13, i64 4}
!61 = !{!60, !13, i64 4}
!62 = !{!13, !13, i64 0}
!63 = !{!43, !13, i64 0}
!64 = distinct !{!64, !58}
!65 = !{!66, !12, i64 40}
!66 = !{!"_ZTS9ImDrawCmd", !51, i64 0, !12, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !12, i64 40, !12, i64 48}
!67 = !{!66, !6, i64 0}
!68 = !{!66, !6, i64 4}
!69 = !{!66, !6, i64 8}
!70 = !{!66, !6, i64 12}
!71 = !{!24, !6, i64 0}
!72 = !{!24, !6, i64 4}
!73 = !{!66, !12, i64 16}
!74 = !{!10, !12, i64 120}
!75 = !{!66, !13, i64 32}
!76 = !{!66, !13, i64 28}
!77 = !{!66, !13, i64 24}
!78 = distinct !{!78, !58}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass