; LLVM IR from theolundqvist/parallax-voxel-ray-marcher :: src/external/Dear ImGui/imgui_widgets.ll (ZN5ImGui11ColorButtonEPKcRK6ImVec4i6ImVec2)

; 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.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.3, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i16, i16, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.1, %struct.ImVector.1, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16 }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.10 }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [3 x i8], i32, ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.11, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.17, %struct.ImVector.18, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, [3 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.19, [16 x i8], ptr, i32, [4 x i8], %struct.ImPool, %struct.ImVector.21, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.22, %struct.ImVector.24, %struct.ImVector.25, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i32, float, [4 x i8], %struct.ImVector.26, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.28, %struct.ImChunkStream, %struct.ImChunkStream.29, %struct.ImVector.30, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [3 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [20 x float], [20 x float], float, i16, %struct.ImVector.5 }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type <{ ptr, i32, i32, %struct.ImRect, float, float, float, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImPool.22 = type { %struct.ImVector.23, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.5, %struct.ImVector.26, %struct.ImVector.26, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.27, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.26 }
%struct.ImChunkStream.29 = type { %struct.ImVector.26 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.26 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i32, i32 }

@GImGui = external global ptr, align 8
@.str.107 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() #2

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #6

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

declare noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, i32 noundef) #7

declare void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) #7

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, ptr noundef, i32 noundef) #0

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(937), ptr noundef, ptr noundef) #7

declare void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) #7

declare noundef float @_ZN5ImGui14GetFrameHeightEv() #7

declare void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef) #7

declare void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef, float noundef) #7

declare noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16)) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMinIfET_S0_S0_(float noundef, float noundef) #2

declare void @_ZN5ImGui8SameLineEff(float noundef, float noundef) #7

declare void @_ZN5ImGui17RenderFrameBorderE6ImVec2S0_f(<2 x float>, <2 x float>, float noundef) #7

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

declare void @_ZN5ImGui20ColorConvertHSVtoRGBEfffRfS0_S0_(float noundef, float noundef, float noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #7

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui11ColorButtonEPKcRK6ImVec4i6ImVec2(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %2, <2 x float> %3) #0 {
  %5 = alloca i1, align 1
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca %struct.ImRect, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca %struct.ImVec4, align 4
  %21 = alloca %struct.ImVec4, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca %struct.ImRect, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImVec4, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca %struct.ImVec2, align 4
  %34 = alloca %struct.ImVec2, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca %struct.ImVec2, align 4
  store <2 x float> %3, ptr %6, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %38 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %38, ptr %10, align 8, !tbaa !5
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImGuiWindow, ptr %39, i32 0, i32 28
  %41 = load i8, ptr %40, align 1, !tbaa !11, !range !41, !noundef !42
  %42 = trunc i8 %41 to i1
  br i1 %42, label %43, label %44

43:                                               ; preds = %4
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %292

44:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %45 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %45, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(937) %46, ptr noundef %47, ptr noundef null)
  store i32 %48, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %49 = call noundef float @_ZN5ImGui14GetFrameHeightEv()
  store float %49, ptr %14, align 4, !tbaa !43
  %50 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 0
  %51 = load float, ptr %50, align 4, !tbaa !44
  %52 = fcmp oeq float %51, 0.000000e+00
  br i1 %52, label %53, label %56

53:                                               ; preds = %44
  %54 = load float, ptr %14, align 4, !tbaa !43
  %55 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 0
  store float %54, ptr %55, align 4, !tbaa !44
  br label %56

56:                                               ; preds = %53, %44
  %57 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 1
  %58 = load float, ptr %57, align 4, !tbaa !45
  %59 = fcmp oeq float %58, 0.000000e+00
  br i1 %59, label %60, label %63

60:                                               ; preds = %56
  %61 = load float, ptr %14, align 4, !tbaa !43
  %62 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 1
  store float %61, ptr %62, align 4, !tbaa !45
  br label %63

63:                                               ; preds = %60, %56
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  %64 = load ptr, ptr %10, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImGuiWindow, ptr %64, i32 0, i32 54
  %66 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %65, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiWindow, ptr %67, i32 0, i32 54
  %69 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %68, i32 0, i32 0
  %70 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %69, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %70, ptr %16, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(8) %66, ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %71 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 1
  %72 = load float, ptr %71, align 4, !tbaa !45
  %73 = load float, ptr %14, align 4, !tbaa !43
  %74 = fcmp oge float %72, %73
  br i1 %74, label %75, label %81

75:                                               ; preds = %63
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiContext, ptr %76, i32 0, i32 4
  %78 = getelementptr inbounds %struct.ImGuiStyle, ptr %77, i32 0, i32 12
  %79 = getelementptr inbounds %struct.ImVec2, ptr %78, i32 0, i32 1
  %80 = load float, ptr %79, align 4, !tbaa !46
  br label %82

81:                                               ; preds = %63
  br label %82

82:                                               ; preds = %81, %75
  %83 = phi float [ %80, %75 ], [ 0.000000e+00, %81 ]
  call void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef %83)
  %84 = load i32, ptr %13, align 4, !tbaa !9
  %85 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %15, i32 noundef %84, ptr noundef null, i32 noundef 0)
  br i1 %85, label %87, label %86

86:                                               ; preds = %82
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %291

87:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  %88 = load i32, ptr %13, align 4, !tbaa !9
  %89 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %15, i32 noundef %88, ptr noundef %17, ptr noundef %18, i32 noundef 0)
  %90 = zext i1 %89 to i8
  store i8 %90, ptr %19, align 1, !tbaa !90
  %91 = load i32, ptr %9, align 4, !tbaa !9
  %92 = and i32 %91, 2
  %93 = icmp ne i32 %92, 0
  br i1 %93, label %94, label %97

94:                                               ; preds = %87
  %95 = load i32, ptr %9, align 4, !tbaa !9
  %96 = and i32 %95, -393217
  store i32 %96, ptr %9, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %94, %87
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %98, i64 16, i1 false), !tbaa.struct !91
  %99 = load i32, ptr %9, align 4, !tbaa !9
  %100 = and i32 %99, 268435456
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %112

102:                                              ; preds = %97
  %103 = getelementptr inbounds %struct.ImVec4, ptr %20, i32 0, i32 0
  %104 = load float, ptr %103, align 4, !tbaa !92
  %105 = getelementptr inbounds %struct.ImVec4, ptr %20, i32 0, i32 1
  %106 = load float, ptr %105, align 4, !tbaa !93
  %107 = getelementptr inbounds %struct.ImVec4, ptr %20, i32 0, i32 2
  %108 = load float, ptr %107, align 4, !tbaa !94
  %109 = getelementptr inbounds %struct.ImVec4, ptr %20, i32 0, i32 0
  %110 = getelementptr inbounds %struct.ImVec4, ptr %20, i32 0, i32 1
  %111 = getelementptr inbounds %struct.ImVec4, ptr %20, i32 0, i32 2
  call void @_ZN5ImGui20ColorConvertHSVtoRGBEfffRfS0_S0_(float noundef %104, float noundef %106, float noundef %108, ptr noundef nonnull align 4 dereferenceable(4) %109, ptr noundef nonnull align 4 dereferenceable(4) %110, ptr noundef nonnull align 4 dereferenceable(4) %111)
  br label %112

112:                                              ; preds = %102, %97
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %113 = getelementptr inbounds %struct.ImVec4, ptr %20, i32 0, i32 0
  %114 = load float, ptr %113, align 4, !tbaa !92
  %115 = getelementptr inbounds %struct.ImVec4, ptr %20, i32 0, i32 1
  %116 = load float, ptr %115, align 4, !tbaa !93
  %117 = getelementptr inbounds %struct.ImVec4, ptr %20, i32 0, i32 2
  %118 = load float, ptr %117, align 4, !tbaa !94
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %21, float noundef %114, float noundef %116, float noundef %118, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %119 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 0
  %120 = load float, ptr %119, align 4, !tbaa !44
  %121 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 1
  %122 = load float, ptr %121, align 4, !tbaa !45
  %123 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %120, float noundef %122)
  %124 = fdiv float %123, 0x4007EB8520000000
  store float %124, ptr %22, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ImGuiContext, ptr %125, i32 0, i32 4
  %127 = getelementptr inbounds %struct.ImGuiStyle, ptr %126, i32 0, i32 13
  %128 = load float, ptr %127, align 4, !tbaa !95
  %129 = load float, ptr %22, align 4, !tbaa !43
  %130 = fmul float %129, 5.000000e-01
  %131 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %128, float noundef %130)
  store float %131, ptr %23, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !91
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store float 0.000000e+00, ptr %25, align 4, !tbaa !43
  %132 = load i32, ptr %9, align 4, !tbaa !9
  %133 = and i32 %132, 1024
  %134 = icmp eq i32 %133, 0
  br i1 %134, label %135, label %137

135:                                              ; preds = %112
  store float -7.500000e-01, ptr %25, align 4, !tbaa !43
  %136 = load float, ptr %25, align 4, !tbaa !43
  call void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16) %24, float noundef %136)
  br label %137

137:                                              ; preds = %135, %112
  %138 = load i32, ptr %9, align 4, !tbaa !9
  %139 = and i32 %138, 262144
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %189

141:                                              ; preds = %137
  %142 = getelementptr inbounds %struct.ImVec4, ptr %20, i32 0, i32 3
  %143 = load float, ptr %142, align 4, !tbaa !96
  %144 = fcmp olt float %143, 1.000000e+00
  br i1 %144, label %145, label %189

145:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %146 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %147 = getelementptr inbounds %struct.ImVec2, ptr %146, i32 0, i32 0
  %148 = load float, ptr %147, align 4, !tbaa !97
  %149 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %150 = getelementptr inbounds %struct.ImVec2, ptr %149, i32 0, i32 0
  %151 = load float, ptr %150, align 4, !tbaa !98
  %152 = fadd float %148, %151
  %153 = call float @llvm.fmuladd.f32(float %152, float 5.000000e-01, float 5.000000e-01)
  %154 = fptosi float %153 to i32
  %155 = sitofp i32 %154 to float
  store float %155, ptr %26, align 4, !tbaa !43
  %156 = load ptr, ptr %10, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImGuiWindow, ptr %156, i32 0, i32 72
  %158 = load ptr, ptr %157, align 8, !tbaa !99
  %159 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %160 = getelementptr inbounds %struct.ImVec2, ptr %159, i32 0, i32 0
  %161 = load float, ptr %160, align 4, !tbaa !97
  %162 = load float, ptr %22, align 4, !tbaa !43
  %163 = fadd float %161, %162
  %164 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %165 = getelementptr inbounds %struct.ImVec2, ptr %164, i32 0, i32 1
  %166 = load float, ptr %165, align 4, !tbaa !100
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %163, float noundef %166)
  %167 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %167, i64 8, i1 false), !tbaa.struct !101
  %168 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %20)
  %169 = load float, ptr %22, align 4, !tbaa !43
  %170 = load float, ptr %22, align 4, !tbaa !43
  %171 = fneg float %170
  %172 = load float, ptr %25, align 4, !tbaa !43
  %173 = fadd float %171, %172
  %174 = load float, ptr %25, align 4, !tbaa !43
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %173, float noundef %174)
  %175 = load float, ptr %23, align 4, !tbaa !43
  %176 = load <2 x float>, ptr %27, align 4
  %177 = load <2 x float>, ptr %28, align 4
  %178 = load <2 x float>, ptr %29, align 4
  call void @_ZN5ImGui36RenderColorRectWithAlphaCheckerboardEP10ImDrawList6ImVec2S2_jfS2_fi(ptr noundef %158, <2 x float> %176, <2 x float> %177, i32 noundef %168, float noundef %169, <2 x float> %178, float noundef %175, i32 noundef 160)
  %179 = load ptr, ptr %10, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGuiWindow, ptr %179, i32 0, i32 72
  %181 = load ptr, ptr %180, align 8, !tbaa !99
  %182 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %183 = load float, ptr %26, align 4, !tbaa !43
  %184 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %185 = getelementptr inbounds %struct.ImVec2, ptr %184, i32 0, i32 1
  %186 = load float, ptr %185, align 4, !tbaa !102
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %183, float noundef %186)
  %187 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %21)
  %188 = load float, ptr %23, align 4, !tbaa !43
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %181, ptr noundef nonnull align 4 dereferenceable(8) %182, ptr noundef nonnull align 4 dereferenceable(8) %30, i32 noundef %187, float noundef %188, i32 noundef 80)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %223

189:                                              ; preds = %141, %137
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  %190 = load i32, ptr %9, align 4, !tbaa !9
  %191 = and i32 %190, 131072
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %194

193:                                              ; preds = %189
  br label %195

194:                                              ; preds = %189
  br label %195

195:                                              ; preds = %194, %193
  %196 = phi ptr [ %20, %193 ], [ %21, %194 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %196, i64 16, i1 false), !tbaa.struct !91
  %197 = getelementptr inbounds %struct.ImVec4, ptr %31, i32 0, i32 3
  %198 = load float, ptr %197, align 4, !tbaa !96
  %199 = fcmp olt float %198, 1.000000e+00
  br i1 %199, label %200, label %214

200:                                              ; preds = %195
  %201 = load ptr, ptr %10, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImGuiWindow, ptr %201, i32 0, i32 72
  %203 = load ptr, ptr %202, align 8, !tbaa !99
  %204 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %204, i64 8, i1 false), !tbaa.struct !101
  %205 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %205, i64 8, i1 false), !tbaa.struct !101
  %206 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %31)
  %207 = load float, ptr %22, align 4, !tbaa !43
  %208 = load float, ptr %25, align 4, !tbaa !43
  %209 = load float, ptr %25, align 4, !tbaa !43
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef %208, float noundef %209)
  %210 = load float, ptr %23, align 4, !tbaa !43
  %211 = load <2 x float>, ptr %32, align 4
  %212 = load <2 x float>, ptr %33, align 4
  %213 = load <2 x float>, ptr %34, align 4
  call void @_ZN5ImGui36RenderColorRectWithAlphaCheckerboardEP10ImDrawList6ImVec2S2_jfS2_fi(ptr noundef %203, <2 x float> %211, <2 x float> %212, i32 noundef %206, float noundef %207, <2 x float> %213, float noundef %210, i32 noundef 0)
  br label %222

214:                                              ; preds = %195
  %215 = load ptr, ptr %10, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.ImGuiWindow, ptr %215, i32 0, i32 72
  %217 = load ptr, ptr %216, align 8, !tbaa !99
  %218 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %219 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %220 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %31)
  %221 = load float, ptr %23, align 4, !tbaa !43
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %217, ptr noundef nonnull align 4 dereferenceable(8) %218, ptr noundef nonnull align 4 dereferenceable(8) %219, i32 noundef %220, float noundef %221, i32 noundef 0)
  br label %222

222:                                              ; preds = %214, %200
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  br label %223

223:                                              ; preds = %222, %145
  %224 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %15, i32 noundef %224, i32 noundef 1)
  %225 = load i32, ptr %9, align 4, !tbaa !9
  %226 = and i32 %225, 1024
  %227 = icmp eq i32 %226, 0
  br i1 %227, label %228, label %249

228:                                              ; preds = %223
  %229 = load ptr, ptr %12, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.ImGuiContext, ptr %229, i32 0, i32 4
  %231 = getelementptr inbounds %struct.ImGuiStyle, ptr %230, i32 0, i32 14
  %232 = load float, ptr %231, align 8, !tbaa !103
  %233 = fcmp ogt float %232, 0.000000e+00
  br i1 %233, label %234, label %240

234:                                              ; preds = %228
  %235 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %235, i64 8, i1 false), !tbaa.struct !101
  %236 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %236, i64 8, i1 false), !tbaa.struct !101
  %237 = load float, ptr %23, align 4, !tbaa !43
  %238 = load <2 x float>, ptr %35, align 4
  %239 = load <2 x float>, ptr %36, align 4
  call void @_ZN5ImGui17RenderFrameBorderE6ImVec2S0_f(<2 x float> %238, <2 x float> %239, float noundef %237)
  br label %248

240:                                              ; preds = %228
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.ImGuiWindow, ptr %241, i32 0, i32 72
  %243 = load ptr, ptr %242, align 8, !tbaa !99
  %244 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %245 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  %246 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 7, float noundef 1.000000e+00)
  %247 = load float, ptr %23, align 4, !tbaa !43
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %243, ptr noundef nonnull align 4 dereferenceable(8) %244, ptr noundef nonnull align 4 dereferenceable(8) %245, i32 noundef %246, float noundef %247, i32 noundef 0, float noundef 1.000000e+00)
  br label %248

248:                                              ; preds = %240, %234
  br label %249

249:                                              ; preds = %248, %223
  %250 = load ptr, ptr %12, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.ImGuiContext, ptr %250, i32 0, i32 44
  %252 = load i32, ptr %251, align 8, !tbaa !104
  %253 = load i32, ptr %13, align 4, !tbaa !9
  %254 = icmp eq i32 %252, %253
  br i1 %254, label %255, label %275

255:                                              ; preds = %249
  %256 = load i32, ptr %9, align 4, !tbaa !9
  %257 = and i32 %256, 512
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %275, label %259

259:                                              ; preds = %255
  %260 = call noundef zeroext i1 @_ZN5ImGui19BeginDragDropSourceEi(i32 noundef 0)
  br i1 %260, label %261, label %275

261:                                              ; preds = %259
  %262 = load i32, ptr %9, align 4, !tbaa !9
  %263 = and i32 %262, 2
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %265, label %267

265:                                              ; preds = %261
  %266 = call noundef zeroext i1 @_ZN5ImGui18SetDragDropPayloadEPKcPKvmi(ptr noundef @.str.107, ptr noundef %20, i64 noundef 12, i32 noundef 2)
  br label %269

267:                                              ; preds = %261
  %268 = call noundef zeroext i1 @_ZN5ImGui18SetDragDropPayloadEPKcPKvmi(ptr noundef @.str.108, ptr noundef %20, i64 noundef 16, i32 noundef 2)
  br label %269

269:                                              ; preds = %267, %265
  %270 = load ptr, ptr %7, align 8, !tbaa !5
  %271 = load ptr, ptr %8, align 8, !tbaa !5
  %272 = load i32, ptr %9, align 4, !tbaa !9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %273 = load <2 x float>, ptr %37, align 4
  %274 = call noundef zeroext i1 @_ZN5ImGui11ColorButtonEPKcRK6ImVec4i6ImVec2(ptr noundef %270, ptr noundef nonnull align 4 dereferenceable(16) %271, i32 noundef %272, <2 x float> %273)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZN5ImGui6TextExEPKcS1_i(ptr noundef @.str.121, ptr noundef null, i32 noundef 0)
  call void @_ZN5ImGui17EndDragDropSourceEv()
  br label %275

275:                                              ; preds = %269, %259, %255, %249
  %276 = load i32, ptr %9, align 4, !tbaa !9
  %277 = and i32 %276, 64
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %288, label %279

279:                                              ; preds = %275
  %280 = load i8, ptr %17, align 1, !tbaa !90, !range !41, !noundef !42
  %281 = trunc i8 %280 to i1
  br i1 %281, label %282, label %288

282:                                              ; preds = %279
  %283 = load ptr, ptr %7, align 8, !tbaa !5
  %284 = load ptr, ptr %8, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.ImVec4, ptr %284, i32 0, i32 0
  %286 = load i32, ptr %9, align 4, !tbaa !9
  %287 = and i32 %286, 403046402
  call void @_ZN5ImGui12ColorTooltipEPKcPKfi(ptr noundef %283, ptr noundef %285, i32 noundef %287)
  br label %288

288:                                              ; preds = %282, %279, %275
  %289 = load i8, ptr %19, align 1, !tbaa !90, !range !41, !noundef !42
  %290 = trunc i8 %289 to i1
  store i1 %290, ptr %5, align 1
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  br label %291

291:                                              ; preds = %288, %86
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %292

292:                                              ; preds = %291, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %293 = load i1, ptr %5, align 1
  ret i1 %293
}

declare void @_ZN5ImGui36RenderColorRectWithAlphaCheckerboardEP10ImDrawList6ImVec2S2_jfS2_fi(ptr noundef, <2 x float>, <2 x float>, i32 noundef, float noundef, <2 x float>, float noundef, i32 noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) #3 align 2

declare noundef zeroext i1 @_ZN5ImGui19BeginDragDropSourceEi(i32 noundef) #7

declare noundef zeroext i1 @_ZN5ImGui18SetDragDropPayloadEPKcPKvmi(ptr noundef, ptr noundef, i64 noundef, i32 noundef) #7

declare void @_ZN5ImGui17EndDragDropSourceEv() #7

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !15, i64 147}
!12 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !14, i64 72, !14, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !13, i64 92, !13, i64 100, !13, i64 108, !13, i64 116, !13, i64 124, !13, i64 132, !15, i64 140, !15, i64 141, !15, i64 142, !15, i64 143, !15, i64 144, !15, i64 145, !15, i64 146, !15, i64 147, !15, i64 148, !15, i64 149, !15, i64 150, !15, i64 151, !7, i64 152, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !10, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !15, i64 171, !10, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !13, i64 184, !13, i64 192, !17, i64 200, !18, i64 216, !25, i64 464, !25, i64 480, !25, i64 496, !25, i64 512, !25, i64 528, !25, i64 544, !25, i64 560, !26, i64 576, !26, i64 580, !10, i64 584, !14, i64 588, !14, i64 592, !27, i64 600, !29, i64 616, !14, i64 632, !10, i64 636, !6, i64 640, !30, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !10, i64 928, !10, i64 932, !15, i64 936}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!18 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !19, i64 64, !19, i64 68, !19, i64 72, !20, i64 76, !16, i64 80, !16, i64 82, !10, i64 84, !15, i64 88, !15, i64 89, !15, i64 90, !13, i64 92, !21, i64 100, !10, i64 128, !10, i64 132, !22, i64 136, !6, i64 152, !6, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !14, i64 188, !14, i64 192, !23, i64 200, !23, i64 216, !24, i64 232}
!19 = !{!"_ZTS6ImVec1", !14, i64 0}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!24 = !{!"_ZTS15ImGuiStackSizes", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12}
!25 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!26 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!27 = !{!"_ZTS12ImGuiStorage", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!30 = !{!"_ZTS10ImDrawList", !31, i64 0, !32, i64 16, !33, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !34, i64 88, !35, i64 104, !36, i64 120, !37, i64 136, !39, i64 168, !14, i64 192}
!31 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS15ImDrawCmdHeader", !38, i64 0, !6, i64 16, !10, i64 24}
!38 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!39 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !40, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{i8 0, i8 2}
!42 = !{}
!43 = !{!14, !14, i64 0}
!44 = !{!13, !14, i64 0}
!45 = !{!13, !14, i64 4}
!46 = !{!47, !14, i64 5528}
!47 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !48, i64 8, !49, i64 5464, !6, i64 6512, !14, i64 6520, !14, i64 6524, !50, i64 6528, !51, i64 7040, !10, i64 7048, !10, i64 7052, !10, i64 7056, !15, i64 7060, !15, i64 7061, !15, i64 7062, !15, i64 7063, !15, i64 7064, !10, i64 7068, !6, i64 7072, !22, i64 7080, !22, i64 7096, !22, i64 7112, !52, i64 7128, !27, i64 7144, !10, i64 7160, !13, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !13, i64 7216, !14, i64 7224, !10, i64 7228, !10, i64 7232, !15, i64 7236, !15, i64 7237, !15, i64 7238, !15, i64 7239, !14, i64 7240, !14, i64 7244, !10, i64 7248, !10, i64 7252, !14, i64 7256, !15, i64 7260, !15, i64 7261, !15, i64 7262, !15, i64 7263, !15, i64 7264, !15, i64 7265, !15, i64 7266, !10, i64 7268, !10, i64 7272, !53, i64 7280, !13, i64 7288, !6, i64 7296, !54, i64 7304, !10, i64 7308, !10, i64 7312, !15, i64 7316, !15, i64 7317, !6, i64 7320, !10, i64 7328, !14, i64 7332, !10, i64 7336, !55, i64 7340, !56, i64 7360, !57, i64 7408, !58, i64 7520, !59, i64 7536, !60, i64 7552, !17, i64 7568, !61, i64 7584, !62, i64 7600, !63, i64 7616, !63, i64 7632, !64, i64 7648, !6, i64 7664, !10, i64 7672, !10, i64 7676, !10, i64 7680, !10, i64 7684, !10, i64 7688, !10, i64 7692, !10, i64 7696, !10, i64 7700, !10, i64 7704, !10, i64 7708, !10, i64 7712, !54, i64 7716, !25, i64 7720, !10, i64 7736, !20, i64 7740, !10, i64 7744, !15, i64 7748, !15, i64 7749, !15, i64 7750, !15, i64 7751, !15, i64 7752, !15, i64 7753, !15, i64 7754, !10, i64 7756, !25, i64 7760, !15, i64 7776, !10, i64 7780, !65, i64 7784, !10, i64 7788, !10, i64 7792, !10, i64 7796, !10, i64 7800, !66, i64 7808, !66, i64 7856, !66, i64 7904, !6, i64 7952, !10, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !14, i64 7992, !14, i64 7996, !15, i64 8000, !6, i64 8008, !6, i64 8016, !10, i64 8024, !10, i64 8028, !10, i64 8032, !10, i64 8036, !15, i64 8040, !14, i64 8044, !10, i64 8048, !15, i64 8052, !15, i64 8053, !15, i64 8054, !10, i64 8056, !10, i64 8060, !10, i64 8064, !67, i64 8072, !25, i64 8136, !10, i64 8152, !10, i64 8156, !14, i64 8160, !10, i64 8164, !10, i64 8168, !10, i64 8172, !10, i64 8176, !68, i64 8184, !7, i64 8200, !6, i64 8216, !10, i64 8224, !69, i64 8232, !71, i64 8272, !23, i64 8288, !40, i64 8304, !6, i64 8320, !72, i64 8328, !74, i64 8368, !75, i64 8384, !13, i64 8400, !76, i64 8408, !80, i64 12144, !10, i64 12256, !10, i64 12260, !14, i64 12264, !14, i64 12268, !7, i64 12272, !38, i64 12284, !82, i64 12300, !14, i64 12348, !15, i64 12352, !15, i64 12353, !14, i64 12356, !14, i64 12360, !14, i64 12364, !14, i64 12368, !10, i64 12372, !14, i64 12376, !77, i64 12384, !17, i64 12400, !13, i64 12416, !13, i64 12424, !7, i64 12432, !15, i64 12433, !14, i64 12436, !83, i64 12440, !84, i64 12456, !85, i64 12472, !86, i64 12488, !87, i64 12504, !10, i64 12520, !15, i64 12524, !88, i64 12528, !6, i64 12536, !83, i64 12544, !6, i64 12560, !6, i64 12568, !14, i64 12576, !15, i64 12580, !10, i64 12584, !10, i64 12588, !10, i64 12592, !15, i64 12596, !10, i64 12600, !89, i64 12604, !7, i64 12620, !10, i64 13100, !10, i64 13104, !14, i64 13108, !10, i64 13112, !10, i64 13116, !10, i64 13120, !7, i64 13124}
!48 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !6, i64 24, !6, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !7, i64 52, !14, i64 140, !14, i64 144, !6, i64 152, !6, i64 160, !14, i64 168, !15, i64 172, !6, i64 176, !13, i64 184, !15, i64 192, !15, i64 193, !15, i64 194, !15, i64 195, !15, i64 196, !15, i64 197, !14, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !13, i64 288, !7, i64 296, !14, i64 304, !14, i64 308, !15, i64 312, !15, i64 313, !15, i64 314, !15, i64 315, !7, i64 316, !7, i64 828, !15, i64 908, !15, i64 909, !15, i64 910, !15, i64 911, !15, i64 912, !15, i64 913, !15, i64 914, !14, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !13, i64 940, !10, i64 948, !10, i64 952, !13, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5352, !14, i64 5432, !16, i64 5436, !32, i64 5440}
!49 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !14, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !13, i64 24, !13, i64 32, !10, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !13, i64 60, !14, i64 68, !14, i64 72, !13, i64 76, !13, i64 84, !13, i64 92, !13, i64 100, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !10, i64 148, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !14, i64 184, !15, i64 188, !15, i64 189, !15, i64 190, !14, i64 192, !14, i64 196, !7, i64 200}
!50 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !38, i64 28, !10, i64 44, !7, i64 48, !14, i64 432, !7, i64 436, !6, i64 504}
!51 = !{!"double", !7, i64 0}
!52 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"long long", !7, i64 0}
!54 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!55 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !14, i64 4, !10, i64 8, !10, i64 12, !15, i64 16}
!56 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !25, i64 12, !25, i64 28}
!57 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !15, i64 56, !25, i64 60, !6, i64 80, !6, i64 88, !14, i64 96, !13, i64 100}
!58 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!66 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !25, i64 16, !14, i64 32, !14, i64 36, !14, i64 40}
!67 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!68 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS6ImPoolI10ImGuiTableE", !70, i64 0, !27, i64 16, !10, i64 32, !10, i64 36}
!70 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !73, i64 0, !27, i64 16, !10, i64 32, !10, i64 36}
!73 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !32, i64 16, !77, i64 32, !77, i64 48, !15, i64 64, !10, i64 68, !14, i64 72, !78, i64 76, !14, i64 3704, !15, i64 3708, !15, i64 3709, !15, i64 3710, !10, i64 3712, !6, i64 3720, !6, i64 3728}
!77 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!78 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !14, i64 28, !79, i64 32}
!79 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !10, i64 3588, !10, i64 3592}
!80 = !{!"_ZTS6ImFont", !23, i64 0, !14, i64 16, !14, i64 20, !32, i64 24, !81, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !10, i64 104, !7, i64 108}
!81 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!82 = !{!"_ZTS21ImGuiComboPreviewData", !25, i64 0, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !10, i64 44}
!83 = !{!"_ZTS15ImGuiTextBuffer", !77, i64 0}
!84 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!85 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !77, i64 0}
!86 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !77, i64 0}
!87 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!88 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!89 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !10, i64 8, !10, i64 12}
!90 = !{!15, !15, i64 0}
!91 = !{i64 0, i64 4, !43, i64 4, i64 4, !43, i64 8, i64 4, !43, i64 12, i64 4, !43}
!92 = !{!38, !14, i64 0}
!93 = !{!38, !14, i64 4}
!94 = !{!38, !14, i64 8}
!95 = !{!47, !14, i64 5532}
!96 = !{!38, !14, i64 12}
!97 = !{!25, !14, i64 0}
!98 = !{!25, !14, i64 8}
!99 = !{!12, !6, i64 640}
!100 = !{!25, !14, i64 4}
!101 = !{i64 0, i64 4, !43, i64 4, i64 4, !43}
!102 = !{!25, !14, i64 12}
!103 = !{!47, !14, i64 5536}
!104 = !{!47, !10, i64 7248}


; 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.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec4 = type { float, float, float, float }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.107 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() local_unnamed_addr #2

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

; 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) #4

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #6

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

declare noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

declare void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #7

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(937), ptr noundef, ptr noundef) local_unnamed_addr #7

declare void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) local_unnamed_addr #7

declare noundef float @_ZN5ImGui14GetFrameHeightEv() local_unnamed_addr #7

declare void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef) local_unnamed_addr #7

declare void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef, float noundef) local_unnamed_addr #7

declare noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMinIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #2

declare void @_ZN5ImGui8SameLineEff(float noundef, float noundef) local_unnamed_addr #7

declare void @_ZN5ImGui17RenderFrameBorderE6ImVec2S0_f(<2 x float>, <2 x float>, float noundef) local_unnamed_addr #7

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

declare void @_ZN5ImGui20ColorConvertHSVtoRGBEfffRfS0_S0_(float noundef, float noundef, float noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui11ColorButtonEPKcRK6ImVec4i6ImVec2(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %2, <2 x float> %3) local_unnamed_addr #0 {
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImRect, align 8
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca %struct.ImVec4, align 4
  %11 = alloca %struct.ImVec4, align 4
  %12 = alloca %struct.ImRect, align 8
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImVec2, align 8
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec4, align 4
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca %struct.ImVec2, align 8
  store <2 x float> %3, ptr %5, align 8
  %19 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %20 = getelementptr inbounds i8, ptr %19, i64 147
  %21 = load i8, ptr %20, align 1, !tbaa !5, !range !39, !noundef !40
  %22 = trunc nuw i8 %21 to i1
  %23 = extractelement <2 x float> %3, i64 1
  br i1 %22, label %153, label %24

24:                                               ; preds = %4
  %25 = extractelement <2 x float> %3, i64 0
  %26 = load ptr, ptr @GImGui, align 8, !tbaa !41
  %27 = tail call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(937) %19, ptr noundef %0, ptr noundef null)
  %28 = tail call noundef float @_ZN5ImGui14GetFrameHeightEv()
  %29 = fcmp oeq float %25, 0.000000e+00
  br i1 %29, label %30, label %31

30:                                               ; preds = %24
  store float %28, ptr %5, align 8, !tbaa !42
  br label %31

31:                                               ; preds = %30, %24
  %32 = getelementptr inbounds i8, ptr %5, i64 4
  %33 = fcmp oeq float %23, 0.000000e+00
  br i1 %33, label %34, label %35

34:                                               ; preds = %31
  store float %28, ptr %32, align 4, !tbaa !43
  br label %35

35:                                               ; preds = %34, %31
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  %36 = getelementptr inbounds i8, ptr %19, i64 216
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %37 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %37, ptr %7, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  %38 = load float, ptr %32, align 4, !tbaa !43
  %39 = fcmp ult float %38, %28
  br i1 %39, label %43, label %40

40:                                               ; preds = %35
  %41 = getelementptr inbounds i8, ptr %26, i64 5528
  %42 = load float, ptr %41, align 4, !tbaa !44
  br label %43

43:                                               ; preds = %35, %40
  %44 = phi float [ %42, %40 ], [ 0.000000e+00, %35 ]
  call void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef %44)
  %45 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef %27, ptr noundef null, i32 noundef 0)
  br i1 %45, label %46, label %152

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #8
  %47 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef %27, ptr noundef nonnull %8, ptr noundef nonnull %9, i32 noundef 0)
  %48 = and i32 %2, 2
  %.not = icmp eq i32 %48, 0
  %49 = and i32 %2, -393217
  %spec.select = select i1 %.not, i32 %2, i32 %49
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %1, i64 16, i1 false), !tbaa.struct !88
  %50 = and i32 %spec.select, 268435456
  %.not64 = icmp eq i32 %50, 0
  br i1 %.not64, label %57, label %51

51:                                               ; preds = %46
  %52 = load float, ptr %10, align 4, !tbaa !90
  %53 = getelementptr inbounds i8, ptr %10, i64 4
  %54 = load float, ptr %53, align 4, !tbaa !91
  %55 = getelementptr inbounds i8, ptr %10, i64 8
  %56 = load float, ptr %55, align 4, !tbaa !92
  call void @_ZN5ImGui20ColorConvertHSVtoRGBEfffRfS0_S0_(float noundef %52, float noundef %54, float noundef %56, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %55)
  br label %57

57:                                               ; preds = %51, %46
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  %58 = load float, ptr %10, align 4, !tbaa !90
  %59 = getelementptr inbounds i8, ptr %10, i64 4
  %60 = load float, ptr %59, align 4, !tbaa !91
  %61 = getelementptr inbounds i8, ptr %10, i64 8
  %62 = load float, ptr %61, align 4, !tbaa !92
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef %58, float noundef %60, float noundef %62, float noundef 1.000000e+00)
  %63 = load float, ptr %5, align 8, !tbaa !42
  %64 = load float, ptr %32, align 4, !tbaa !43
  %65 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %63, float noundef %64)
  %66 = fdiv float %65, 0x4007EB8520000000
  %67 = getelementptr inbounds i8, ptr %26, i64 5532
  %68 = load float, ptr %67, align 4, !tbaa !93
  %69 = fmul float %66, 5.000000e-01
  %70 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %68, float noundef %69)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !88
  %71 = and i32 %spec.select, 1024
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %74

73:                                               ; preds = %57
  call void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef -7.500000e-01)
  br label %74

74:                                               ; preds = %73, %57
  %.063 = phi float [ -7.500000e-01, %73 ], [ 0.000000e+00, %57 ]
  %75 = and i32 %spec.select, 262144
  %76 = icmp ne i32 %75, 0
  %77 = getelementptr inbounds i8, ptr %10, i64 12
  %78 = load float, ptr %77, align 4
  %79 = fcmp olt float %78, 1.000000e+00
  %or.cond = select i1 %76, i1 %79, i1 false
  br i1 %or.cond, label %80, label %101

80:                                               ; preds = %74
  %81 = load float, ptr %12, align 8, !tbaa !94
  %82 = getelementptr inbounds i8, ptr %12, i64 8
  %83 = load float, ptr %82, align 8, !tbaa !95
  %84 = fadd float %81, %83
  %85 = call float @llvm.fmuladd.f32(float %84, float 5.000000e-01, float 5.000000e-01)
  %86 = fptosi float %85 to i32
  %87 = sitofp i32 %86 to float
  %88 = getelementptr inbounds i8, ptr %19, i64 640
  %89 = load ptr, ptr %88, align 8, !tbaa !96
  %90 = fadd float %66, %81
  %91 = getelementptr inbounds i8, ptr %12, i64 4
  %92 = load float, ptr %91, align 4, !tbaa !97
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %90, float noundef %92)
  %.sroa.06.0.copyload = load <2 x float>, ptr %82, align 8
  %93 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %10)
  %94 = fsub float %.063, %66
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %94, float noundef %.063)
  %95 = load <2 x float>, ptr %13, align 8
  %96 = load <2 x float>, ptr %14, align 8
  call void @_ZN5ImGui36RenderColorRectWithAlphaCheckerboardEP10ImDrawList6ImVec2S2_jfS2_fi(ptr noundef %89, <2 x float> %95, <2 x float> %.sroa.06.0.copyload, i32 noundef %93, float noundef %66, <2 x float> %96, float noundef %70, i32 noundef 160)
  %97 = load ptr, ptr %88, align 8, !tbaa !96
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %98 = getelementptr inbounds i8, ptr %12, i64 12
  %99 = load float, ptr %98, align 4, !tbaa !98
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %87, float noundef %99)
  %100 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %97, ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %15, i32 noundef %100, float noundef %70, i32 noundef 80)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br label %116

101:                                              ; preds = %74
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #8
  %102 = and i32 %spec.select, 131072
  %.not65 = icmp eq i32 %102, 0
  %. = select i1 %.not65, ptr %11, ptr %10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(16) %., i64 16, i1 false), !tbaa.struct !88
  %103 = getelementptr inbounds i8, ptr %16, i64 12
  %104 = load float, ptr %103, align 4, !tbaa !99
  %105 = fcmp olt float %104, 1.000000e+00
  %106 = getelementptr inbounds i8, ptr %19, i64 640
  %107 = load ptr, ptr %106, align 8, !tbaa !96
  br i1 %105, label %108, label %112

108:                                              ; preds = %101
  %.sroa.05.0.copyload = load <2 x float>, ptr %12, align 8
  %109 = getelementptr inbounds i8, ptr %12, i64 8
  %.sroa.04.0.copyload = load <2 x float>, ptr %109, align 8
  %110 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %16)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %.063, float noundef %.063)
  %111 = load <2 x float>, ptr %17, align 8
  call void @_ZN5ImGui36RenderColorRectWithAlphaCheckerboardEP10ImDrawList6ImVec2S2_jfS2_fi(ptr noundef %107, <2 x float> %.sroa.05.0.copyload, <2 x float> %.sroa.04.0.copyload, i32 noundef %110, float noundef %66, <2 x float> %111, float noundef %70, i32 noundef 0)
  br label %115

112:                                              ; preds = %101
  %113 = getelementptr inbounds i8, ptr %12, i64 8
  %114 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %16)
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %107, ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %113, i32 noundef %114, float noundef %70, i32 noundef 0)
  br label %115

115:                                              ; preds = %112, %108
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  br label %116

116:                                              ; preds = %115, %80
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef %27, i32 noundef 1)
  br i1 %72, label %117, label %128

117:                                              ; preds = %116
  %118 = getelementptr inbounds i8, ptr %26, i64 5536
  %119 = load float, ptr %118, align 8, !tbaa !100
  %120 = fcmp ogt float %119, 0.000000e+00
  br i1 %120, label %121, label %123

121:                                              ; preds = %117
  %.sroa.03.0.copyload = load <2 x float>, ptr %6, align 8
  %122 = getelementptr inbounds i8, ptr %6, i64 8
  %.sroa.0.0.copyload = load <2 x float>, ptr %122, align 8
  call void @_ZN5ImGui17RenderFrameBorderE6ImVec2S0_f(<2 x float> %.sroa.03.0.copyload, <2 x float> %.sroa.0.0.copyload, float noundef %70)
  br label %128

123:                                              ; preds = %117
  %124 = getelementptr inbounds i8, ptr %19, i64 640
  %125 = load ptr, ptr %124, align 8, !tbaa !96
  %126 = getelementptr inbounds i8, ptr %6, i64 8
  %127 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 7, float noundef 1.000000e+00)
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %125, ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %126, i32 noundef %127, float noundef %70, i32 noundef 0, float noundef 1.000000e+00)
  br label %128

128:                                              ; preds = %121, %123, %116
  %129 = getelementptr inbounds i8, ptr %26, i64 7248
  %130 = load i32, ptr %129, align 8, !tbaa !101
  %131 = icmp eq i32 %130, %27
  %132 = and i32 %spec.select, 512
  %.not66 = icmp eq i32 %132, 0
  %or.cond69 = and i1 %.not66, %131
  br i1 %or.cond69, label %133, label %144

133:                                              ; preds = %128
  %134 = call noundef zeroext i1 @_ZN5ImGui19BeginDragDropSourceEi(i32 noundef 0)
  br i1 %134, label %135, label %144

135:                                              ; preds = %133
  %136 = and i32 %spec.select, 2
  %.not67 = icmp eq i32 %136, 0
  br i1 %.not67, label %139, label %137

137:                                              ; preds = %135
  %138 = call noundef zeroext i1 @_ZN5ImGui18SetDragDropPayloadEPKcPKvmi(ptr noundef nonnull @.str.107, ptr noundef nonnull %10, i64 noundef 12, i32 noundef 2)
  br label %141

139:                                              ; preds = %135
  %140 = call noundef zeroext i1 @_ZN5ImGui18SetDragDropPayloadEPKcPKvmi(ptr noundef nonnull @.str.108, ptr noundef nonnull %10, i64 noundef 16, i32 noundef 2)
  br label %141

141:                                              ; preds = %139, %137
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %142 = load <2 x float>, ptr %18, align 8
  %143 = call noundef zeroext i1 @_ZN5ImGui11ColorButtonEPKcRK6ImVec4i6ImVec2(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %spec.select, <2 x float> %142)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZN5ImGui6TextExEPKcS1_i(ptr noundef nonnull @.str.121, ptr noundef null, i32 noundef 0)
  call void @_ZN5ImGui17EndDragDropSourceEv()
  br label %144

144:                                              ; preds = %141, %133, %128
  %145 = and i32 %spec.select, 64
  %.not68 = icmp eq i32 %145, 0
  br i1 %.not68, label %146, label %151

146:                                              ; preds = %144
  %147 = load i8, ptr %8, align 1, !tbaa !102, !range !39, !noundef !40
  %148 = trunc nuw i8 %147 to i1
  br i1 %148, label %149, label %151

149:                                              ; preds = %146
  %150 = and i32 %spec.select, 403046402
  call void @_ZN5ImGui12ColorTooltipEPKcPKfi(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %150)
  br label %151

151:                                              ; preds = %149, %146, %144
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #8
  br label %152

152:                                              ; preds = %43, %151
  %.0 = phi i1 [ %47, %151 ], [ false, %43 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %153

153:                                              ; preds = %4, %152
  %.1 = phi i1 [ %.0, %152 ], [ false, %4 ]
  ret i1 %.1
}

declare void @_ZN5ImGui36RenderColorRectWithAlphaCheckerboardEP10ImDrawList6ImVec2S2_jfS2_fi(ptr noundef, <2 x float>, <2 x float>, i32 noundef, float noundef, <2 x float>, float noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImRect6ExpandEf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #3 align 2

declare noundef zeroext i1 @_ZN5ImGui19BeginDragDropSourceEi(i32 noundef) local_unnamed_addr #7

declare noundef zeroext i1 @_ZN5ImGui18SetDragDropPayloadEPKcPKvmi(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #7

declare void @_ZN5ImGui17EndDragDropSourceEv() local_unnamed_addr #7

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

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

!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, !13, i64 147}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !12, i64 72, !12, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !11, i64 124, !11, i64 132, !13, i64 140, !13, i64 141, !13, i64 142, !13, i64 143, !13, i64 144, !13, i64 145, !13, i64 146, !13, i64 147, !13, i64 148, !13, i64 149, !13, i64 150, !13, i64 151, !8, i64 152, !14, i64 154, !14, i64 156, !14, i64 158, !14, i64 160, !10, i64 164, !8, i64 168, !8, i64 169, !8, i64 170, !13, i64 171, !10, i64 172, !8, i64 176, !8, i64 177, !8, i64 178, !8, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !11, i64 184, !11, i64 192, !15, i64 200, !16, i64 216, !23, i64 464, !23, i64 480, !23, i64 496, !23, i64 512, !23, i64 528, !23, i64 544, !23, i64 560, !24, i64 576, !24, i64 580, !10, i64 584, !12, i64 588, !12, i64 592, !25, i64 600, !27, i64 616, !12, i64 632, !10, i64 636, !7, i64 640, !28, i64 648, !7, i64 848, !7, i64 856, !7, i64 864, !7, i64 872, !7, i64 880, !8, i64 888, !8, i64 896, !10, i64 928, !10, i64 932, !13, i64 936}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!16 = !{!"_ZTS19ImGuiWindowTempData", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !12, i64 60, !17, i64 64, !17, i64 68, !17, i64 72, !18, i64 76, !14, i64 80, !14, i64 82, !10, i64 84, !13, i64 88, !13, i64 89, !13, i64 90, !11, i64 92, !19, i64 100, !10, i64 128, !10, i64 132, !20, i64 136, !7, i64 152, !7, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !12, i64 188, !12, i64 192, !21, i64 200, !21, i64 216, !22, i64 232}
!17 = !{!"_ZTS6ImVec1", !12, i64 0}
!18 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!19 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !14, i64 8, !14, i64 10, !14, i64 12, !14, i64 14, !14, i64 16, !8, i64 18}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS15ImGuiStackSizes", !14, i64 0, !14, i64 2, !14, i64 4, !14, i64 6, !14, i64 8, !14, i64 10, !14, i64 12}
!23 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!24 = !{!"_ZTS8ImVec2ih", !14, i64 0, !14, i64 2}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!28 = !{!"_ZTS10ImDrawList", !29, i64 0, !30, i64 16, !31, i64 32, !10, i64 48, !10, i64 52, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !32, i64 88, !33, i64 104, !34, i64 120, !35, i64 136, !37, i64 168, !12, i64 192}
!29 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!35 = !{!"_ZTS15ImDrawCmdHeader", !36, i64 0, !7, i64 16, !10, i64 24}
!36 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!37 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !38, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = !{!7, !7, i64 0}
!42 = !{!11, !12, i64 0}
!43 = !{!11, !12, i64 4}
!44 = !{!45, !12, i64 5528}
!45 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !46, i64 8, !47, i64 5464, !7, i64 6512, !12, i64 6520, !12, i64 6524, !48, i64 6528, !49, i64 7040, !10, i64 7048, !10, i64 7052, !10, i64 7056, !13, i64 7060, !13, i64 7061, !13, i64 7062, !13, i64 7063, !13, i64 7064, !10, i64 7068, !7, i64 7072, !20, i64 7080, !20, i64 7096, !20, i64 7112, !50, i64 7128, !25, i64 7144, !10, i64 7160, !11, i64 7164, !7, i64 7176, !7, i64 7184, !7, i64 7192, !7, i64 7200, !7, i64 7208, !11, i64 7216, !12, i64 7224, !10, i64 7228, !10, i64 7232, !13, i64 7236, !13, i64 7237, !13, i64 7238, !13, i64 7239, !12, i64 7240, !12, i64 7244, !10, i64 7248, !10, i64 7252, !12, i64 7256, !13, i64 7260, !13, i64 7261, !13, i64 7262, !13, i64 7263, !13, i64 7264, !13, i64 7265, !13, i64 7266, !10, i64 7268, !10, i64 7272, !51, i64 7280, !11, i64 7288, !7, i64 7296, !52, i64 7304, !10, i64 7308, !10, i64 7312, !13, i64 7316, !13, i64 7317, !7, i64 7320, !10, i64 7328, !12, i64 7332, !10, i64 7336, !53, i64 7340, !54, i64 7360, !55, i64 7408, !56, i64 7520, !57, i64 7536, !58, i64 7552, !15, i64 7568, !59, i64 7584, !60, i64 7600, !61, i64 7616, !61, i64 7632, !62, i64 7648, !7, i64 7664, !10, i64 7672, !10, i64 7676, !10, i64 7680, !10, i64 7684, !10, i64 7688, !10, i64 7692, !10, i64 7696, !10, i64 7700, !10, i64 7704, !10, i64 7708, !10, i64 7712, !52, i64 7716, !23, i64 7720, !10, i64 7736, !18, i64 7740, !10, i64 7744, !13, i64 7748, !13, i64 7749, !13, i64 7750, !13, i64 7751, !13, i64 7752, !13, i64 7753, !13, i64 7754, !10, i64 7756, !23, i64 7760, !13, i64 7776, !10, i64 7780, !63, i64 7784, !10, i64 7788, !10, i64 7792, !10, i64 7796, !10, i64 7800, !64, i64 7808, !64, i64 7856, !64, i64 7904, !7, i64 7952, !10, i64 7960, !7, i64 7968, !7, i64 7976, !7, i64 7984, !12, i64 7992, !12, i64 7996, !13, i64 8000, !7, i64 8008, !7, i64 8016, !10, i64 8024, !10, i64 8028, !10, i64 8032, !10, i64 8036, !13, i64 8040, !12, i64 8044, !10, i64 8048, !13, i64 8052, !13, i64 8053, !13, i64 8054, !10, i64 8056, !10, i64 8060, !10, i64 8064, !65, i64 8072, !23, i64 8136, !10, i64 8152, !10, i64 8156, !12, i64 8160, !10, i64 8164, !10, i64 8168, !10, i64 8172, !10, i64 8176, !66, i64 8184, !8, i64 8200, !7, i64 8216, !10, i64 8224, !67, i64 8232, !69, i64 8272, !21, i64 8288, !38, i64 8304, !7, i64 8320, !70, i64 8328, !72, i64 8368, !73, i64 8384, !11, i64 8400, !74, i64 8408, !78, i64 12144, !10, i64 12256, !10, i64 12260, !12, i64 12264, !12, i64 12268, !8, i64 12272, !36, i64 12284, !80, i64 12300, !12, i64 12348, !13, i64 12352, !13, i64 12353, !12, i64 12356, !12, i64 12360, !12, i64 12364, !12, i64 12368, !10, i64 12372, !12, i64 12376, !75, i64 12384, !15, i64 12400, !11, i64 12416, !11, i64 12424, !8, i64 12432, !13, i64 12433, !12, i64 12436, !81, i64 12440, !82, i64 12456, !83, i64 12472, !84, i64 12488, !85, i64 12504, !10, i64 12520, !13, i64 12524, !86, i64 12528, !7, i64 12536, !81, i64 12544, !7, i64 12560, !7, i64 12568, !12, i64 12576, !13, i64 12580, !10, i64 12584, !10, i64 12588, !10, i64 12592, !13, i64 12596, !10, i64 12600, !87, i64 12604, !8, i64 12620, !10, i64 13100, !10, i64 13104, !12, i64 13108, !10, i64 13112, !10, i64 13116, !10, i64 13120, !8, i64 13124}
!46 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !7, i64 24, !7, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !8, i64 52, !12, i64 140, !12, i64 144, !7, i64 152, !7, i64 160, !12, i64 168, !13, i64 172, !7, i64 176, !11, i64 184, !13, i64 192, !13, i64 193, !13, i64 194, !13, i64 195, !13, i64 196, !13, i64 197, !12, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !11, i64 288, !8, i64 296, !12, i64 304, !12, i64 308, !13, i64 312, !13, i64 313, !13, i64 314, !13, i64 315, !8, i64 316, !8, i64 828, !13, i64 908, !13, i64 909, !13, i64 910, !13, i64 911, !13, i64 912, !13, i64 913, !13, i64 914, !12, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !11, i64 940, !10, i64 948, !10, i64 952, !11, i64 956, !8, i64 964, !8, i64 1008, !8, i64 1048, !8, i64 1053, !8, i64 1058, !8, i64 1063, !8, i64 1068, !8, i64 1076, !8, i64 1096, !8, i64 1116, !8, i64 1156, !8, i64 1176, !8, i64 3224, !8, i64 5272, !8, i64 5352, !12, i64 5432, !14, i64 5436, !30, i64 5440}
!47 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !12, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !11, i64 24, !11, i64 32, !10, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !11, i64 60, !12, i64 68, !12, i64 72, !11, i64 76, !11, i64 84, !11, i64 92, !11, i64 100, !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, !10, i64 148, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !12, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !12, i64 192, !12, i64 196, !8, i64 200}
!48 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !36, i64 28, !10, i64 44, !8, i64 48, !12, i64 432, !8, i64 436, !7, i64 504}
!49 = !{!"double", !8, i64 0}
!50 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!51 = !{!"long long", !8, i64 0}
!52 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!53 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!54 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !23, i64 12, !23, i64 28}
!55 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !13, i64 56, !23, i64 60, !7, i64 80, !7, i64 88, !12, i64 96, !11, i64 100}
!56 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!57 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!58 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!59 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!60 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!61 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!62 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !7, i64 8}
!63 = !{!"_ZTS15ImGuiNavForward", !8, i64 0}
!64 = !{!"_ZTS16ImGuiNavItemData", !7, i64 0, !10, i64 8, !10, i64 12, !23, i64 16, !12, i64 32, !12, i64 36, !12, i64 40}
!65 = !{!"_ZTS12ImGuiPayload", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !8, i64 24, !13, i64 57, !13, i64 58}
!66 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!67 = !{!"_ZTS6ImPoolI10ImGuiTableE", !68, i64 0, !25, i64 16, !10, i64 32, !10, i64 36}
!68 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !7, i64 8}
!69 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!70 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !71, i64 0, !25, i64 16, !10, i64 32, !10, i64 36}
!71 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!72 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!73 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!74 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !30, i64 16, !75, i64 32, !75, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !76, i64 76, !12, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712, !7, i64 3720, !7, i64 3728}
!75 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!76 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !10, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !12, i64 28, !77, i64 32}
!77 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!78 = !{!"_ZTS6ImFont", !21, i64 0, !12, i64 16, !12, i64 20, !30, i64 24, !79, i64 40, !7, i64 56, !7, i64 64, !7, i64 72, !14, i64 80, !14, i64 82, !14, i64 84, !14, i64 86, !13, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !10, i64 104, !8, i64 108}
!79 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!80 = !{!"_ZTS21ImGuiComboPreviewData", !23, i64 0, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !10, i64 44}
!81 = !{!"_ZTS15ImGuiTextBuffer", !75, i64 0}
!82 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!83 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !75, i64 0}
!84 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !75, i64 0}
!85 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !7, i64 8}
!86 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!87 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !10, i64 8, !10, i64 12}
!88 = !{i64 0, i64 4, !89, i64 4, i64 4, !89, i64 8, i64 4, !89, i64 12, i64 4, !89}
!89 = !{!12, !12, i64 0}
!90 = !{!36, !12, i64 0}
!91 = !{!36, !12, i64 4}
!92 = !{!36, !12, i64 8}
!93 = !{!45, !12, i64 5532}
!94 = !{!23, !12, i64 0}
!95 = !{!23, !12, i64 8}
!96 = !{!6, !7, i64 640}
!97 = !{!23, !12, i64 4}
!98 = !{!23, !12, i64 12}
!99 = !{!36, !12, i64 12}
!100 = !{!45, !12, i64 5536}
!101 = !{!45, !10, i64 7248}
!102 = !{!13, !13, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass