; LLVM IR from PepcyCh/bisemutum-engine :: bisemutum/thirdparty/ImGuizmo/example/imgui_widgets.ll (ZN5ImGui11BeginMenuExEPKcS1_b)

; 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, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.3, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, 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, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.1 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.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, %struct.ImGuiIO, %struct.ImVector.11, %struct.ImVector.11, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.12, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, i32, %struct.ImBitArray, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.18, %struct.ImVector.18, i32, %struct.ImVector.19, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i32, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.20, [16 x i8], i32, %struct.ImVector.21, ptr, i32, %struct.ImVector.22, %struct.ImPool, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.24, %struct.ImVector.26, %struct.ImVector.27, i32, i32, float, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.28, %struct.ImVector, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.30, %struct.ImChunkStream, %struct.ImChunkStream.31, %struct.ImVector.32, i32, i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.28 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, i32, [652 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector.5 }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.23, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImPool.24 = type { %struct.ImVector.25, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector.5, %struct.ImVector.28, %struct.ImVector.28, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"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.29, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.28 }
%struct.ImChunkStream.31 = type { %struct.ImVector.28 }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.28 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.33, i8, float }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiPopupData = type <{ i32, [4 x i8], ptr, ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>

@GImGui = external global ptr, align 8
@.str = external hidden unnamed_addr constant [1 x i8], align 1

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

; Function Attrs: 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

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

; 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)) #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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(953)) #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 void @_ZN5ImGui5PopIDEv() #3

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

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #3

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

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

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

declare void @_ZN5ImGui6PushIDEPKc(ptr noundef) #3

declare void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext) #3

declare void @_ZN5ImGui11EndDisabledEv() #3

declare void @_ZN5ImGui12PushStyleVarEif(i32 noundef, float noundef) #3

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

declare void @_ZN5ImGui20NavMoveRequestCancelEv() #3

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

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

63:                                               ; preds = %3
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %665

64:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #11
  %65 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %65, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #11
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiContext, ptr %66, i32 0, i32 5
  store ptr %67, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #11
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(953) %68, ptr noundef %69, ptr noundef null)
  store i32 %70, ptr %12, align 4, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #11
  %71 = load i32, ptr %12, align 4, !tbaa !42
  %72 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %71, i32 noundef 0)
  %73 = zext i1 %72 to i8
  store i8 %73, ptr %13, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #11
  store i32 268960069, ptr %14, align 4, !tbaa !42
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGuiWindow, ptr %74, i32 0, i32 2
  %76 = load i32, ptr %75, align 4, !tbaa !43
  %77 = and i32 %76, 268435456
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %82

79:                                               ; preds = %64
  %80 = load i32, ptr %14, align 4, !tbaa !42
  %81 = or i32 %80, 16777216
  store i32 %81, ptr %14, align 4, !tbaa !42
  br label %82

82:                                               ; preds = %79, %64
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiContext, ptr %83, i32 0, i32 186
  %85 = call noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %84, ptr noundef nonnull align 4 dereferenceable(4) %12)
  br i1 %85, label %86, label %100

86:                                               ; preds = %82
  %87 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %88 = trunc i8 %87 to i1
  br i1 %88, label %89, label %94

89:                                               ; preds = %86
  %90 = load i32, ptr %12, align 4, !tbaa !42
  %91 = load i32, ptr %14, align 4, !tbaa !42
  %92 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %90, i32 noundef %91)
  %93 = zext i1 %92 to i8
  store i8 %93, ptr %13, align 1, !tbaa !9
  br label %97

94:                                               ; preds = %86
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImGuiContext, ptr %95, i32 0, i32 68
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %96)
  br label %97

97:                                               ; preds = %94, %89
  %98 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %99 = trunc i8 %98 to i1
  store i1 %99, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %664

100:                                              ; preds = %82
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.ImGuiContext, ptr %101, i32 0, i32 186
  call void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %102, ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #11
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %103, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %104, ptr %15, align 4
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #11
  %105 = call noundef zeroext i1 @_ZL19IsRootOfOpenMenuSetv()
  %106 = zext i1 %105 to i8
  store i8 %106, ptr %16, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.ImGuiContext, ptr %107, i32 0, i32 79
  %109 = load ptr, ptr %108, align 8, !tbaa !44
  store ptr %109, ptr %17, align 8, !tbaa !5
  %110 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %111 = trunc i8 %110 to i1
  br i1 %111, label %112, label %116

112:                                              ; preds = %100
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = load ptr, ptr %10, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiContext, ptr %114, i32 0, i32 79
  store ptr %113, ptr %115, align 8, !tbaa !44
  br label %116

116:                                              ; preds = %112, %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %18)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.ImGuiWindow, ptr %117, i32 0, i32 55
  %119 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %118, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 8 %119, i64 8, i1 false), !tbaa.struct !92
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui6PushIDEPKc(ptr noundef %120)
  %121 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %122 = trunc i8 %121 to i1
  br i1 %122, label %124, label %123

123:                                              ; preds = %116
  call void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext true)
  br label %124

124:                                              ; preds = %123, %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ImGuiWindow, ptr %125, i32 0, i32 55
  %127 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %126, i32 0, i32 23
  store ptr %127, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #11
  store i32 5242881, ptr %22, align 4, !tbaa !42
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiWindow, ptr %128, i32 0, i32 55
  %130 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %129, i32 0, i32 30
  %131 = load i32, ptr %130, align 4, !tbaa !94
  %132 = icmp eq i32 %131, 0
  br i1 %132, label %133, label %220

133:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #11
  %134 = getelementptr inbounds %struct.ImVec2, ptr %19, i32 0, i32 0
  %135 = load float, ptr %134, align 4, !tbaa !95
  %136 = fsub float %135, 1.000000e+00
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImGuiStyle, ptr %137, i32 0, i32 15
  %139 = getelementptr inbounds %struct.ImVec2, ptr %138, i32 0, i32 0
  %140 = load float, ptr %139, align 4, !tbaa !96
  %141 = fmul float %140, 5.000000e-01
  %142 = fptosi float %141 to i32
  %143 = sitofp i32 %142 to float
  %144 = fsub float %136, %143
  %145 = getelementptr inbounds %struct.ImVec2, ptr %19, i32 0, i32 1
  %146 = load float, ptr %145, align 4, !tbaa !97
  %147 = load ptr, ptr %11, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiStyle, ptr %147, i32 0, i32 12
  %149 = getelementptr inbounds %struct.ImVec2, ptr %148, i32 0, i32 1
  %150 = load float, ptr %149, align 4, !tbaa !98
  %151 = fsub float %146, %150
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(953) %152)
  %154 = fadd float %151, %153
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %144, float noundef %154)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %23, i64 8, i1 false), !tbaa.struct !92
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #11
  %155 = load ptr, ptr %11, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ImGuiStyle, ptr %155, i32 0, i32 15
  %157 = getelementptr inbounds %struct.ImVec2, ptr %156, i32 0, i32 0
  %158 = load float, ptr %157, align 4, !tbaa !96
  %159 = fmul float %158, 5.000000e-01
  %160 = fptosi float %159 to i32
  %161 = sitofp i32 %160 to float
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImGuiWindow, ptr %162, i32 0, i32 55
  %164 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %163, i32 0, i32 0
  %165 = getelementptr inbounds %struct.ImVec2, ptr %164, i32 0, i32 0
  %166 = load float, ptr %165, align 8, !tbaa !99
  %167 = fadd float %166, %161
  store float %167, ptr %165, align 8, !tbaa !99
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #11
  %168 = load ptr, ptr %11, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ImGuiStyle, ptr %168, i32 0, i32 15
  %170 = getelementptr inbounds %struct.ImVec2, ptr %169, i32 0, i32 0
  %171 = load float, ptr %170, align 4, !tbaa !96
  %172 = fmul float %171, 2.000000e+00
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiStyle, ptr %173, i32 0, i32 15
  %175 = getelementptr inbounds %struct.ImVec2, ptr %174, i32 0, i32 1
  %176 = load float, ptr %175, align 4, !tbaa !100
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %172, float noundef %176)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 14, ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #11
  %177 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %178 = load float, ptr %177, align 4, !tbaa !95
  store float %178, ptr %25, align 4, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #11
  %179 = load ptr, ptr %8, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGuiWindow, ptr %179, i32 0, i32 55
  %181 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %180, i32 0, i32 0
  %182 = getelementptr inbounds %struct.ImVec2, ptr %181, i32 0, i32 0
  %183 = load float, ptr %182, align 8, !tbaa !99
  %184 = load ptr, ptr %20, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %184, i32 0, i32 4
  %186 = load i16, ptr %185, align 4, !tbaa !101
  %187 = zext i16 %186 to i32
  %188 = sitofp i32 %187 to float
  %189 = fadd float %183, %188
  %190 = load ptr, ptr %8, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImGuiWindow, ptr %190, i32 0, i32 55
  %192 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %191, i32 0, i32 0
  %193 = getelementptr inbounds %struct.ImVec2, ptr %192, i32 0, i32 1
  %194 = load float, ptr %193, align 4, !tbaa !102
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiWindow, ptr %195, i32 0, i32 55
  %197 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %196, i32 0, i32 7
  %198 = load float, ptr %197, align 8, !tbaa !103
  %199 = fadd float %194, %198
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %189, float noundef %199)
  %200 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %201 = trunc i8 %200 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #11
  %202 = load float, ptr %25, align 4, !tbaa !93
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %202, float noundef 0.000000e+00)
  %203 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef @.str, i1 noundef zeroext %201, i32 noundef 5242881, ptr noundef nonnull align 4 dereferenceable(8) %27)
  %204 = zext i1 %203 to i8
  store i8 %204, ptr %21, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !92
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  %206 = load <2 x float>, ptr %28, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %206, ptr noundef %205, ptr noundef null, i1 noundef zeroext true)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %207 = load ptr, ptr %11, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.ImGuiStyle, ptr %207, i32 0, i32 15
  %209 = getelementptr inbounds %struct.ImVec2, ptr %208, i32 0, i32 0
  %210 = load float, ptr %209, align 4, !tbaa !96
  %211 = fmul float %210, -5.000000e-01
  %212 = fptosi float %211 to i32
  %213 = sitofp i32 %212 to float
  %214 = load ptr, ptr %8, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.ImGuiWindow, ptr %214, i32 0, i32 55
  %216 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %215, i32 0, i32 0
  %217 = getelementptr inbounds %struct.ImVec2, ptr %216, i32 0, i32 0
  %218 = load float, ptr %217, align 8, !tbaa !99
  %219 = fadd float %218, %213
  store float %219, ptr %217, align 8, !tbaa !99
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #11
  br label %321

220:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #11
  %221 = getelementptr inbounds %struct.ImVec2, ptr %19, i32 0, i32 0
  %222 = load float, ptr %221, align 4, !tbaa !95
  %223 = getelementptr inbounds %struct.ImVec2, ptr %19, i32 0, i32 1
  %224 = load float, ptr %223, align 4, !tbaa !97
  %225 = load ptr, ptr %11, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.ImGuiStyle, ptr %225, i32 0, i32 2
  %227 = getelementptr inbounds %struct.ImVec2, ptr %226, i32 0, i32 1
  %228 = load float, ptr %227, align 4, !tbaa !104
  %229 = fsub float %224, %228
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %222, float noundef %229)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !92
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #11
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = icmp ne ptr %230, null
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #11
  br i1 %231, label %232, label %242

232:                                              ; preds = %220
  %233 = load ptr, ptr %6, align 8, !tbaa !5
  %234 = getelementptr inbounds i8, ptr %233, i64 0
  %235 = load i8, ptr %234, align 1, !tbaa !105
  %236 = icmp ne i8 %235, 0
  br i1 %236, label %237, label %242

237:                                              ; preds = %232
  %238 = load ptr, ptr %6, align 8, !tbaa !5
  %239 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %238, ptr noundef null, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %239, ptr %31, align 4
  %240 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 0
  %241 = load float, ptr %240, align 4, !tbaa !95
  br label %243

242:                                              ; preds = %232, %220
  br label %243

243:                                              ; preds = %242, %237
  %244 = phi float [ %241, %237 ], [ 0.000000e+00, %242 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #11
  store float %244, ptr %30, align 4, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #11
  %245 = load ptr, ptr %10, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.ImGuiContext, ptr %245, i32 0, i32 7
  %247 = load float, ptr %246, align 8, !tbaa !106
  %248 = fmul float %247, 0x3FF3333340000000
  %249 = fptosi float %248 to i32
  %250 = sitofp i32 %249 to float
  store float %250, ptr %32, align 4, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #11
  %251 = load ptr, ptr %8, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImGuiWindow, ptr %251, i32 0, i32 55
  %253 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %252, i32 0, i32 23
  %254 = load float, ptr %30, align 4, !tbaa !93
  %255 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %256 = load float, ptr %255, align 4, !tbaa !95
  %257 = load float, ptr %32, align 4, !tbaa !93
  %258 = call noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEffff(ptr noundef nonnull align 4 dereferenceable(26) %253, float noundef %254, float noundef %256, float noundef 0.000000e+00, float noundef %257)
  store float %258, ptr %33, align 4, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  %259 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  store <2 x float> %259, ptr %35, align 4
  %260 = getelementptr inbounds %struct.ImVec2, ptr %35, i32 0, i32 0
  %261 = load float, ptr %260, align 4, !tbaa !95
  %262 = load float, ptr %33, align 4, !tbaa !93
  %263 = fsub float %261, %262
  %264 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %263)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  store float %264, ptr %34, align 4, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #11
  %265 = load ptr, ptr %8, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.ImGuiWindow, ptr %265, i32 0, i32 55
  %267 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %266, i32 0, i32 0
  %268 = getelementptr inbounds %struct.ImVec2, ptr %267, i32 0, i32 0
  %269 = load float, ptr %268, align 8, !tbaa !99
  %270 = load ptr, ptr %20, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %270, i32 0, i32 4
  %272 = load i16, ptr %271, align 4, !tbaa !101
  %273 = zext i16 %272 to i32
  %274 = sitofp i32 %273 to float
  %275 = fadd float %269, %274
  %276 = load ptr, ptr %8, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.ImGuiWindow, ptr %276, i32 0, i32 55
  %278 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %277, i32 0, i32 0
  %279 = getelementptr inbounds %struct.ImVec2, ptr %278, i32 0, i32 1
  %280 = load float, ptr %279, align 4, !tbaa !102
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.ImGuiWindow, ptr %281, i32 0, i32 55
  %283 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %282, i32 0, i32 7
  %284 = load float, ptr %283, align 8, !tbaa !103
  %285 = fadd float %280, %284
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef %275, float noundef %285)
  %286 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %287 = trunc i8 %286 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #11
  %288 = load float, ptr %33, align 4, !tbaa !93
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %288, float noundef 0.000000e+00)
  %289 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef @.str, i1 noundef zeroext %287, i32 noundef 22020097, ptr noundef nonnull align 4 dereferenceable(8) %37)
  %290 = zext i1 %289 to i8
  store i8 %290, ptr %21, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !92
  %291 = load ptr, ptr %5, align 8, !tbaa !5
  %292 = load <2 x float>, ptr %38, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %292, ptr noundef %291, ptr noundef null, i1 noundef zeroext true)
  %293 = load float, ptr %30, align 4, !tbaa !93
  %294 = fcmp ogt float %293, 0.000000e+00
  br i1 %294, label %295, label %303

295:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #11
  %296 = load ptr, ptr %20, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %296, i32 0, i32 3
  %298 = load i16, ptr %297, align 2, !tbaa !107
  %299 = uitofp i16 %298 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef %299, float noundef 0.000000e+00)
  %300 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %40)
  store <2 x float> %300, ptr %39, align 4
  %301 = load ptr, ptr %6, align 8, !tbaa !5
  %302 = load <2 x float>, ptr %39, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %302, ptr noundef %301, ptr noundef null, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #11
  br label %303

303:                                              ; preds = %295, %243
  %304 = load ptr, ptr %8, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.ImGuiWindow, ptr %304, i32 0, i32 73
  %306 = load ptr, ptr %305, align 8, !tbaa !108
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #11
  %307 = load ptr, ptr %20, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %307, i32 0, i32 6
  %309 = load i16, ptr %308, align 4, !tbaa !109
  %310 = zext i16 %309 to i32
  %311 = sitofp i32 %310 to float
  %312 = load float, ptr %34, align 4, !tbaa !93
  %313 = fadd float %311, %312
  %314 = load ptr, ptr %10, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiContext, ptr %314, i32 0, i32 7
  %316 = load float, ptr %315, align 8, !tbaa !106
  %317 = call float @llvm.fmuladd.f32(float %316, float 0x3FD3333340000000, float %313)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %42, float noundef %317, float noundef 0.000000e+00)
  %318 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %42)
  store <2 x float> %318, ptr %41, align 4
  %319 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  %320 = load <2 x float>, ptr %41, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %306, <2 x float> %320, i32 noundef %319, i32 noundef 1, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #11
  br label %321

321:                                              ; preds = %303, %133
  %322 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %323 = trunc i8 %322 to i1
  br i1 %323, label %325, label %324

324:                                              ; preds = %321
  call void @_ZN5ImGui11EndDisabledEv()
  br label %325

325:                                              ; preds = %324, %321
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #11
  %326 = load ptr, ptr %10, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImGuiContext, ptr %326, i32 0, i32 35
  %328 = load i32, ptr %327, align 8, !tbaa !110
  %329 = load i32, ptr %12, align 4, !tbaa !42
  %330 = icmp eq i32 %328, %329
  br i1 %330, label %331, label %340

331:                                              ; preds = %325
  %332 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %333 = trunc i8 %332 to i1
  br i1 %333, label %334, label %340

334:                                              ; preds = %331
  %335 = load ptr, ptr %10, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.ImGuiContext, ptr %335, i32 0, i32 97
  %337 = load i8, ptr %336, align 1, !tbaa !111, !range !40, !noundef !41
  %338 = trunc i8 %337 to i1
  %339 = xor i1 %338, true
  br label %340

340:                                              ; preds = %334, %331, %325
  %341 = phi i1 [ false, %331 ], [ false, %325 ], [ %339, %334 ]
  %342 = zext i1 %341 to i8
  store i8 %342, ptr %43, align 1, !tbaa !9
  %343 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %344 = trunc i8 %343 to i1
  br i1 %344, label %345, label %349

345:                                              ; preds = %340
  %346 = load ptr, ptr %17, align 8, !tbaa !5
  %347 = load ptr, ptr %10, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.ImGuiContext, ptr %347, i32 0, i32 79
  store ptr %346, ptr %348, align 8, !tbaa !44
  br label %349

349:                                              ; preds = %345, %340
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #11
  store i8 0, ptr %44, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #11
  store i8 0, ptr %45, align 1, !tbaa !9
  %350 = load ptr, ptr %8, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.ImGuiWindow, ptr %350, i32 0, i32 55
  %352 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %351, i32 0, i32 30
  %353 = load i32, ptr %352, align 4, !tbaa !94
  %354 = icmp eq i32 %353, 1
  br i1 %354, label %355, label %560

355:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #11
  store i8 0, ptr %46, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #11
  %356 = load ptr, ptr %10, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.ImGuiContext, ptr %356, i32 0, i32 76
  %358 = getelementptr inbounds %struct.ImVector.18, ptr %357, i32 0, i32 0
  %359 = load i32, ptr %358, align 8, !tbaa !112
  %360 = load ptr, ptr %10, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.ImGuiContext, ptr %360, i32 0, i32 75
  %362 = getelementptr inbounds %struct.ImVector.18, ptr %361, i32 0, i32 0
  %363 = load i32, ptr %362, align 8, !tbaa !113
  %364 = icmp slt i32 %359, %363
  br i1 %364, label %365, label %373

365:                                              ; preds = %355
  %366 = load ptr, ptr %10, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.ImGuiContext, ptr %366, i32 0, i32 75
  %368 = load ptr, ptr %10, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.ImGuiContext, ptr %368, i32 0, i32 76
  %370 = getelementptr inbounds %struct.ImVector.18, ptr %369, i32 0, i32 0
  %371 = load i32, ptr %370, align 8, !tbaa !112
  %372 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %367, i32 noundef %371)
  br label %374

373:                                              ; preds = %355
  br label %374

374:                                              ; preds = %373, %365
  %375 = phi ptr [ %372, %365 ], [ null, %373 ]
  store ptr %375, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #11
  %376 = load ptr, ptr %47, align 8, !tbaa !5
  %377 = icmp ne ptr %376, null
  br i1 %377, label %378, label %395

378:                                              ; preds = %374
  %379 = load ptr, ptr %47, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.ImGuiPopupData, ptr %379, i32 0, i32 2
  %381 = load ptr, ptr %380, align 8, !tbaa !114
  %382 = icmp ne ptr %381, null
  br i1 %382, label %383, label %395

383:                                              ; preds = %378
  %384 = load ptr, ptr %47, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.ImGuiPopupData, ptr %384, i32 0, i32 2
  %386 = load ptr, ptr %385, align 8, !tbaa !114
  %387 = getelementptr inbounds %struct.ImGuiWindow, ptr %386, i32 0, i32 75
  %388 = load ptr, ptr %387, align 8, !tbaa !116
  %389 = load ptr, ptr %8, align 8, !tbaa !5
  %390 = icmp eq ptr %388, %389
  br i1 %390, label %391, label %395

391:                                              ; preds = %383
  %392 = load ptr, ptr %47, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.ImGuiPopupData, ptr %392, i32 0, i32 2
  %394 = load ptr, ptr %393, align 8, !tbaa !114
  br label %396

395:                                              ; preds = %383, %378, %374
  br label %396

396:                                              ; preds = %395, %391
  %397 = phi ptr [ %394, %391 ], [ null, %395 ]
  store ptr %397, ptr %48, align 8, !tbaa !5
  %398 = load ptr, ptr %10, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.ImGuiContext, ptr %398, i32 0, i32 28
  %400 = load ptr, ptr %399, align 8, !tbaa !117
  %401 = load ptr, ptr %8, align 8, !tbaa !5
  %402 = icmp eq ptr %400, %401
  br i1 %402, label %403, label %508

403:                                              ; preds = %396
  %404 = load ptr, ptr %48, align 8, !tbaa !5
  %405 = icmp ne ptr %404, null
  br i1 %405, label %406, label %508

406:                                              ; preds = %403
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #11
  %407 = load ptr, ptr %10, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.ImGuiContext, ptr %407, i32 0, i32 7
  %409 = load float, ptr %408, align 8, !tbaa !106
  store float %409, ptr %49, align 4, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #11
  %410 = load ptr, ptr %8, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.ImGuiWindow, ptr %410, i32 0, i32 4
  %412 = getelementptr inbounds %struct.ImVec2, ptr %411, i32 0, i32 0
  %413 = load float, ptr %412, align 8, !tbaa !118
  %414 = load ptr, ptr %48, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct.ImGuiWindow, ptr %414, i32 0, i32 4
  %416 = getelementptr inbounds %struct.ImVec2, ptr %415, i32 0, i32 0
  %417 = load float, ptr %416, align 8, !tbaa !118
  %418 = fcmp olt float %413, %417
  %419 = zext i1 %418 to i64
  %420 = select i1 %418, float 1.000000e+00, float -1.000000e+00
  store float %420, ptr %50, align 4, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #11
  %421 = load ptr, ptr %48, align 8, !tbaa !5
  %422 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(953) %421)
  %423 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %51, i32 0, i32 0
  %424 = extractvalue { <2 x float>, <2 x float> } %422, 0
  store <2 x float> %424, ptr %423, align 4
  %425 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %51, i32 0, i32 1
  %426 = extractvalue { <2 x float>, <2 x float> } %422, 1
  store <2 x float> %426, ptr %425, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #11
  %427 = load ptr, ptr %10, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.ImGuiContext, ptr %427, i32 0, i32 2
  %429 = getelementptr inbounds %struct.ImGuiIO, ptr %428, i32 0, i32 56
  %430 = load ptr, ptr %10, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.ImGuiContext, ptr %430, i32 0, i32 2
  %432 = getelementptr inbounds %struct.ImGuiIO, ptr %431, i32 0, i32 52
  %433 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %429, ptr noundef nonnull align 4 dereferenceable(8) %432)
  store <2 x float> %433, ptr %52, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #11
  %434 = load float, ptr %50, align 4, !tbaa !93
  %435 = fcmp ogt float %434, 0.000000e+00
  br i1 %435, label %436, label %438

436:                                              ; preds = %406
  %437 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %51)
  store <2 x float> %437, ptr %53, align 4
  br label %440

438:                                              ; preds = %406
  %439 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %51)
  store <2 x float> %439, ptr %53, align 4
  br label %440

440:                                              ; preds = %438, %436
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #11
  %441 = load float, ptr %50, align 4, !tbaa !93
  %442 = fcmp ogt float %441, 0.000000e+00
  br i1 %442, label %443, label %445

443:                                              ; preds = %440
  %444 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %51)
  store <2 x float> %444, ptr %54, align 4
  br label %447

445:                                              ; preds = %440
  %446 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %51)
  store <2 x float> %446, ptr %54, align 4
  br label %447

447:                                              ; preds = %445, %443
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #11
  %448 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 0
  %449 = load float, ptr %448, align 4, !tbaa !95
  %450 = getelementptr inbounds %struct.ImVec2, ptr %53, i32 0, i32 0
  %451 = load float, ptr %450, align 4, !tbaa !95
  %452 = fsub float %449, %451
  %453 = call float @llvm.fabs.f32(float %452)
  %454 = fmul float %453, 0x3FD3333340000000
  %455 = load float, ptr %49, align 4, !tbaa !93
  %456 = fmul float %455, 5.000000e-01
  %457 = load float, ptr %49, align 4, !tbaa !93
  %458 = fmul float %457, 2.500000e+00
  %459 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %454, float noundef %456, float noundef %458)
  store float %459, ptr %55, align 4, !tbaa !93
  %460 = load float, ptr %50, align 4, !tbaa !93
  %461 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 0
  %462 = load float, ptr %461, align 4, !tbaa !95
  %463 = call float @llvm.fmuladd.f32(float %460, float -5.000000e-01, float %462)
  store float %463, ptr %461, align 4, !tbaa !95
  %464 = load float, ptr %50, align 4, !tbaa !93
  %465 = load float, ptr %49, align 4, !tbaa !93
  %466 = getelementptr inbounds %struct.ImVec2, ptr %53, i32 0, i32 0
  %467 = load float, ptr %466, align 4, !tbaa !95
  %468 = call float @llvm.fmuladd.f32(float %464, float %465, float %467)
  store float %468, ptr %466, align 4, !tbaa !95
  %469 = load float, ptr %50, align 4, !tbaa !93
  %470 = load float, ptr %49, align 4, !tbaa !93
  %471 = getelementptr inbounds %struct.ImVec2, ptr %54, i32 0, i32 0
  %472 = load float, ptr %471, align 4, !tbaa !95
  %473 = call float @llvm.fmuladd.f32(float %469, float %470, float %472)
  store float %473, ptr %471, align 4, !tbaa !95
  %474 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 1
  %475 = load float, ptr %474, align 4, !tbaa !97
  %476 = getelementptr inbounds %struct.ImVec2, ptr %53, i32 0, i32 1
  %477 = load float, ptr %476, align 4, !tbaa !97
  %478 = load float, ptr %55, align 4, !tbaa !93
  %479 = fsub float %477, %478
  %480 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 1
  %481 = load float, ptr %480, align 4, !tbaa !97
  %482 = fsub float %479, %481
  %483 = load float, ptr %49, align 4, !tbaa !93
  %484 = fneg float %483
  %485 = fmul float %484, 8.000000e+00
  %486 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %482, float noundef %485)
  %487 = fadd float %475, %486
  %488 = getelementptr inbounds %struct.ImVec2, ptr %53, i32 0, i32 1
  store float %487, ptr %488, align 4, !tbaa !97
  %489 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 1
  %490 = load float, ptr %489, align 4, !tbaa !97
  %491 = getelementptr inbounds %struct.ImVec2, ptr %54, i32 0, i32 1
  %492 = load float, ptr %491, align 4, !tbaa !97
  %493 = load float, ptr %55, align 4, !tbaa !93
  %494 = fadd float %492, %493
  %495 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 1
  %496 = load float, ptr %495, align 4, !tbaa !97
  %497 = fsub float %494, %496
  %498 = load float, ptr %49, align 4, !tbaa !93
  %499 = fmul float %498, 8.000000e+00
  %500 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %497, float noundef %499)
  %501 = fadd float %490, %500
  %502 = getelementptr inbounds %struct.ImVec2, ptr %54, i32 0, i32 1
  store float %501, ptr %502, align 4, !tbaa !97
  %503 = load ptr, ptr %10, align 8, !tbaa !5
  %504 = getelementptr inbounds %struct.ImGuiContext, ptr %503, i32 0, i32 2
  %505 = getelementptr inbounds %struct.ImGuiIO, ptr %504, i32 0, i32 56
  %506 = call noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %52, ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %505)
  %507 = zext i1 %506 to i8
  store i8 %507, ptr %46, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #11
  br label %508

508:                                              ; preds = %447, %403, %396
  %509 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %510 = trunc i8 %509 to i1
  br i1 %510, label %511, label %529

511:                                              ; preds = %508
  %512 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %513 = trunc i8 %512 to i1
  br i1 %513, label %529, label %514

514:                                              ; preds = %511
  %515 = load ptr, ptr %10, align 8, !tbaa !5
  %516 = getelementptr inbounds %struct.ImGuiContext, ptr %515, i32 0, i32 28
  %517 = load ptr, ptr %516, align 8, !tbaa !117
  %518 = load ptr, ptr %8, align 8, !tbaa !5
  %519 = icmp eq ptr %517, %518
  br i1 %519, label %520, label %529

520:                                              ; preds = %514
  %521 = load i8, ptr %46, align 1, !tbaa !9, !range !40, !noundef !41
  %522 = trunc i8 %521 to i1
  br i1 %522, label %529, label %523

523:                                              ; preds = %520
  %524 = load ptr, ptr %10, align 8, !tbaa !5
  %525 = getelementptr inbounds %struct.ImGuiContext, ptr %524, i32 0, i32 97
  %526 = load i8, ptr %525, align 1, !tbaa !111, !range !40, !noundef !41
  %527 = trunc i8 %526 to i1
  br i1 %527, label %529, label %528

528:                                              ; preds = %523
  store i8 1, ptr %45, align 1, !tbaa !9
  br label %529

529:                                              ; preds = %528, %523, %520, %514, %511, %508
  %530 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %531 = trunc i8 %530 to i1
  br i1 %531, label %536, label %532

532:                                              ; preds = %529
  %533 = load i8, ptr %21, align 1, !tbaa !9, !range !40, !noundef !41
  %534 = trunc i8 %533 to i1
  br i1 %534, label %535, label %536

535:                                              ; preds = %532
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %547

536:                                              ; preds = %532, %529
  %537 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %538 = trunc i8 %537 to i1
  br i1 %538, label %546, label %539

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

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

545:                                              ; preds = %542
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %546

546:                                              ; preds = %545, %542, %539, %536
  br label %547

547:                                              ; preds = %546, %535
  %548 = load ptr, ptr %10, align 8, !tbaa !5
  %549 = getelementptr inbounds %struct.ImGuiContext, ptr %548, i32 0, i32 80
  %550 = load i32, ptr %549, align 8, !tbaa !119
  %551 = load i32, ptr %12, align 4, !tbaa !42
  %552 = icmp eq i32 %550, %551
  br i1 %552, label %553, label %559

553:                                              ; preds = %547
  %554 = load ptr, ptr %10, align 8, !tbaa !5
  %555 = getelementptr inbounds %struct.ImGuiContext, ptr %554, i32 0, i32 109
  %556 = load i32, ptr %555, align 4, !tbaa !120
  %557 = icmp eq i32 %556, 1
  br i1 %557, label %558, label %559

558:                                              ; preds = %553
  store i8 1, ptr %44, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %559

559:                                              ; preds = %558, %553, %547
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #11
  br label %598

560:                                              ; preds = %349
  %561 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %562 = trunc i8 %561 to i1
  br i1 %562, label %563, label %570

563:                                              ; preds = %560
  %564 = load i8, ptr %21, align 1, !tbaa !9, !range !40, !noundef !41
  %565 = trunc i8 %564 to i1
  br i1 %565, label %566, label %570

566:                                              ; preds = %563
  %567 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %568 = trunc i8 %567 to i1
  br i1 %568, label %569, label %570

569:                                              ; preds = %566
  store i8 1, ptr %45, align 1, !tbaa !9
  store i8 0, ptr %13, align 1, !tbaa !9
  store i8 0, ptr %44, align 1, !tbaa !9
  br label %597

570:                                              ; preds = %566, %563, %560
  %571 = load i8, ptr %21, align 1, !tbaa !9, !range !40, !noundef !41
  %572 = trunc i8 %571 to i1
  br i1 %572, label %582, label %573

573:                                              ; preds = %570
  %574 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %575 = trunc i8 %574 to i1
  br i1 %575, label %576, label %583

576:                                              ; preds = %573
  %577 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %578 = trunc i8 %577 to i1
  br i1 %578, label %579, label %583

579:                                              ; preds = %576
  %580 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %581 = trunc i8 %580 to i1
  br i1 %581, label %583, label %582

582:                                              ; preds = %579, %570
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %596

583:                                              ; preds = %579, %576, %573
  %584 = load ptr, ptr %10, align 8, !tbaa !5
  %585 = getelementptr inbounds %struct.ImGuiContext, ptr %584, i32 0, i32 80
  %586 = load i32, ptr %585, align 8, !tbaa !119
  %587 = load i32, ptr %12, align 4, !tbaa !42
  %588 = icmp eq i32 %586, %587
  br i1 %588, label %589, label %595

589:                                              ; preds = %583
  %590 = load ptr, ptr %10, align 8, !tbaa !5
  %591 = getelementptr inbounds %struct.ImGuiContext, ptr %590, i32 0, i32 109
  %592 = load i32, ptr %591, align 4, !tbaa !120
  %593 = icmp eq i32 %592, 3
  br i1 %593, label %594, label %595

594:                                              ; preds = %589
  store i8 1, ptr %44, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %595

595:                                              ; preds = %594, %589, %583
  br label %596

596:                                              ; preds = %595, %582
  br label %597

597:                                              ; preds = %596, %569
  br label %598

598:                                              ; preds = %597, %559
  %599 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %600 = trunc i8 %599 to i1
  br i1 %600, label %602, label %601

601:                                              ; preds = %598
  store i8 1, ptr %45, align 1, !tbaa !9
  br label %602

602:                                              ; preds = %601, %598
  %603 = load i8, ptr %45, align 1, !tbaa !9, !range !40, !noundef !41
  %604 = trunc i8 %603 to i1
  br i1 %604, label %605, label %613

605:                                              ; preds = %602
  %606 = load i32, ptr %12, align 4, !tbaa !42
  %607 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %606, i32 noundef 0)
  br i1 %607, label %608, label %613

608:                                              ; preds = %605
  %609 = load ptr, ptr %10, align 8, !tbaa !5
  %610 = getelementptr inbounds %struct.ImGuiContext, ptr %609, i32 0, i32 76
  %611 = getelementptr inbounds %struct.ImVector.18, ptr %610, i32 0, i32 0
  %612 = load i32, ptr %611, align 8, !tbaa !112
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %612, i1 noundef zeroext true)
  br label %613

613:                                              ; preds = %608, %605, %602
  %614 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN5ImGui5PopIDEv()
  %615 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %616 = trunc i8 %615 to i1
  br i1 %616, label %632, label %617

617:                                              ; preds = %613
  %618 = load i8, ptr %44, align 1, !tbaa !9, !range !40, !noundef !41
  %619 = trunc i8 %618 to i1
  br i1 %619, label %620, label %632

620:                                              ; preds = %617
  %621 = load ptr, ptr %10, align 8, !tbaa !5
  %622 = getelementptr inbounds %struct.ImGuiContext, ptr %621, i32 0, i32 75
  %623 = getelementptr inbounds %struct.ImVector.18, ptr %622, i32 0, i32 0
  %624 = load i32, ptr %623, align 8, !tbaa !113
  %625 = load ptr, ptr %10, align 8, !tbaa !5
  %626 = getelementptr inbounds %struct.ImGuiContext, ptr %625, i32 0, i32 76
  %627 = getelementptr inbounds %struct.ImVector.18, ptr %626, i32 0, i32 0
  %628 = load i32, ptr %627, align 8, !tbaa !112
  %629 = icmp sgt i32 %624, %628
  br i1 %629, label %630, label %632

630:                                              ; preds = %620
  %631 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %631, i32 noundef 0)
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %663

632:                                              ; preds = %620, %617, %613
  %633 = load i8, ptr %44, align 1, !tbaa !9, !range !40, !noundef !41
  %634 = trunc i8 %633 to i1
  %635 = zext i1 %634 to i32
  %636 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %637 = trunc i8 %636 to i1
  %638 = zext i1 %637 to i32
  %639 = or i32 %638, %635
  %640 = icmp ne i32 %639, 0
  %641 = zext i1 %640 to i8
  store i8 %641, ptr %13, align 1, !tbaa !9
  %642 = load i8, ptr %44, align 1, !tbaa !9, !range !40, !noundef !41
  %643 = trunc i8 %642 to i1
  br i1 %643, label %644, label %646

644:                                              ; preds = %632
  %645 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %645, i32 noundef 0)
  br label %646

646:                                              ; preds = %644, %632
  %647 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %648 = trunc i8 %647 to i1
  br i1 %648, label %649, label %657

649:                                              ; preds = %646
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %56, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %18, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %56)
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #11
  %650 = load ptr, ptr %11, align 8, !tbaa !5
  %651 = getelementptr inbounds %struct.ImGuiStyle, ptr %650, i32 0, i32 10
  %652 = load float, ptr %651, align 4, !tbaa !121
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 7, float noundef %652)
  %653 = load i32, ptr %12, align 4, !tbaa !42
  %654 = load i32, ptr %14, align 4, !tbaa !42
  %655 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %653, i32 noundef %654)
  %656 = zext i1 %655 to i8
  store i8 %656, ptr %13, align 1, !tbaa !9
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  br label %660

657:                                              ; preds = %646
  %658 = load ptr, ptr %10, align 8, !tbaa !5
  %659 = getelementptr inbounds %struct.ImGuiContext, ptr %658, i32 0, i32 68
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %659)
  br label %660

660:                                              ; preds = %657, %649
  %661 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %662 = trunc i8 %661 to i1
  store i1 %662, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %663

663:                                              ; preds = %660, %630
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #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 1, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #11
  br label %664

664:                                              ; preds = %663, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  br label %665

665:                                              ; preds = %664, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #11
  %666 = load i1, ptr %4, align 1
  ret i1 %666
}

; 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) #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)) #9 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL19IsRootOfOpenMenuSetv() #7

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

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

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

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

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

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 = { "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 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 155}
!12 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !15, i64 80, !15, i64 84, !13, i64 88, !13, i64 92, !13, i64 96, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !14, i64 140, !10, i64 148, !10, i64 149, !10, i64 150, !10, i64 151, !10, i64 152, !10, i64 153, !10, i64 154, !10, i64 155, !10, i64 156, !10, i64 157, !10, i64 158, !10, i64 159, !10, i64 160, !7, i64 161, !16, i64 162, !16, i64 164, !16, i64 166, !16, i64 168, !13, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !10, i64 179, !13, i64 180, !7, i64 184, !7, i64 185, !7, i64 186, !7, i64 187, !13, i64 188, !13, i64 189, !13, i64 190, !14, i64 192, !14, i64 200, !17, i64 208, !18, i64 224, !24, i64 464, !24, i64 480, !24, i64 496, !24, i64 512, !24, i64 528, !24, i64 544, !24, i64 560, !25, i64 576, !25, i64 580, !13, i64 584, !15, i64 588, !15, i64 592, !26, i64 600, !28, i64 616, !15, i64 632, !13, i64 636, !6, i64 640, !29, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !7, i64 904, !7, i64 912, !13, i64 944, !13, i64 948, !10, i64 952}
!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, !10, i64 64, !10, i64 65, !19, i64 68, !19, i64 72, !19, i64 76, !14, i64 80, !20, i64 88, !16, i64 92, !16, i64 94, !13, i64 96, !10, i64 100, !10, i64 101, !10, i64 102, !14, i64 104, !21, i64 112, !13, i64 140, !13, i64 144, !22, i64 152, !6, i64 168, !6, i64 176, !13, i64 184, !13, i64 188, !13, i64 192, !15, i64 196, !15, i64 200, !23, i64 208, !23, i64 224}
!19 = !{!"_ZTS6ImVec1", !15, i64 0}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!25 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !33, i64 88, !34, i64 104, !35, i64 120, !36, i64 136, !38, i64 168, !15, i64 192}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !13, i64 24}
!37 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!38 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!13, !13, i64 0}
!43 = !{!12, !13, i64 12}
!44 = !{!45, !6, i64 16536}
!45 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !46, i64 8, !47, i64 14272, !47, i64 14288, !48, i64 14304, !6, i64 15352, !15, i64 15360, !15, i64 15364, !49, i64 15368, !50, i64 15880, !13, i64 15888, !13, i64 15892, !13, i64 15896, !10, i64 15900, !10, i64 15901, !10, i64 15902, !10, i64 15903, !10, i64 15904, !6, i64 15912, !22, i64 15920, !22, i64 15936, !22, i64 15952, !51, i64 15968, !26, i64 15984, !13, i64 16000, !14, i64 16004, !6, i64 16016, !6, i64 16024, !6, i64 16032, !6, i64 16040, !6, i64 16048, !14, i64 16056, !15, i64 16064, !13, i64 16068, !13, i64 16072, !13, i64 16076, !10, i64 16080, !10, i64 16081, !10, i64 16082, !10, i64 16083, !15, i64 16084, !15, i64 16088, !13, i64 16092, !13, i64 16096, !15, i64 16100, !10, i64 16104, !10, i64 16105, !10, i64 16106, !10, i64 16107, !10, i64 16108, !10, i64 16109, !14, i64 16112, !6, i64 16120, !52, i64 16128, !13, i64 16132, !13, i64 16136, !10, i64 16140, !10, i64 16141, !6, i64 16144, !13, i64 16152, !15, i64 16156, !13, i64 16160, !53, i64 16164, !13, i64 16184, !13, i64 16188, !54, i64 16192, !55, i64 16212, !56, i64 16272, !57, i64 16384, !58, i64 16400, !59, i64 16416, !17, i64 16432, !60, i64 16448, !61, i64 16464, !62, i64 16480, !62, i64 16496, !13, i64 16512, !63, i64 16520, !6, i64 16536, !13, i64 16544, !13, i64 16548, !13, i64 16552, !13, i64 16556, !13, i64 16560, !13, i64 16564, !13, i64 16568, !13, i64 16572, !13, i64 16576, !13, i64 16580, !13, i64 16584, !13, i64 16588, !52, i64 16592, !20, i64 16596, !10, i64 16600, !10, i64 16601, !10, i64 16602, !10, i64 16603, !10, i64 16604, !10, i64 16605, !10, i64 16606, !13, i64 16608, !24, i64 16612, !10, i64 16628, !10, i64 16629, !10, i64 16630, !13, i64 16632, !13, i64 16636, !13, i64 16640, !13, i64 16644, !13, i64 16648, !13, i64 16652, !24, i64 16656, !24, i64 16672, !13, i64 16688, !13, i64 16692, !13, i64 16696, !64, i64 16704, !64, i64 16752, !64, i64 16800, !64, i64 16848, !6, i64 16896, !6, i64 16904, !6, i64 16912, !15, i64 16920, !15, i64 16924, !10, i64 16928, !14, i64 16932, !14, i64 16940, !15, i64 16948, !13, i64 16952, !10, i64 16956, !10, i64 16957, !10, i64 16958, !13, i64 16960, !13, i64 16964, !13, i64 16968, !65, i64 16976, !24, i64 17040, !13, i64 17056, !13, i64 17060, !15, i64 17064, !13, i64 17068, !13, i64 17072, !13, i64 17076, !13, i64 17080, !66, i64 17088, !7, i64 17104, !13, i64 17120, !67, i64 17128, !6, i64 17144, !13, i64 17152, !68, i64 17160, !69, i64 17176, !23, i64 17216, !39, i64 17232, !6, i64 17248, !71, i64 17256, !73, i64 17296, !74, i64 17312, !13, i64 17328, !13, i64 17332, !15, i64 17336, !15, i64 17340, !14, i64 17344, !75, i64 17352, !79, i64 21072, !13, i64 21184, !13, i64 21188, !15, i64 21192, !15, i64 21196, !13, i64 21200, !37, i64 21204, !81, i64 21220, !15, i64 21268, !15, i64 21272, !10, i64 21276, !10, i64 21277, !15, i64 21280, !15, i64 21284, !15, i64 21288, !15, i64 21292, !16, i64 21296, !16, i64 21298, !76, i64 21304, !17, i64 21320, !82, i64 21336, !82, i64 21352, !7, i64 21368, !10, i64 21369, !15, i64 21372, !83, i64 21376, !84, i64 21392, !85, i64 21408, !86, i64 21424, !87, i64 21440, !13, i64 21456, !10, i64 21460, !88, i64 21464, !6, i64 21472, !83, i64 21480, !6, i64 21496, !6, i64 21504, !15, i64 21512, !10, i64 21516, !13, i64 21520, !13, i64 21524, !13, i64 21528, !13, i64 21532, !83, i64 21536, !10, i64 21552, !7, i64 21553, !13, i64 21556, !89, i64 21560, !90, i64 21576, !7, i64 21616, !13, i64 21856, !13, i64 21860, !15, i64 21864, !13, i64 21868, !13, i64 21872, !13, i64 21876, !76, i64 21880}
!46 = !{!"_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, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !6, i64 72, !6, i64 80, !15, i64 88, !10, i64 92, !6, i64 96, !14, i64 104, !10, i64 112, !10, i64 113, !10, i64 114, !10, i64 115, !10, i64 116, !10, i64 117, !10, i64 118, !10, i64 119, !15, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !10, i64 208, !10, i64 209, !10, i64 210, !10, i64 211, !10, i64 212, !10, i64 213, !10, i64 214, !15, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !14, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !14, i64 3572, !7, i64 3580, !15, i64 3588, !15, i64 3592, !10, i64 3596, !10, i64 3597, !10, i64 3598, !10, i64 3599, !13, i64 3600, !7, i64 3604, !10, i64 14036, !14, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !15, i64 14236, !10, i64 14240, !10, i64 14241, !7, i64 14242, !10, i64 14243, !16, i64 14244, !31, i64 14248}
!47 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !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, !15, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !15, i64 184, !10, i64 188, !10, i64 189, !10, i64 190, !15, i64 192, !15, i64 196, !7, i64 200}
!49 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !37, i64 28, !13, i64 44, !7, i64 48, !15, i64 432, !7, i64 436, !6, i64 504}
!50 = !{!"double", !7, i64 0}
!51 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!53 = !{!"_ZTS10ImBitArrayILi140ELin512EE", !7, i64 0}
!54 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !10, i64 16}
!55 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !24, i64 12, !24, i64 28, !24, i64 44}
!56 = !{!"_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, !24, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!57 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !24, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!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 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS6ImPoolI10ImGuiTableE", !70, i64 0, !26, i64 16, !13, i64 32, !13, i64 36}
!70 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !72, i64 0, !26, i64 16, !13, i64 32, !13, i64 36}
!72 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!73 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !31, i64 16, !76, i64 32, !76, i64 48, !10, i64 64, !13, i64 68, !15, i64 72, !77, i64 76, !15, i64 3704, !10, i64 3708, !10, i64 3709, !10, i64 3710, !13, i64 3712}
!76 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_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, !78, i64 32}
!78 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!79 = !{!"_ZTS6ImFont", !23, i64 0, !15, i64 16, !15, i64 20, !31, i64 24, !80, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !10, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !13, i64 104, !7, i64 108}
!80 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!82 = !{!"_ZTS20ImGuiPlatformImeData", !10, i64 0, !14, i64 4, !15, i64 12}
!83 = !{!"_ZTS15ImGuiTextBuffer", !76, i64 0}
!84 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !76, i64 0}
!86 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !76, i64 0}
!87 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!88 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!89 = !{!"_ZTS18ImGuiMetricsConfig", !10, i64 0, !10, i64 1, !10, i64 2, !10, i64 3, !10, i64 4, !10, i64 5, !10, i64 6, !13, i64 8, !13, i64 12}
!90 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !91, i64 16, !10, i64 32, !15, i64 36}
!91 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!92 = !{i64 0, i64 4, !93, i64 4, i64 4, !93}
!93 = !{!15, !15, i64 0}
!94 = !{!12, !13, i64 412}
!95 = !{!14, !15, i64 0}
!96 = !{!48, !15, i64 76}
!97 = !{!14, !15, i64 4}
!98 = !{!48, !15, i64 64}
!99 = !{!12, !15, i64 224}
!100 = !{!48, !15, i64 80}
!101 = !{!21, !16, i64 12}
!102 = !{!12, !15, i64 228}
!103 = !{!12, !15, i64 280}
!104 = !{!48, !15, i64 12}
!105 = !{!7, !7, i64 0}
!106 = !{!45, !15, i64 15360}
!107 = !{!21, !16, i64 10}
!108 = !{!12, !6, i64 640}
!109 = !{!21, !16, i64 16}
!110 = !{!45, !13, i64 16072}
!111 = !{!45, !10, i64 16603}
!112 = !{!45, !13, i64 16496}
!113 = !{!45, !13, i64 16480}
!114 = !{!115, !6, i64 8}
!115 = !{!"_ZTS14ImGuiPopupData", !13, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !14, i64 36, !14, i64 44}
!116 = !{!12, !6, i64 848}
!117 = !{!45, !6, i64 16024}
!118 = !{!12, !15, i64 24}
!119 = !{!45, !13, i64 16544}
!120 = !{!45, !13, i64 16644}
!121 = !{!48, !15, i64 52}


; 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
@.str = external hidden unnamed_addr constant [1 x i8], align 1

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

; Function Attrs: 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

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

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

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

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

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

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

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

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

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(953), 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(953)) 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 void @_ZN5ImGui5PopIDEv() 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108)) local_unnamed_addr #1 align 2

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

; 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

declare void @_ZN5ImGui6PushIDEPKc(ptr noundef) local_unnamed_addr #3

declare void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext) local_unnamed_addr #3

declare void @_ZN5ImGui11EndDisabledEv() local_unnamed_addr #3

declare void @_ZN5ImGui12PushStyleVarEif(i32 noundef, float noundef) local_unnamed_addr #3

; 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: mustprogress uwtable
declare dso_local noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEffff(ptr noundef nonnull align 4 dereferenceable(26), float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui11BeginMenuExEPKcS1_b(ptr noundef %0, ptr noundef %1, i1 noundef zeroext %2) local_unnamed_addr #7 {
  %4 = alloca i32, align 4
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImRect, align 8
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %22 = getelementptr inbounds i8, ptr %21, i64 155
  %23 = load i8, ptr %22, align 1, !tbaa !5, !range !38, !noundef !39
  %24 = trunc nuw i8 %23 to i1
  br i1 %24, label %292, label %25

25:                                               ; preds = %3
  %26 = load ptr, ptr @GImGui, align 8, !tbaa !40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  %27 = tail call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(953) %21, ptr noundef %0, ptr noundef null)
  store i32 %27, ptr %4, align 4, !tbaa !41
  %28 = tail call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %27, i32 noundef 0)
  %29 = getelementptr inbounds i8, ptr %21, i64 12
  %30 = load i32, ptr %29, align 4, !tbaa !42
  %31 = and i32 %30, 268435456
  %.not = icmp eq i32 %31, 0
  %spec.select = select i1 %.not, i32 268960069, i32 285737285
  %32 = getelementptr inbounds i8, ptr %26, i64 21320
  %33 = call noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br i1 %33, label %34, label %40

34:                                               ; preds = %25
  br i1 %28, label %35, label %38

35:                                               ; preds = %34
  %36 = load i32, ptr %4, align 4, !tbaa !41
  %37 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %36, i32 noundef %spec.select)
  br label %291

38:                                               ; preds = %34
  %39 = getelementptr inbounds i8, ptr %26, i64 16272
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %39)
  br label %291

40:                                               ; preds = %25
  call void @_ZN8ImVectorIjE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %41 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %0, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  %42 = call noundef zeroext i1 @_ZL19IsRootOfOpenMenuSetv()
  %43 = getelementptr inbounds i8, ptr %26, i64 16536
  %44 = load ptr, ptr %43, align 8, !tbaa !43
  br i1 %42, label %45, label %46

45:                                               ; preds = %40
  store ptr %21, ptr %43, align 8, !tbaa !43
  br label %46

46:                                               ; preds = %45, %40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  %47 = getelementptr inbounds i8, ptr %21, i64 224
  %48 = load i64, ptr %47, align 8
  store i64 %48, ptr %6, align 8
  call void @_ZN5ImGui6PushIDEPKc(ptr noundef %0)
  br i1 %2, label %50, label %49

49:                                               ; preds = %46
  call void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext true)
  br label %50

50:                                               ; preds = %49, %46
  %51 = getelementptr inbounds i8, ptr %21, i64 336
  %52 = getelementptr inbounds i8, ptr %21, i64 412
  %53 = load i32, ptr %52, align 4, !tbaa !91
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %55, label %98

55:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  %56 = load float, ptr %6, align 8, !tbaa !92
  %57 = fadd float %56, -1.000000e+00
  %58 = getelementptr inbounds i8, ptr %26, i64 14380
  %59 = load float, ptr %58, align 4, !tbaa !93
  %60 = fmul float %59, 5.000000e-01
  %61 = fptosi float %60 to i32
  %62 = sitofp i32 %61 to float
  %63 = fsub float %57, %62
  %64 = getelementptr inbounds i8, ptr %6, i64 4
  %65 = load float, ptr %64, align 4, !tbaa !94
  %66 = getelementptr inbounds i8, ptr %26, i64 14368
  %67 = load float, ptr %66, align 4, !tbaa !95
  %68 = fsub float %65, %67
  %69 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(953) %21)
  %70 = fadd float %68, %69
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %63, float noundef %70)
  %71 = load i64, ptr %7, align 8
  store i64 %71, ptr %5, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  %72 = load float, ptr %58, align 4, !tbaa !93
  %73 = fmul float %72, 5.000000e-01
  %74 = fptosi float %73 to i32
  %75 = sitofp i32 %74 to float
  %76 = load float, ptr %47, align 8, !tbaa !96
  %77 = fadd float %76, %75
  store float %77, ptr %47, align 8, !tbaa !96
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  %78 = fmul float %72, 2.000000e+00
  %79 = getelementptr inbounds i8, ptr %26, i64 14384
  %80 = load float, ptr %79, align 4, !tbaa !97
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %78, float noundef %80)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 14, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  %.sroa.053.0.vec.extract = extractelement <2 x float> %41, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  %81 = load float, ptr %47, align 8, !tbaa !96
  %82 = getelementptr inbounds i8, ptr %21, i64 348
  %83 = load i16, ptr %82, align 4, !tbaa !98
  %84 = uitofp i16 %83 to float
  %85 = fadd float %81, %84
  %86 = getelementptr inbounds i8, ptr %21, i64 228
  %87 = load float, ptr %86, align 4, !tbaa !99
  %88 = getelementptr inbounds i8, ptr %21, i64 280
  %89 = load float, ptr %88, align 8, !tbaa !100
  %90 = fadd float %87, %89
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %85, float noundef %90)
  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 %.sroa.053.0.vec.extract, float noundef 0.000000e+00)
  %91 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef nonnull @.str, i1 noundef zeroext %28, i32 noundef 5242881, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  %.sroa.039.0.copyload = load <2 x float>, ptr %9, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %.sroa.039.0.copyload, ptr noundef %0, ptr noundef null, i1 noundef zeroext true)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %92 = load float, ptr %58, align 4, !tbaa !93
  %93 = fmul float %92, -5.000000e-01
  %94 = fptosi float %93 to i32
  %95 = sitofp i32 %94 to float
  %96 = load float, ptr %47, align 8, !tbaa !96
  %97 = fadd float %96, %95
  store float %97, ptr %47, align 8, !tbaa !96
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %149

98:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  %99 = load float, ptr %6, align 8, !tbaa !92
  %100 = getelementptr inbounds i8, ptr %6, i64 4
  %101 = load float, ptr %100, align 4, !tbaa !94
  %102 = getelementptr inbounds i8, ptr %26, i64 14316
  %103 = load float, ptr %102, align 4, !tbaa !101
  %104 = fsub float %101, %103
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %99, float noundef %104)
  %105 = load i64, ptr %11, align 8
  store i64 %105, ptr %5, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  %.not168 = icmp eq ptr %1, null
  br i1 %.not168, label %110, label %106

106:                                              ; preds = %98
  %107 = load i8, ptr %1, align 1, !tbaa !102
  %.not169 = icmp eq i8 %107, 0
  br i1 %.not169, label %110, label %108

108:                                              ; preds = %106
  %109 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef nonnull %1, ptr noundef null, i1 noundef zeroext false, float noundef -1.000000e+00)
  %.sroa.036.0.vec.extract = extractelement <2 x float> %109, i64 0
  br label %110

110:                                              ; preds = %98, %106, %108
  %111 = phi float [ %.sroa.036.0.vec.extract, %108 ], [ 0.000000e+00, %106 ], [ 0.000000e+00, %98 ]
  %112 = getelementptr inbounds i8, ptr %26, i64 15360
  %113 = load float, ptr %112, align 8, !tbaa !103
  %114 = fmul float %113, 0x3FF3333340000000
  %115 = fptosi float %114 to i32
  %116 = sitofp i32 %115 to float
  %.sroa.053.0.vec.extract55 = extractelement <2 x float> %41, i64 0
  %117 = call noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEffff(ptr noundef nonnull align 4 dereferenceable(26) %51, float noundef %111, float noundef %.sroa.053.0.vec.extract55, float noundef 0.000000e+00, float noundef %116)
  %118 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  %.sroa.031.0.vec.extract = extractelement <2 x float> %118, i64 0
  %119 = fsub float %.sroa.031.0.vec.extract, %117
  %120 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %119)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  %121 = load float, ptr %47, align 8, !tbaa !96
  %122 = getelementptr inbounds i8, ptr %21, i64 348
  %123 = load i16, ptr %122, align 4, !tbaa !98
  %124 = uitofp i16 %123 to float
  %125 = fadd float %121, %124
  %126 = getelementptr inbounds i8, ptr %21, i64 228
  %127 = load float, ptr %126, align 4, !tbaa !99
  %128 = getelementptr inbounds i8, ptr %21, i64 280
  %129 = load float, ptr %128, align 8, !tbaa !100
  %130 = fadd float %127, %129
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %125, float noundef %130)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %117, float noundef 0.000000e+00)
  %131 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef nonnull @.str, i1 noundef zeroext %28, i32 noundef 22020097, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  %.sroa.030.0.copyload = load <2 x float>, ptr %12, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %.sroa.030.0.copyload, ptr noundef %0, ptr noundef null, i1 noundef zeroext true)
  %132 = fcmp ogt float %111, 0.000000e+00
  br i1 %132, label %133, label %138

133:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  %134 = getelementptr inbounds i8, ptr %21, i64 346
  %135 = load i16, ptr %134, align 2, !tbaa !104
  %136 = uitofp i16 %135 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %136, float noundef 0.000000e+00)
  %137 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %137, ptr noundef %1, ptr noundef null, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  br label %138

138:                                              ; preds = %133, %110
  %139 = getelementptr inbounds i8, ptr %21, i64 640
  %140 = load ptr, ptr %139, align 8, !tbaa !105
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  %141 = getelementptr inbounds i8, ptr %21, i64 352
  %142 = load i16, ptr %141, align 4, !tbaa !106
  %143 = uitofp i16 %142 to float
  %144 = fadd float %120, %143
  %145 = load float, ptr %112, align 8, !tbaa !103
  %146 = call float @llvm.fmuladd.f32(float %145, float 0x3FD3333340000000, float %144)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %146, float noundef 0.000000e+00)
  %147 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %15)
  %148 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %140, <2 x float> %147, i32 noundef %148, i32 noundef 1, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %149

149:                                              ; preds = %138, %55
  %.0154.in = phi i1 [ %91, %55 ], [ %131, %138 ]
  br i1 %2, label %151, label %.thread

.thread:                                          ; preds = %149
  call void @_ZN5ImGui11EndDisabledEv()
  %150 = load i32, ptr %4, align 4, !tbaa !41
  br label %161

151:                                              ; preds = %149
  %152 = getelementptr inbounds i8, ptr %26, i64 16072
  %153 = load i32, ptr %152, align 8, !tbaa !107
  %154 = load i32, ptr %4, align 4, !tbaa !41
  %155 = icmp eq i32 %153, %154
  br i1 %155, label %156, label %161

156:                                              ; preds = %151
  %157 = getelementptr inbounds i8, ptr %26, i64 16603
  %158 = load i8, ptr %157, align 1, !tbaa !108, !range !38, !noundef !39
  %159 = trunc nuw i8 %158 to i1
  %160 = xor i1 %159, true
  br label %161

161:                                              ; preds = %.thread, %151, %156
  %162 = phi i32 [ %154, %151 ], [ %153, %156 ], [ %150, %.thread ]
  %163 = phi i1 [ false, %151 ], [ %160, %156 ], [ false, %.thread ]
  br i1 %42, label %164, label %165

164:                                              ; preds = %161
  store ptr %44, ptr %43, align 8, !tbaa !43
  br label %165

165:                                              ; preds = %164, %161
  %166 = load i32, ptr %52, align 4, !tbaa !91
  %167 = icmp eq i32 %166, 1
  br i1 %167, label %168, label %256

168:                                              ; preds = %165
  %169 = getelementptr inbounds i8, ptr %26, i64 16496
  %170 = load i32, ptr %169, align 8, !tbaa !109
  %171 = getelementptr inbounds i8, ptr %26, i64 16480
  %172 = load i32, ptr %171, align 8, !tbaa !110
  %173 = icmp slt i32 %170, %172
  br i1 %173, label %174, label %.thread206

174:                                              ; preds = %168
  %175 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %171, i32 noundef %170)
  %176 = getelementptr inbounds i8, ptr %175, i64 8
  %177 = load ptr, ptr %176, align 8, !tbaa !111
  %.not171 = icmp eq ptr %177, null
  br i1 %.not171, label %.thread206, label %179

.thread206:                                       ; preds = %174, %168
  %178 = getelementptr inbounds i8, ptr %26, i64 16024
  br label %238

179:                                              ; preds = %174
  %180 = getelementptr inbounds i8, ptr %177, i64 848
  %181 = load ptr, ptr %180, align 8, !tbaa !113
  %182 = icmp eq ptr %181, %21
  %183 = getelementptr inbounds i8, ptr %26, i64 16024
  %184 = load ptr, ptr %183, align 8, !tbaa !114
  %185 = icmp eq ptr %184, %21
  %or.cond = and i1 %182, %185
  br i1 %or.cond, label %186, label %238

186:                                              ; preds = %179
  %187 = getelementptr inbounds i8, ptr %26, i64 15360
  %188 = load float, ptr %187, align 8, !tbaa !103
  %189 = getelementptr inbounds i8, ptr %21, i64 24
  %190 = load float, ptr %189, align 8, !tbaa !115
  %191 = getelementptr inbounds i8, ptr %177, i64 24
  %192 = load float, ptr %191, align 8, !tbaa !115
  %193 = fcmp olt float %190, %192
  %194 = select i1 %193, float 1.000000e+00, float -1.000000e+00
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  %195 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(953) %177)
  %196 = extractvalue { <2 x float>, <2 x float> } %195, 0
  store <2 x float> %196, ptr %16, align 8
  %197 = getelementptr inbounds i8, ptr %16, i64 8
  %198 = extractvalue { <2 x float>, <2 x float> } %195, 1
  store <2 x float> %198, ptr %197, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #10
  %199 = getelementptr inbounds i8, ptr %26, i64 3580
  %200 = getelementptr inbounds i8, ptr %26, i64 248
  %201 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %199, ptr noundef nonnull align 4 dereferenceable(8) %200)
  store <2 x float> %201, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  %202 = extractelement <2 x float> %201, i64 0
  %203 = extractelement <2 x float> %201, i64 1
  br i1 %193, label %204, label %207

204:                                              ; preds = %186
  %205 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  %206 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %210

207:                                              ; preds = %186
  %208 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  %209 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %210

210:                                              ; preds = %207, %204
  %.sink228 = phi <2 x float> [ %208, %207 ], [ %205, %204 ]
  %storemerge172 = phi <2 x float> [ %209, %207 ], [ %206, %204 ]
  %211 = extractelement <2 x float> %.sink228, i64 0
  %212 = extractelement <2 x float> %.sink228, i64 1
  %213 = fsub <2 x float> %201, %.sink228
  %214 = extractelement <2 x float> %213, i64 0
  %215 = call float @llvm.fabs.f32(float %214)
  %216 = fmul float %215, 0x3FD3333340000000
  %217 = fmul float %188, 5.000000e-01
  %218 = fmul float %188, 2.500000e+00
  %219 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %216, float noundef %217, float noundef %218)
  %220 = call float @llvm.fmuladd.f32(float %194, float -5.000000e-01, float %202)
  store float %220, ptr %17, align 8, !tbaa !92
  %221 = call float @llvm.fmuladd.f32(float %194, float %188, float %211)
  store float %221, ptr %18, align 4, !tbaa !92
  %222 = extractelement <2 x float> %storemerge172, i64 0
  %223 = call float @llvm.fmuladd.f32(float %194, float %188, float %222)
  store float %223, ptr %19, align 4, !tbaa !92
  %224 = getelementptr inbounds i8, ptr %18, i64 4
  %225 = fsub float %212, %219
  %226 = fsub float %225, %203
  %227 = fmul float %188, -8.000000e+00
  %228 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %226, float noundef %227)
  %229 = fadd float %203, %228
  store float %229, ptr %224, align 4, !tbaa !94
  %230 = getelementptr inbounds i8, ptr %19, i64 4
  %231 = extractelement <2 x float> %storemerge172, i64 1
  %232 = fadd float %219, %231
  %233 = fsub float %232, %203
  %234 = fmul float %188, 8.000000e+00
  %235 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %233, float noundef %234)
  %236 = fadd float %203, %235
  store float %236, ptr %230, align 4, !tbaa !94
  %237 = call noundef zeroext i1 @_Z23ImTriangleContainsPointRK6ImVec2S1_S1_S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %199)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  br label %238

238:                                              ; preds = %.thread206, %210, %179
  %239 = phi ptr [ %183, %210 ], [ %183, %179 ], [ %178, %.thread206 ]
  %.0155 = phi i1 [ %237, %210 ], [ false, %179 ], [ false, %.thread206 ]
  %.not176 = xor i1 %28, true
  %brmerge177 = select i1 %.not176, i1 true, i1 %163
  br i1 %brmerge177, label %247, label %240

240:                                              ; preds = %238
  %241 = load ptr, ptr %239, align 8, !tbaa !114
  %242 = icmp ne ptr %241, %21
  %brmerge179 = or i1 %.0155, %242
  br i1 %brmerge179, label %247, label %243

243:                                              ; preds = %240
  %244 = getelementptr inbounds i8, ptr %26, i64 16603
  %245 = load i8, ptr %244, align 1, !tbaa !108, !range !38, !noundef !39
  %246 = trunc nuw i8 %245 to i1
  %not. = xor i1 %246, true
  br label %247

247:                                              ; preds = %243, %240, %238
  %.0156 = phi i1 [ false, %240 ], [ false, %238 ], [ %not., %243 ]
  %brmerge181.not = and i1 %.0154.in, %.not176
  %brmerge182 = or i1 %28, %.0154.in
  %.not183 = xor i1 %163, true
  %brmerge184 = select i1 %brmerge182, i1 true, i1 %.not183
  %not..0155 = xor i1 %.0155, true
  %.0159.v = select i1 %brmerge184, i1 %brmerge181.not, i1 %not..0155
  %248 = getelementptr inbounds i8, ptr %26, i64 16544
  %249 = load i32, ptr %248, align 8, !tbaa !116
  %250 = load i32, ptr %4, align 4, !tbaa !41
  %251 = icmp eq i32 %249, %250
  br i1 %251, label %252, label %266

252:                                              ; preds = %247
  %253 = getelementptr inbounds i8, ptr %26, i64 16644
  %254 = load i32, ptr %253, align 4, !tbaa !117
  %255 = icmp eq i32 %254, 1
  br i1 %255, label %.sink.split, label %266

256:                                              ; preds = %165
  %brmerge188.demorgan = and i1 %28, %.0154.in
  %brmerge190.not212 = and i1 %42, %brmerge188.demorgan
  %not.brmerge190.not212 = xor i1 %brmerge190.not212, true
  %.mux200 = xor i1 %28, %brmerge190.not212
  br i1 %.0154.in, label %266, label %257

257:                                              ; preds = %256
  %brmerge193.demorgan = and i1 %42, %163
  %brmerge193 = xor i1 %brmerge193.demorgan, true
  %brmerge194 = or i1 %28, %brmerge193
  br i1 %brmerge194, label %258, label %266

258:                                              ; preds = %257
  %259 = getelementptr inbounds i8, ptr %26, i64 16544
  %260 = load i32, ptr %259, align 8, !tbaa !116
  %261 = icmp eq i32 %260, %162
  br i1 %261, label %262, label %266

262:                                              ; preds = %258
  %263 = getelementptr inbounds i8, ptr %26, i64 16644
  %264 = load i32, ptr %263, align 4, !tbaa !117
  %265 = icmp eq i32 %264, 3
  br i1 %265, label %.sink.split, label %266

.sink.split:                                      ; preds = %262, %252
  %.1157.ph = phi i1 [ %.0156, %252 ], [ false, %262 ]
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %266

266:                                              ; preds = %.sink.split, %247, %252, %256, %257, %258, %262
  %.2161 = phi i1 [ false, %262 ], [ false, %258 ], [ %not.brmerge190.not212, %256 ], [ true, %257 ], [ %.0159.v, %252 ], [ %.0159.v, %247 ], [ true, %.sink.split ]
  %.1157 = phi i1 [ false, %262 ], [ false, %258 ], [ %brmerge190.not212, %256 ], [ false, %257 ], [ %.0156, %252 ], [ %.0156, %247 ], [ %.1157.ph, %.sink.split ]
  %.1151 = phi i1 [ %28, %262 ], [ %28, %258 ], [ %.mux200, %256 ], [ false, %257 ], [ %28, %252 ], [ %28, %247 ], [ %28, %.sink.split ]
  %not.215 = xor i1 %2, true
  %spec.select195 = select i1 %not.215, i1 true, i1 %.1157
  br i1 %spec.select195, label %267, label %273

267:                                              ; preds = %266
  %268 = load i32, ptr %4, align 4, !tbaa !41
  %269 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %268, i32 noundef 0)
  br i1 %269, label %270, label %273

270:                                              ; preds = %267
  %271 = getelementptr inbounds i8, ptr %26, i64 16496
  %272 = load i32, ptr %271, align 8, !tbaa !109
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %272, i1 noundef zeroext true)
  br label %273

273:                                              ; preds = %270, %267, %266
  call void @_ZN5ImGui5PopIDEv()
  %.2161.not = xor i1 %.2161, true
  %brmerge196 = select i1 %.1151, i1 true, i1 %.2161.not
  br i1 %brmerge196, label %281, label %274

274:                                              ; preds = %273
  %275 = getelementptr inbounds i8, ptr %26, i64 16480
  %276 = load i32, ptr %275, align 8, !tbaa !110
  %277 = getelementptr inbounds i8, ptr %26, i64 16496
  %278 = load i32, ptr %277, align 8, !tbaa !109
  %279 = icmp sgt i32 %276, %278
  br i1 %279, label %280, label %281

280:                                              ; preds = %274
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %0, i32 noundef 0)
  br label %290

281:                                              ; preds = %273, %274
  br i1 %.2161, label %.thread210, label %282

.thread210:                                       ; preds = %281
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %0, i32 noundef 0)
  br label %283

282:                                              ; preds = %281
  br i1 %.1151, label %283, label %288

283:                                              ; preds = %.thread210, %282
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %5, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #10
  %284 = getelementptr inbounds i8, ptr %26, i64 14356
  %285 = load float, ptr %284, align 4, !tbaa !118
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 7, float noundef %285)
  %286 = load i32, ptr %4, align 4, !tbaa !41
  %287 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %286, i32 noundef %spec.select)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  br label %290

288:                                              ; preds = %282
  %289 = getelementptr inbounds i8, ptr %26, i64 16272
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %289)
  br label %290

290:                                              ; preds = %283, %288, %280
  %.0 = phi i1 [ false, %280 ], [ %287, %283 ], [ false, %288 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  br label %291

291:                                              ; preds = %35, %38, %290
  %.1 = phi i1 [ %.0, %290 ], [ %37, %35 ], [ false, %38 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  br label %292

292:                                              ; preds = %3, %291
  %.2 = phi i1 [ %.1, %291 ], [ false, %3 ]
  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 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: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL19IsRootOfOpenMenuSetv() local_unnamed_addr #6

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(52) 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 <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) #5

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 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 155}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !12, i64 80, !12, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !11, i64 100, !11, i64 108, !11, i64 116, !11, i64 124, !11, i64 132, !11, i64 140, !13, i64 148, !13, i64 149, !13, i64 150, !13, i64 151, !13, i64 152, !13, i64 153, !13, i64 154, !13, i64 155, !13, i64 156, !13, i64 157, !13, i64 158, !13, i64 159, !13, i64 160, !8, i64 161, !14, i64 162, !14, i64 164, !14, i64 166, !14, i64 168, !10, i64 172, !8, i64 176, !8, i64 177, !8, i64 178, !13, i64 179, !10, i64 180, !8, i64 184, !8, i64 185, !8, i64 186, !8, i64 187, !10, i64 188, !10, i64 189, !10, i64 190, !11, i64 192, !11, i64 200, !15, i64 208, !16, i64 224, !22, i64 464, !22, i64 480, !22, i64 496, !22, i64 512, !22, i64 528, !22, i64 544, !22, i64 560, !23, i64 576, !23, i64 580, !10, i64 584, !12, i64 588, !12, i64 592, !24, i64 600, !26, i64 616, !12, i64 632, !10, i64 636, !7, i64 640, !27, i64 648, !7, i64 848, !7, i64 856, !7, i64 864, !7, i64 872, !7, i64 880, !7, i64 888, !7, i64 896, !8, i64 904, !8, i64 912, !10, i64 944, !10, i64 948, !13, i64 952}
!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, !13, i64 64, !13, i64 65, !17, i64 68, !17, i64 72, !17, i64 76, !11, i64 80, !18, i64 88, !14, i64 92, !14, i64 94, !10, i64 96, !13, i64 100, !13, i64 101, !13, i64 102, !11, i64 104, !19, i64 112, !10, i64 140, !10, i64 144, !20, i64 152, !7, i64 168, !7, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !12, i64 196, !12, i64 200, !21, i64 208, !21, i64 224}
!17 = !{!"_ZTS6ImVec1", !12, i64 0}
!18 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!19 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !14, i64 8, !14, i64 10, !14, i64 12, !14, i64 14, !14, i64 16, !8, i64 18}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!23 = !{!"_ZTS8ImVec2ih", !14, i64 0, !14, i64 2}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!26 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS10ImDrawList", !28, i64 0, !29, i64 16, !30, i64 32, !10, i64 48, !10, i64 52, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !31, i64 88, !32, i64 104, !33, i64 120, !34, i64 136, !36, i64 168, !12, i64 192}
!28 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!29 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS15ImDrawCmdHeader", !35, i64 0, !7, i64 16, !10, i64 24}
!35 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!36 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !37, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!7, !7, i64 0}
!41 = !{!10, !10, i64 0}
!42 = !{!6, !10, i64 12}
!43 = !{!44, !7, i64 16536}
!44 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !45, i64 8, !46, i64 14272, !46, i64 14288, !47, i64 14304, !7, i64 15352, !12, i64 15360, !12, i64 15364, !48, i64 15368, !49, i64 15880, !10, i64 15888, !10, i64 15892, !10, i64 15896, !13, i64 15900, !13, i64 15901, !13, i64 15902, !13, i64 15903, !13, i64 15904, !7, i64 15912, !20, i64 15920, !20, i64 15936, !20, i64 15952, !50, i64 15968, !24, i64 15984, !10, i64 16000, !11, i64 16004, !7, i64 16016, !7, i64 16024, !7, i64 16032, !7, i64 16040, !7, i64 16048, !11, i64 16056, !12, i64 16064, !10, i64 16068, !10, i64 16072, !10, i64 16076, !13, i64 16080, !13, i64 16081, !13, i64 16082, !13, i64 16083, !12, i64 16084, !12, i64 16088, !10, i64 16092, !10, i64 16096, !12, i64 16100, !13, i64 16104, !13, i64 16105, !13, i64 16106, !13, i64 16107, !13, i64 16108, !13, i64 16109, !11, i64 16112, !7, i64 16120, !51, i64 16128, !10, i64 16132, !10, i64 16136, !13, i64 16140, !13, i64 16141, !7, i64 16144, !10, i64 16152, !12, i64 16156, !10, i64 16160, !52, i64 16164, !10, i64 16184, !10, i64 16188, !53, i64 16192, !54, i64 16212, !55, i64 16272, !56, i64 16384, !57, i64 16400, !58, i64 16416, !15, i64 16432, !59, i64 16448, !60, i64 16464, !61, i64 16480, !61, i64 16496, !10, i64 16512, !62, i64 16520, !7, i64 16536, !10, i64 16544, !10, i64 16548, !10, i64 16552, !10, i64 16556, !10, i64 16560, !10, i64 16564, !10, i64 16568, !10, i64 16572, !10, i64 16576, !10, i64 16580, !10, i64 16584, !10, i64 16588, !51, i64 16592, !18, i64 16596, !13, i64 16600, !13, i64 16601, !13, i64 16602, !13, i64 16603, !13, i64 16604, !13, i64 16605, !13, i64 16606, !10, i64 16608, !22, i64 16612, !13, i64 16628, !13, i64 16629, !13, i64 16630, !10, i64 16632, !10, i64 16636, !10, i64 16640, !10, i64 16644, !10, i64 16648, !10, i64 16652, !22, i64 16656, !22, i64 16672, !10, i64 16688, !10, i64 16692, !10, i64 16696, !63, i64 16704, !63, i64 16752, !63, i64 16800, !63, i64 16848, !7, i64 16896, !7, i64 16904, !7, i64 16912, !12, i64 16920, !12, i64 16924, !13, i64 16928, !11, i64 16932, !11, i64 16940, !12, i64 16948, !10, i64 16952, !13, i64 16956, !13, i64 16957, !13, i64 16958, !10, i64 16960, !10, i64 16964, !10, i64 16968, !64, i64 16976, !22, i64 17040, !10, i64 17056, !10, i64 17060, !12, i64 17064, !10, i64 17068, !10, i64 17072, !10, i64 17076, !10, i64 17080, !65, i64 17088, !8, i64 17104, !10, i64 17120, !66, i64 17128, !7, i64 17144, !10, i64 17152, !67, i64 17160, !68, i64 17176, !21, i64 17216, !37, i64 17232, !7, i64 17248, !70, i64 17256, !72, i64 17296, !73, i64 17312, !10, i64 17328, !10, i64 17332, !12, i64 17336, !12, i64 17340, !11, i64 17344, !74, i64 17352, !78, i64 21072, !10, i64 21184, !10, i64 21188, !12, i64 21192, !12, i64 21196, !10, i64 21200, !35, i64 21204, !80, i64 21220, !12, i64 21268, !12, i64 21272, !13, i64 21276, !13, i64 21277, !12, i64 21280, !12, i64 21284, !12, i64 21288, !12, i64 21292, !14, i64 21296, !14, i64 21298, !75, i64 21304, !15, i64 21320, !81, i64 21336, !81, i64 21352, !8, i64 21368, !13, i64 21369, !12, i64 21372, !82, i64 21376, !83, i64 21392, !84, i64 21408, !85, i64 21424, !86, i64 21440, !10, i64 21456, !13, i64 21460, !87, i64 21464, !7, i64 21472, !82, i64 21480, !7, i64 21496, !7, i64 21504, !12, i64 21512, !13, i64 21516, !10, i64 21520, !10, i64 21524, !10, i64 21528, !10, i64 21532, !82, i64 21536, !13, i64 21552, !8, i64 21553, !10, i64 21556, !88, i64 21560, !89, i64 21576, !8, i64 21616, !10, i64 21856, !10, i64 21860, !12, i64 21864, !10, i64 21868, !10, i64 21872, !10, i64 21876, !75, i64 21880}
!45 = !{!"_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, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !7, i64 72, !7, i64 80, !12, i64 88, !13, i64 92, !7, i64 96, !11, i64 104, !13, i64 112, !13, i64 113, !13, i64 114, !13, i64 115, !13, i64 116, !13, i64 117, !13, i64 118, !13, i64 119, !12, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !13, i64 208, !13, i64 209, !13, i64 210, !13, i64 211, !13, i64 212, !13, i64 213, !13, i64 214, !12, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !11, i64 240, !8, i64 248, !8, i64 2856, !8, i64 3508, !11, i64 3572, !8, i64 3580, !12, i64 3588, !12, i64 3592, !13, i64 3596, !13, i64 3597, !13, i64 3598, !13, i64 3599, !10, i64 3600, !8, i64 3604, !13, i64 14036, !11, i64 14040, !8, i64 14048, !8, i64 14088, !8, i64 14128, !8, i64 14133, !8, i64 14138, !8, i64 14148, !8, i64 14158, !8, i64 14163, !8, i64 14168, !8, i64 14176, !8, i64 14196, !8, i64 14216, !12, i64 14236, !13, i64 14240, !13, i64 14241, !8, i64 14242, !13, i64 14243, !14, i64 14244, !29, i64 14248}
!46 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !7, i64 8}
!47 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !12, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !11, i64 24, !11, i64 32, !10, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !11, i64 60, !12, i64 68, !12, i64 72, !11, i64 76, !11, i64 84, !11, i64 92, !11, i64 100, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !10, i64 148, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !12, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !12, i64 192, !12, i64 196, !8, i64 200}
!48 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !35, i64 28, !10, i64 44, !8, i64 48, !12, i64 432, !8, i64 436, !7, i64 504}
!49 = !{!"double", !8, i64 0}
!50 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!51 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!52 = !{!"_ZTS10ImBitArrayILi140ELin512EE", !8, i64 0}
!53 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!54 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !22, i64 12, !22, i64 28, !22, i64 44}
!55 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !13, i64 56, !22, i64 60, !7, i64 80, !7, i64 88, !12, i64 96, !11, i64 100}
!56 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!57 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!58 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!59 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!60 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!61 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!62 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !7, i64 8}
!63 = !{!"_ZTS16ImGuiNavItemData", !7, i64 0, !10, i64 8, !10, i64 12, !22, i64 16, !10, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!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 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!67 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!68 = !{!"_ZTS6ImPoolI10ImGuiTableE", !69, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!69 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !7, i64 8}
!70 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !71, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!71 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!72 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!73 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!74 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !29, i64 16, !75, i64 32, !75, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !76, i64 76, !12, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712}
!75 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!76 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !10, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !12, i64 28, !77, i64 32}
!77 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!78 = !{!"_ZTS6ImFont", !21, i64 0, !12, i64 16, !12, i64 20, !29, i64 24, !79, i64 40, !7, i64 56, !7, i64 64, !7, i64 72, !14, i64 80, !14, i64 82, !14, i64 84, !14, i64 86, !13, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !10, i64 104, !8, i64 108}
!79 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!80 = !{!"_ZTS21ImGuiComboPreviewData", !22, i64 0, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !10, i64 44}
!81 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !11, i64 4, !12, i64 12}
!82 = !{!"_ZTS15ImGuiTextBuffer", !75, i64 0}
!83 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!84 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !75, i64 0}
!85 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !75, i64 0}
!86 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !7, i64 8}
!87 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!88 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !10, i64 8, !10, i64 12}
!89 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !90, i64 16, !13, i64 32, !12, i64 36}
!90 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !7, i64 8}
!91 = !{!6, !10, i64 412}
!92 = !{!11, !12, i64 0}
!93 = !{!47, !12, i64 76}
!94 = !{!11, !12, i64 4}
!95 = !{!47, !12, i64 64}
!96 = !{!6, !12, i64 224}
!97 = !{!47, !12, i64 80}
!98 = !{!19, !14, i64 12}
!99 = !{!6, !12, i64 228}
!100 = !{!6, !12, i64 280}
!101 = !{!47, !12, i64 12}
!102 = !{!8, !8, i64 0}
!103 = !{!44, !12, i64 15360}
!104 = !{!19, !14, i64 10}
!105 = !{!6, !7, i64 640}
!106 = !{!19, !14, i64 16}
!107 = !{!44, !10, i64 16072}
!108 = !{!44, !13, i64 16603}
!109 = !{!44, !10, i64 16496}
!110 = !{!44, !10, i64 16480}
!111 = !{!112, !7, i64 8}
!112 = !{!"_ZTS14ImGuiPopupData", !10, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 36, !11, i64 44}
!113 = !{!6, !7, i64 848}
!114 = !{!44, !7, i64 16024}
!115 = !{!6, !12, i64 24}
!116 = !{!44, !10, i64 16544}
!117 = !{!44, !10, i64 16644}
!118 = !{!47, !12, i64 52}


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