; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Libs/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.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.11, %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, i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.17, i32, [4 x i8], %struct.ImVector.18, 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.19, [16 x i8], i32, [4 x i8], %struct.ImVector.20, ptr, i32, [4 x i8], %struct.ImVector.21, %struct.ImPool, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.23, %struct.ImVector.25, %struct.ImVector.26, %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.27, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.29, %struct.ImChunkStream, %struct.ImChunkStream.30, %struct.ImVector.31, 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, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i8, i32, i32, %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 %struct.ImVec2], [5 x float], [512 x float], [512 x float], [20 x float], [20 x float], float, i8, i16, %struct.ImVector.5 }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.22, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImPool.23 = type { %struct.ImVector.24, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector.5, %struct.ImVector.27, %struct.ImVector.27, 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.28, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.27 }
%struct.ImChunkStream.30 = type { %struct.ImVector.27 }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.27 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.32 }
%struct.ImVector.32 = 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 %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca float, align 4
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca float, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca %struct.ImVec2, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca %struct.ImVec2, align 4
  %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 i8, align 1
  %43 = alloca i8, align 1
  %44 = alloca i8, align 1
  %45 = alloca i8, align 1
  %46 = alloca ptr, align 8
  %47 = alloca float, align 4
  %48 = alloca %struct.ImRect, align 4
  %49 = alloca %struct.ImVec2, align 4
  %50 = alloca %struct.ImVec2, align 4
  %51 = alloca %struct.ImVec2, align 4
  %52 = alloca float, align 4
  %53 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %54 = zext i1 %2 to i8
  store i8 %54, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #11
  %55 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %55, ptr %8, align 8, !tbaa !5
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiWindow, ptr %56, i32 0, i32 28
  %58 = load i8, ptr %57, align 1, !tbaa !11, !range !40, !noundef !41
  %59 = trunc i8 %58 to i1
  br i1 %59, label %60, label %61

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

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

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

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

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

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

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

94:                                               ; preds = %91, %86
  %95 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %96 = trunc i8 %95 to i1
  store i1 %96, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %661

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

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

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

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

121:                                              ; preds = %120, %113
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImGuiWindow, ptr %122, i32 0, i32 54
  %124 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %123, i32 0, i32 21
  store ptr %124, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #11
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ImGuiWindow, ptr %125, i32 0, i32 54
  %127 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %126, i32 0, i32 28
  %128 = load i32, ptr %127, align 4, !tbaa !92
  %129 = icmp eq i32 %128, 0
  br i1 %129, label %130, label %217

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

217:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  %218 = getelementptr inbounds %struct.ImVec2, ptr %19, i32 0, i32 0
  %219 = load float, ptr %218, align 4, !tbaa !93
  %220 = getelementptr inbounds %struct.ImVec2, ptr %19, i32 0, i32 1
  %221 = load float, ptr %220, align 4, !tbaa !95
  %222 = load ptr, ptr %11, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.ImGuiStyle, ptr %222, i32 0, i32 2
  %224 = getelementptr inbounds %struct.ImVec2, ptr %223, i32 0, i32 1
  %225 = load float, ptr %224, align 4, !tbaa !102
  %226 = fsub float %221, %225
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef %219, float noundef %226)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !90
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #11
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = icmp ne ptr %227, null
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  br i1 %228, label %229, label %239

229:                                              ; preds = %217
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = getelementptr inbounds i8, ptr %230, i64 0
  %232 = load i8, ptr %231, align 1, !tbaa !103
  %233 = icmp ne i8 %232, 0
  br i1 %233, label %234, label %239

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

239:                                              ; preds = %229, %217
  br label %240

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

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

300:                                              ; preds = %292, %240
  %301 = load ptr, ptr %8, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.ImGuiWindow, ptr %301, i32 0, i32 72
  %303 = load ptr, ptr %302, align 8, !tbaa !106
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #11
  %304 = load ptr, ptr %20, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %304, i32 0, i32 6
  %306 = load i16, ptr %305, align 4, !tbaa !107
  %307 = zext i16 %306 to i32
  %308 = sitofp i32 %307 to float
  %309 = load float, ptr %33, align 4, !tbaa !91
  %310 = fadd float %308, %309
  %311 = load ptr, ptr %10, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.ImGuiContext, ptr %311, i32 0, i32 6
  %313 = load float, ptr %312, align 8, !tbaa !104
  %314 = call float @llvm.fmuladd.f32(float %313, float 0x3FD3333340000000, float %310)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef %314, float noundef 0.000000e+00)
  %315 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %41)
  store <2 x float> %315, ptr %40, align 4
  %316 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  %317 = load <2 x float>, ptr %40, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %303, <2 x float> %317, i32 noundef %316, i32 noundef 1, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #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 %31) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #11
  br label %318

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

321:                                              ; preds = %318
  call void @_ZN5ImGui11EndDisabledEv()
  br label %322

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

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

331:                                              ; preds = %328, %322
  %332 = phi i1 [ false, %322 ], [ %330, %328 ]
  %333 = zext i1 %332 to i8
  store i8 %333, ptr %42, align 1, !tbaa !9
  %334 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %335 = trunc i8 %334 to i1
  br i1 %335, label %336, label %340

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

340:                                              ; preds = %336, %331
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #11
  store i8 0, ptr %43, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #11
  store i8 0, ptr %44, align 1, !tbaa !9
  %341 = load ptr, ptr %8, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.ImGuiWindow, ptr %341, i32 0, i32 54
  %343 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %342, i32 0, i32 28
  %344 = load i32, ptr %343, align 4, !tbaa !92
  %345 = icmp eq i32 %344, 1
  br i1 %345, label %346, label %558

346:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #11
  store i8 0, ptr %45, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #11
  %347 = load ptr, ptr %10, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.ImGuiContext, ptr %347, i32 0, i32 81
  %349 = getelementptr inbounds %struct.ImVector.17, ptr %348, i32 0, i32 0
  %350 = load i32, ptr %349, align 8, !tbaa !109
  %351 = load ptr, ptr %10, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.ImGuiContext, ptr %351, i32 0, i32 80
  %353 = getelementptr inbounds %struct.ImVector.17, ptr %352, i32 0, i32 0
  %354 = load i32, ptr %353, align 8, !tbaa !110
  %355 = icmp slt i32 %350, %354
  br i1 %355, label %356, label %378

356:                                              ; preds = %346
  %357 = load ptr, ptr %10, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.ImGuiContext, ptr %357, i32 0, i32 80
  %359 = load ptr, ptr %10, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.ImGuiContext, ptr %359, i32 0, i32 81
  %361 = getelementptr inbounds %struct.ImVector.17, ptr %360, i32 0, i32 0
  %362 = load i32, ptr %361, align 8, !tbaa !109
  %363 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %358, i32 noundef %362)
  %364 = getelementptr inbounds %struct.ImGuiPopupData, ptr %363, i32 0, i32 2
  %365 = load ptr, ptr %364, align 8, !tbaa !111
  %366 = load ptr, ptr %8, align 8, !tbaa !5
  %367 = icmp eq ptr %365, %366
  br i1 %367, label %368, label %378

368:                                              ; preds = %356
  %369 = load ptr, ptr %10, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.ImGuiContext, ptr %369, i32 0, i32 80
  %371 = load ptr, ptr %10, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.ImGuiContext, ptr %371, i32 0, i32 81
  %373 = getelementptr inbounds %struct.ImVector.17, ptr %372, i32 0, i32 0
  %374 = load i32, ptr %373, align 8, !tbaa !109
  %375 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %370, i32 noundef %374)
  %376 = getelementptr inbounds %struct.ImGuiPopupData, ptr %375, i32 0, i32 1
  %377 = load ptr, ptr %376, align 8, !tbaa !113
  br label %379

378:                                              ; preds = %356, %346
  br label %379

379:                                              ; preds = %378, %368
  %380 = phi ptr [ %377, %368 ], [ null, %378 ]
  store ptr %380, ptr %46, align 8, !tbaa !5
  %381 = load ptr, ptr %10, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.ImGuiContext, ptr %381, i32 0, i32 29
  %383 = load ptr, ptr %382, align 8, !tbaa !114
  %384 = load ptr, ptr %8, align 8, !tbaa !5
  %385 = icmp eq ptr %383, %384
  br i1 %385, label %386, label %500

386:                                              ; preds = %379
  %387 = load ptr, ptr %46, align 8, !tbaa !5
  %388 = icmp ne ptr %387, null
  br i1 %388, label %389, label %500

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

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

421:                                              ; preds = %395
  %422 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  store <2 x float> %422, ptr %50, align 4
  br label %425

423:                                              ; preds = %395
  %424 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  store <2 x float> %424, ptr %50, align 4
  br label %425

425:                                              ; preds = %423, %421
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #11
  %426 = load ptr, ptr %8, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.ImGuiWindow, ptr %426, i32 0, i32 3
  %428 = getelementptr inbounds %struct.ImVec2, ptr %427, i32 0, i32 0
  %429 = load float, ptr %428, align 8, !tbaa !115
  %430 = load ptr, ptr %46, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.ImGuiWindow, ptr %430, i32 0, i32 3
  %432 = getelementptr inbounds %struct.ImVec2, ptr %431, i32 0, i32 0
  %433 = load float, ptr %432, align 8, !tbaa !115
  %434 = fcmp olt float %429, %433
  br i1 %434, label %435, label %437

435:                                              ; preds = %425
  %436 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  store <2 x float> %436, ptr %51, align 4
  br label %439

437:                                              ; preds = %425
  %438 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  store <2 x float> %438, ptr %51, align 4
  br label %439

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

500:                                              ; preds = %439, %389, %386, %379
  %501 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %502 = trunc i8 %501 to i1
  br i1 %502, label %503, label %527

503:                                              ; preds = %500
  %504 = load i8, ptr %42, align 1, !tbaa !9, !range !40, !noundef !41
  %505 = trunc i8 %504 to i1
  br i1 %505, label %527, label %506

506:                                              ; preds = %503
  %507 = load ptr, ptr %10, align 8, !tbaa !5
  %508 = getelementptr inbounds %struct.ImGuiContext, ptr %507, i32 0, i32 29
  %509 = load ptr, ptr %508, align 8, !tbaa !114
  %510 = load ptr, ptr %8, align 8, !tbaa !5
  %511 = icmp eq ptr %509, %510
  br i1 %511, label %512, label %527

512:                                              ; preds = %506
  %513 = load ptr, ptr %10, align 8, !tbaa !5
  %514 = getelementptr inbounds %struct.ImGuiContext, ptr %513, i32 0, i32 37
  %515 = load i32, ptr %514, align 4, !tbaa !116
  %516 = icmp ne i32 %515, 0
  br i1 %516, label %517, label %527

517:                                              ; preds = %512
  %518 = load ptr, ptr %10, align 8, !tbaa !5
  %519 = getelementptr inbounds %struct.ImGuiContext, ptr %518, i32 0, i32 37
  %520 = load i32, ptr %519, align 4, !tbaa !116
  %521 = load i32, ptr %12, align 4, !tbaa !42
  %522 = icmp ne i32 %520, %521
  br i1 %522, label %523, label %527

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

526:                                              ; preds = %523
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %527

527:                                              ; preds = %526, %523, %517, %512, %506, %503, %500
  %528 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %529 = trunc i8 %528 to i1
  br i1 %529, label %534, label %530

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

533:                                              ; preds = %530
  store i8 1, ptr %43, align 1, !tbaa !9
  br label %545

534:                                              ; preds = %530, %527
  %535 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %536 = trunc i8 %535 to i1
  br i1 %536, label %544, label %537

537:                                              ; preds = %534
  %538 = load i8, ptr %42, align 1, !tbaa !9, !range !40, !noundef !41
  %539 = trunc i8 %538 to i1
  br i1 %539, label %540, label %544

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

543:                                              ; preds = %540
  store i8 1, ptr %43, align 1, !tbaa !9
  br label %544

544:                                              ; preds = %543, %540, %537, %534
  br label %545

545:                                              ; preds = %544, %533
  %546 = load ptr, ptr %10, align 8, !tbaa !5
  %547 = getelementptr inbounds %struct.ImGuiContext, ptr %546, i32 0, i32 86
  %548 = load i32, ptr %547, align 8, !tbaa !117
  %549 = load i32, ptr %12, align 4, !tbaa !42
  %550 = icmp eq i32 %548, %549
  br i1 %550, label %551, label %557

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

556:                                              ; preds = %551
  store i8 1, ptr %43, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %557

557:                                              ; preds = %556, %551, %545
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #11
  br label %596

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

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

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

567:                                              ; preds = %564
  store i8 1, ptr %44, align 1, !tbaa !9
  store i8 0, ptr %13, align 1, !tbaa !9
  store i8 0, ptr %43, align 1, !tbaa !9
  br label %595

568:                                              ; preds = %564, %561, %558
  %569 = load i8, ptr %21, align 1, !tbaa !9, !range !40, !noundef !41
  %570 = trunc i8 %569 to i1
  br i1 %570, label %580, label %571

571:                                              ; preds = %568
  %572 = load i8, ptr %42, align 1, !tbaa !9, !range !40, !noundef !41
  %573 = trunc i8 %572 to i1
  br i1 %573, label %574, label %581

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

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

580:                                              ; preds = %577, %568
  store i8 1, ptr %43, align 1, !tbaa !9
  br label %594

581:                                              ; preds = %577, %574, %571
  %582 = load ptr, ptr %10, align 8, !tbaa !5
  %583 = getelementptr inbounds %struct.ImGuiContext, ptr %582, i32 0, i32 86
  %584 = load i32, ptr %583, align 8, !tbaa !117
  %585 = load i32, ptr %12, align 4, !tbaa !42
  %586 = icmp eq i32 %584, %585
  br i1 %586, label %587, label %593

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

592:                                              ; preds = %587
  store i8 1, ptr %43, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %593

593:                                              ; preds = %592, %587, %581
  br label %594

594:                                              ; preds = %593, %580
  br label %595

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

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

599:                                              ; preds = %596
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %600

600:                                              ; preds = %599, %596
  %601 = load i8, ptr %44, align 1, !tbaa !9, !range !40, !noundef !41
  %602 = trunc i8 %601 to i1
  br i1 %602, label %603, label %611

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

606:                                              ; preds = %603
  %607 = load ptr, ptr %10, align 8, !tbaa !5
  %608 = getelementptr inbounds %struct.ImGuiContext, ptr %607, i32 0, i32 81
  %609 = getelementptr inbounds %struct.ImVector.17, ptr %608, i32 0, i32 0
  %610 = load i32, ptr %609, align 8, !tbaa !109
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %610, i1 noundef zeroext true)
  br label %611

611:                                              ; preds = %606, %603, %600
  call void @_ZN5ImGui5PopIDEv()
  %612 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %613 = trunc i8 %612 to i1
  br i1 %613, label %629, label %614

614:                                              ; preds = %611
  %615 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %616 = trunc i8 %615 to i1
  br i1 %616, label %617, label %629

617:                                              ; preds = %614
  %618 = load ptr, ptr %10, align 8, !tbaa !5
  %619 = getelementptr inbounds %struct.ImGuiContext, ptr %618, i32 0, i32 80
  %620 = getelementptr inbounds %struct.ImVector.17, ptr %619, i32 0, i32 0
  %621 = load i32, ptr %620, align 8, !tbaa !110
  %622 = load ptr, ptr %10, align 8, !tbaa !5
  %623 = getelementptr inbounds %struct.ImGuiContext, ptr %622, i32 0, i32 81
  %624 = getelementptr inbounds %struct.ImVector.17, ptr %623, i32 0, i32 0
  %625 = load i32, ptr %624, align 8, !tbaa !109
  %626 = icmp sgt i32 %621, %625
  br i1 %626, label %627, label %629

627:                                              ; preds = %617
  %628 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %628, i32 noundef 0)
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %660

629:                                              ; preds = %617, %614, %611
  %630 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %631 = trunc i8 %630 to i1
  %632 = zext i1 %631 to i32
  %633 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %634 = trunc i8 %633 to i1
  %635 = zext i1 %634 to i32
  %636 = or i32 %635, %632
  %637 = icmp ne i32 %636, 0
  %638 = zext i1 %637 to i8
  store i8 %638, ptr %13, align 1, !tbaa !9
  %639 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %640 = trunc i8 %639 to i1
  br i1 %640, label %641, label %643

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

643:                                              ; preds = %641, %629
  %644 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %645 = trunc i8 %644 to i1
  br i1 %645, label %646, label %654

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

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

657:                                              ; preds = %654, %646
  %658 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %659 = trunc i8 %658 to i1
  store i1 %659, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %660

660:                                              ; preds = %657, %627
  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 1, ptr %42) #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 %661

661:                                              ; preds = %660, %94
  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 %662

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

; 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 7712}
!45 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !46, i64 8, !47, i64 5488, !6, i64 6536, !15, i64 6544, !15, i64 6548, !48, i64 6552, !49, i64 7064, !13, i64 7072, !13, i64 7076, !13, i64 7080, !10, i64 7084, !10, i64 7085, !10, i64 7086, !10, i64 7087, !10, i64 7088, !6, i64 7096, !22, i64 7104, !22, i64 7120, !22, i64 7136, !50, i64 7152, !26, i64 7168, !13, i64 7184, !14, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !14, i64 7240, !15, i64 7248, !13, i64 7252, !13, i64 7256, !13, i64 7260, !10, i64 7264, !10, i64 7265, !10, i64 7266, !10, i64 7267, !15, i64 7268, !15, i64 7272, !13, i64 7276, !13, i64 7280, !15, i64 7284, !10, i64 7288, !10, i64 7289, !10, i64 7290, !10, i64 7291, !10, i64 7292, !10, i64 7293, !10, i64 7294, !13, i64 7296, !13, i64 7300, !51, i64 7304, !14, i64 7312, !6, i64 7320, !52, i64 7328, !13, i64 7332, !13, i64 7336, !10, i64 7340, !10, i64 7341, !6, i64 7344, !13, i64 7352, !15, i64 7356, !13, i64 7360, !53, i64 7364, !54, i64 7384, !55, i64 7448, !56, i64 7560, !57, i64 7576, !58, i64 7592, !17, i64 7608, !59, i64 7624, !60, i64 7640, !61, i64 7656, !61, i64 7672, !13, i64 7688, !62, i64 7696, !6, i64 7712, !13, i64 7720, !13, i64 7724, !13, i64 7728, !13, i64 7732, !13, i64 7736, !13, i64 7740, !13, i64 7744, !13, i64 7748, !13, i64 7752, !13, i64 7756, !13, i64 7760, !13, i64 7764, !52, i64 7768, !20, i64 7772, !10, i64 7776, !10, i64 7777, !10, i64 7778, !10, i64 7779, !10, i64 7780, !10, i64 7781, !10, i64 7782, !13, i64 7784, !24, i64 7788, !10, i64 7804, !10, i64 7805, !10, i64 7806, !13, i64 7808, !13, i64 7812, !13, i64 7816, !13, i64 7820, !13, i64 7824, !13, i64 7828, !24, i64 7832, !24, i64 7848, !13, i64 7864, !13, i64 7868, !13, i64 7872, !63, i64 7880, !63, i64 7928, !63, i64 7976, !63, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !15, i64 8096, !15, i64 8100, !10, i64 8104, !15, i64 8108, !13, i64 8112, !10, i64 8116, !10, i64 8117, !10, i64 8118, !13, i64 8120, !13, i64 8124, !13, i64 8128, !64, i64 8136, !24, i64 8200, !13, i64 8216, !13, i64 8220, !15, i64 8224, !13, i64 8228, !13, i64 8232, !13, i64 8236, !13, i64 8240, !65, i64 8248, !7, i64 8264, !13, i64 8280, !66, i64 8288, !6, i64 8304, !13, i64 8312, !67, i64 8320, !68, i64 8336, !23, i64 8376, !39, i64 8392, !6, i64 8408, !70, i64 8416, !72, i64 8456, !73, i64 8472, !14, i64 8488, !74, i64 8496, !78, i64 12216, !13, i64 12328, !13, i64 12332, !15, i64 12336, !15, i64 12340, !13, i64 12344, !37, i64 12348, !80, i64 12364, !15, i64 12412, !10, i64 12416, !10, i64 12417, !15, i64 12420, !15, i64 12424, !15, i64 12428, !15, i64 12432, !16, i64 12436, !16, i64 12438, !15, i64 12440, !75, i64 12448, !17, i64 12464, !14, i64 12480, !14, i64 12488, !7, i64 12496, !10, i64 12497, !15, i64 12500, !81, i64 12504, !82, i64 12520, !83, i64 12536, !84, i64 12552, !85, i64 12568, !13, i64 12584, !10, i64 12588, !86, i64 12592, !6, i64 12600, !81, i64 12608, !6, i64 12624, !6, i64 12632, !15, i64 12640, !10, i64 12644, !13, i64 12648, !13, i64 12652, !13, i64 12656, !10, i64 12660, !13, i64 12664, !87, i64 12668, !88, i64 12688, !7, i64 12720, !13, i64 13200, !13, i64 13204, !15, i64 13208, !13, i64 13212, !13, i64 13216, !13, i64 13220, !7, i64 13224}
!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, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !10, i64 172, !6, i64 176, !14, i64 184, !10, i64 192, !10, i64 193, !10, i64 194, !10, i64 195, !10, i64 196, !10, i64 197, !15, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !10, i64 312, !10, i64 313, !10, i64 314, !10, i64 315, !7, i64 316, !7, i64 828, !10, i64 908, !10, i64 909, !10, i64 910, !10, i64 911, !10, i64 912, !10, i64 913, !10, i64 914, !15, i64 916, !13, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !10, i64 948, !13, i64 952, !13, i64 956, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !15, i64 5452, !10, i64 5456, !16, i64 5458, !31, i64 5464}
!47 = !{!"_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}
!48 = !{!"_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}
!49 = !{!"double", !7, i64 0}
!50 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"long long", !7, i64 0}
!52 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!53 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !10, i64 16}
!54 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !24, i64 12, !24, i64 28, !24, i64 44}
!55 = !{!"_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}
!56 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_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}
!64 = !{!"_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}
!65 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS6ImPoolI10ImGuiTableE", !69, i64 0, !26, i64 16, !13, i64 32, !13, i64 36}
!69 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !71, i64 0, !26, i64 16, !13, i64 32, !13, i64 36}
!71 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!73 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!74 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !31, i64 16, !75, i64 32, !75, i64 48, !10, i64 64, !13, i64 68, !15, i64 72, !76, i64 76, !15, i64 3704, !10, i64 3708, !10, i64 3709, !10, i64 3710, !13, i64 3712}
!75 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!76 = !{!"_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, !77, i64 32}
!77 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!78 = !{!"_ZTS6ImFont", !23, i64 0, !15, i64 16, !15, i64 20, !31, i64 24, !79, 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}
!79 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!81 = !{!"_ZTS15ImGuiTextBuffer", !75, i64 0}
!82 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!83 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !75, i64 0}
!84 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !75, i64 0}
!85 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!86 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!87 = !{!"_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}
!88 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !89, i64 16}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{i64 0, i64 4, !91, i64 4, i64 4, !91}
!91 = !{!15, !15, i64 0}
!92 = !{!12, !13, i64 396}
!93 = !{!14, !15, i64 0}
!94 = !{!47, !15, i64 76}
!95 = !{!14, !15, i64 4}
!96 = !{!47, !15, i64 64}
!97 = !{!12, !15, i64 216}
!98 = !{!47, !15, i64 80}
!99 = !{!21, !16, i64 12}
!100 = !{!12, !15, i64 220}
!101 = !{!12, !15, i64 272}
!102 = !{!47, !15, i64 12}
!103 = !{!7, !7, i64 0}
!104 = !{!45, !15, i64 6544}
!105 = !{!21, !16, i64 10}
!106 = !{!12, !6, i64 624}
!107 = !{!21, !16, i64 16}
!108 = !{!45, !13, i64 7256}
!109 = !{!45, !13, i64 7672}
!110 = !{!45, !13, i64 7656}
!111 = !{!112, !6, i64 16}
!112 = !{!"_ZTS14ImGuiPopupData", !13, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 28, !14, i64 32, !14, i64 40}
!113 = !{!112, !6, i64 8}
!114 = !{!45, !6, i64 7208}
!115 = !{!12, !15, i64 16}
!116 = !{!45, !13, i64 7260}
!117 = !{!45, !13, i64 7720}
!118 = !{!45, !13, i64 7820}
!119 = !{!47, !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 12464
  %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 7448
  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 7712
  %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 !89
  %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 !90
  %57 = fadd float %56, -1.000000e+00
  %58 = getelementptr inbounds i8, ptr %26, i64 5564
  %59 = load float, ptr %58, align 4, !tbaa !91
  %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 !92
  %66 = getelementptr inbounds i8, ptr %26, i64 5552
  %67 = load float, ptr %66, align 4, !tbaa !93
  %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 !91
  %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 !94
  %77 = fadd float %76, %75
  store float %77, ptr %47, align 8, !tbaa !94
  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 5568
  %80 = load float, ptr %79, align 4, !tbaa !95
  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 !94
  %82 = getelementptr inbounds i8, ptr %21, i64 336
  %83 = load i16, ptr %82, align 4, !tbaa !96
  %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 !97
  %88 = getelementptr inbounds i8, ptr %21, i64 272
  %89 = load float, ptr %88, align 8, !tbaa !98
  %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 !91
  %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 !94
  %97 = fadd float %96, %95
  store float %97, ptr %47, align 8, !tbaa !94
  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 !90
  %100 = getelementptr inbounds i8, ptr %6, i64 4
  %101 = load float, ptr %100, align 4, !tbaa !92
  %102 = getelementptr inbounds i8, ptr %26, i64 5500
  %103 = load float, ptr %102, align 4, !tbaa !99
  %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
  %.not162 = icmp eq ptr %1, null
  br i1 %.not162, label %110, label %106

106:                                              ; preds = %98
  %107 = load i8, ptr %1, align 1, !tbaa !100
  %.not163 = icmp eq i8 %107, 0
  br i1 %.not163, 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 6544
  %113 = load float, ptr %112, align 8, !tbaa !101
  %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 !94
  %122 = getelementptr inbounds i8, ptr %21, i64 336
  %123 = load i16, ptr %122, align 4, !tbaa !96
  %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 !97
  %128 = getelementptr inbounds i8, ptr %21, i64 272
  %129 = load float, ptr %128, align 8, !tbaa !98
  %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 !102
  %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 !103
  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 !104
  %143 = uitofp i16 %142 to float
  %144 = fadd float %120, %143
  %145 = load float, ptr %112, align 8, !tbaa !101
  %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
  %.0156.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 7256
  %153 = load i32, ptr %152, align 8, !tbaa !105
  %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 !89
  %160 = icmp eq i32 %159, 1
  br i1 %160, label %161, label %260

161:                                              ; preds = %158
  %162 = getelementptr inbounds i8, ptr %26, i64 7672
  %163 = load i32, ptr %162, align 8, !tbaa !106
  %164 = getelementptr inbounds i8, ptr %26, i64 7656
  %165 = load i32, ptr %164, align 8, !tbaa !107
  %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 !108
  %171 = icmp eq ptr %170, %21
  br i1 %171, label %173, label %.thread

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

173:                                              ; preds = %167
  %174 = load i32, ptr %162, align 8, !tbaa !106
  %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 !110
  %178 = getelementptr inbounds i8, ptr %26, i64 7208
  %179 = load ptr, ptr %178, align 8, !tbaa !111
  %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
  %.not164 = icmp eq i32 %184, 0
  br i1 %.not164, label %185, label %243

185:                                              ; preds = %182
  %186 = getelementptr inbounds i8, ptr %26, i64 6544
  %187 = load float, ptr %186, align 8, !tbaa !101
  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 296
  %193 = getelementptr inbounds i8, ptr %26, i64 948
  %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 !112
  %197 = getelementptr inbounds i8, ptr %177, i64 16
  %198 = load float, ptr %197, align 8, !tbaa !112
  %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 !112
  %208 = load float, ptr %197, align 8, !tbaa !112
  %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
  %storemerge165 = phi <2 x float> [ %214, %213 ], [ %212, %211 ]
  store <2 x float> %storemerge165, 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 !112
  %224 = load float, ptr %197, align 8, !tbaa !112
  %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 !90
  %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 !92
  %234 = getelementptr inbounds i8, ptr %19, i64 4
  %235 = extractelement <2 x float> %storemerge165, 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 !92
  %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 ]
  %.0148 = phi i1 [ true, %182 ], [ %242, %215 ], [ true, %173 ], [ true, %.thread ]
  %.not168 = xor i1 %28, true
  %brmerge = select i1 %.not168, 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 !111
  %247 = icmp eq ptr %246, %21
  %.pre198 = load i32, ptr %4, align 4
  br i1 %247, label %248, label %251

248:                                              ; preds = %245
  %249 = getelementptr inbounds i8, ptr %26, i64 7260
  %250 = load i32, ptr %249, align 4, !tbaa !113
  %.not166 = icmp ne i32 %250, 0
  %.not167 = icmp ne i32 %250, %.pre198
  %or.cond169.not = select i1 %.not166, i1 %.not167, i1 false
  %spec.select191 = and i1 %.0148, %or.cond169.not
  br label %251

251:                                              ; preds = %._crit_edge, %248, %245
  %252 = phi i32 [ %.pre198, %245 ], [ %.pre, %._crit_edge ], [ %.pre198, %248 ]
  %.0149 = phi i1 [ false, %245 ], [ false, %._crit_edge ], [ %spec.select191, %248 ]
  %brmerge171.not = and i1 %.0156.in, %.not168
  %brmerge172 = or i1 %28, %.0156.in
  %.not173 = xor i1 %156, true
  %brmerge174 = select i1 %brmerge172, i1 true, i1 %.not173
  %.0152.v = select i1 %brmerge174, i1 %brmerge171.not, i1 %.0148
  %253 = getelementptr inbounds i8, ptr %26, i64 7720
  %254 = load i32, ptr %253, align 8, !tbaa !114
  %255 = icmp eq i32 %254, %252
  br i1 %255, label %256, label %270

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

260:                                              ; preds = %158
  %brmerge178.demorgan = and i1 %28, %.0156.in
  %brmerge180.not194 = and i1 %42, %brmerge178.demorgan
  %not.brmerge180.not194 = xor i1 %brmerge180.not194, true
  %.mux190 = xor i1 %28, %brmerge180.not194
  br i1 %.0156.in, label %270, label %261

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

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

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

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

270:                                              ; preds = %.sink.split, %251, %256, %260, %261, %262, %266
  %.2154 = phi i1 [ false, %266 ], [ false, %262 ], [ %not.brmerge180.not194, %260 ], [ true, %261 ], [ %.0152.v, %256 ], [ %.0152.v, %251 ], [ true, %.sink.split ]
  %.1150 = phi i1 [ false, %266 ], [ false, %262 ], [ %brmerge180.not194, %260 ], [ false, %261 ], [ %.0149, %256 ], [ %.0149, %251 ], [ %.1150.ph, %.sink.split ]
  %.1146 = phi i1 [ %28, %266 ], [ %28, %262 ], [ %.mux190, %260 ], [ false, %261 ], [ %28, %256 ], [ %28, %251 ], [ %28, %.sink.split ]
  %not. = xor i1 %2, true
  %spec.select185 = select i1 %not., i1 true, i1 %.1150
  br i1 %spec.select185, 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 7672
  %276 = load i32, ptr %275, align 8, !tbaa !106
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %276, i1 noundef zeroext true)
  br label %277

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

278:                                              ; preds = %277
  %279 = getelementptr inbounds i8, ptr %26, i64 7656
  %280 = load i32, ptr %279, align 8, !tbaa !107
  %281 = getelementptr inbounds i8, ptr %26, i64 7672
  %282 = load i32, ptr %281, align 8, !tbaa !106
  %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 %.2154, label %.thread193, label %286

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

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

287:                                              ; preds = %.thread193, %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 5540
  %289 = load float, ptr %288, align 4, !tbaa !116
  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 7448
  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 7712}
!44 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !45, i64 8, !46, i64 5488, !7, i64 6536, !12, i64 6544, !12, i64 6548, !47, i64 6552, !48, i64 7064, !10, i64 7072, !10, i64 7076, !10, i64 7080, !13, i64 7084, !13, i64 7085, !13, i64 7086, !13, i64 7087, !13, i64 7088, !7, i64 7096, !20, i64 7104, !20, i64 7120, !20, i64 7136, !49, i64 7152, !24, i64 7168, !10, i64 7184, !11, i64 7188, !7, i64 7200, !7, i64 7208, !7, i64 7216, !7, i64 7224, !7, i64 7232, !11, i64 7240, !12, i64 7248, !10, i64 7252, !10, i64 7256, !10, i64 7260, !13, i64 7264, !13, i64 7265, !13, i64 7266, !13, i64 7267, !12, i64 7268, !12, i64 7272, !10, i64 7276, !10, i64 7280, !12, i64 7284, !13, i64 7288, !13, i64 7289, !13, i64 7290, !13, i64 7291, !13, i64 7292, !13, i64 7293, !13, i64 7294, !10, i64 7296, !10, i64 7300, !50, i64 7304, !11, i64 7312, !7, i64 7320, !51, i64 7328, !10, i64 7332, !10, i64 7336, !13, i64 7340, !13, i64 7341, !7, i64 7344, !10, i64 7352, !12, i64 7356, !10, i64 7360, !52, i64 7364, !53, i64 7384, !54, i64 7448, !55, i64 7560, !56, i64 7576, !57, i64 7592, !15, i64 7608, !58, i64 7624, !59, i64 7640, !60, i64 7656, !60, i64 7672, !10, i64 7688, !61, i64 7696, !7, i64 7712, !10, i64 7720, !10, i64 7724, !10, i64 7728, !10, i64 7732, !10, i64 7736, !10, i64 7740, !10, i64 7744, !10, i64 7748, !10, i64 7752, !10, i64 7756, !10, i64 7760, !10, i64 7764, !51, i64 7768, !18, i64 7772, !13, i64 7776, !13, i64 7777, !13, i64 7778, !13, i64 7779, !13, i64 7780, !13, i64 7781, !13, i64 7782, !10, i64 7784, !22, i64 7788, !13, i64 7804, !13, i64 7805, !13, i64 7806, !10, i64 7808, !10, i64 7812, !10, i64 7816, !10, i64 7820, !10, i64 7824, !10, i64 7828, !22, i64 7832, !22, i64 7848, !10, i64 7864, !10, i64 7868, !10, i64 7872, !62, i64 7880, !62, i64 7928, !62, i64 7976, !62, i64 8024, !7, i64 8072, !7, i64 8080, !7, i64 8088, !12, i64 8096, !12, i64 8100, !13, i64 8104, !12, i64 8108, !10, i64 8112, !13, i64 8116, !13, i64 8117, !13, i64 8118, !10, i64 8120, !10, i64 8124, !10, i64 8128, !63, i64 8136, !22, i64 8200, !10, i64 8216, !10, i64 8220, !12, i64 8224, !10, i64 8228, !10, i64 8232, !10, i64 8236, !10, i64 8240, !64, i64 8248, !8, i64 8264, !10, i64 8280, !65, i64 8288, !7, i64 8304, !10, i64 8312, !66, i64 8320, !67, i64 8336, !21, i64 8376, !37, i64 8392, !7, i64 8408, !69, i64 8416, !71, i64 8456, !72, i64 8472, !11, i64 8488, !73, i64 8496, !77, i64 12216, !10, i64 12328, !10, i64 12332, !12, i64 12336, !12, i64 12340, !10, i64 12344, !35, i64 12348, !79, i64 12364, !12, i64 12412, !13, i64 12416, !13, i64 12417, !12, i64 12420, !12, i64 12424, !12, i64 12428, !12, i64 12432, !14, i64 12436, !14, i64 12438, !12, i64 12440, !74, i64 12448, !15, i64 12464, !11, i64 12480, !11, i64 12488, !8, i64 12496, !13, i64 12497, !12, i64 12500, !80, i64 12504, !81, i64 12520, !82, i64 12536, !83, i64 12552, !84, i64 12568, !10, i64 12584, !13, i64 12588, !85, i64 12592, !7, i64 12600, !80, i64 12608, !7, i64 12624, !7, i64 12632, !12, i64 12640, !13, i64 12644, !10, i64 12648, !10, i64 12652, !10, i64 12656, !13, i64 12660, !10, i64 12664, !86, i64 12668, !87, i64 12688, !8, i64 12720, !10, i64 13200, !10, i64 13204, !12, i64 13208, !10, i64 13212, !10, i64 13216, !10, i64 13220, !8, i64 13224}
!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, !8, i64 52, !12, i64 140, !12, i64 144, !7, i64 152, !7, i64 160, !12, i64 168, !13, i64 172, !7, i64 176, !11, i64 184, !13, i64 192, !13, i64 193, !13, i64 194, !13, i64 195, !13, i64 196, !13, i64 197, !12, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !11, i64 288, !8, i64 296, !12, i64 304, !12, i64 308, !13, i64 312, !13, i64 313, !13, i64 314, !13, i64 315, !8, i64 316, !8, i64 828, !13, i64 908, !13, i64 909, !13, i64 910, !13, i64 911, !13, i64 912, !13, i64 913, !13, i64 914, !12, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !11, i64 940, !13, i64 948, !10, i64 952, !10, i64 956, !11, i64 960, !8, i64 968, !8, i64 1008, !8, i64 1048, !8, i64 1053, !8, i64 1058, !8, i64 1068, !8, i64 1078, !8, i64 1083, !8, i64 1088, !8, i64 1096, !8, i64 1116, !8, i64 1136, !8, i64 1176, !8, i64 1196, !8, i64 3244, !8, i64 5292, !8, i64 5372, !12, i64 5452, !13, i64 5456, !14, i64 5458, !29, i64 5464}
!46 = !{!"_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}
!47 = !{!"_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}
!48 = !{!"double", !8, i64 0}
!49 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!50 = !{!"long long", !8, i64 0}
!51 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!52 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!53 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !22, i64 12, !22, i64 28, !22, i64 44}
!54 = !{!"_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}
!55 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!56 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!57 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!58 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!59 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!60 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!61 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !7, i64 8}
!62 = !{!"_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}
!63 = !{!"_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}
!64 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!66 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!67 = !{!"_ZTS6ImPoolI10ImGuiTableE", !68, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!68 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !7, i64 8}
!69 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !70, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!70 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!71 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!72 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!73 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !29, i64 16, !74, i64 32, !74, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !75, i64 76, !12, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712}
!74 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!75 = !{!"_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, !76, i64 32}
!76 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!77 = !{!"_ZTS6ImFont", !21, i64 0, !12, i64 16, !12, i64 20, !29, i64 24, !78, 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}
!78 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!79 = !{!"_ZTS21ImGuiComboPreviewData", !22, i64 0, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !10, i64 44}
!80 = !{!"_ZTS15ImGuiTextBuffer", !74, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !74, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !74, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !7, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!86 = !{!"_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}
!87 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !88, i64 16}
!88 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !7, i64 8}
!89 = !{!6, !10, i64 396}
!90 = !{!11, !12, i64 0}
!91 = !{!46, !12, i64 76}
!92 = !{!11, !12, i64 4}
!93 = !{!46, !12, i64 64}
!94 = !{!6, !12, i64 216}
!95 = !{!46, !12, i64 80}
!96 = !{!19, !14, i64 12}
!97 = !{!6, !12, i64 220}
!98 = !{!6, !12, i64 272}
!99 = !{!46, !12, i64 12}
!100 = !{!8, !8, i64 0}
!101 = !{!44, !12, i64 6544}
!102 = !{!19, !14, i64 10}
!103 = !{!6, !7, i64 624}
!104 = !{!19, !14, i64 16}
!105 = !{!44, !10, i64 7256}
!106 = !{!44, !10, i64 7672}
!107 = !{!44, !10, i64 7656}
!108 = !{!109, !7, i64 16}
!109 = !{!"_ZTS14ImGuiPopupData", !10, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !11, i64 32, !11, i64 40}
!110 = !{!109, !7, i64 8}
!111 = !{!44, !7, i64 7208}
!112 = !{!6, !12, i64 16}
!113 = !{!44, !10, i64 7260}
!114 = !{!44, !10, i64 7720}
!115 = !{!44, !10, i64 7820}
!116 = !{!46, !12, i64 52}


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