; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/imgui (imgui_widgets)

; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, [4 x i8], 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.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, 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, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.16, 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.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, 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.18, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.21, %struct.ImVector.20, %struct.ImVector.24, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, float, i8, i8, [2 x i8], float, float, float, i32, float, %struct.ImVector.25, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.27, %struct.ImChunkStream, %struct.ImChunkStream.28, %struct.ImVector.29, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 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], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, 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], [21 x float], [21 x float], float, i16, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { 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, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%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.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.11 = type { i32, i32, ptr }
%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.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.17] }
%struct.ImVector.17 = 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.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.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPool.21 = type <{ %struct.ImVector.22, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.5, %struct.ImVector.25, %struct.ImVector.25, 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.26, ptr, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.25 }
%struct.ImChunkStream.28 = type { %struct.ImVector.25 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.25 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i32, i32 }
%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, i32, i8, i8, i8, i8, i32, i8, i8, i8, i32, i8, %struct.ImVec2, %struct.ImVec2, [4 x i8], %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.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, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, [4 x i8], %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.1, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16 }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.3 = type { i32, i32, ptr }

@GImGui = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui16SplitterBehaviorERK6ImRectj9ImGuiAxisPfS4_ffff = external hidden unnamed_addr constant [111 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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) #6

declare void @_ZN5ImGui14MarkItemEditedEj(i32 noundef) #6

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui16SplitterBehaviorERK6ImRectj9ImGuiAxisPfS4_ffff(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8) #7 {
  %10 = alloca i1, align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca i8, align 1
  %24 = alloca i32, align 4
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca %struct.ImRect, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImRect, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store i32 %1, ptr %12, align 4, !tbaa !9
  store i32 %2, ptr %13, align 4, !tbaa !11
  store ptr %3, ptr %14, align 8, !tbaa !5
  store ptr %4, ptr %15, align 8, !tbaa !5
  store float %5, ptr %16, align 4, !tbaa !13
  store float %6, ptr %17, align 4, !tbaa !13
  store float %7, ptr %18, align 4, !tbaa !13
  store float %8, ptr %19, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %37 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %37, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %38 = load ptr, ptr %20, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiContext, ptr %38, i32 0, i32 29
  %40 = load ptr, ptr %39, align 8, !tbaa !15
  store ptr %40, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %41 = load ptr, ptr %21, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ImGuiWindow, ptr %41, i32 0, i32 53
  %43 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %42, i32 0, i32 37
  %44 = load i32, ptr %43, align 4, !tbaa !77
  store i32 %44, ptr %22, align 4, !tbaa !9
  %45 = load ptr, ptr %21, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiWindow, ptr %45, i32 0, i32 53
  %47 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %46, i32 0, i32 37
  %48 = load i32, ptr %47, align 4, !tbaa !77
  %49 = or i32 %48, 24
  store i32 %49, ptr %47, align 4, !tbaa !77
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #8
  %50 = load ptr, ptr %11, align 8, !tbaa !5
  %51 = load i32, ptr %12, align 4, !tbaa !9
  %52 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %50, i32 noundef %51, ptr noundef null)
  %53 = zext i1 %52 to i8
  store i8 %53, ptr %23, align 1, !tbaa !85
  %54 = load i32, ptr %22, align 4, !tbaa !9
  %55 = load ptr, ptr %21, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiWindow, ptr %55, i32 0, i32 53
  %57 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %56, i32 0, i32 37
  store i32 %54, ptr %57, align 4, !tbaa !77
  %58 = load i8, ptr %23, align 1, !tbaa !85, !range !86, !noundef !87
  %59 = trunc i8 %58 to i1
  br i1 %59, label %61, label %60

60:                                               ; preds = %9
  store i1 false, ptr %10, align 1
  store i32 1, ptr %24, align 4
  br label %227

61:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %62, i64 16, i1 false), !tbaa.struct !88
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %63 = load i32, ptr %13, align 4, !tbaa !11
  %64 = icmp eq i32 %63, 1
  br i1 %64, label %65, label %67

65:                                               ; preds = %61
  %66 = load float, ptr %18, align 4, !tbaa !13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef 0.000000e+00, float noundef %66)
  br label %69

67:                                               ; preds = %61
  %68 = load float, ptr %18, align 4, !tbaa !13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef %68, float noundef 0.000000e+00)
  br label %69

69:                                               ; preds = %67, %65
  call void @_ZN6ImRect6ExpandERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(8) %28)
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %27, i32 noundef %70, ptr noundef %25, ptr noundef %26, i32 noundef 6144)
  %72 = load ptr, ptr %20, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ImGuiContext, ptr %72, i32 0, i32 45
  %74 = load i32, ptr %73, align 8, !tbaa !89
  %75 = load i32, ptr %12, align 4, !tbaa !9
  %76 = icmp ne i32 %74, %75
  br i1 %76, label %77, label %78

77:                                               ; preds = %69
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %78

78:                                               ; preds = %77, %69
  %79 = load i8, ptr %26, align 1, !tbaa !85, !range !86, !noundef !87
  %80 = trunc i8 %79 to i1
  br i1 %80, label %99, label %81

81:                                               ; preds = %78
  %82 = load ptr, ptr %20, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.ImGuiContext, ptr %82, i32 0, i32 37
  %84 = load i32, ptr %83, align 4, !tbaa !90
  %85 = load i32, ptr %12, align 4, !tbaa !9
  %86 = icmp eq i32 %84, %85
  br i1 %86, label %87, label %104

87:                                               ; preds = %81
  %88 = load ptr, ptr %20, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiContext, ptr %88, i32 0, i32 38
  %90 = load i32, ptr %89, align 8, !tbaa !91
  %91 = load i32, ptr %12, align 4, !tbaa !9
  %92 = icmp eq i32 %90, %91
  br i1 %92, label %93, label %104

93:                                               ; preds = %87
  %94 = load ptr, ptr %20, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ImGuiContext, ptr %94, i32 0, i32 43
  %96 = load float, ptr %95, align 8, !tbaa !92
  %97 = load float, ptr %19, align 4, !tbaa !13
  %98 = fcmp oge float %96, %97
  br i1 %98, label %99, label %104

99:                                               ; preds = %93, %78
  %100 = load i32, ptr %13, align 4, !tbaa !11
  %101 = icmp eq i32 %100, 1
  %102 = zext i1 %101 to i64
  %103 = select i1 %101, i32 3, i32 4
  call void @_ZN5ImGui14SetMouseCursorEi(i32 noundef %103)
  br label %104

104:                                              ; preds = %99, %93, %87, %81
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #8
  %105 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %105, i64 16, i1 false), !tbaa.struct !88
  %106 = load i8, ptr %26, align 1, !tbaa !85, !range !86, !noundef !87
  %107 = trunc i8 %106 to i1
  br i1 %107, label %108, label %199

108:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %109 = load ptr, ptr %20, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ImGuiContext, ptr %109, i32 0, i32 3
  %111 = getelementptr inbounds %struct.ImGuiIO, ptr %110, i32 0, i32 36
  %112 = load ptr, ptr %20, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiContext, ptr %112, i32 0, i32 60
  %114 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %111, ptr noundef nonnull align 4 dereferenceable(8) %113)
  store <2 x float> %114, ptr %31, align 4
  %115 = getelementptr inbounds %struct.ImRect, ptr %27, i32 0, i32 0
  %116 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %115)
  store <2 x float> %116, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %117 = load i32, ptr %13, align 4, !tbaa !11
  %118 = icmp eq i32 %117, 1
  br i1 %118, label %119, label %122

119:                                              ; preds = %108
  %120 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %121 = load float, ptr %120, align 4, !tbaa !93
  br label %125

122:                                              ; preds = %108
  %123 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %124 = load float, ptr %123, align 4, !tbaa !94
  br label %125

125:                                              ; preds = %122, %119
  %126 = phi float [ %121, %119 ], [ %124, %122 ]
  store float %126, ptr %32, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %127 = load ptr, ptr %14, align 8, !tbaa !5
  %128 = load float, ptr %127, align 4, !tbaa !13
  %129 = load float, ptr %16, align 4, !tbaa !13
  %130 = fsub float %128, %129
  %131 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %130)
  store float %131, ptr %33, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %132 = load ptr, ptr %15, align 8, !tbaa !5
  %133 = load float, ptr %132, align 4, !tbaa !13
  %134 = load float, ptr %17, align 4, !tbaa !13
  %135 = fsub float %133, %134
  %136 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %135)
  store float %136, ptr %34, align 4, !tbaa !13
  %137 = load float, ptr %32, align 4, !tbaa !13
  %138 = load float, ptr %33, align 4, !tbaa !13
  %139 = fneg float %138
  %140 = fcmp olt float %137, %139
  br i1 %140, label %141, label %144

141:                                              ; preds = %125
  %142 = load float, ptr %33, align 4, !tbaa !13
  %143 = fneg float %142
  store float %143, ptr %32, align 4, !tbaa !13
  br label %144

144:                                              ; preds = %141, %125
  %145 = load float, ptr %32, align 4, !tbaa !13
  %146 = load float, ptr %34, align 4, !tbaa !13
  %147 = fcmp ogt float %145, %146
  br i1 %147, label %148, label %150

148:                                              ; preds = %144
  %149 = load float, ptr %34, align 4, !tbaa !13
  store float %149, ptr %32, align 4, !tbaa !13
  br label %150

150:                                              ; preds = %148, %144
  %151 = load float, ptr %32, align 4, !tbaa !13
  %152 = fcmp une float %151, 0.000000e+00
  br i1 %152, label %153, label %198

153:                                              ; preds = %150
  %154 = load float, ptr %32, align 4, !tbaa !13
  %155 = fcmp olt float %154, 0.000000e+00
  br i1 %155, label %156, label %167

156:                                              ; preds = %153
  %157 = load ptr, ptr %14, align 8, !tbaa !5
  %158 = load float, ptr %157, align 4, !tbaa !13
  %159 = load float, ptr %32, align 4, !tbaa !13
  %160 = fadd float %158, %159
  %161 = load float, ptr %16, align 4, !tbaa !13
  %162 = fcmp oge float %160, %161
  br i1 %162, label %163, label %164

163:                                              ; preds = %156
  br label %166

164:                                              ; preds = %156
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.1, i32 noundef 1452, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui16SplitterBehaviorERK6ImRectj9ImGuiAxisPfS4_ffff) #9
  unreachable

165:                                              ; No predecessors!
  br label %166

166:                                              ; preds = %165, %163
  br label %167

167:                                              ; preds = %166, %153
  %168 = load float, ptr %32, align 4, !tbaa !13
  %169 = fcmp ogt float %168, 0.000000e+00
  br i1 %169, label %170, label %181

170:                                              ; preds = %167
  %171 = load ptr, ptr %15, align 8, !tbaa !5
  %172 = load float, ptr %171, align 4, !tbaa !13
  %173 = load float, ptr %32, align 4, !tbaa !13
  %174 = fsub float %172, %173
  %175 = load float, ptr %17, align 4, !tbaa !13
  %176 = fcmp oge float %174, %175
  br i1 %176, label %177, label %178

177:                                              ; preds = %170
  br label %180

178:                                              ; preds = %170
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.1, i32 noundef 1454, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui16SplitterBehaviorERK6ImRectj9ImGuiAxisPfS4_ffff) #9
  unreachable

179:                                              ; No predecessors!
  br label %180

180:                                              ; preds = %179, %177
  br label %181

181:                                              ; preds = %180, %167
  %182 = load float, ptr %32, align 4, !tbaa !13
  %183 = load ptr, ptr %14, align 8, !tbaa !5
  %184 = load float, ptr %183, align 4, !tbaa !13
  %185 = fadd float %184, %182
  store float %185, ptr %183, align 4, !tbaa !13
  %186 = load float, ptr %32, align 4, !tbaa !13
  %187 = load ptr, ptr %15, align 8, !tbaa !5
  %188 = load float, ptr %187, align 4, !tbaa !13
  %189 = fsub float %188, %186
  store float %189, ptr %187, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %190 = load i32, ptr %13, align 4, !tbaa !11
  %191 = icmp eq i32 %190, 0
  br i1 %191, label %192, label %194

192:                                              ; preds = %181
  %193 = load float, ptr %32, align 4, !tbaa !13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %193, float noundef 0.000000e+00)
  br label %196

194:                                              ; preds = %181
  %195 = load float, ptr %32, align 4, !tbaa !13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef 0.000000e+00, float noundef %195)
  br label %196

196:                                              ; preds = %194, %192
  call void @_ZN6ImRect9TranslateERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(8) %35)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  %197 = load i32, ptr %12, align 4, !tbaa !9
  call void @_ZN5ImGui14MarkItemEditedEj(i32 noundef %197)
  br label %198

198:                                              ; preds = %196, %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %199

199:                                              ; preds = %198, %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  %200 = load i8, ptr %26, align 1, !tbaa !85, !range !86, !noundef !87
  %201 = trunc i8 %200 to i1
  br i1 %201, label %202, label %203

202:                                              ; preds = %199
  br label %216

203:                                              ; preds = %199
  %204 = load i8, ptr %25, align 1, !tbaa !85, !range !86, !noundef !87
  %205 = trunc i8 %204 to i1
  br i1 %205, label %206, label %212

206:                                              ; preds = %203
  %207 = load ptr, ptr %20, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.ImGuiContext, ptr %207, i32 0, i32 43
  %209 = load float, ptr %208, align 8, !tbaa !92
  %210 = load float, ptr %19, align 4, !tbaa !13
  %211 = fcmp oge float %209, %210
  br label %212

212:                                              ; preds = %206, %203
  %213 = phi i1 [ false, %203 ], [ %211, %206 ]
  %214 = zext i1 %213 to i64
  %215 = select i1 %213, i32 28, i32 27
  br label %216

216:                                              ; preds = %212, %202
  %217 = phi i32 [ 29, %202 ], [ %215, %212 ]
  %218 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %217, float noundef 1.000000e+00)
  store i32 %218, ptr %36, align 4, !tbaa !9
  %219 = load ptr, ptr %21, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.ImGuiWindow, ptr %219, i32 0, i32 71
  %221 = load ptr, ptr %220, align 8, !tbaa !95
  %222 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %223 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 1
  %224 = load i32, ptr %36, align 4, !tbaa !9
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %221, ptr noundef nonnull align 4 dereferenceable(8) %222, ptr noundef nonnull align 4 dereferenceable(8) %223, i32 noundef %224, float noundef 0.000000e+00, i32 noundef 15)
  %225 = load i8, ptr %26, align 1, !tbaa !85, !range !86, !noundef !87
  %226 = trunc i8 %225 to i1
  store i1 %226, ptr %10, align 1
  store i32 1, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  br label %227

227:                                              ; preds = %216, %60
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  %228 = load i1, ptr %10, align 1
  ret i1 %228
}

declare void @_ZN5ImGui19SetItemAllowOverlapEv() #6

declare void @_ZN5ImGui14SetMouseCursorEi(i32 noundef) #6

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { "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 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !6, i64 6880}
!16 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !18, i64 8, !22, i64 5472, !6, i64 6520, !14, i64 6528, !14, i64 6532, !23, i64 6536, !25, i64 6752, !10, i64 6760, !10, i64 6764, !10, i64 6768, !17, i64 6772, !17, i64 6773, !17, i64 6774, !17, i64 6775, !17, i64 6776, !10, i64 6780, !6, i64 6784, !26, i64 6792, !26, i64 6808, !26, i64 6824, !26, i64 6840, !27, i64 6856, !10, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !19, i64 6928, !14, i64 6936, !10, i64 6940, !10, i64 6944, !17, i64 6948, !17, i64 6949, !17, i64 6950, !17, i64 6951, !14, i64 6952, !14, i64 6956, !10, i64 6960, !10, i64 6964, !14, i64 6968, !17, i64 6972, !17, i64 6973, !17, i64 6974, !17, i64 6975, !17, i64 6976, !17, i64 6977, !17, i64 6978, !10, i64 6980, !10, i64 6984, !29, i64 6992, !19, i64 7000, !6, i64 7008, !30, i64 7016, !10, i64 7020, !10, i64 7024, !17, i64 7028, !17, i64 7029, !6, i64 7032, !10, i64 7040, !14, i64 7044, !31, i64 7048, !33, i64 7160, !34, i64 7184, !35, i64 7200, !36, i64 7216, !37, i64 7232, !38, i64 7248, !39, i64 7264, !40, i64 7280, !40, i64 7296, !6, i64 7312, !10, i64 7320, !10, i64 7324, !10, i64 7328, !10, i64 7332, !10, i64 7336, !10, i64 7340, !10, i64 7344, !10, i64 7348, !10, i64 7352, !10, i64 7356, !10, i64 7360, !30, i64 7364, !32, i64 7368, !10, i64 7384, !41, i64 7388, !10, i64 7392, !17, i64 7396, !17, i64 7397, !17, i64 7398, !17, i64 7399, !17, i64 7400, !17, i64 7401, !17, i64 7402, !10, i64 7404, !32, i64 7408, !17, i64 7424, !10, i64 7428, !42, i64 7432, !10, i64 7436, !10, i64 7440, !10, i64 7444, !10, i64 7448, !43, i64 7456, !43, i64 7504, !43, i64 7552, !6, i64 7600, !10, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !14, i64 7640, !14, i64 7644, !17, i64 7648, !6, i64 7656, !6, i64 7664, !10, i64 7672, !10, i64 7676, !10, i64 7680, !10, i64 7684, !17, i64 7688, !44, i64 7696, !45, i64 7752, !14, i64 7784, !46, i64 7792, !46, i64 7992, !10, i64 8192, !17, i64 8196, !17, i64 8197, !17, i64 8198, !10, i64 8200, !10, i64 8204, !10, i64 8208, !55, i64 8216, !32, i64 8280, !10, i64 8296, !10, i64 8300, !14, i64 8304, !10, i64 8308, !10, i64 8312, !10, i64 8316, !10, i64 8320, !56, i64 8328, !7, i64 8344, !6, i64 8360, !57, i64 8368, !59, i64 8408, !60, i64 8424, !54, i64 8440, !6, i64 8456, !61, i64 8464, !59, i64 8504, !63, i64 8520, !19, i64 8536, !64, i64 8544, !68, i64 12280, !10, i64 12392, !10, i64 12396, !14, i64 12400, !14, i64 12404, !7, i64 12408, !24, i64 12420, !14, i64 12436, !17, i64 12440, !17, i64 12441, !14, i64 12444, !14, i64 12448, !14, i64 12452, !10, i64 12456, !14, i64 12460, !65, i64 12464, !37, i64 12480, !19, i64 12496, !19, i64 12504, !7, i64 12512, !17, i64 12513, !14, i64 12516, !70, i64 12520, !71, i64 12536, !72, i64 12552, !73, i64 12568, !74, i64 12584, !17, i64 12600, !75, i64 12604, !6, i64 12608, !70, i64 12616, !14, i64 12632, !17, i64 12636, !10, i64 12640, !10, i64 12644, !10, i64 12648, !17, i64 12652, !10, i64 12656, !76, i64 12660, !7, i64 12676, !10, i64 13156, !14, i64 13160, !10, i64 13164, !10, i64 13168, !10, i64 13172, !7, i64 13176}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !19, 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, !17, i64 172, !6, i64 176, !19, i64 184, !17, i64 192, !17, i64 193, !17, i64 194, !17, i64 195, !17, i64 196, !17, 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, !19, i64 288, !7, i64 296, !14, i64 304, !14, i64 308, !17, i64 312, !17, i64 313, !17, i64 314, !17, i64 315, !7, i64 316, !7, i64 828, !17, i64 912, !17, i64 913, !17, i64 914, !17, i64 915, !17, i64 916, !17, i64 917, !17, i64 918, !14, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !19, i64 944, !10, i64 952, !19, 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 5356, !14, i64 5440, !20, i64 5444, !21, i64 5448}
!19 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!20 = !{!"short", !7, i64 0}
!21 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!22 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !19, i64 4, !14, i64 12, !14, i64 16, !19, i64 20, !19, i64 28, !10, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !19, i64 56, !14, i64 64, !14, i64 68, !19, i64 72, !19, i64 80, !19, i64 88, !19, i64 96, !14, i64 104, !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, !10, i64 144, !19, i64 148, !19, i64 156, !19, i64 164, !19, i64 172, !14, i64 180, !17, i64 184, !17, i64 185, !17, i64 186, !14, i64 188, !14, i64 192, !7, i64 196}
!23 = !{!"_ZTS20ImDrawListSharedData", !19, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !24, i64 28, !10, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!24 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!25 = !{!"double", !7, i64 0}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_ZTS12ImGuiStorage", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"long long", !7, i64 0}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !17, i64 56, !32, i64 60, !6, i64 80, !6, i64 88, !14, i64 96, !19, i64 100}
!32 = !{!"_ZTS6ImRect", !19, i64 0, !19, i64 8}
!33 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !14, i64 4, !10, i64 8, !10, i64 12, !17, i64 16}
!34 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!42 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!43 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !10, i64 8, !10, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !32, i64 28}
!44 = !{!"_ZTS10ImDrawData", !17, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !19, i64 28, !19, i64 36, !19, i64 44}
!45 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!46 = !{!"_ZTS10ImDrawList", !47, i64 0, !21, i64 16, !48, i64 32, !10, i64 48, !10, 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, !53, i64 168, !14, i64 192}
!47 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS15ImDrawCmdHeader", !24, i64 0, !6, i64 16, !10, i64 24}
!53 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !54, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !17, i64 57, !17, i64 58}
!56 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI10ImGuiTableE", !58, i64 0, !27, i64 16, !10, i64 32}
!58 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !62, i64 0, !27, i64 16, !10, i64 32}
!62 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !21, i64 16, !65, i64 32, !65, i64 48, !17, i64 64, !10, i64 68, !14, i64 72, !66, i64 76, !14, i64 3704, !17, i64 3708, !17, i64 3709, !17, i64 3710, !10, i64 3712, !6, i64 3720, !6, i64 3728}
!65 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_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, !67, i64 32}
!67 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !20, i64 3582, !20, i64 3584, !10, i64 3588, !10, i64 3592}
!68 = !{!"_ZTS6ImFont", !60, i64 0, !14, i64 16, !14, i64 20, !21, i64 24, !69, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !20, i64 80, !20, i64 82, !20, i64 84, !17, i64 86, !14, i64 88, !14, i64 92, !14, i64 96, !10, i64 100, !7, i64 104}
!69 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTS15ImGuiTextBuffer", !65, i64 0}
!71 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !65, i64 0}
!73 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !65, i64 0}
!74 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!75 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!76 = !{!"_ZTS18ImGuiMetricsConfig", !17, i64 0, !17, i64 1, !17, i64 2, !17, i64 3, !17, i64 4, !10, i64 8, !10, i64 12}
!77 = !{!78, !10, i64 460}
!78 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !14, i64 72, !14, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !19, i64 92, !19, i64 100, !19, i64 108, !19, i64 116, !19, i64 124, !19, i64 132, !17, i64 140, !17, i64 141, !17, i64 142, !17, i64 143, !17, i64 144, !17, i64 145, !17, i64 146, !17, i64 147, !17, i64 148, !17, i64 149, !17, i64 150, !17, i64 151, !7, i64 152, !20, i64 154, !20, i64 156, !20, i64 158, !10, i64 160, !7, i64 164, !7, i64 165, !7, i64 166, !17, i64 167, !10, i64 168, !7, i64 172, !7, i64 173, !7, i64 174, !10, i64 175, !10, i64 176, !10, i64 177, !19, i64 180, !19, i64 188, !37, i64 200, !79, i64 216, !32, i64 520, !32, i64 536, !32, i64 552, !32, i64 568, !32, i64 584, !32, i64 600, !32, i64 616, !83, i64 632, !83, i64 636, !10, i64 640, !14, i64 644, !14, i64 648, !27, i64 656, !84, i64 672, !14, i64 688, !10, i64 692, !6, i64 696, !46, i64 704, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !7, i64 944, !7, i64 952, !10, i64 984, !10, i64 988, !17, i64 992}
!79 = !{!"_ZTS19ImGuiWindowTempData", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !14, i64 56, !14, i64 60, !80, i64 64, !80, i64 68, !80, i64 72, !10, i64 76, !10, i64 80, !32, i64 84, !32, i64 100, !41, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !17, i64 132, !17, i64 133, !17, i64 134, !19, i64 136, !81, i64 144, !10, i64 180, !10, i64 184, !26, i64 192, !6, i64 208, !6, i64 216, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !14, i64 248, !14, i64 252, !60, i64 256, !60, i64 272, !82, i64 288}
!80 = !{!"_ZTS6ImVec1", !14, i64 0}
!81 = !{!"_ZTS16ImGuiMenuColumns", !14, i64 0, !14, i64 4, !14, i64 8, !7, i64 12, !7, i64 24}
!82 = !{!"_ZTS15ImGuiStackSizes", !20, i64 0, !20, i64 2, !20, i64 4, !20, i64 6, !20, i64 8, !20, i64 10, !20, i64 12}
!83 = !{!"_ZTS8ImVec2ih", !20, i64 0, !20, i64 2}
!84 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!85 = !{!17, !17, i64 0}
!86 = !{i8 0, i8 2}
!87 = !{}
!88 = !{i64 0, i64 4, !13, i64 4, i64 4, !13, i64 8, i64 4, !13, i64 12, i64 4, !13}
!89 = !{!16, !10, i64 6960}
!90 = !{!16, !10, i64 6940}
!91 = !{!16, !10, i64 6944}
!92 = !{!16, !14, i64 6952}
!93 = !{!19, !14, i64 4}
!94 = !{!19, !14, i64 0}
!95 = !{!78, !6, i64 696}


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

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui16SplitterBehaviorERK6ImRectj9ImGuiAxisPfS4_ffff = external hidden unnamed_addr constant [111 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #2 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) #3

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

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

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

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

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

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

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

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 #6

declare void @_ZN5ImGui14MarkItemEditedEj(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui16SplitterBehaviorERK6ImRectj9ImGuiAxisPfS4_ffff(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8) local_unnamed_addr #7 {
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca %struct.ImRect, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImRect, align 4
  %15 = alloca %struct.ImVec2, align 8
  %16 = alloca %struct.ImVec2, align 4
  %17 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %17, i64 6880
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %19, i64 460
  %21 = load i32, ptr %20, align 4, !tbaa !73
  %22 = or i32 %21, 24
  store i32 %22, ptr %20, align 4, !tbaa !73
  %23 = tail call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, ptr noundef null)
  store i32 %21, ptr %20, align 4, !tbaa !73
  br i1 %23, label %24, label %111

24:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %0, i64 16, i1 false), !tbaa.struct !81
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %25 = icmp eq i32 %2, 1
  br i1 %25, label %26, label %27

26:                                               ; preds = %24
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef 0.000000e+00, float noundef %7)
  br label %28

27:                                               ; preds = %24
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %7, float noundef 0.000000e+00)
  br label %28

28:                                               ; preds = %27, %26
  call void @_ZN6ImRect6ExpandERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %29 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %1, ptr noundef nonnull %10, ptr noundef nonnull %11, i32 noundef 6144)
  %30 = getelementptr inbounds i8, ptr %17, i64 6960
  %31 = load i32, ptr %30, align 8, !tbaa !83
  %.not = icmp eq i32 %31, %1
  br i1 %.not, label %33, label %32

32:                                               ; preds = %28
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %33

33:                                               ; preds = %32, %28
  %34 = load i8, ptr %11, align 1, !tbaa !84, !range !85, !noundef !86
  %35 = trunc nuw i8 %34 to i1
  br i1 %35, label %48, label %36

36:                                               ; preds = %33
  %37 = getelementptr inbounds i8, ptr %17, i64 6940
  %38 = load i32, ptr %37, align 4, !tbaa !87
  %39 = icmp eq i32 %38, %1
  br i1 %39, label %40, label %50

40:                                               ; preds = %36
  %41 = getelementptr inbounds i8, ptr %17, i64 6944
  %42 = load i32, ptr %41, align 8, !tbaa !88
  %43 = icmp eq i32 %42, %1
  br i1 %43, label %44, label %50

44:                                               ; preds = %40
  %45 = getelementptr inbounds i8, ptr %17, i64 6952
  %46 = load float, ptr %45, align 8, !tbaa !89
  %47 = fcmp ult float %46, %8
  br i1 %47, label %50, label %48

48:                                               ; preds = %44, %33
  %49 = select i1 %25, i32 3, i32 4
  call void @_ZN5ImGui14SetMouseCursorEi(i32 noundef %49)
  %.pre = load i8, ptr %11, align 1, !tbaa !84, !range !85
  br label %50

50:                                               ; preds = %48, %44, %40, %36
  %51 = phi i8 [ %.pre, %48 ], [ %34, %44 ], [ %34, %40 ], [ %34, %36 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(16) %0, i64 16, i1 false), !tbaa.struct !81
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %53, label %92

53:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %54 = getelementptr inbounds i8, ptr %17, i64 296
  %55 = getelementptr inbounds i8, ptr %17, i64 7000
  %56 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %55)
  store <2 x float> %56, ptr %15, align 8
  %57 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  %.sroa.0.4.vec.extract = extractelement <2 x float> %57, i64 1
  %.sroa.0.0.vec.extract = extractelement <2 x float> %57, i64 0
  %58 = select i1 %25, float %.sroa.0.4.vec.extract, float %.sroa.0.0.vec.extract
  %59 = load float, ptr %3, align 4, !tbaa !82
  %60 = fsub float %59, %5
  %61 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %60)
  %62 = load float, ptr %4, align 4, !tbaa !82
  %63 = fsub float %62, %6
  %64 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %63)
  %65 = fneg float %61
  %66 = fcmp olt float %58, %65
  %.057 = select i1 %66, float %65, float %58
  %67 = fcmp ogt float %.057, %64
  %.1 = select i1 %67, float %64, float %.057
  %68 = fcmp une float %.1, 0.000000e+00
  br i1 %68, label %69, label %92

69:                                               ; preds = %53
  %70 = fcmp olt float %.1, 0.000000e+00
  br i1 %70, label %71, label %76

71:                                               ; preds = %69
  %72 = load float, ptr %3, align 4, !tbaa !82
  %73 = fadd float %.1, %72
  %74 = fcmp ult float %73, %5
  br i1 %74, label %75, label %76

75:                                               ; preds = %71
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.1, i32 noundef 1452, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui16SplitterBehaviorERK6ImRectj9ImGuiAxisPfS4_ffff) #9
  unreachable

76:                                               ; preds = %71, %69
  %77 = fcmp ogt float %.1, 0.000000e+00
  br i1 %77, label %78, label %83

78:                                               ; preds = %76
  %79 = load float, ptr %4, align 4, !tbaa !82
  %80 = fsub float %79, %.1
  %81 = fcmp ult float %80, %6
  br i1 %81, label %82, label %83

82:                                               ; preds = %78
  call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.1, i32 noundef 1454, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui16SplitterBehaviorERK6ImRectj9ImGuiAxisPfS4_ffff) #9
  unreachable

83:                                               ; preds = %78, %76
  %84 = load float, ptr %3, align 4, !tbaa !82
  %85 = fadd float %.1, %84
  store float %85, ptr %3, align 4, !tbaa !82
  %86 = load float, ptr %4, align 4, !tbaa !82
  %87 = fsub float %86, %.1
  store float %87, ptr %4, align 4, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %88 = icmp eq i32 %2, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %83
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %.1, float noundef 0.000000e+00)
  br label %91

90:                                               ; preds = %83
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef %.1)
  br label %91

91:                                               ; preds = %90, %89
  call void @_ZN6ImRect9TranslateERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @_ZN5ImGui14MarkItemEditedEj(i32 noundef %1)
  br label %92

92:                                               ; preds = %53, %91, %50
  %93 = load i8, ptr %11, align 1, !tbaa !84, !range !85, !noundef !86
  %94 = trunc nuw i8 %93 to i1
  br i1 %94, label %103, label %95

95:                                               ; preds = %92
  %96 = load i8, ptr %10, align 1, !tbaa !84, !range !85, !noundef !86
  %97 = trunc nuw i8 %96 to i1
  br i1 %97, label %98, label %103

98:                                               ; preds = %95
  %99 = getelementptr inbounds i8, ptr %17, i64 6952
  %100 = load float, ptr %99, align 8, !tbaa !89
  %101 = fcmp oge float %100, %8
  %102 = select i1 %101, i32 28, i32 27
  br label %103

103:                                              ; preds = %95, %98, %92
  %104 = phi i32 [ 29, %92 ], [ 27, %95 ], [ %102, %98 ]
  %105 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %104, float noundef 1.000000e+00)
  %106 = getelementptr inbounds i8, ptr %19, i64 696
  %107 = load ptr, ptr %106, align 8, !tbaa !90
  %108 = getelementptr inbounds i8, ptr %14, i64 8
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %107, ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %108, i32 noundef %105, float noundef 0.000000e+00, i32 noundef 15)
  %109 = load i8, ptr %11, align 1, !tbaa !84, !range !85, !noundef !86
  %110 = trunc nuw i8 %109 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  br label %111

111:                                              ; preds = %9, %103
  %.0 = phi i1 [ %110, %103 ], [ false, %9 ]
  ret i1 %.0
}

declare void @_ZN5ImGui19SetItemAllowOverlapEv() local_unnamed_addr #6

declare void @_ZN5ImGui14SetMouseCursorEi(i32 noundef) local_unnamed_addr #6

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { "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 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 #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, !6, i64 6880}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5472, !6, i64 6520, !15, i64 6528, !15, i64 6532, !19, i64 6536, !21, i64 6752, !13, i64 6760, !13, i64 6764, !13, i64 6768, !11, i64 6772, !11, i64 6773, !11, i64 6774, !11, i64 6775, !11, i64 6776, !13, i64 6780, !6, i64 6784, !22, i64 6792, !22, i64 6808, !22, i64 6824, !22, i64 6840, !23, i64 6856, !13, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !14, i64 6928, !15, i64 6936, !13, i64 6940, !13, i64 6944, !11, i64 6948, !11, i64 6949, !11, i64 6950, !11, i64 6951, !15, i64 6952, !15, i64 6956, !13, i64 6960, !13, i64 6964, !15, i64 6968, !11, i64 6972, !11, i64 6973, !11, i64 6974, !11, i64 6975, !11, i64 6976, !11, i64 6977, !11, i64 6978, !13, i64 6980, !13, i64 6984, !25, i64 6992, !14, i64 7000, !6, i64 7008, !26, i64 7016, !13, i64 7020, !13, i64 7024, !11, i64 7028, !11, i64 7029, !6, i64 7032, !13, i64 7040, !15, i64 7044, !27, i64 7048, !29, i64 7160, !30, i64 7184, !31, i64 7200, !32, i64 7216, !33, i64 7232, !34, i64 7248, !35, i64 7264, !36, i64 7280, !36, i64 7296, !6, i64 7312, !13, i64 7320, !13, i64 7324, !13, i64 7328, !13, i64 7332, !13, i64 7336, !13, i64 7340, !13, i64 7344, !13, i64 7348, !13, i64 7352, !13, i64 7356, !13, i64 7360, !26, i64 7364, !28, i64 7368, !13, i64 7384, !37, i64 7388, !13, i64 7392, !11, i64 7396, !11, i64 7397, !11, i64 7398, !11, i64 7399, !11, i64 7400, !11, i64 7401, !11, i64 7402, !13, i64 7404, !28, i64 7408, !11, i64 7424, !13, i64 7428, !38, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !13, i64 7448, !39, i64 7456, !39, i64 7504, !39, i64 7552, !6, i64 7600, !13, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !15, i64 7640, !15, i64 7644, !11, i64 7648, !6, i64 7656, !6, i64 7664, !13, i64 7672, !13, i64 7676, !13, i64 7680, !13, i64 7684, !11, i64 7688, !40, i64 7696, !41, i64 7752, !15, i64 7784, !42, i64 7792, !42, i64 7992, !13, i64 8192, !11, i64 8196, !11, i64 8197, !11, i64 8198, !13, i64 8200, !13, i64 8204, !13, i64 8208, !51, i64 8216, !28, i64 8280, !13, i64 8296, !13, i64 8300, !15, i64 8304, !13, i64 8308, !13, i64 8312, !13, i64 8316, !13, i64 8320, !52, i64 8328, !7, i64 8344, !6, i64 8360, !53, i64 8368, !55, i64 8408, !56, i64 8424, !50, i64 8440, !6, i64 8456, !57, i64 8464, !55, i64 8504, !59, i64 8520, !14, i64 8536, !60, i64 8544, !64, i64 12280, !13, i64 12392, !13, i64 12396, !15, i64 12400, !15, i64 12404, !7, i64 12408, !20, i64 12420, !15, i64 12436, !11, i64 12440, !11, i64 12441, !15, i64 12444, !15, i64 12448, !15, i64 12452, !13, i64 12456, !15, i64 12460, !61, i64 12464, !33, i64 12480, !14, i64 12496, !14, i64 12504, !7, i64 12512, !11, i64 12513, !15, i64 12516, !66, i64 12520, !67, i64 12536, !68, i64 12552, !69, i64 12568, !70, i64 12584, !11, i64 12600, !71, i64 12604, !6, i64 12608, !66, i64 12616, !15, i64 12632, !11, i64 12636, !13, i64 12640, !13, i64 12644, !13, i64 12648, !11, i64 12652, !13, i64 12656, !72, i64 12660, !7, i64 12676, !13, i64 13156, !15, i64 13160, !13, i64 13164, !13, i64 13168, !13, i64 13172, !7, i64 13176}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !11, i64 197, !15, 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, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !11, i64 312, !11, i64 313, !11, i64 314, !11, i64 315, !7, i64 316, !7, i64 828, !11, i64 912, !11, i64 913, !11, i64 914, !11, i64 915, !11, i64 916, !11, i64 917, !11, i64 918, !15, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !14, i64 944, !13, i64 952, !14, 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 5356, !15, i64 5440, !16, i64 5444, !17, i64 5448}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !13, i64 144, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !15, i64 180, !11, i64 184, !11, i64 185, !11, i64 186, !15, i64 188, !15, i64 192, !7, i64 196}
!19 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !20, i64 28, !13, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!20 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"long long", !7, i64 0}
!26 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!27 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !11, i64 56, !28, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!30 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!38 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!39 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!40 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!41 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!42 = !{!"_ZTS10ImDrawList", !43, i64 0, !17, i64 16, !44, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !45, i64 88, !46, i64 104, !47, i64 120, !48, i64 136, !49, i64 168, !15, i64 192}
!43 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!49 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !50, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!52 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS6ImPoolI10ImGuiTableE", !54, i64 0, !23, i64 16, !13, i64 32}
!54 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !58, i64 0, !23, i64 16, !13, i64 32}
!58 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !61, i64 32, !61, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !62, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!61 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !63, i64 32}
!63 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!64 = !{!"_ZTS6ImFont", !56, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !65, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !11, i64 86, !15, i64 88, !15, i64 92, !15, i64 96, !13, i64 100, !7, i64 104}
!65 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS15ImGuiTextBuffer", !61, i64 0}
!67 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !61, i64 0}
!69 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !61, i64 0}
!70 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!72 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !13, i64 8, !13, i64 12}
!73 = !{!74, !13, i64 460}
!74 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !11, i64 140, !11, i64 141, !11, i64 142, !11, i64 143, !11, i64 144, !11, i64 145, !11, i64 146, !11, i64 147, !11, i64 148, !11, i64 149, !11, i64 150, !11, i64 151, !7, i64 152, !16, i64 154, !16, i64 156, !16, i64 158, !13, i64 160, !7, i64 164, !7, i64 165, !7, i64 166, !11, i64 167, !13, i64 168, !7, i64 172, !7, i64 173, !7, i64 174, !13, i64 175, !13, i64 176, !13, i64 177, !14, i64 180, !14, i64 188, !33, i64 200, !75, i64 216, !28, i64 520, !28, i64 536, !28, i64 552, !28, i64 568, !28, i64 584, !28, i64 600, !28, i64 616, !79, i64 632, !79, i64 636, !13, i64 640, !15, i64 644, !15, i64 648, !23, i64 656, !80, i64 672, !15, i64 688, !13, i64 692, !6, i64 696, !42, i64 704, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !7, i64 944, !7, i64 952, !13, i64 984, !13, i64 988, !11, i64 992}
!75 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !76, i64 64, !76, i64 68, !76, i64 72, !13, i64 76, !13, i64 80, !28, i64 84, !28, i64 100, !37, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !11, i64 132, !11, i64 133, !11, i64 134, !14, i64 136, !77, i64 144, !13, i64 180, !13, i64 184, !22, i64 192, !6, i64 208, !6, i64 216, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !15, i64 248, !15, i64 252, !56, i64 256, !56, i64 272, !78, i64 288}
!76 = !{!"_ZTS6ImVec1", !15, i64 0}
!77 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !7, i64 24}
!78 = !{!"_ZTS15ImGuiStackSizes", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12}
!79 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!80 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{i64 0, i64 4, !82, i64 4, i64 4, !82, i64 8, i64 4, !82, i64 12, i64 4, !82}
!82 = !{!15, !15, i64 0}
!83 = !{!10, !13, i64 6960}
!84 = !{!11, !11, i64 0}
!85 = !{i8 0, i8 2}
!86 = !{}
!87 = !{!10, !13, i64 6940}
!88 = !{!10, !13, i64 6944}
!89 = !{!10, !15, i64 6952}
!90 = !{!74, !6, i64 696}


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