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

; 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.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.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, 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.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.ImVec4 = type { float, float, float, float }
%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, [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.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.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.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.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.ImVector.25 = 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.ImGuiPopupData = type { i32, ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2 }

@GImGui = external global ptr, align 8

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() #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) #1

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, 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: 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: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #6

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

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

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(993), ptr noundef, ptr noundef) #4

declare void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef, <2 x float>, i32 noundef, i32 noundef, float noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(993)) #7 align 2

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

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

declare noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16)) #8 align 2

declare void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #4

declare void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #4

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #4

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

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

declare void @_ZN5ImGui9OpenPopupEPKci(ptr noundef, i32 noundef) #4

declare noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #4

declare void @_ZN5ImGui20NavMoveRequestCancelEv() #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEfff(ptr noundef nonnull align 4 dereferenceable(36), float noundef, float noundef, float noundef) #7 align 2

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

48:                                               ; preds = %2
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %632

49:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #11
  %50 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %50, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #11
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiContext, ptr %51, i32 0, i32 4
  store ptr %52, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #11
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(993) %53, ptr noundef %54, ptr noundef null)
  store i32 %55, ptr %10, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #11
  %56 = load i32, ptr %10, align 4, !tbaa !43
  %57 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %56, i32 noundef 0)
  %58 = zext i1 %57 to i8
  store i8 %58, ptr %11, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #11
  store i32 268960069, ptr %12, align 4, !tbaa !43
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiWindow, ptr %59, i32 0, i32 2
  %61 = load i32, ptr %60, align 4, !tbaa !44
  %62 = and i32 %61, 335544320
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %67

64:                                               ; preds = %49
  %65 = load i32, ptr %12, align 4, !tbaa !43
  %66 = or i32 %65, 16777216
  store i32 %66, ptr %12, align 4, !tbaa !43
  br label %67

67:                                               ; preds = %64, %49
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImGuiContext, ptr %68, i32 0, i32 194
  %70 = call noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef nonnull align 4 dereferenceable(4) %10)
  br i1 %70, label %71, label %85

71:                                               ; preds = %67
  %72 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %73 = trunc i8 %72 to i1
  br i1 %73, label %74, label %79

74:                                               ; preds = %71
  %75 = load i32, ptr %10, align 4, !tbaa !43
  %76 = load i32, ptr %12, align 4, !tbaa !43
  %77 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %75, i32 noundef %76)
  %78 = zext i1 %77 to i8
  store i8 %78, ptr %11, align 1, !tbaa !9
  br label %82

79:                                               ; preds = %71
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImGuiContext, ptr %80, i32 0, i32 71
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %81)
  br label %82

82:                                               ; preds = %79, %74
  %83 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %84 = trunc i8 %83 to i1
  store i1 %84, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %631

85:                                               ; preds = %67
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiContext, ptr %86, i32 0, i32 194
  call void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %87, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #11
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %88, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %89, ptr %13, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #11
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiWindow, ptr %90, i32 0, i32 2
  %92 = load i32, ptr %91, align 4, !tbaa !44
  %93 = and i32 %92, 67108864
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %122, label %95

95:                                               ; preds = %85
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 80
  %98 = getelementptr inbounds %struct.ImVector.16, ptr %97, i32 0, i32 0
  %99 = load i32, ptr %98, align 8, !tbaa !45
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiContext, ptr %100, i32 0, i32 81
  %102 = getelementptr inbounds %struct.ImVector.16, ptr %101, i32 0, i32 0
  %103 = load i32, ptr %102, align 8, !tbaa !86
  %104 = icmp sgt i32 %99, %103
  br i1 %104, label %105, label %120

105:                                              ; preds = %95
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImGuiContext, ptr %106, i32 0, i32 80
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImGuiContext, ptr %108, i32 0, i32 81
  %110 = getelementptr inbounds %struct.ImVector.16, ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 8, !tbaa !86
  %112 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %107, i32 noundef %111)
  %113 = getelementptr inbounds %struct.ImGuiPopupData, ptr %112, i32 0, i32 4
  %114 = load i32, ptr %113, align 4, !tbaa !87
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiWindow, ptr %115, i32 0, i32 52
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %116)
  %118 = load i32, ptr %117, align 4, !tbaa !43
  %119 = icmp eq i32 %114, %118
  br label %120

120:                                              ; preds = %105, %95
  %121 = phi i1 [ false, %95 ], [ %119, %105 ]
  br label %122

122:                                              ; preds = %120, %85
  %123 = phi i1 [ false, %85 ], [ %121, %120 ]
  %124 = zext i1 %123 to i8
  store i8 %124, ptr %15, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #11
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ImGuiContext, ptr %125, i32 0, i32 82
  %127 = load ptr, ptr %126, align 8, !tbaa !89
  store ptr %127, ptr %16, align 8, !tbaa !5
  %128 = load i8, ptr %15, align 1, !tbaa !9, !range !41, !noundef !42
  %129 = trunc i8 %128 to i1
  br i1 %129, label %130, label %134

130:                                              ; preds = %122
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImGuiContext, ptr %132, i32 0, i32 82
  store ptr %131, ptr %133, align 8, !tbaa !89
  br label %134

134:                                              ; preds = %130, %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImGuiWindow, ptr %135, i32 0, i32 53
  %137 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %136, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %137, i64 8, i1 false), !tbaa.struct !90
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImGuiWindow, ptr %138, i32 0, i32 53
  %140 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %139, i32 0, i32 33
  %141 = load i32, ptr %140, align 4, !tbaa !92
  %142 = icmp eq i32 %141, 0
  br i1 %142, label %143, label %214

143:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  %144 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 0
  %145 = load float, ptr %144, align 4, !tbaa !93
  %146 = fsub float %145, 1.000000e+00
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiStyle, ptr %147, i32 0, i32 14
  %149 = getelementptr inbounds %struct.ImVec2, ptr %148, i32 0, i32 0
  %150 = load float, ptr %149, align 4, !tbaa !94
  %151 = fmul float %150, 5.000000e-01
  %152 = fptosi float %151 to i32
  %153 = sitofp i32 %152 to float
  %154 = fsub float %146, %153
  %155 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 1
  %156 = load float, ptr %155, align 4, !tbaa !95
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.ImGuiStyle, ptr %157, i32 0, i32 11
  %159 = getelementptr inbounds %struct.ImVec2, ptr %158, i32 0, i32 1
  %160 = load float, ptr %159, align 4, !tbaa !96
  %161 = fsub float %156, %160
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(993) %162)
  %164 = fadd float %161, %163
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %154, float noundef %164)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %19, i64 8, i1 false), !tbaa.struct !90
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImGuiStyle, ptr %165, i32 0, i32 14
  %167 = getelementptr inbounds %struct.ImVec2, ptr %166, i32 0, i32 0
  %168 = load float, ptr %167, align 4, !tbaa !94
  %169 = fmul float %168, 5.000000e-01
  %170 = fptosi float %169 to i32
  %171 = sitofp i32 %170 to float
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ImGuiWindow, ptr %172, i32 0, i32 53
  %174 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %173, i32 0, i32 0
  %175 = getelementptr inbounds %struct.ImVec2, ptr %174, i32 0, i32 0
  %176 = load float, ptr %175, align 8, !tbaa !97
  %177 = fadd float %176, %171
  store float %177, ptr %175, align 8, !tbaa !97
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  %178 = load ptr, ptr %9, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.ImGuiStyle, ptr %178, i32 0, i32 14
  %180 = getelementptr inbounds %struct.ImVec2, ptr %179, i32 0, i32 0
  %181 = load float, ptr %180, align 4, !tbaa !94
  %182 = fmul float %181, 2.000000e+00
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.ImGuiStyle, ptr %183, i32 0, i32 14
  %185 = getelementptr inbounds %struct.ImVec2, ptr %184, i32 0, i32 1
  %186 = load float, ptr %185, align 4, !tbaa !98
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %182, float noundef %186)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 13, ptr noundef nonnull align 4 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #11
  %187 = getelementptr inbounds %struct.ImVec2, ptr %13, i32 0, i32 0
  %188 = load float, ptr %187, align 4, !tbaa !93
  store float %188, ptr %21, align 4, !tbaa !91
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %191 = trunc i8 %190 to i1
  %192 = load i8, ptr %5, align 1, !tbaa !9, !range !41, !noundef !42
  %193 = trunc i8 %192 to i1
  %194 = xor i1 %193, true
  %195 = zext i1 %194 to i64
  %196 = select i1 %194, i32 8, i32 0
  %197 = or i32 3145729, %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #11
  %198 = load float, ptr %21, align 4, !tbaa !91
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %198, float noundef 0.000000e+00)
  %199 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %189, i1 noundef zeroext %191, i32 noundef %197, ptr noundef nonnull align 4 dereferenceable(8) %22)
  %200 = zext i1 %199 to i8
  store i8 %200, ptr %14, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %201 = load ptr, ptr %9, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImGuiStyle, ptr %201, i32 0, i32 14
  %203 = getelementptr inbounds %struct.ImVec2, ptr %202, i32 0, i32 0
  %204 = load float, ptr %203, align 4, !tbaa !94
  %205 = fmul float %204, -5.000000e-01
  %206 = fptosi float %205 to i32
  %207 = sitofp i32 %206 to float
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.ImGuiWindow, ptr %208, i32 0, i32 53
  %210 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %209, i32 0, i32 0
  %211 = getelementptr inbounds %struct.ImVec2, ptr %210, i32 0, i32 0
  %212 = load float, ptr %211, align 8, !tbaa !97
  %213 = fadd float %212, %207
  store float %213, ptr %211, align 8, !tbaa !97
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #11
  br label %277

214:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #11
  %215 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 0
  %216 = load float, ptr %215, align 4, !tbaa !93
  %217 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 1
  %218 = load float, ptr %217, align 4, !tbaa !95
  %219 = load ptr, ptr %9, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.ImGuiStyle, ptr %219, i32 0, i32 1
  %221 = getelementptr inbounds %struct.ImVec2, ptr %220, i32 0, i32 1
  %222 = load float, ptr %221, align 4, !tbaa !99
  %223 = fsub float %218, %222
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %216, float noundef %223)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %23, i64 8, i1 false), !tbaa.struct !90
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #11
  %224 = load ptr, ptr %6, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.ImGuiWindow, ptr %224, i32 0, i32 53
  %226 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %225, i32 0, i32 25
  %227 = getelementptr inbounds %struct.ImVec2, ptr %13, i32 0, i32 0
  %228 = load float, ptr %227, align 4, !tbaa !93
  %229 = load ptr, ptr %8, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.ImGuiContext, ptr %229, i32 0, i32 7
  %231 = load float, ptr %230, align 8, !tbaa !100
  %232 = fmul float %231, 0x3FF3333340000000
  %233 = fptosi float %232 to i32
  %234 = sitofp i32 %233 to float
  %235 = call noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEfff(ptr noundef nonnull align 4 dereferenceable(36) %226, float noundef %228, float noundef 0.000000e+00, float noundef %234)
  store float %235, ptr %24, align 4, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #11
  %236 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  store <2 x float> %236, ptr %26, align 4
  %237 = getelementptr inbounds %struct.ImVec2, ptr %26, i32 0, i32 0
  %238 = load float, ptr %237, align 4, !tbaa !93
  %239 = load float, ptr %24, align 4, !tbaa !91
  %240 = fsub float %238, %239
  %241 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %240)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #11
  store float %241, ptr %25, align 4, !tbaa !91
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  %243 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %244 = trunc i8 %243 to i1
  %245 = load i8, ptr %5, align 1, !tbaa !9, !range !41, !noundef !42
  %246 = trunc i8 %245 to i1
  %247 = xor i1 %246, true
  %248 = zext i1 %247 to i64
  %249 = select i1 %247, i32 8, i32 0
  %250 = or i32 11534337, %249
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #11
  %251 = load float, ptr %24, align 4, !tbaa !91
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %251, float noundef 0.000000e+00)
  %252 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %242, i1 noundef zeroext %244, i32 noundef %250, ptr noundef nonnull align 4 dereferenceable(8) %27)
  %253 = zext i1 %252 to i8
  store i8 %253, ptr %14, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #11
  %254 = load i8, ptr %5, align 1, !tbaa !9, !range !41, !noundef !42
  %255 = trunc i8 %254 to i1
  %256 = zext i1 %255 to i64
  %257 = select i1 %255, i32 0, i32 1
  %258 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %257, float noundef 1.000000e+00)
  store i32 %258, ptr %28, align 4, !tbaa !43
  %259 = load ptr, ptr %6, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.ImGuiWindow, ptr %259, i32 0, i32 71
  %261 = load ptr, ptr %260, align 8, !tbaa !101
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ImGuiWindow, ptr %262, i32 0, i32 53
  %264 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %263, i32 0, i32 25
  %265 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %264, i32 0, i32 3
  %266 = getelementptr inbounds [3 x float], ptr %265, i64 0, i64 2
  %267 = load float, ptr %266, align 4, !tbaa !91
  %268 = load float, ptr %25, align 4, !tbaa !91
  %269 = fadd float %267, %268
  %270 = load ptr, ptr %8, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.ImGuiContext, ptr %270, i32 0, i32 7
  %272 = load float, ptr %271, align 8, !tbaa !100
  %273 = call float @llvm.fmuladd.f32(float %272, float 0x3FD3333340000000, float %269)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %273, float noundef 0.000000e+00)
  %274 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %274, ptr %29, align 4
  %275 = load i32, ptr %28, align 4, !tbaa !43
  %276 = load <2 x float>, ptr %29, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %261, <2 x float> %276, i32 noundef %275, i32 noundef 1, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  br label %277

277:                                              ; preds = %214, %143
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #11
  %278 = load i8, ptr %5, align 1, !tbaa !9, !range !41, !noundef !42
  %279 = trunc i8 %278 to i1
  br i1 %279, label %280, label %286

280:                                              ; preds = %277
  %281 = load ptr, ptr %6, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.ImGuiWindow, ptr %281, i32 0, i32 53
  %283 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %282, i32 0, i32 14
  %284 = load i32, ptr %10, align 4, !tbaa !43
  %285 = call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %283, i32 noundef %284)
  br label %286

286:                                              ; preds = %280, %277
  %287 = phi i1 [ false, %277 ], [ %285, %280 ]
  %288 = zext i1 %287 to i8
  store i8 %288, ptr %31, align 1, !tbaa !9
  %289 = load i8, ptr %15, align 1, !tbaa !9, !range !41, !noundef !42
  %290 = trunc i8 %289 to i1
  br i1 %290, label %291, label %295

291:                                              ; preds = %286
  %292 = load ptr, ptr %16, align 8, !tbaa !5
  %293 = load ptr, ptr %8, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ImGuiContext, ptr %293, i32 0, i32 82
  store ptr %292, ptr %294, align 8, !tbaa !89
  br label %295

295:                                              ; preds = %291, %286
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #11
  store i8 0, ptr %32, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #11
  store i8 0, ptr %33, align 1, !tbaa !9
  %296 = load ptr, ptr %6, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.ImGuiWindow, ptr %296, i32 0, i32 53
  %298 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %297, i32 0, i32 33
  %299 = load i32, ptr %298, align 4, !tbaa !92
  %300 = icmp eq i32 %299, 1
  br i1 %300, label %301, label %523

301:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #11
  store i8 0, ptr %34, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  %302 = load ptr, ptr %8, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.ImGuiContext, ptr %302, i32 0, i32 81
  %304 = getelementptr inbounds %struct.ImVector.16, ptr %303, i32 0, i32 0
  %305 = load i32, ptr %304, align 8, !tbaa !86
  %306 = load ptr, ptr %8, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.ImGuiContext, ptr %306, i32 0, i32 80
  %308 = getelementptr inbounds %struct.ImVector.16, ptr %307, i32 0, i32 0
  %309 = load i32, ptr %308, align 8, !tbaa !45
  %310 = icmp slt i32 %305, %309
  br i1 %310, label %311, label %333

311:                                              ; preds = %301
  %312 = load ptr, ptr %8, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.ImGuiContext, ptr %312, i32 0, i32 80
  %314 = load ptr, ptr %8, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiContext, ptr %314, i32 0, i32 81
  %316 = getelementptr inbounds %struct.ImVector.16, ptr %315, i32 0, i32 0
  %317 = load i32, ptr %316, align 8, !tbaa !86
  %318 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %313, i32 noundef %317)
  %319 = getelementptr inbounds %struct.ImGuiPopupData, ptr %318, i32 0, i32 2
  %320 = load ptr, ptr %319, align 8, !tbaa !102
  %321 = load ptr, ptr %6, align 8, !tbaa !5
  %322 = icmp eq ptr %320, %321
  br i1 %322, label %323, label %333

323:                                              ; preds = %311
  %324 = load ptr, ptr %8, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.ImGuiContext, ptr %324, i32 0, i32 80
  %326 = load ptr, ptr %8, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImGuiContext, ptr %326, i32 0, i32 81
  %328 = getelementptr inbounds %struct.ImVector.16, ptr %327, i32 0, i32 0
  %329 = load i32, ptr %328, align 8, !tbaa !86
  %330 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %325, i32 noundef %329)
  %331 = getelementptr inbounds %struct.ImGuiPopupData, ptr %330, i32 0, i32 1
  %332 = load ptr, ptr %331, align 8, !tbaa !103
  br label %334

333:                                              ; preds = %311, %301
  br label %334

334:                                              ; preds = %333, %323
  %335 = phi ptr [ %332, %323 ], [ null, %333 ]
  store ptr %335, ptr %35, align 8, !tbaa !5
  %336 = load ptr, ptr %8, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.ImGuiContext, ptr %336, i32 0, i32 30
  %338 = load ptr, ptr %337, align 8, !tbaa !104
  %339 = load ptr, ptr %6, align 8, !tbaa !5
  %340 = icmp eq ptr %338, %339
  br i1 %340, label %341, label %443

341:                                              ; preds = %334
  %342 = load ptr, ptr %35, align 8, !tbaa !5
  %343 = icmp ne ptr %342, null
  br i1 %343, label %344, label %443

344:                                              ; preds = %341
  %345 = load ptr, ptr %6, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.ImGuiWindow, ptr %345, i32 0, i32 2
  %347 = load i32, ptr %346, align 4, !tbaa !44
  %348 = and i32 %347, 1024
  %349 = icmp ne i32 %348, 0
  br i1 %349, label %443, label %350

350:                                              ; preds = %344
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #11
  %351 = load ptr, ptr %35, align 8, !tbaa !5
  %352 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(993) %351)
  %353 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %36, i32 0, i32 0
  %354 = extractvalue { <2 x float>, <2 x float> } %352, 0
  store <2 x float> %354, ptr %353, align 4
  %355 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %36, i32 0, i32 1
  %356 = extractvalue { <2 x float>, <2 x float> } %352, 1
  store <2 x float> %356, ptr %355, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #11
  %357 = load ptr, ptr %8, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.ImGuiContext, ptr %357, i32 0, i32 3
  %359 = getelementptr inbounds %struct.ImGuiIO, ptr %358, i32 0, i32 36
  %360 = load ptr, ptr %8, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.ImGuiContext, ptr %360, i32 0, i32 3
  %362 = getelementptr inbounds %struct.ImGuiIO, ptr %361, i32 0, i32 59
  %363 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %359, ptr noundef nonnull align 4 dereferenceable(8) %362)
  store <2 x float> %363, ptr %37, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #11
  %364 = load ptr, ptr %6, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.ImGuiWindow, ptr %364, i32 0, i32 3
  %366 = getelementptr inbounds %struct.ImVec2, ptr %365, i32 0, i32 0
  %367 = load float, ptr %366, align 8, !tbaa !105
  %368 = load ptr, ptr %35, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.ImGuiWindow, ptr %368, i32 0, i32 3
  %370 = getelementptr inbounds %struct.ImVec2, ptr %369, i32 0, i32 0
  %371 = load float, ptr %370, align 8, !tbaa !105
  %372 = fcmp olt float %367, %371
  br i1 %372, label %373, label %375

373:                                              ; preds = %350
  %374 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %36)
  store <2 x float> %374, ptr %38, align 4
  br label %377

375:                                              ; preds = %350
  %376 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %36)
  store <2 x float> %376, ptr %38, align 4
  br label %377

377:                                              ; preds = %375, %373
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #11
  %378 = load ptr, ptr %6, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.ImGuiWindow, ptr %378, i32 0, i32 3
  %380 = getelementptr inbounds %struct.ImVec2, ptr %379, i32 0, i32 0
  %381 = load float, ptr %380, align 8, !tbaa !105
  %382 = load ptr, ptr %35, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.ImGuiWindow, ptr %382, i32 0, i32 3
  %384 = getelementptr inbounds %struct.ImVec2, ptr %383, i32 0, i32 0
  %385 = load float, ptr %384, align 8, !tbaa !105
  %386 = fcmp olt float %381, %385
  br i1 %386, label %387, label %389

387:                                              ; preds = %377
  %388 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %36)
  store <2 x float> %388, ptr %39, align 4
  br label %391

389:                                              ; preds = %377
  %390 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %36)
  store <2 x float> %390, ptr %39, align 4
  br label %391

391:                                              ; preds = %389, %387
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #11
  %392 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %393 = load float, ptr %392, align 4, !tbaa !93
  %394 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 0
  %395 = load float, ptr %394, align 4, !tbaa !93
  %396 = fsub float %393, %395
  %397 = call float @llvm.fabs.f32(float %396)
  %398 = fmul float %397, 0x3FD3333340000000
  %399 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %398, float noundef 5.000000e+00, float noundef 3.000000e+01)
  store float %399, ptr %40, align 4, !tbaa !91
  %400 = load ptr, ptr %6, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.ImGuiWindow, ptr %400, i32 0, i32 3
  %402 = getelementptr inbounds %struct.ImVec2, ptr %401, i32 0, i32 0
  %403 = load float, ptr %402, align 8, !tbaa !105
  %404 = load ptr, ptr %35, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.ImGuiWindow, ptr %404, i32 0, i32 3
  %406 = getelementptr inbounds %struct.ImVec2, ptr %405, i32 0, i32 0
  %407 = load float, ptr %406, align 8, !tbaa !105
  %408 = fcmp olt float %403, %407
  %409 = zext i1 %408 to i64
  %410 = select i1 %408, float -5.000000e-01, float 5.000000e-01
  %411 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %412 = load float, ptr %411, align 4, !tbaa !93
  %413 = fadd float %412, %410
  store float %413, ptr %411, align 4, !tbaa !93
  %414 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  %415 = load float, ptr %414, align 4, !tbaa !95
  %416 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 1
  %417 = load float, ptr %416, align 4, !tbaa !95
  %418 = load float, ptr %40, align 4, !tbaa !91
  %419 = fsub float %417, %418
  %420 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  %421 = load float, ptr %420, align 4, !tbaa !95
  %422 = fsub float %419, %421
  %423 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %422, float noundef -1.000000e+02)
  %424 = fadd float %415, %423
  %425 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 1
  store float %424, ptr %425, align 4, !tbaa !95
  %426 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  %427 = load float, ptr %426, align 4, !tbaa !95
  %428 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 1
  %429 = load float, ptr %428, align 4, !tbaa !95
  %430 = load float, ptr %40, align 4, !tbaa !91
  %431 = fadd float %429, %430
  %432 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  %433 = load float, ptr %432, align 4, !tbaa !95
  %434 = fsub float %431, %433
  %435 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %434, float noundef 1.000000e+02)
  %436 = fadd float %427, %435
  %437 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 1
  store float %436, ptr %437, align 4, !tbaa !95
  %438 = load ptr, ptr %8, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.ImGuiContext, ptr %438, i32 0, i32 3
  %440 = getelementptr inbounds %struct.ImGuiIO, ptr %439, i32 0, i32 36
  %441 = call noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef nonnull align 4 dereferenceable(8) %440)
  %442 = zext i1 %441 to i8
  store i8 %442, ptr %34, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #11
  br label %443

443:                                              ; preds = %391, %344, %341, %334
  %444 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %445 = trunc i8 %444 to i1
  br i1 %445, label %446, label %470

446:                                              ; preds = %443
  %447 = load i8, ptr %31, align 1, !tbaa !9, !range !41, !noundef !42
  %448 = trunc i8 %447 to i1
  br i1 %448, label %470, label %449

449:                                              ; preds = %446
  %450 = load ptr, ptr %8, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.ImGuiContext, ptr %450, i32 0, i32 30
  %452 = load ptr, ptr %451, align 8, !tbaa !104
  %453 = load ptr, ptr %6, align 8, !tbaa !5
  %454 = icmp eq ptr %452, %453
  br i1 %454, label %455, label %470

455:                                              ; preds = %449
  %456 = load ptr, ptr %8, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct.ImGuiContext, ptr %456, i32 0, i32 38
  %458 = load i32, ptr %457, align 8, !tbaa !106
  %459 = icmp ne i32 %458, 0
  br i1 %459, label %460, label %470

460:                                              ; preds = %455
  %461 = load ptr, ptr %8, align 8, !tbaa !5
  %462 = getelementptr inbounds %struct.ImGuiContext, ptr %461, i32 0, i32 38
  %463 = load i32, ptr %462, align 8, !tbaa !106
  %464 = load i32, ptr %10, align 4, !tbaa !43
  %465 = icmp ne i32 %463, %464
  br i1 %465, label %466, label %470

466:                                              ; preds = %460
  %467 = load i8, ptr %34, align 1, !tbaa !9, !range !41, !noundef !42
  %468 = trunc i8 %467 to i1
  br i1 %468, label %470, label %469

469:                                              ; preds = %466
  store i8 1, ptr %33, align 1, !tbaa !9
  br label %470

470:                                              ; preds = %469, %466, %460, %455, %449, %446, %443
  %471 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %472 = trunc i8 %471 to i1
  br i1 %472, label %480, label %473

473:                                              ; preds = %470
  %474 = load i8, ptr %31, align 1, !tbaa !9, !range !41, !noundef !42
  %475 = trunc i8 %474 to i1
  br i1 %475, label %476, label %480

476:                                              ; preds = %473
  %477 = load i8, ptr %14, align 1, !tbaa !9, !range !41, !noundef !42
  %478 = trunc i8 %477 to i1
  br i1 %478, label %479, label %480

479:                                              ; preds = %476
  store i8 1, ptr %32, align 1, !tbaa !9
  br label %491

480:                                              ; preds = %476, %473, %470
  %481 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %482 = trunc i8 %481 to i1
  br i1 %482, label %490, label %483

483:                                              ; preds = %480
  %484 = load i8, ptr %31, align 1, !tbaa !9, !range !41, !noundef !42
  %485 = trunc i8 %484 to i1
  br i1 %485, label %486, label %490

486:                                              ; preds = %483
  %487 = load i8, ptr %34, align 1, !tbaa !9, !range !41, !noundef !42
  %488 = trunc i8 %487 to i1
  br i1 %488, label %490, label %489

489:                                              ; preds = %486
  store i8 1, ptr %32, align 1, !tbaa !9
  br label %490

490:                                              ; preds = %489, %486, %483, %480
  br label %491

491:                                              ; preds = %490, %479
  %492 = load ptr, ptr %8, align 8, !tbaa !5
  %493 = getelementptr inbounds %struct.ImGuiContext, ptr %492, i32 0, i32 85
  %494 = load i32, ptr %493, align 8, !tbaa !107
  %495 = load i32, ptr %10, align 4, !tbaa !43
  %496 = icmp eq i32 %494, %495
  br i1 %496, label %497, label %505

497:                                              ; preds = %491
  %498 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %499 = trunc i8 %498 to i1
  %500 = zext i1 %499 to i8
  store i8 %500, ptr %33, align 1, !tbaa !9
  %501 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %502 = trunc i8 %501 to i1
  %503 = xor i1 %502, true
  %504 = zext i1 %503 to i8
  store i8 %504, ptr %32, align 1, !tbaa !9
  br label %505

505:                                              ; preds = %497, %491
  %506 = load ptr, ptr %8, align 8, !tbaa !5
  %507 = getelementptr inbounds %struct.ImGuiContext, ptr %506, i32 0, i32 83
  %508 = load i32, ptr %507, align 8, !tbaa !108
  %509 = load i32, ptr %10, align 4, !tbaa !43
  %510 = icmp eq i32 %508, %509
  br i1 %510, label %511, label %522

511:                                              ; preds = %505
  %512 = load ptr, ptr %8, align 8, !tbaa !5
  %513 = getelementptr inbounds %struct.ImGuiContext, ptr %512, i32 0, i32 109
  %514 = load i8, ptr %513, align 8, !tbaa !109, !range !41, !noundef !42
  %515 = trunc i8 %514 to i1
  br i1 %515, label %516, label %522

516:                                              ; preds = %511
  %517 = load ptr, ptr %8, align 8, !tbaa !5
  %518 = getelementptr inbounds %struct.ImGuiContext, ptr %517, i32 0, i32 114
  %519 = load i32, ptr %518, align 8, !tbaa !110
  %520 = icmp eq i32 %519, 1
  br i1 %520, label %521, label %522

521:                                              ; preds = %516
  store i8 1, ptr %32, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %522

522:                                              ; preds = %521, %516, %511, %505
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #11
  br label %566

523:                                              ; preds = %295
  %524 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %525 = trunc i8 %524 to i1
  br i1 %525, label %526, label %533

526:                                              ; preds = %523
  %527 = load i8, ptr %14, align 1, !tbaa !9, !range !41, !noundef !42
  %528 = trunc i8 %527 to i1
  br i1 %528, label %529, label %533

529:                                              ; preds = %526
  %530 = load i8, ptr %15, align 1, !tbaa !9, !range !41, !noundef !42
  %531 = trunc i8 %530 to i1
  br i1 %531, label %532, label %533

532:                                              ; preds = %529
  store i8 1, ptr %33, align 1, !tbaa !9
  store i8 0, ptr %11, align 1, !tbaa !9
  store i8 0, ptr %32, align 1, !tbaa !9
  br label %565

533:                                              ; preds = %529, %526, %523
  %534 = load i8, ptr %14, align 1, !tbaa !9, !range !41, !noundef !42
  %535 = trunc i8 %534 to i1
  br i1 %535, label %545, label %536

536:                                              ; preds = %533
  %537 = load i8, ptr %31, align 1, !tbaa !9, !range !41, !noundef !42
  %538 = trunc i8 %537 to i1
  br i1 %538, label %539, label %546

539:                                              ; preds = %536
  %540 = load i8, ptr %15, align 1, !tbaa !9, !range !41, !noundef !42
  %541 = trunc i8 %540 to i1
  br i1 %541, label %542, label %546

542:                                              ; preds = %539
  %543 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %544 = trunc i8 %543 to i1
  br i1 %544, label %546, label %545

545:                                              ; preds = %542, %533
  store i8 1, ptr %32, align 1, !tbaa !9
  br label %564

546:                                              ; preds = %542, %539, %536
  %547 = load ptr, ptr %8, align 8, !tbaa !5
  %548 = getelementptr inbounds %struct.ImGuiContext, ptr %547, i32 0, i32 83
  %549 = load i32, ptr %548, align 8, !tbaa !108
  %550 = load i32, ptr %10, align 4, !tbaa !43
  %551 = icmp eq i32 %549, %550
  br i1 %551, label %552, label %563

552:                                              ; preds = %546
  %553 = load ptr, ptr %8, align 8, !tbaa !5
  %554 = getelementptr inbounds %struct.ImGuiContext, ptr %553, i32 0, i32 109
  %555 = load i8, ptr %554, align 8, !tbaa !109, !range !41, !noundef !42
  %556 = trunc i8 %555 to i1
  br i1 %556, label %557, label %563

557:                                              ; preds = %552
  %558 = load ptr, ptr %8, align 8, !tbaa !5
  %559 = getelementptr inbounds %struct.ImGuiContext, ptr %558, i32 0, i32 114
  %560 = load i32, ptr %559, align 8, !tbaa !110
  %561 = icmp eq i32 %560, 3
  br i1 %561, label %562, label %563

562:                                              ; preds = %557
  store i8 1, ptr %32, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %563

563:                                              ; preds = %562, %557, %552, %546
  br label %564

564:                                              ; preds = %563, %545
  br label %565

565:                                              ; preds = %564, %532
  br label %566

566:                                              ; preds = %565, %522
  %567 = load i8, ptr %5, align 1, !tbaa !9, !range !41, !noundef !42
  %568 = trunc i8 %567 to i1
  br i1 %568, label %570, label %569

569:                                              ; preds = %566
  store i8 1, ptr %33, align 1, !tbaa !9
  br label %570

570:                                              ; preds = %569, %566
  %571 = load i8, ptr %33, align 1, !tbaa !9, !range !41, !noundef !42
  %572 = trunc i8 %571 to i1
  br i1 %572, label %573, label %581

573:                                              ; preds = %570
  %574 = load i32, ptr %10, align 4, !tbaa !43
  %575 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %574, i32 noundef 0)
  br i1 %575, label %576, label %581

576:                                              ; preds = %573
  %577 = load ptr, ptr %8, align 8, !tbaa !5
  %578 = getelementptr inbounds %struct.ImGuiContext, ptr %577, i32 0, i32 81
  %579 = getelementptr inbounds %struct.ImVector.16, ptr %578, i32 0, i32 0
  %580 = load i32, ptr %579, align 8, !tbaa !86
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %580, i1 noundef zeroext true)
  br label %581

581:                                              ; preds = %576, %573, %570
  br label %582

582:                                              ; preds = %581
  br label %583

583:                                              ; preds = %582
  br label %584

584:                                              ; preds = %583
  %585 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %586 = trunc i8 %585 to i1
  br i1 %586, label %602, label %587

587:                                              ; preds = %584
  %588 = load i8, ptr %32, align 1, !tbaa !9, !range !41, !noundef !42
  %589 = trunc i8 %588 to i1
  br i1 %589, label %590, label %602

590:                                              ; preds = %587
  %591 = load ptr, ptr %8, align 8, !tbaa !5
  %592 = getelementptr inbounds %struct.ImGuiContext, ptr %591, i32 0, i32 80
  %593 = getelementptr inbounds %struct.ImVector.16, ptr %592, i32 0, i32 0
  %594 = load i32, ptr %593, align 8, !tbaa !45
  %595 = load ptr, ptr %8, align 8, !tbaa !5
  %596 = getelementptr inbounds %struct.ImGuiContext, ptr %595, i32 0, i32 81
  %597 = getelementptr inbounds %struct.ImVector.16, ptr %596, i32 0, i32 0
  %598 = load i32, ptr %597, align 8, !tbaa !86
  %599 = icmp sgt i32 %594, %598
  br i1 %599, label %600, label %602

600:                                              ; preds = %590
  %601 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %601, i32 noundef 0)
  store i1 false, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %630

602:                                              ; preds = %590, %587, %584
  %603 = load i8, ptr %32, align 1, !tbaa !9, !range !41, !noundef !42
  %604 = trunc i8 %603 to i1
  %605 = zext i1 %604 to i32
  %606 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %607 = trunc i8 %606 to i1
  %608 = zext i1 %607 to i32
  %609 = or i32 %608, %605
  %610 = icmp ne i32 %609, 0
  %611 = zext i1 %610 to i8
  store i8 %611, ptr %11, align 1, !tbaa !9
  %612 = load i8, ptr %32, align 1, !tbaa !9, !range !41, !noundef !42
  %613 = trunc i8 %612 to i1
  br i1 %613, label %614, label %616

614:                                              ; preds = %602
  %615 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %615, i32 noundef 0)
  br label %616

616:                                              ; preds = %614, %602
  %617 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %618 = trunc i8 %617 to i1
  br i1 %618, label %619, label %624

619:                                              ; preds = %616
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %17, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %41)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #11
  %620 = load i32, ptr %10, align 4, !tbaa !43
  %621 = load i32, ptr %12, align 4, !tbaa !43
  %622 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %620, i32 noundef %621)
  %623 = zext i1 %622 to i8
  store i8 %623, ptr %11, align 1, !tbaa !9
  br label %627

624:                                              ; preds = %616
  %625 = load ptr, ptr %8, align 8, !tbaa !5
  %626 = getelementptr inbounds %struct.ImGuiContext, ptr %625, i32 0, i32 71
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %626)
  br label %627

627:                                              ; preds = %624, %619
  %628 = load i8, ptr %11, align 1, !tbaa !9, !range !41, !noundef !42
  %629 = trunc i8 %628 to i1
  store i1 %629, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %630

630:                                              ; preds = %627, %600
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  br label %631

631:                                              ; preds = %630, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #11
  br label %632

632:                                              ; preds = %631, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #11
  %633 = load i1, ptr %3, align 1
  ret i1 %633
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

declare noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef, i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(993)) #2 align 2

declare <2 x float> @_ZN5ImGui21GetContentRegionAvailEv() #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16)) #10 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16)) #8 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16)) #10 align 2

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

declare void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef, i1 noundef zeroext) #4

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


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

@GImGui = external local_unnamed_addr global ptr, align 8

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() 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: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #1

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #3

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

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

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

; 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 i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #3

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

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(993), ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(993)) local_unnamed_addr #6 align 2

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

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

declare noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #7 align 2

declare void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

declare void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef, i1 noundef zeroext, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #7

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

declare void @_ZN5ImGui9OpenPopupEPKci(ptr noundef, i32 noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

declare void @_ZN5ImGui20NavMoveRequestCancelEv() local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEfff(ptr noundef nonnull align 4 dereferenceable(36), float noundef, float noundef, float noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef %0, i1 noundef zeroext %1) local_unnamed_addr #7 {
  %3 = alloca i32, align 4
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, 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 8
  %16 = alloca %struct.ImVec2, align 4
  %17 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %18 = getelementptr inbounds i8, ptr %17, i64 147
  %19 = load i8, ptr %18, align 1, !tbaa !5, !range !39, !noundef !40
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %283, label %21

21:                                               ; preds = %2
  %22 = load ptr, ptr @GImGui, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #10
  %23 = tail call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(993) %17, ptr noundef %0, ptr noundef null)
  store i32 %23, ptr %3, align 4, !tbaa !42
  %24 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %23, i32 noundef 0)
  %25 = getelementptr inbounds i8, ptr %17, i64 12
  %26 = load i32, ptr %25, align 4, !tbaa !43
  %27 = and i32 %26, 335544320
  %.not = icmp eq i32 %27, 0
  %spec.select = select i1 %.not, i32 268960069, i32 285737285
  %28 = getelementptr inbounds i8, ptr %22, i64 12480
  %29 = call noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(4) %3)
  br i1 %29, label %30, label %36

30:                                               ; preds = %21
  br i1 %24, label %31, label %34

31:                                               ; preds = %30
  %32 = load i32, ptr %3, align 4, !tbaa !42
  %33 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %32, i32 noundef %spec.select)
  br label %282

34:                                               ; preds = %30
  %35 = getelementptr inbounds i8, ptr %22, i64 7048
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %35)
  br label %282

36:                                               ; preds = %21
  call void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %37 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %0, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  %38 = load i32, ptr %25, align 4, !tbaa !43
  %39 = and i32 %38, 67108864
  %.not149 = icmp eq i32 %39, 0
  br i1 %.not149, label %40, label %.thread

40:                                               ; preds = %36
  %41 = getelementptr inbounds i8, ptr %22, i64 7280
  %42 = load i32, ptr %41, align 8, !tbaa !44
  %43 = getelementptr inbounds i8, ptr %22, i64 7296
  %44 = load i32, ptr %43, align 8, !tbaa !85
  %45 = icmp sgt i32 %42, %44
  br i1 %45, label %48, label %.thread

.thread:                                          ; preds = %36, %40
  %46 = getelementptr inbounds i8, ptr %22, i64 7312
  %47 = load ptr, ptr %46, align 8, !tbaa !86
  br label %59

48:                                               ; preds = %40
  %49 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %41, i32 noundef %44)
  %50 = getelementptr inbounds i8, ptr %49, i64 28
  %51 = load i32, ptr %50, align 4, !tbaa !87
  %52 = getelementptr inbounds i8, ptr %17, i64 200
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %52)
  %54 = load i32, ptr %53, align 4, !tbaa !42
  %55 = icmp eq i32 %51, %54
  %56 = getelementptr inbounds i8, ptr %22, i64 7312
  %57 = load ptr, ptr %56, align 8, !tbaa !86
  br i1 %55, label %58, label %59

58:                                               ; preds = %48
  store ptr %17, ptr %56, align 8, !tbaa !86
  br label %59

59:                                               ; preds = %.thread, %58, %48
  %60 = phi ptr [ %47, %.thread ], [ %57, %58 ], [ %57, %48 ]
  %61 = phi ptr [ %46, %.thread ], [ %56, %58 ], [ %56, %48 ]
  %62 = phi i1 [ false, %.thread ], [ true, %58 ], [ false, %48 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  %63 = getelementptr inbounds i8, ptr %17, i64 216
  %64 = load i64, ptr %63, align 8
  store i64 %64, ptr %5, align 8
  %65 = getelementptr inbounds i8, ptr %17, i64 444
  %66 = load i32, ptr %65, align 4, !tbaa !89
  %67 = icmp eq i32 %66, 0
  %68 = trunc i64 %64 to i32
  %69 = bitcast i32 %68 to float
  %70 = lshr i64 %64, 32
  %71 = trunc nuw i64 %70 to i32
  %72 = bitcast i32 %71 to float
  br i1 %67, label %73, label %104

73:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  %74 = fadd float %69, -1.000000e+00
  %75 = getelementptr inbounds i8, ptr %22, i64 5544
  %76 = load float, ptr %75, align 4, !tbaa !90
  %77 = fmul float %76, 5.000000e-01
  %78 = fptosi float %77 to i32
  %79 = sitofp i32 %78 to float
  %80 = fsub float %74, %79
  %81 = getelementptr inbounds i8, ptr %22, i64 5532
  %82 = load float, ptr %81, align 4, !tbaa !91
  %83 = fsub float %72, %82
  %84 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(993) %17)
  %85 = fadd float %83, %84
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %80, float noundef %85)
  %86 = load i64, ptr %6, align 8
  store i64 %86, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  %87 = load float, ptr %75, align 4, !tbaa !90
  %88 = fmul float %87, 5.000000e-01
  %89 = fptosi float %88 to i32
  %90 = sitofp i32 %89 to float
  %91 = load float, ptr %63, align 8, !tbaa !92
  %92 = fadd float %91, %90
  store float %92, ptr %63, align 8, !tbaa !92
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  %93 = fmul float %87, 2.000000e+00
  %94 = getelementptr inbounds i8, ptr %22, i64 5548
  %95 = load float, ptr %94, align 4, !tbaa !93
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %93, float noundef %95)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 13, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  %.sroa.031.0.vec.extract = extractelement <2 x float> %37, i64 0
  %96 = select i1 %1, i32 3145729, i32 3145737
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %.sroa.031.0.vec.extract, float noundef 0.000000e+00)
  %97 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %0, i1 noundef zeroext %24, i32 noundef %96, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %98 = load float, ptr %75, align 4, !tbaa !90
  %99 = fmul float %98, -5.000000e-01
  %100 = fptosi float %99 to i32
  %101 = sitofp i32 %100 to float
  %102 = load float, ptr %63, align 8, !tbaa !92
  %103 = fadd float %102, %101
  store float %103, ptr %63, align 8, !tbaa !92
  br label %131

104:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  %105 = getelementptr inbounds i8, ptr %22, i64 5480
  %106 = load float, ptr %105, align 4, !tbaa !94
  %107 = fsub float %72, %106
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %69, float noundef %107)
  %108 = load i64, ptr %9, align 8
  store i64 %108, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  %109 = getelementptr inbounds i8, ptr %17, i64 360
  %.sroa.031.0.vec.extract33 = extractelement <2 x float> %37, i64 0
  %110 = getelementptr inbounds i8, ptr %22, i64 6528
  %111 = load float, ptr %110, align 8, !tbaa !95
  %112 = fmul float %111, 0x3FF3333340000000
  %113 = fptosi float %112 to i32
  %114 = sitofp i32 %113 to float
  %115 = call noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEfff(ptr noundef nonnull align 4 dereferenceable(36) %109, float noundef %.sroa.031.0.vec.extract33, float noundef 0.000000e+00, float noundef %114)
  %116 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  %.sroa.018.0.vec.extract = extractelement <2 x float> %116, i64 0
  %117 = fsub float %.sroa.018.0.vec.extract, %115
  %118 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %117)
  %119 = select i1 %1, i32 11534337, i32 11534345
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %115, float noundef 0.000000e+00)
  %120 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %0, i1 noundef zeroext %24, i32 noundef %119, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  %not. = xor i1 %1, true
  %121 = zext i1 %not. to i32
  %122 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %121, float noundef 1.000000e+00)
  %123 = getelementptr inbounds i8, ptr %17, i64 696
  %124 = load ptr, ptr %123, align 8, !tbaa !96
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  %125 = getelementptr inbounds i8, ptr %17, i64 380
  %126 = load float, ptr %125, align 4, !tbaa !97
  %127 = fadd float %118, %126
  %128 = load float, ptr %110, align 8, !tbaa !95
  %129 = call float @llvm.fmuladd.f32(float %128, float 0x3FD3333340000000, float %127)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %129, float noundef 0.000000e+00)
  %130 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %124, <2 x float> %130, i32 noundef %122, i32 noundef 1, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br label %131

131:                                              ; preds = %104, %73
  %.0143.in = phi i1 [ %97, %73 ], [ %120, %104 ]
  br i1 %1, label %132, label %136

132:                                              ; preds = %131
  %133 = getelementptr inbounds i8, ptr %17, i64 300
  %134 = load i32, ptr %3, align 4, !tbaa !42
  %135 = call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %133, i32 noundef %134)
  br label %136

136:                                              ; preds = %132, %131
  %137 = phi i1 [ false, %131 ], [ %135, %132 ]
  br i1 %62, label %138, label %139

138:                                              ; preds = %136
  store ptr %60, ptr %61, align 8, !tbaa !86
  br label %139

139:                                              ; preds = %138, %136
  %140 = load i32, ptr %65, align 4, !tbaa !89
  %141 = icmp eq i32 %140, 1
  br i1 %141, label %142, label %244

142:                                              ; preds = %139
  %143 = getelementptr inbounds i8, ptr %22, i64 7296
  %144 = load i32, ptr %143, align 8, !tbaa !85
  %145 = getelementptr inbounds i8, ptr %22, i64 7280
  %146 = load i32, ptr %145, align 8, !tbaa !44
  %147 = icmp slt i32 %144, %146
  br i1 %147, label %148, label %.thread181

148:                                              ; preds = %142
  %149 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %145, i32 noundef %144)
  %150 = getelementptr inbounds i8, ptr %149, i64 16
  %151 = load ptr, ptr %150, align 8, !tbaa !98
  %152 = icmp eq ptr %151, %17
  br i1 %152, label %154, label %.thread181

.thread181:                                       ; preds = %148, %142
  %153 = getelementptr inbounds i8, ptr %22, i64 6888
  br label %218

154:                                              ; preds = %148
  %155 = load i32, ptr %143, align 8, !tbaa !85
  %156 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %145, i32 noundef %155)
  %157 = getelementptr inbounds i8, ptr %156, i64 8
  %158 = load ptr, ptr %157, align 8, !tbaa !99
  %159 = getelementptr inbounds i8, ptr %22, i64 6888
  %160 = load ptr, ptr %159, align 8, !tbaa !100
  %161 = icmp eq ptr %160, %17
  %162 = icmp ne ptr %158, null
  %or.cond = select i1 %161, i1 %162, i1 false
  br i1 %or.cond, label %163, label %218

163:                                              ; preds = %154
  %164 = load i32, ptr %25, align 4, !tbaa !43
  %165 = and i32 %164, 1024
  %.not150 = icmp eq i32 %165, 0
  br i1 %.not150, label %166, label %218

166:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #10
  %167 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(993) %158)
  %168 = extractvalue { <2 x float>, <2 x float> } %167, 0
  store <2 x float> %168, ptr %12, align 8
  %169 = getelementptr inbounds i8, ptr %12, i64 8
  %170 = extractvalue { <2 x float>, <2 x float> } %167, 1
  store <2 x float> %170, ptr %169, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  %171 = getelementptr inbounds i8, ptr %22, i64 296
  %172 = getelementptr inbounds i8, ptr %22, i64 952
  %173 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %171, ptr noundef nonnull align 4 dereferenceable(8) %172)
  store <2 x float> %173, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  %174 = getelementptr inbounds i8, ptr %17, i64 16
  %175 = load float, ptr %174, align 8, !tbaa !101
  %176 = getelementptr inbounds i8, ptr %158, i64 16
  %177 = load float, ptr %176, align 8, !tbaa !101
  %178 = fcmp olt float %175, %177
  %179 = extractelement <2 x float> %173, i64 0
  %180 = extractelement <2 x float> %173, i64 1
  br i1 %178, label %181, label %183

181:                                              ; preds = %166
  %182 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %12)
  br label %185

183:                                              ; preds = %166
  %184 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %12)
  br label %185

185:                                              ; preds = %183, %181
  %storemerge = phi <2 x float> [ %184, %183 ], [ %182, %181 ]
  store <2 x float> %storemerge, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  %186 = load float, ptr %174, align 8, !tbaa !101
  %187 = load float, ptr %176, align 8, !tbaa !101
  %188 = fcmp olt float %186, %187
  %189 = extractelement <2 x float> %storemerge, i64 1
  br i1 %188, label %190, label %192

190:                                              ; preds = %185
  %191 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %12)
  br label %194

192:                                              ; preds = %185
  %193 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %12)
  br label %194

194:                                              ; preds = %192, %190
  %storemerge151 = phi <2 x float> [ %193, %192 ], [ %191, %190 ]
  store <2 x float> %storemerge151, ptr %15, align 8
  %195 = fsub <2 x float> %173, %storemerge
  %196 = extractelement <2 x float> %195, i64 0
  %197 = call float @llvm.fabs.f32(float %196)
  %198 = fmul float %197, 0x3FD3333340000000
  %199 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %198, float noundef 5.000000e+00, float noundef 3.000000e+01)
  %200 = load float, ptr %174, align 8, !tbaa !101
  %201 = load float, ptr %176, align 8, !tbaa !101
  %202 = fcmp olt float %200, %201
  %203 = select i1 %202, float -5.000000e-01, float 5.000000e-01
  %204 = fadd float %179, %203
  store float %204, ptr %13, align 8, !tbaa !102
  %205 = getelementptr inbounds i8, ptr %14, i64 4
  %206 = fsub float %189, %199
  %207 = fsub float %206, %180
  %208 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %207, float noundef -1.000000e+02)
  %209 = fadd float %180, %208
  store float %209, ptr %205, align 4, !tbaa !103
  %210 = getelementptr inbounds i8, ptr %15, i64 4
  %211 = extractelement <2 x float> %storemerge151, i64 1
  %212 = fadd float %199, %211
  %213 = fsub float %212, %180
  %214 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %213, float noundef 1.000000e+02)
  %215 = fadd float %180, %214
  store float %215, ptr %210, align 4, !tbaa !103
  %216 = call noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %171)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #10
  %217 = xor i1 %216, true
  br label %218

218:                                              ; preds = %.thread181, %194, %163, %154
  %219 = phi ptr [ %159, %163 ], [ %159, %194 ], [ %159, %154 ], [ %153, %.thread181 ]
  %.0131 = phi i1 [ true, %163 ], [ %217, %194 ], [ true, %154 ], [ true, %.thread181 ]
  %.not154 = xor i1 %24, true
  %brmerge = or i1 %137, %.not154
  br i1 %brmerge, label %._crit_edge, label %220

._crit_edge:                                      ; preds = %218
  %.pre = load i32, ptr %3, align 4, !tbaa !42
  br label %226

220:                                              ; preds = %218
  %221 = load ptr, ptr %219, align 8, !tbaa !100
  %222 = icmp eq ptr %221, %17
  %.pre188 = load i32, ptr %3, align 4
  br i1 %222, label %223, label %226

223:                                              ; preds = %220
  %224 = getelementptr inbounds i8, ptr %22, i64 6944
  %225 = load i32, ptr %224, align 8, !tbaa !104
  %.not152 = icmp ne i32 %225, 0
  %.not153 = icmp ne i32 %225, %.pre188
  %or.cond155.not = select i1 %.not152, i1 %.not153, i1 false
  %spec.select179 = and i1 %.0131, %or.cond155.not
  br label %226

226:                                              ; preds = %._crit_edge, %223, %220
  %227 = phi i32 [ %.pre188, %220 ], [ %.pre, %._crit_edge ], [ %.pre188, %223 ]
  %.0132 = phi i1 [ false, %220 ], [ false, %._crit_edge ], [ %spec.select179, %223 ]
  %.not157 = xor i1 %137, true
  %228 = and i1 %.0143.in, %.not154
  %brmerge159.not = and i1 %228, %137
  %229 = or i1 %24, %.not157
  %brmerge162 = or i1 %.0143.in, %229
  %.0135.v = select i1 %brmerge162, i1 %brmerge159.not, i1 %.0131
  %230 = getelementptr inbounds i8, ptr %22, i64 7328
  %231 = load i32, ptr %230, align 8, !tbaa !105
  %232 = icmp eq i32 %231, %227
  %.1136.v = select i1 %232, i1 %.not154, i1 %.0135.v
  %.1133 = select i1 %232, i1 %24, i1 %.0132
  %233 = getelementptr inbounds i8, ptr %22, i64 7320
  %234 = load i32, ptr %233, align 8, !tbaa !106
  %235 = icmp eq i32 %234, %227
  br i1 %235, label %236, label %259

236:                                              ; preds = %226
  %237 = getelementptr inbounds i8, ptr %22, i64 7424
  %238 = load i8, ptr %237, align 8, !tbaa !107, !range !39, !noundef !40
  %239 = trunc nuw i8 %238 to i1
  br i1 %239, label %240, label %259

240:                                              ; preds = %236
  %241 = getelementptr inbounds i8, ptr %22, i64 7440
  %242 = load i32, ptr %241, align 8, !tbaa !108
  %243 = icmp eq i32 %242, 1
  br i1 %243, label %.sink.split, label %259

244:                                              ; preds = %139
  %brmerge166.demorgan = and i1 %24, %.0143.in
  %brmerge168.not184 = and i1 %62, %brmerge166.demorgan
  %.mux176 = xor i1 %24, %brmerge168.not184
  %not.brmerge168.not184 = xor i1 %brmerge168.not184, true
  br i1 %.0143.in, label %259, label %245

245:                                              ; preds = %244
  %brmerge171.demorgan = and i1 %62, %137
  %brmerge171 = xor i1 %brmerge171.demorgan, true
  %brmerge172 = or i1 %24, %brmerge171
  br i1 %brmerge172, label %246, label %259

246:                                              ; preds = %245
  %247 = getelementptr inbounds i8, ptr %22, i64 7320
  %248 = load i32, ptr %247, align 8, !tbaa !106
  %249 = load i32, ptr %3, align 4, !tbaa !42
  %250 = icmp eq i32 %248, %249
  br i1 %250, label %251, label %259

251:                                              ; preds = %246
  %252 = getelementptr inbounds i8, ptr %22, i64 7424
  %253 = load i8, ptr %252, align 8, !tbaa !107, !range !39, !noundef !40
  %254 = trunc nuw i8 %253 to i1
  br i1 %254, label %255, label %259

255:                                              ; preds = %251
  %256 = getelementptr inbounds i8, ptr %22, i64 7440
  %257 = load i32, ptr %256, align 8, !tbaa !108
  %258 = icmp eq i32 %257, 3
  br i1 %258, label %.sink.split, label %259

.sink.split:                                      ; preds = %255, %240
  %.2134.ph = phi i1 [ %.1133, %240 ], [ false, %255 ]
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %259

259:                                              ; preds = %.sink.split, %226, %236, %240, %244, %245, %246, %251, %255
  %.1140 = phi i1 [ %24, %255 ], [ %24, %251 ], [ %24, %246 ], [ %.mux176, %244 ], [ false, %245 ], [ %24, %240 ], [ %24, %236 ], [ %24, %226 ], [ %24, %.sink.split ]
  %.3138 = phi i1 [ false, %255 ], [ false, %251 ], [ false, %246 ], [ %not.brmerge168.not184, %244 ], [ true, %245 ], [ %.1136.v, %240 ], [ %.1136.v, %236 ], [ %.1136.v, %226 ], [ true, %.sink.split ]
  %.2134 = phi i1 [ false, %255 ], [ false, %251 ], [ false, %246 ], [ %brmerge168.not184, %244 ], [ false, %245 ], [ %.1133, %240 ], [ %.1133, %236 ], [ %.1133, %226 ], [ %.2134.ph, %.sink.split ]
  %not.187 = xor i1 %1, true
  %spec.select173 = select i1 %not.187, i1 true, i1 %.2134
  br i1 %spec.select173, label %260, label %266

260:                                              ; preds = %259
  %261 = load i32, ptr %3, align 4, !tbaa !42
  %262 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %261, i32 noundef 0)
  br i1 %262, label %263, label %266

263:                                              ; preds = %260
  %264 = getelementptr inbounds i8, ptr %22, i64 7296
  %265 = load i32, ptr %264, align 8, !tbaa !85
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %265, i1 noundef zeroext true)
  br label %266

266:                                              ; preds = %259, %260, %263
  %.3138.not = xor i1 %.3138, true
  %brmerge174 = select i1 %.1140, i1 true, i1 %.3138.not
  br i1 %brmerge174, label %274, label %267

267:                                              ; preds = %266
  %268 = getelementptr inbounds i8, ptr %22, i64 7280
  %269 = load i32, ptr %268, align 8, !tbaa !44
  %270 = getelementptr inbounds i8, ptr %22, i64 7296
  %271 = load i32, ptr %270, align 8, !tbaa !85
  %272 = icmp sgt i32 %269, %271
  br i1 %272, label %273, label %274

273:                                              ; preds = %267
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %0, i32 noundef 0)
  br label %281

274:                                              ; preds = %266, %267
  br i1 %.3138, label %.thread183, label %275

.thread183:                                       ; preds = %274
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %0, i32 noundef 0)
  br label %276

275:                                              ; preds = %274
  br i1 %.1140, label %276, label %279

276:                                              ; preds = %.thread183, %275
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %4, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  %277 = load i32, ptr %3, align 4, !tbaa !42
  %278 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %277, i32 noundef %spec.select)
  br label %281

279:                                              ; preds = %275
  %280 = getelementptr inbounds i8, ptr %22, i64 7048
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %280)
  br label %281

281:                                              ; preds = %276, %279, %273
  %.0 = phi i1 [ false, %273 ], [ %278, %276 ], [ false, %279 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  br label %282

282:                                              ; preds = %31, %34, %281
  %.1 = phi i1 [ %.0, %281 ], [ %33, %31 ], [ false, %34 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #10
  br label %283

283:                                              ; preds = %2, %282
  %.2 = phi i1 [ %.1, %282 ], [ false, %2 ]
  ret i1 %.2
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

declare noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(993)) local_unnamed_addr #2 align 2

declare <2 x float> @_ZN5ImGui21GetContentRegionAvailEv() local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #9 align 2

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

declare void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #3

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


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