; LLVM IR from jan-van-bergen/GPU-Raytracer :: include/Imgui/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, %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, %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, [6 x 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, [7 x i8], ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.12, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], 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, i8, i8, i32, i32, %struct.ImBitArray, %struct.ImVec2, [4 x i8], ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %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, [4 x i8], %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, i8, i32, %struct.ImRect, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, [4 x i8], %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.20, [16 x i8], i32, [4 x i8], %struct.ImVector.21, ptr, i32, [4 x i8], %struct.ImVector.22, %struct.ImPool, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.24, %struct.ImVector.26, %struct.ImVector.27, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i16, i16, float, [4 x i8], %struct.ImVector.28, %struct.ImVector, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.30, %struct.ImChunkStream, %struct.ImChunkStream.31, %struct.ImVector.32, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [4 x i8], %struct.ImGuiStackTool, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, 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, [645 x i32], [512 x i8], %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [20 x float], i32, i32, [645 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], [20 x float], [20 x float], float, 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.ImVector.28 = type { i32, i32, ptr }
%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, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.33 }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImGuiPopupData = type { i32, ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2 }

@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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #4

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

declare void @_ZN5ImGui6PushIDEPKc(ptr noundef) #4

declare void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext) #4

declare void @_ZN5ImGui11EndDisabledEv() #4

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

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

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

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

declare void @_ZN5ImGui20NavMoveRequestCancelEv() #4

; Function Attrs: 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 float, align 4
  %49 = alloca %struct.ImRect, align 4
  %50 = alloca %struct.ImVec2, align 4
  %51 = alloca %struct.ImVec2, align 4
  %52 = alloca %struct.ImVec2, align 4
  %53 = alloca float, align 4
  %54 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %55 = zext i1 %2 to i8
  store i8 %55, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #11
  %56 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %56, ptr %8, align 8, !tbaa !5
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImGuiWindow, ptr %57, i32 0, i32 28
  %59 = load i8, ptr %58, align 1, !tbaa !11, !range !40, !noundef !41
  %60 = trunc i8 %59 to i1
  br i1 %60, label %61, label %62

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

62:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #11
  %63 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %63, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #11
  %64 = load ptr, ptr %10, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImGuiContext, ptr %64, i32 0, i32 6
  store ptr %65, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #11
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(937) %66, ptr noundef %67, ptr noundef null)
  store i32 %68, ptr %12, align 4, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #11
  %69 = load i32, ptr %12, align 4, !tbaa !42
  %70 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %69, i32 noundef 0)
  %71 = zext i1 %70 to i8
  store i8 %71, 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
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ImGuiWindow, ptr %72, i32 0, i32 2
  %74 = load i32, ptr %73, align 4, !tbaa !43
  %75 = and i32 %74, 268435456
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %80

77:                                               ; preds = %62
  %78 = load i32, ptr %14, align 4, !tbaa !42
  %79 = or i32 %78, 16777216
  store i32 %79, ptr %14, align 4, !tbaa !42
  br label %80

80:                                               ; preds = %77, %62
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ImGuiContext, ptr %81, i32 0, i32 199
  %83 = call noundef zeroext i1 @_ZNK8ImVectorIjE8containsERKj(ptr noundef nonnull align 8 dereferenceable(16) %82, ptr noundef nonnull align 4 dereferenceable(4) %12)
  br i1 %83, label %84, label %98

84:                                               ; preds = %80
  %85 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %86 = trunc i8 %85 to i1
  br i1 %86, label %87, label %92

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

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

95:                                               ; preds = %92, %87
  %96 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %97 = trunc i8 %96 to i1
  store i1 %97, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %663

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

110:                                              ; preds = %98
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = load ptr, ptr %10, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiContext, ptr %112, i32 0, i32 88
  store ptr %111, ptr %113, align 8, !tbaa !44
  br label %114

114:                                              ; preds = %110, %98
  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
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiWindow, ptr %115, i32 0, i32 54
  %117 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %116, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 8 %117, i64 8, i1 false), !tbaa.struct !92
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui6PushIDEPKc(ptr noundef %118)
  %119 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %120 = trunc i8 %119 to i1
  br i1 %120, label %122, label %121

121:                                              ; preds = %114
  call void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext true)
  br label %122

122:                                              ; preds = %121, %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImGuiWindow, ptr %123, i32 0, i32 54
  %125 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %124, i32 0, i32 21
  store ptr %125, 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
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ImGuiWindow, ptr %126, i32 0, i32 54
  %128 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %127, i32 0, i32 28
  %129 = load i32, ptr %128, align 4, !tbaa !94
  %130 = icmp eq i32 %129, 0
  br i1 %130, label %131, label %218

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

218:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #11
  %219 = getelementptr inbounds %struct.ImVec2, ptr %19, i32 0, i32 0
  %220 = load float, ptr %219, align 4, !tbaa !95
  %221 = getelementptr inbounds %struct.ImVec2, ptr %19, i32 0, i32 1
  %222 = load float, ptr %221, align 4, !tbaa !97
  %223 = load ptr, ptr %11, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.ImGuiStyle, ptr %223, i32 0, i32 2
  %225 = getelementptr inbounds %struct.ImVec2, ptr %224, i32 0, i32 1
  %226 = load float, ptr %225, align 4, !tbaa !104
  %227 = fsub float %222, %226
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %220, float noundef %227)
  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
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = icmp ne ptr %228, null
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #11
  br i1 %229, label %230, label %240

230:                                              ; preds = %218
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = getelementptr inbounds i8, ptr %231, i64 0
  %233 = load i8, ptr %232, align 1, !tbaa !105
  %234 = icmp ne i8 %233, 0
  br i1 %234, label %235, label %240

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

240:                                              ; preds = %230, %218
  br label %241

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

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

301:                                              ; preds = %293, %241
  %302 = load ptr, ptr %8, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.ImGuiWindow, ptr %302, i32 0, i32 72
  %304 = load ptr, ptr %303, align 8, !tbaa !108
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #11
  %305 = load ptr, ptr %20, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %305, i32 0, i32 6
  %307 = load i16, ptr %306, align 4, !tbaa !109
  %308 = zext i16 %307 to i32
  %309 = sitofp i32 %308 to float
  %310 = load float, ptr %34, align 4, !tbaa !93
  %311 = fadd float %309, %310
  %312 = load ptr, ptr %10, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.ImGuiContext, ptr %312, i32 0, i32 8
  %314 = load float, ptr %313, align 8, !tbaa !106
  %315 = call float @llvm.fmuladd.f32(float %314, float 0x3FD3333340000000, float %311)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %42, float noundef %315, float noundef 0.000000e+00)
  %316 = 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> %316, ptr %41, align 4
  %317 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  %318 = load <2 x float>, ptr %41, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %304, <2 x float> %318, i32 noundef %317, 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 %319

319:                                              ; preds = %301, %131
  %320 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %321 = trunc i8 %320 to i1
  br i1 %321, label %323, label %322

322:                                              ; preds = %319
  call void @_ZN5ImGui11EndDisabledEv()
  br label %323

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

329:                                              ; preds = %323
  %330 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %331 = trunc i8 %330 to i1
  br label %332

332:                                              ; preds = %329, %323
  %333 = phi i1 [ false, %323 ], [ %331, %329 ]
  %334 = zext i1 %333 to i8
  store i8 %334, ptr %43, align 1, !tbaa !9
  %335 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %336 = trunc i8 %335 to i1
  br i1 %336, label %337, label %341

337:                                              ; preds = %332
  %338 = load ptr, ptr %17, align 8, !tbaa !5
  %339 = load ptr, ptr %10, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.ImGuiContext, ptr %339, i32 0, i32 88
  store ptr %338, ptr %340, align 8, !tbaa !44
  br label %341

341:                                              ; preds = %337, %332
  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
  %342 = load ptr, ptr %8, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.ImGuiWindow, ptr %342, i32 0, i32 54
  %344 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %343, i32 0, i32 28
  %345 = load i32, ptr %344, align 4, !tbaa !94
  %346 = icmp eq i32 %345, 1
  br i1 %346, label %347, label %559

347:                                              ; preds = %341
  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
  %348 = load ptr, ptr %10, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.ImGuiContext, ptr %348, i32 0, i32 84
  %350 = getelementptr inbounds %struct.ImVector.18, ptr %349, i32 0, i32 0
  %351 = load i32, ptr %350, align 8, !tbaa !111
  %352 = load ptr, ptr %10, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.ImGuiContext, ptr %352, i32 0, i32 83
  %354 = getelementptr inbounds %struct.ImVector.18, ptr %353, i32 0, i32 0
  %355 = load i32, ptr %354, align 8, !tbaa !112
  %356 = icmp slt i32 %351, %355
  br i1 %356, label %357, label %379

357:                                              ; preds = %347
  %358 = load ptr, ptr %10, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.ImGuiContext, ptr %358, i32 0, i32 83
  %360 = load ptr, ptr %10, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.ImGuiContext, ptr %360, i32 0, i32 84
  %362 = getelementptr inbounds %struct.ImVector.18, ptr %361, i32 0, i32 0
  %363 = load i32, ptr %362, align 8, !tbaa !111
  %364 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %359, i32 noundef %363)
  %365 = getelementptr inbounds %struct.ImGuiPopupData, ptr %364, i32 0, i32 2
  %366 = load ptr, ptr %365, align 8, !tbaa !113
  %367 = load ptr, ptr %8, align 8, !tbaa !5
  %368 = icmp eq ptr %366, %367
  br i1 %368, label %369, label %379

369:                                              ; preds = %357
  %370 = load ptr, ptr %10, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.ImGuiContext, ptr %370, i32 0, i32 83
  %372 = load ptr, ptr %10, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.ImGuiContext, ptr %372, i32 0, i32 84
  %374 = getelementptr inbounds %struct.ImVector.18, ptr %373, i32 0, i32 0
  %375 = load i32, ptr %374, align 8, !tbaa !111
  %376 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %371, i32 noundef %375)
  %377 = getelementptr inbounds %struct.ImGuiPopupData, ptr %376, i32 0, i32 1
  %378 = load ptr, ptr %377, align 8, !tbaa !115
  br label %380

379:                                              ; preds = %357, %347
  br label %380

380:                                              ; preds = %379, %369
  %381 = phi ptr [ %378, %369 ], [ null, %379 ]
  store ptr %381, ptr %47, align 8, !tbaa !5
  %382 = load ptr, ptr %10, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.ImGuiContext, ptr %382, i32 0, i32 31
  %384 = load ptr, ptr %383, align 8, !tbaa !116
  %385 = load ptr, ptr %8, align 8, !tbaa !5
  %386 = icmp eq ptr %384, %385
  br i1 %386, label %387, label %501

387:                                              ; preds = %380
  %388 = load ptr, ptr %47, align 8, !tbaa !5
  %389 = icmp ne ptr %388, null
  br i1 %389, label %390, label %501

390:                                              ; preds = %387
  %391 = load ptr, ptr %8, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.ImGuiWindow, ptr %391, i32 0, i32 2
  %393 = load i32, ptr %392, align 4, !tbaa !43
  %394 = and i32 %393, 1024
  %395 = icmp ne i32 %394, 0
  br i1 %395, label %501, label %396

396:                                              ; preds = %390
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #11
  %397 = load ptr, ptr %10, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.ImGuiContext, ptr %397, i32 0, i32 8
  %399 = load float, ptr %398, align 8, !tbaa !106
  store float %399, ptr %48, align 4, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #11
  %400 = load ptr, ptr %47, align 8, !tbaa !5
  %401 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(937) %400)
  %402 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %49, i32 0, i32 0
  %403 = extractvalue { <2 x float>, <2 x float> } %401, 0
  store <2 x float> %403, ptr %402, align 4
  %404 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %49, i32 0, i32 1
  %405 = extractvalue { <2 x float>, <2 x float> } %401, 1
  store <2 x float> %405, ptr %404, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #11
  %406 = load ptr, ptr %10, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.ImGuiContext, ptr %406, i32 0, i32 3
  %408 = getelementptr inbounds %struct.ImGuiIO, ptr %407, i32 0, i32 52
  %409 = load ptr, ptr %10, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.ImGuiContext, ptr %409, i32 0, i32 3
  %411 = getelementptr inbounds %struct.ImGuiIO, ptr %410, i32 0, i32 49
  %412 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %408, ptr noundef nonnull align 4 dereferenceable(8) %411)
  store <2 x float> %412, ptr %50, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #11
  %413 = load ptr, ptr %8, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.ImGuiWindow, ptr %413, i32 0, i32 3
  %415 = getelementptr inbounds %struct.ImVec2, ptr %414, i32 0, i32 0
  %416 = load float, ptr %415, align 8, !tbaa !117
  %417 = load ptr, ptr %47, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.ImGuiWindow, ptr %417, i32 0, i32 3
  %419 = getelementptr inbounds %struct.ImVec2, ptr %418, i32 0, i32 0
  %420 = load float, ptr %419, align 8, !tbaa !117
  %421 = fcmp olt float %416, %420
  br i1 %421, label %422, label %424

422:                                              ; preds = %396
  %423 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %49)
  store <2 x float> %423, ptr %51, align 4
  br label %426

424:                                              ; preds = %396
  %425 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %49)
  store <2 x float> %425, ptr %51, align 4
  br label %426

426:                                              ; preds = %424, %422
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #11
  %427 = load ptr, ptr %8, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.ImGuiWindow, ptr %427, i32 0, i32 3
  %429 = getelementptr inbounds %struct.ImVec2, ptr %428, i32 0, i32 0
  %430 = load float, ptr %429, align 8, !tbaa !117
  %431 = load ptr, ptr %47, align 8, !tbaa !5
  %432 = getelementptr inbounds %struct.ImGuiWindow, ptr %431, i32 0, i32 3
  %433 = getelementptr inbounds %struct.ImVec2, ptr %432, i32 0, i32 0
  %434 = load float, ptr %433, align 8, !tbaa !117
  %435 = fcmp olt float %430, %434
  br i1 %435, label %436, label %438

436:                                              ; preds = %426
  %437 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %49)
  store <2 x float> %437, ptr %52, align 4
  br label %440

438:                                              ; preds = %426
  %439 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %49)
  store <2 x float> %439, ptr %52, align 4
  br label %440

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

501:                                              ; preds = %440, %390, %387, %380
  %502 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %503 = trunc i8 %502 to i1
  br i1 %503, label %504, label %528

504:                                              ; preds = %501
  %505 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %506 = trunc i8 %505 to i1
  br i1 %506, label %528, label %507

507:                                              ; preds = %504
  %508 = load ptr, ptr %10, align 8, !tbaa !5
  %509 = getelementptr inbounds %struct.ImGuiContext, ptr %508, i32 0, i32 31
  %510 = load ptr, ptr %509, align 8, !tbaa !116
  %511 = load ptr, ptr %8, align 8, !tbaa !5
  %512 = icmp eq ptr %510, %511
  br i1 %512, label %513, label %528

513:                                              ; preds = %507
  %514 = load ptr, ptr %10, align 8, !tbaa !5
  %515 = getelementptr inbounds %struct.ImGuiContext, ptr %514, i32 0, i32 39
  %516 = load i32, ptr %515, align 4, !tbaa !118
  %517 = icmp ne i32 %516, 0
  br i1 %517, label %518, label %528

518:                                              ; preds = %513
  %519 = load ptr, ptr %10, align 8, !tbaa !5
  %520 = getelementptr inbounds %struct.ImGuiContext, ptr %519, i32 0, i32 39
  %521 = load i32, ptr %520, align 4, !tbaa !118
  %522 = load i32, ptr %12, align 4, !tbaa !42
  %523 = icmp ne i32 %521, %522
  br i1 %523, label %524, label %528

524:                                              ; preds = %518
  %525 = load i8, ptr %46, align 1, !tbaa !9, !range !40, !noundef !41
  %526 = trunc i8 %525 to i1
  br i1 %526, label %528, label %527

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

528:                                              ; preds = %527, %524, %518, %513, %507, %504, %501
  %529 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %530 = trunc i8 %529 to i1
  br i1 %530, label %535, label %531

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

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

535:                                              ; preds = %531, %528
  %536 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %537 = trunc i8 %536 to i1
  br i1 %537, label %545, label %538

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

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

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

545:                                              ; preds = %544, %541, %538, %535
  br label %546

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

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

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

558:                                              ; preds = %557, %552, %546
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #11
  br label %597

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

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

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

568:                                              ; preds = %565
  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 %596

569:                                              ; preds = %565, %562, %559
  %570 = load i8, ptr %21, align 1, !tbaa !9, !range !40, !noundef !41
  %571 = trunc i8 %570 to i1
  br i1 %571, label %581, label %572

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

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

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

581:                                              ; preds = %578, %569
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %595

582:                                              ; preds = %578, %575, %572
  %583 = load ptr, ptr %10, align 8, !tbaa !5
  %584 = getelementptr inbounds %struct.ImGuiContext, ptr %583, i32 0, i32 89
  %585 = load i32, ptr %584, align 8, !tbaa !119
  %586 = load i32, ptr %12, align 4, !tbaa !42
  %587 = icmp eq i32 %585, %586
  br i1 %587, label %588, label %594

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

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

594:                                              ; preds = %593, %588, %582
  br label %595

595:                                              ; preds = %594, %581
  br label %596

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

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

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

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

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

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

612:                                              ; preds = %607, %604, %601
  %613 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN5ImGui5PopIDEv()
  %614 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %615 = trunc i8 %614 to i1
  br i1 %615, label %631, label %616

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

619:                                              ; preds = %616
  %620 = load ptr, ptr %10, align 8, !tbaa !5
  %621 = getelementptr inbounds %struct.ImGuiContext, ptr %620, i32 0, i32 83
  %622 = getelementptr inbounds %struct.ImVector.18, ptr %621, i32 0, i32 0
  %623 = load i32, ptr %622, align 8, !tbaa !112
  %624 = load ptr, ptr %10, align 8, !tbaa !5
  %625 = getelementptr inbounds %struct.ImGuiContext, ptr %624, i32 0, i32 84
  %626 = getelementptr inbounds %struct.ImVector.18, ptr %625, i32 0, i32 0
  %627 = load i32, ptr %626, align 8, !tbaa !111
  %628 = icmp sgt i32 %623, %627
  br i1 %628, label %629, label %631

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

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

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

645:                                              ; preds = %643, %631
  %646 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %647 = trunc i8 %646 to i1
  br i1 %647, label %648, label %656

648:                                              ; preds = %645
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %54, 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) %54)
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #11
  %649 = load ptr, ptr %11, align 8, !tbaa !5
  %650 = getelementptr inbounds %struct.ImGuiStyle, ptr %649, i32 0, i32 10
  %651 = load float, ptr %650, align 4, !tbaa !121
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 7, float noundef %651)
  %652 = load i32, ptr %12, align 4, !tbaa !42
  %653 = load i32, ptr %14, align 4, !tbaa !42
  %654 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %652, i32 noundef %653)
  %655 = zext i1 %654 to i8
  store i8 %655, ptr %13, align 1, !tbaa !9
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  br label %659

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

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

662:                                              ; preds = %659, %629
  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 %663

663:                                              ; preds = %662, %95
  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 %664

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

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

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

; Function Attrs: inlinehint mustprogress 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(937)) #2 align 2

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !10, i64 147}
!12 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !10, i64 140, !10, i64 141, !10, i64 142, !10, i64 143, !10, i64 144, !10, i64 145, !10, i64 146, !10, i64 147, !10, i64 148, !10, i64 149, !10, i64 150, !10, i64 151, !10, i64 152, !7, i64 153, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !13, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !10, i64 171, !13, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !13, i64 180, !13, i64 181, !13, i64 182, !14, i64 184, !14, i64 192, !17, i64 200, !18, i64 216, !24, i64 448, !24, i64 464, !24, i64 480, !24, i64 496, !24, i64 512, !24, i64 528, !24, i64 544, !25, i64 560, !25, i64 564, !13, i64 568, !15, i64 572, !15, i64 576, !26, i64 584, !28, i64 600, !15, i64 616, !13, i64 620, !6, i64 624, !29, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !13, i64 928, !13, i64 932, !10, i64 936}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !19, i64 64, !19, i64 68, !19, i64 72, !14, i64 76, !20, i64 84, !16, i64 88, !16, i64 90, !13, i64 92, !10, i64 96, !10, i64 97, !10, i64 98, !14, i64 100, !21, i64 108, !13, i64 136, !13, i64 140, !22, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !23, i64 200, !23, i64 216}
!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 16440}
!45 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !46, i64 8, !47, i64 14168, !47, i64 14184, !48, i64 14200, !6, i64 15248, !15, i64 15256, !15, i64 15260, !49, i64 15264, !50, i64 15776, !13, i64 15784, !13, i64 15788, !13, i64 15792, !10, i64 15796, !10, i64 15797, !10, i64 15798, !10, i64 15799, !10, i64 15800, !6, i64 15808, !22, i64 15816, !22, i64 15832, !22, i64 15848, !51, i64 15864, !26, i64 15880, !13, i64 15896, !14, i64 15900, !6, i64 15912, !6, i64 15920, !6, i64 15928, !6, i64 15936, !6, i64 15944, !14, i64 15952, !15, i64 15960, !13, i64 15964, !13, i64 15968, !13, i64 15972, !10, i64 15976, !10, i64 15977, !10, i64 15978, !10, i64 15979, !15, i64 15980, !15, i64 15984, !13, i64 15988, !13, i64 15992, !15, i64 15996, !10, i64 16000, !10, i64 16001, !10, i64 16002, !10, i64 16003, !10, i64 16004, !10, i64 16005, !10, i64 16006, !13, i64 16008, !13, i64 16012, !52, i64 16016, !14, i64 16036, !6, i64 16048, !53, i64 16056, !13, i64 16060, !13, i64 16064, !10, i64 16068, !10, i64 16069, !6, i64 16072, !13, i64 16080, !15, i64 16084, !13, i64 16088, !54, i64 16092, !55, i64 16112, !56, i64 16176, !57, i64 16288, !58, i64 16304, !59, i64 16320, !17, i64 16336, !60, i64 16352, !61, i64 16368, !62, i64 16384, !62, i64 16400, !13, i64 16416, !63, i64 16424, !6, i64 16440, !13, i64 16448, !13, i64 16452, !13, i64 16456, !13, i64 16460, !13, i64 16464, !13, i64 16468, !13, i64 16472, !13, i64 16476, !13, i64 16480, !13, i64 16484, !13, i64 16488, !13, i64 16492, !53, i64 16496, !20, i64 16500, !10, i64 16504, !10, i64 16505, !10, i64 16506, !10, i64 16507, !10, i64 16508, !10, i64 16509, !10, i64 16510, !13, i64 16512, !24, i64 16516, !10, i64 16532, !10, i64 16533, !10, i64 16534, !13, i64 16536, !13, i64 16540, !13, i64 16544, !13, i64 16548, !13, i64 16552, !13, i64 16556, !24, i64 16560, !24, i64 16576, !13, i64 16592, !13, i64 16596, !13, i64 16600, !64, i64 16608, !64, i64 16656, !64, i64 16704, !64, i64 16752, !6, i64 16800, !6, i64 16808, !6, i64 16816, !15, i64 16824, !15, i64 16828, !10, i64 16832, !15, i64 16836, !13, i64 16840, !10, i64 16844, !10, i64 16845, !10, i64 16846, !13, i64 16848, !13, i64 16852, !13, i64 16856, !65, i64 16864, !24, i64 16928, !13, i64 16944, !13, i64 16948, !15, i64 16952, !13, i64 16956, !13, i64 16960, !13, i64 16964, !13, i64 16968, !66, i64 16976, !7, i64 16992, !13, i64 17008, !67, i64 17016, !6, i64 17032, !13, i64 17040, !68, i64 17048, !69, i64 17064, !23, i64 17104, !39, i64 17120, !6, i64 17136, !71, i64 17144, !73, i64 17184, !74, i64 17200, !14, i64 17216, !75, i64 17224, !79, i64 20944, !13, i64 21056, !13, i64 21060, !15, i64 21064, !15, i64 21068, !13, i64 21072, !37, i64 21076, !81, i64 21092, !15, i64 21140, !10, i64 21144, !10, i64 21145, !15, i64 21148, !15, i64 21152, !15, i64 21156, !15, i64 21160, !16, i64 21164, !16, i64 21166, !15, i64 21168, !76, i64 21176, !17, i64 21192, !82, i64 21208, !82, i64 21224, !7, i64 21240, !10, i64 21241, !15, i64 21244, !83, i64 21248, !84, i64 21264, !85, i64 21280, !86, i64 21296, !87, i64 21312, !13, i64 21328, !10, i64 21332, !88, i64 21336, !6, i64 21344, !83, i64 21352, !6, i64 21368, !6, i64 21376, !15, i64 21384, !10, i64 21388, !13, i64 21392, !13, i64 21396, !13, i64 21400, !10, i64 21404, !13, i64 21408, !89, i64 21412, !90, i64 21432, !7, i64 21464, !13, i64 21944, !13, i64 21948, !15, i64 21952, !13, i64 21956, !13, i64 21960, !13, i64 21964, !7, i64 21968}
!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, !6, i64 64, !6, i64 72, !15, i64 80, !10, i64 84, !6, i64 88, !14, i64 96, !10, i64 104, !10, i64 105, !10, i64 106, !10, i64 107, !10, i64 108, !10, i64 109, !10, i64 110, !15, i64 112, !6, 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, !10, i64 200, !10, i64 201, !10, i64 202, !10, i64 203, !10, i64 204, !10, i64 205, !10, i64 206, !15, i64 208, !13, i64 212, !13, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !14, i64 232, !7, i64 240, !7, i64 2820, !14, i64 3332, !7, i64 3340, !15, i64 3348, !15, i64 3352, !10, i64 3356, !10, i64 3357, !10, i64 3358, !10, i64 3359, !7, i64 3360, !13, i64 3440, !13, i64 3444, !7, i64 3448, !10, i64 13768, !14, i64 13772, !7, i64 13780, !7, i64 13824, !7, i64 13864, !7, i64 13869, !7, i64 13874, !7, i64 13884, !7, i64 13894, !7, i64 13899, !7, i64 13904, !7, i64 13912, !7, i64 13932, !7, i64 13952, !7, i64 13972, !7, i64 14052, !15, i64 14132, !10, i64 14136, !7, i64 14137, !10, i64 14138, !16, i64 14140, !31, i64 14144}
!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 = !{!"_ZTS10ImBitArrayILi133ELin512EE", !7, i64 0}
!53 = !{!"_ZTS16ImGuiInputSource", !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, !13, i64 8, !13, i64 12}
!90 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !91, i64 16}
!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 396}
!95 = !{!14, !15, i64 0}
!96 = !{!48, !15, i64 76}
!97 = !{!14, !15, i64 4}
!98 = !{!48, !15, i64 64}
!99 = !{!12, !15, i64 216}
!100 = !{!48, !15, i64 80}
!101 = !{!21, !16, i64 12}
!102 = !{!12, !15, i64 220}
!103 = !{!12, !15, i64 272}
!104 = !{!48, !15, i64 12}
!105 = !{!7, !7, i64 0}
!106 = !{!45, !15, i64 15256}
!107 = !{!21, !16, i64 10}
!108 = !{!12, !6, i64 624}
!109 = !{!21, !16, i64 16}
!110 = !{!45, !13, i64 15968}
!111 = !{!45, !13, i64 16400}
!112 = !{!45, !13, i64 16384}
!113 = !{!114, !6, i64 16}
!114 = !{!"_ZTS14ImGuiPopupData", !13, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 28, !14, i64 32, !14, i64 40}
!115 = !{!114, !6, i64 8}
!116 = !{!45, !6, i64 15920}
!117 = !{!12, !15, i64 16}
!118 = !{!45, !13, i64 15972}
!119 = !{!45, !13, i64 16448}
!120 = !{!45, !13, i64 16548}
!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

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

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

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

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

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

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

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

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(937), 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(937)) 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

; 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

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

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) local_unnamed_addr #3

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

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 8
  %19 = alloca %struct.ImVec2, align 8
  %20 = alloca %struct.ImVec2, align 4
  %21 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %22 = getelementptr inbounds i8, ptr %21, i64 147
  %23 = load i8, ptr %22, align 1, !tbaa !5, !range !38, !noundef !39
  %24 = trunc nuw i8 %23 to i1
  br i1 %24, label %296, 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(937) %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 21192
  %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 %295

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

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 16440
  %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 216
  %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 324
  %52 = getelementptr inbounds i8, ptr %21, i64 396
  %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 14276
  %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 14264
  %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(937) %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 14280
  %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.044.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 336
  %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 220
  %87 = load float, ptr %86, align 4, !tbaa !99
  %88 = getelementptr inbounds i8, ptr %21, i64 272
  %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.044.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.030.0.copyload = load <2 x float>, ptr %9, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %.sroa.030.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 14212
  %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
  %.not163 = icmp eq ptr %1, null
  br i1 %.not163, label %110, label %106

106:                                              ; preds = %98
  %107 = load i8, ptr %1, align 1, !tbaa !102
  %.not164 = icmp eq i8 %107, 0
  br i1 %.not164, 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.027.0.vec.extract = extractelement <2 x float> %109, i64 0
  br label %110

110:                                              ; preds = %98, %106, %108
  %111 = phi float [ %.sroa.027.0.vec.extract, %108 ], [ 0.000000e+00, %106 ], [ 0.000000e+00, %98 ]
  %112 = getelementptr inbounds i8, ptr %26, i64 15256
  %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.044.0.vec.extract46 = 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.044.0.vec.extract46, float noundef 0.000000e+00, float noundef %116)
  %118 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  %.sroa.022.0.vec.extract = extractelement <2 x float> %118, i64 0
  %119 = fsub float %.sroa.022.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 336
  %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 220
  %127 = load float, ptr %126, align 4, !tbaa !99
  %128 = getelementptr inbounds i8, ptr %21, i64 272
  %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.021.0.copyload = load <2 x float>, ptr %12, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %.sroa.021.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 334
  %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 624
  %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 340
  %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
  %.0157.in = phi i1 [ %91, %55 ], [ %131, %138 ]
  br i1 %2, label %151, label %150

150:                                              ; preds = %149
  call void @_ZN5ImGui11EndDisabledEv()
  br label %151

151:                                              ; preds = %150, %149
  %152 = getelementptr inbounds i8, ptr %26, i64 15968
  %153 = load i32, ptr %152, align 8, !tbaa !107
  %154 = load i32, ptr %4, align 4, !tbaa !41
  %155 = icmp eq i32 %153, %154
  %156 = and i1 %155, %2
  br i1 %42, label %157, label %158

157:                                              ; preds = %151
  store ptr %44, ptr %43, align 8, !tbaa !43
  br label %158

158:                                              ; preds = %157, %151
  %159 = load i32, ptr %52, align 4, !tbaa !91
  %160 = icmp eq i32 %159, 1
  br i1 %160, label %161, label %260

161:                                              ; preds = %158
  %162 = getelementptr inbounds i8, ptr %26, i64 16400
  %163 = load i32, ptr %162, align 8, !tbaa !108
  %164 = getelementptr inbounds i8, ptr %26, i64 16384
  %165 = load i32, ptr %164, align 8, !tbaa !109
  %166 = icmp slt i32 %163, %165
  br i1 %166, label %167, label %.thread

167:                                              ; preds = %161
  %168 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %164, i32 noundef %163)
  %169 = getelementptr inbounds i8, ptr %168, i64 16
  %170 = load ptr, ptr %169, align 8, !tbaa !110
  %171 = icmp eq ptr %170, %21
  br i1 %171, label %173, label %.thread

.thread:                                          ; preds = %167, %161
  %172 = getelementptr inbounds i8, ptr %26, i64 15920
  br label %243

173:                                              ; preds = %167
  %174 = load i32, ptr %162, align 8, !tbaa !108
  %175 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %164, i32 noundef %174)
  %176 = getelementptr inbounds i8, ptr %175, i64 8
  %177 = load ptr, ptr %176, align 8, !tbaa !112
  %178 = getelementptr inbounds i8, ptr %26, i64 15920
  %179 = load ptr, ptr %178, align 8, !tbaa !113
  %180 = icmp eq ptr %179, %21
  %181 = icmp ne ptr %177, null
  %or.cond = select i1 %180, i1 %181, i1 false
  br i1 %or.cond, label %182, label %243

182:                                              ; preds = %173
  %183 = load i32, ptr %29, align 4, !tbaa !42
  %184 = and i32 %183, 1024
  %.not165 = icmp eq i32 %184, 0
  br i1 %.not165, label %185, label %243

185:                                              ; preds = %182
  %186 = getelementptr inbounds i8, ptr %26, i64 15256
  %187 = load float, ptr %186, align 8, !tbaa !103
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  %188 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(937) %177)
  %189 = extractvalue { <2 x float>, <2 x float> } %188, 0
  store <2 x float> %189, ptr %16, align 8
  %190 = getelementptr inbounds i8, ptr %16, i64 8
  %191 = extractvalue { <2 x float>, <2 x float> } %188, 1
  store <2 x float> %191, ptr %190, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #10
  %192 = getelementptr inbounds i8, ptr %26, i64 3340
  %193 = getelementptr inbounds i8, ptr %26, i64 240
  %194 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %192, ptr noundef nonnull align 4 dereferenceable(8) %193)
  store <2 x float> %194, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  %195 = getelementptr inbounds i8, ptr %21, i64 16
  %196 = load float, ptr %195, align 8, !tbaa !114
  %197 = getelementptr inbounds i8, ptr %177, i64 16
  %198 = load float, ptr %197, align 8, !tbaa !114
  %199 = fcmp olt float %196, %198
  %200 = extractelement <2 x float> %194, i64 0
  %201 = extractelement <2 x float> %194, i64 1
  br i1 %199, label %202, label %204

202:                                              ; preds = %185
  %203 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %206

204:                                              ; preds = %185
  %205 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %206

206:                                              ; preds = %204, %202
  %storemerge = phi <2 x float> [ %205, %204 ], [ %203, %202 ]
  store <2 x float> %storemerge, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  %207 = load float, ptr %195, align 8, !tbaa !114
  %208 = load float, ptr %197, align 8, !tbaa !114
  %209 = fcmp olt float %207, %208
  %210 = extractelement <2 x float> %storemerge, i64 1
  br i1 %209, label %211, label %213

211:                                              ; preds = %206
  %212 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %215

213:                                              ; preds = %206
  %214 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %215

215:                                              ; preds = %213, %211
  %storemerge166 = phi <2 x float> [ %214, %213 ], [ %212, %211 ]
  store <2 x float> %storemerge166, ptr %19, align 8
  %216 = fsub <2 x float> %194, %storemerge
  %217 = extractelement <2 x float> %216, i64 0
  %218 = call float @llvm.fabs.f32(float %217)
  %219 = fmul float %218, 0x3FD3333340000000
  %220 = fmul float %187, 5.000000e-01
  %221 = fmul float %187, 2.500000e+00
  %222 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %219, float noundef %220, float noundef %221)
  %223 = load float, ptr %195, align 8, !tbaa !114
  %224 = load float, ptr %197, align 8, !tbaa !114
  %225 = fcmp olt float %223, %224
  %226 = select i1 %225, float -5.000000e-01, float 5.000000e-01
  %227 = fadd float %200, %226
  store float %227, ptr %17, align 8, !tbaa !92
  %228 = getelementptr inbounds i8, ptr %18, i64 4
  %229 = fsub float %210, %222
  %230 = fsub float %229, %201
  %231 = fmul float %187, -8.000000e+00
  %232 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %230, float noundef %231)
  %233 = fadd float %201, %232
  store float %233, ptr %228, align 4, !tbaa !94
  %234 = getelementptr inbounds i8, ptr %19, i64 4
  %235 = extractelement <2 x float> %storemerge166, i64 1
  %236 = fadd float %222, %235
  %237 = fsub float %236, %201
  %238 = fmul float %187, 8.000000e+00
  %239 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %237, float noundef %238)
  %240 = fadd float %201, %239
  store float %240, ptr %234, align 4, !tbaa !94
  %241 = 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) %192)
  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
  %242 = xor i1 %241, true
  br label %243

243:                                              ; preds = %.thread, %215, %182, %173
  %244 = phi ptr [ %178, %182 ], [ %178, %215 ], [ %178, %173 ], [ %172, %.thread ]
  %.0149 = phi i1 [ true, %182 ], [ %242, %215 ], [ true, %173 ], [ true, %.thread ]
  %.not169 = xor i1 %28, true
  %brmerge = select i1 %.not169, i1 true, i1 %156
  br i1 %brmerge, label %._crit_edge, label %245

._crit_edge:                                      ; preds = %243
  %.pre = load i32, ptr %4, align 4, !tbaa !41
  br label %251

245:                                              ; preds = %243
  %246 = load ptr, ptr %244, align 8, !tbaa !113
  %247 = icmp eq ptr %246, %21
  %.pre199 = load i32, ptr %4, align 4
  br i1 %247, label %248, label %251

248:                                              ; preds = %245
  %249 = getelementptr inbounds i8, ptr %26, i64 15972
  %250 = load i32, ptr %249, align 4, !tbaa !115
  %.not167 = icmp ne i32 %250, 0
  %.not168 = icmp ne i32 %250, %.pre199
  %or.cond170.not = select i1 %.not167, i1 %.not168, i1 false
  %spec.select192 = and i1 %.0149, %or.cond170.not
  br label %251

251:                                              ; preds = %._crit_edge, %248, %245
  %252 = phi i32 [ %.pre199, %245 ], [ %.pre, %._crit_edge ], [ %.pre199, %248 ]
  %.0150 = phi i1 [ false, %245 ], [ false, %._crit_edge ], [ %spec.select192, %248 ]
  %brmerge172.not = and i1 %.0157.in, %.not169
  %brmerge173 = or i1 %28, %.0157.in
  %.not174 = xor i1 %156, true
  %brmerge175 = select i1 %brmerge173, i1 true, i1 %.not174
  %.0153.v = select i1 %brmerge175, i1 %brmerge172.not, i1 %.0149
  %253 = getelementptr inbounds i8, ptr %26, i64 16448
  %254 = load i32, ptr %253, align 8, !tbaa !116
  %255 = icmp eq i32 %254, %252
  br i1 %255, label %256, label %270

256:                                              ; preds = %251
  %257 = getelementptr inbounds i8, ptr %26, i64 16548
  %258 = load i32, ptr %257, align 4, !tbaa !117
  %259 = icmp eq i32 %258, 1
  br i1 %259, label %.sink.split, label %270

260:                                              ; preds = %158
  %brmerge179.demorgan = and i1 %28, %.0157.in
  %brmerge181.not195 = and i1 %42, %brmerge179.demorgan
  %not.brmerge181.not195 = xor i1 %brmerge181.not195, true
  %.mux191 = xor i1 %28, %brmerge181.not195
  br i1 %.0157.in, label %270, label %261

261:                                              ; preds = %260
  %brmerge184.demorgan = and i1 %42, %156
  %brmerge184 = xor i1 %brmerge184.demorgan, true
  %brmerge185 = or i1 %28, %brmerge184
  br i1 %brmerge185, label %262, label %270

262:                                              ; preds = %261
  %263 = getelementptr inbounds i8, ptr %26, i64 16448
  %264 = load i32, ptr %263, align 8, !tbaa !116
  %265 = icmp eq i32 %264, %154
  br i1 %265, label %266, label %270

266:                                              ; preds = %262
  %267 = getelementptr inbounds i8, ptr %26, i64 16548
  %268 = load i32, ptr %267, align 4, !tbaa !117
  %269 = icmp eq i32 %268, 3
  br i1 %269, label %.sink.split, label %270

.sink.split:                                      ; preds = %266, %256
  %.1151.ph = phi i1 [ %.0150, %256 ], [ false, %266 ]
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %270

270:                                              ; preds = %.sink.split, %251, %256, %260, %261, %262, %266
  %.2155 = phi i1 [ false, %266 ], [ false, %262 ], [ %not.brmerge181.not195, %260 ], [ true, %261 ], [ %.0153.v, %256 ], [ %.0153.v, %251 ], [ true, %.sink.split ]
  %.1151 = phi i1 [ false, %266 ], [ false, %262 ], [ %brmerge181.not195, %260 ], [ false, %261 ], [ %.0150, %256 ], [ %.0150, %251 ], [ %.1151.ph, %.sink.split ]
  %.1147 = phi i1 [ %28, %266 ], [ %28, %262 ], [ %.mux191, %260 ], [ false, %261 ], [ %28, %256 ], [ %28, %251 ], [ %28, %.sink.split ]
  %not. = xor i1 %2, true
  %spec.select186 = select i1 %not., i1 true, i1 %.1151
  br i1 %spec.select186, label %271, label %277

271:                                              ; preds = %270
  %272 = load i32, ptr %4, align 4, !tbaa !41
  %273 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %272, i32 noundef 0)
  br i1 %273, label %274, label %277

274:                                              ; preds = %271
  %275 = getelementptr inbounds i8, ptr %26, i64 16400
  %276 = load i32, ptr %275, align 8, !tbaa !108
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %276, i1 noundef zeroext true)
  br label %277

277:                                              ; preds = %274, %271, %270
  call void @_ZN5ImGui5PopIDEv()
  %.2155.not = xor i1 %.2155, true
  %brmerge187 = select i1 %.1147, i1 true, i1 %.2155.not
  br i1 %brmerge187, label %285, label %278

278:                                              ; preds = %277
  %279 = getelementptr inbounds i8, ptr %26, i64 16384
  %280 = load i32, ptr %279, align 8, !tbaa !109
  %281 = getelementptr inbounds i8, ptr %26, i64 16400
  %282 = load i32, ptr %281, align 8, !tbaa !108
  %283 = icmp sgt i32 %280, %282
  br i1 %283, label %284, label %285

284:                                              ; preds = %278
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %0, i32 noundef 0)
  br label %294

285:                                              ; preds = %277, %278
  br i1 %.2155, label %.thread194, label %286

.thread194:                                       ; preds = %285
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %0, i32 noundef 0)
  br label %287

286:                                              ; preds = %285
  br i1 %.1147, label %287, label %292

287:                                              ; preds = %.thread194, %286
  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
  %288 = getelementptr inbounds i8, ptr %26, i64 14252
  %289 = load float, ptr %288, align 4, !tbaa !118
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 7, float noundef %289)
  %290 = load i32, ptr %4, align 4, !tbaa !41
  %291 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %290, i32 noundef %spec.select)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  br label %294

292:                                              ; preds = %286
  %293 = getelementptr inbounds i8, ptr %26, i64 16176
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %293)
  br label %294

294:                                              ; preds = %287, %292, %284
  %.0 = phi i1 [ false, %284 ], [ %291, %287 ], [ false, %292 ]
  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 %295

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

296:                                              ; preds = %3, %295
  %.2 = phi i1 [ %.1, %295 ], [ 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(937)) 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(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !13, i64 147}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !12, i64 72, !12, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !11, i64 124, !11, i64 132, !13, i64 140, !13, i64 141, !13, i64 142, !13, i64 143, !13, i64 144, !13, i64 145, !13, i64 146, !13, i64 147, !13, i64 148, !13, i64 149, !13, i64 150, !13, i64 151, !13, i64 152, !8, i64 153, !14, i64 154, !14, i64 156, !14, i64 158, !14, i64 160, !10, i64 164, !8, i64 168, !8, i64 169, !8, i64 170, !13, i64 171, !10, i64 172, !8, i64 176, !8, i64 177, !8, i64 178, !8, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !11, i64 184, !11, i64 192, !15, i64 200, !16, i64 216, !22, i64 448, !22, i64 464, !22, i64 480, !22, i64 496, !22, i64 512, !22, i64 528, !22, i64 544, !23, i64 560, !23, i64 564, !10, i64 568, !12, i64 572, !12, i64 576, !24, i64 584, !26, i64 600, !12, i64 616, !10, i64 620, !7, i64 624, !27, i64 632, !7, i64 832, !7, i64 840, !7, i64 848, !7, i64 856, !7, i64 864, !7, i64 872, !7, i64 880, !8, i64 888, !8, i64 896, !10, i64 928, !10, i64 932, !13, i64 936}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!16 = !{!"_ZTS19ImGuiWindowTempData", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !12, i64 60, !17, i64 64, !17, i64 68, !17, i64 72, !11, i64 76, !18, i64 84, !14, i64 88, !14, i64 90, !10, i64 92, !13, i64 96, !13, i64 97, !13, i64 98, !11, i64 100, !19, i64 108, !10, i64 136, !10, i64 140, !20, i64 144, !7, i64 160, !7, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !12, i64 188, !12, i64 192, !21, i64 200, !21, i64 216}
!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 16440}
!44 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !45, i64 8, !46, i64 14168, !46, i64 14184, !47, i64 14200, !7, i64 15248, !12, i64 15256, !12, i64 15260, !48, i64 15264, !49, i64 15776, !10, i64 15784, !10, i64 15788, !10, i64 15792, !13, i64 15796, !13, i64 15797, !13, i64 15798, !13, i64 15799, !13, i64 15800, !7, i64 15808, !20, i64 15816, !20, i64 15832, !20, i64 15848, !50, i64 15864, !24, i64 15880, !10, i64 15896, !11, i64 15900, !7, i64 15912, !7, i64 15920, !7, i64 15928, !7, i64 15936, !7, i64 15944, !11, i64 15952, !12, i64 15960, !10, i64 15964, !10, i64 15968, !10, i64 15972, !13, i64 15976, !13, i64 15977, !13, i64 15978, !13, i64 15979, !12, i64 15980, !12, i64 15984, !10, i64 15988, !10, i64 15992, !12, i64 15996, !13, i64 16000, !13, i64 16001, !13, i64 16002, !13, i64 16003, !13, i64 16004, !13, i64 16005, !13, i64 16006, !10, i64 16008, !10, i64 16012, !51, i64 16016, !11, i64 16036, !7, i64 16048, !52, i64 16056, !10, i64 16060, !10, i64 16064, !13, i64 16068, !13, i64 16069, !7, i64 16072, !10, i64 16080, !12, i64 16084, !10, i64 16088, !53, i64 16092, !54, i64 16112, !55, i64 16176, !56, i64 16288, !57, i64 16304, !58, i64 16320, !15, i64 16336, !59, i64 16352, !60, i64 16368, !61, i64 16384, !61, i64 16400, !10, i64 16416, !62, i64 16424, !7, i64 16440, !10, i64 16448, !10, i64 16452, !10, i64 16456, !10, i64 16460, !10, i64 16464, !10, i64 16468, !10, i64 16472, !10, i64 16476, !10, i64 16480, !10, i64 16484, !10, i64 16488, !10, i64 16492, !52, i64 16496, !18, i64 16500, !13, i64 16504, !13, i64 16505, !13, i64 16506, !13, i64 16507, !13, i64 16508, !13, i64 16509, !13, i64 16510, !10, i64 16512, !22, i64 16516, !13, i64 16532, !13, i64 16533, !13, i64 16534, !10, i64 16536, !10, i64 16540, !10, i64 16544, !10, i64 16548, !10, i64 16552, !10, i64 16556, !22, i64 16560, !22, i64 16576, !10, i64 16592, !10, i64 16596, !10, i64 16600, !63, i64 16608, !63, i64 16656, !63, i64 16704, !63, i64 16752, !7, i64 16800, !7, i64 16808, !7, i64 16816, !12, i64 16824, !12, i64 16828, !13, i64 16832, !12, i64 16836, !10, i64 16840, !13, i64 16844, !13, i64 16845, !13, i64 16846, !10, i64 16848, !10, i64 16852, !10, i64 16856, !64, i64 16864, !22, i64 16928, !10, i64 16944, !10, i64 16948, !12, i64 16952, !10, i64 16956, !10, i64 16960, !10, i64 16964, !10, i64 16968, !65, i64 16976, !8, i64 16992, !10, i64 17008, !66, i64 17016, !7, i64 17032, !10, i64 17040, !67, i64 17048, !68, i64 17064, !21, i64 17104, !37, i64 17120, !7, i64 17136, !70, i64 17144, !72, i64 17184, !73, i64 17200, !11, i64 17216, !74, i64 17224, !78, i64 20944, !10, i64 21056, !10, i64 21060, !12, i64 21064, !12, i64 21068, !10, i64 21072, !35, i64 21076, !80, i64 21092, !12, i64 21140, !13, i64 21144, !13, i64 21145, !12, i64 21148, !12, i64 21152, !12, i64 21156, !12, i64 21160, !14, i64 21164, !14, i64 21166, !12, i64 21168, !75, i64 21176, !15, i64 21192, !81, i64 21208, !81, i64 21224, !8, i64 21240, !13, i64 21241, !12, i64 21244, !82, i64 21248, !83, i64 21264, !84, i64 21280, !85, i64 21296, !86, i64 21312, !10, i64 21328, !13, i64 21332, !87, i64 21336, !7, i64 21344, !82, i64 21352, !7, i64 21368, !7, i64 21376, !12, i64 21384, !13, i64 21388, !10, i64 21392, !10, i64 21396, !10, i64 21400, !13, i64 21404, !10, i64 21408, !88, i64 21412, !89, i64 21432, !8, i64 21464, !10, i64 21944, !10, i64 21948, !12, i64 21952, !10, i64 21956, !10, i64 21960, !10, i64 21964, !8, i64 21968}
!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, !7, i64 64, !7, i64 72, !12, i64 80, !13, i64 84, !7, i64 88, !11, i64 96, !13, i64 104, !13, i64 105, !13, i64 106, !13, i64 107, !13, i64 108, !13, i64 109, !13, i64 110, !12, i64 112, !7, 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, !13, i64 200, !13, i64 201, !13, i64 202, !13, i64 203, !13, i64 204, !13, i64 205, !13, i64 206, !12, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !11, i64 232, !8, i64 240, !8, i64 2820, !11, i64 3332, !8, i64 3340, !12, i64 3348, !12, i64 3352, !13, i64 3356, !13, i64 3357, !13, i64 3358, !13, i64 3359, !8, i64 3360, !10, i64 3440, !10, i64 3444, !8, i64 3448, !13, i64 13768, !11, i64 13772, !8, i64 13780, !8, i64 13824, !8, i64 13864, !8, i64 13869, !8, i64 13874, !8, i64 13884, !8, i64 13894, !8, i64 13899, !8, i64 13904, !8, i64 13912, !8, i64 13932, !8, i64 13952, !8, i64 13972, !8, i64 14052, !12, i64 14132, !13, i64 14136, !8, i64 14137, !13, i64 14138, !14, i64 14140, !29, i64 14144}
!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 = !{!"_ZTS10ImBitArrayILi133ELin512EE", !8, i64 0}
!52 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!53 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!54 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !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, !10, i64 8, !10, i64 12}
!89 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !90, i64 16}
!90 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !7, i64 8}
!91 = !{!6, !10, i64 396}
!92 = !{!11, !12, i64 0}
!93 = !{!47, !12, i64 76}
!94 = !{!11, !12, i64 4}
!95 = !{!47, !12, i64 64}
!96 = !{!6, !12, i64 216}
!97 = !{!47, !12, i64 80}
!98 = !{!19, !14, i64 12}
!99 = !{!6, !12, i64 220}
!100 = !{!6, !12, i64 272}
!101 = !{!47, !12, i64 12}
!102 = !{!8, !8, i64 0}
!103 = !{!44, !12, i64 15256}
!104 = !{!19, !14, i64 10}
!105 = !{!6, !7, i64 624}
!106 = !{!19, !14, i64 16}
!107 = !{!44, !10, i64 15968}
!108 = !{!44, !10, i64 16400}
!109 = !{!44, !10, i64 16384}
!110 = !{!111, !7, i64 16}
!111 = !{!"_ZTS14ImGuiPopupData", !10, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !11, i64 32, !11, i64 40}
!112 = !{!111, !7, i64 8}
!113 = !{!44, !7, i64 15920}
!114 = !{!6, !12, i64 16}
!115 = !{!44, !10, i64 15972}
!116 = !{!44, !10, i64 16448}
!117 = !{!44, !10, i64 16548}
!118 = !{!47, !12, i64 52}


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