; LLVM IR from syby119/CG-projects :: external/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, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, 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, %struct.ImVector.18, ptr, i32, i32, 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, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, 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], ptr, i32, [4 x i8], %struct.ImPool, %struct.ImVector.21, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.22, %struct.ImVector.24, %struct.ImVector.25, %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.26, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.28, %struct.ImChunkStream, %struct.ImChunkStream.29, %struct.ImVector.30, 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 i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [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.ImPool = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImPool.22 = type { %struct.ImVector.23, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.5, %struct.ImVector.26, %struct.ImVector.26, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.27, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.26 }
%struct.ImChunkStream.29 = type { %struct.ImVector.26 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.26 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.31 }
%struct.ImVector.31 = 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(921), 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(921)) #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

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

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

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

declare void @_ZN5ImGui20NavMoveRequestCancelEv() #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_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 i8, align 1
  %18 = alloca ptr, align 8
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca ptr, align 8
  %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 %692

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(921) %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, 335544320
  %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 195
  %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 %691

97:                                               ; preds = %79
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImGuiContext, ptr %98, i32 0, i32 195
  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
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #11
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiWindow, ptr %102, i32 0, i32 2
  %104 = load i32, ptr %103, align 4, !tbaa !43
  %105 = and i32 %104, 67108864
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %134, label %107

107:                                              ; preds = %97
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImGuiContext, ptr %108, i32 0, i32 80
  %110 = getelementptr inbounds %struct.ImVector.17, ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 8, !tbaa !44
  %112 = load ptr, ptr %10, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiContext, ptr %112, i32 0, i32 81
  %114 = getelementptr inbounds %struct.ImVector.17, ptr %113, i32 0, i32 0
  %115 = load i32, ptr %114, align 8, !tbaa !89
  %116 = icmp sgt i32 %111, %115
  br i1 %116, label %117, label %132

117:                                              ; preds = %107
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiContext, ptr %118, i32 0, i32 80
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImGuiContext, ptr %120, i32 0, i32 81
  %122 = getelementptr inbounds %struct.ImVector.17, ptr %121, i32 0, i32 0
  %123 = load i32, ptr %122, align 8, !tbaa !89
  %124 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %119, i32 noundef %123)
  %125 = getelementptr inbounds %struct.ImGuiPopupData, ptr %124, i32 0, i32 4
  %126 = load i32, ptr %125, align 4, !tbaa !90
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiWindow, ptr %127, i32 0, i32 53
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %128)
  %130 = load i32, ptr %129, align 4, !tbaa !42
  %131 = icmp eq i32 %126, %130
  br label %132

132:                                              ; preds = %117, %107
  %133 = phi i1 [ false, %107 ], [ %131, %117 ]
  br label %134

134:                                              ; preds = %132, %97
  %135 = phi i1 [ false, %97 ], [ %133, %132 ]
  %136 = zext i1 %135 to i8
  store i8 %136, ptr %17, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImGuiContext, ptr %137, i32 0, i32 83
  %139 = load ptr, ptr %138, align 8, !tbaa !92
  store ptr %139, ptr %18, align 8, !tbaa !5
  %140 = load i8, ptr %17, align 1, !tbaa !9, !range !40, !noundef !41
  %141 = trunc i8 %140 to i1
  br i1 %141, label %142, label %146

142:                                              ; preds = %134
  %143 = load ptr, ptr %8, align 8, !tbaa !5
  %144 = load ptr, ptr %10, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ImGuiContext, ptr %144, i32 0, i32 83
  store ptr %143, ptr %145, align 8, !tbaa !92
  br label %146

146:                                              ; preds = %142, %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiWindow, ptr %147, i32 0, i32 54
  %149 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %148, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 8 %149, i64 8, i1 false), !tbaa.struct !93
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui6PushIDEPKc(ptr noundef %150)
  %151 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %152 = trunc i8 %151 to i1
  br i1 %152, label %154, label %153

153:                                              ; preds = %146
  call void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext true)
  br label %154

154:                                              ; preds = %153, %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #11
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ImGuiWindow, ptr %155, i32 0, i32 54
  %157 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %156, i32 0, i32 20
  store ptr %157, ptr %21, align 8, !tbaa !5
  %158 = load ptr, ptr %8, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGuiWindow, ptr %158, i32 0, i32 54
  %160 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %159, i32 0, i32 27
  %161 = load i32, ptr %160, align 4, !tbaa !95
  %162 = icmp eq i32 %161, 0
  br i1 %162, label %163, label %250

163:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #11
  %164 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  %165 = load float, ptr %164, align 4, !tbaa !96
  %166 = fsub float %165, 1.000000e+00
  %167 = load ptr, ptr %11, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ImGuiStyle, ptr %167, i32 0, i32 15
  %169 = getelementptr inbounds %struct.ImVec2, ptr %168, i32 0, i32 0
  %170 = load float, ptr %169, align 4, !tbaa !97
  %171 = fmul float %170, 5.000000e-01
  %172 = fptosi float %171 to i32
  %173 = sitofp i32 %172 to float
  %174 = fsub float %166, %173
  %175 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 1
  %176 = load float, ptr %175, align 4, !tbaa !98
  %177 = load ptr, ptr %11, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.ImGuiStyle, ptr %177, i32 0, i32 12
  %179 = getelementptr inbounds %struct.ImVec2, ptr %178, i32 0, i32 1
  %180 = load float, ptr %179, align 4, !tbaa !99
  %181 = fsub float %176, %180
  %182 = load ptr, ptr %8, align 8, !tbaa !5
  %183 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(921) %182)
  %184 = fadd float %181, %183
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %174, float noundef %184)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !93
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #11
  %185 = load ptr, ptr %11, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.ImGuiStyle, ptr %185, i32 0, i32 15
  %187 = getelementptr inbounds %struct.ImVec2, ptr %186, i32 0, i32 0
  %188 = load float, ptr %187, align 4, !tbaa !97
  %189 = fmul float %188, 5.000000e-01
  %190 = fptosi float %189 to i32
  %191 = sitofp i32 %190 to float
  %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 0
  %195 = getelementptr inbounds %struct.ImVec2, ptr %194, i32 0, i32 0
  %196 = load float, ptr %195, align 8, !tbaa !100
  %197 = fadd float %196, %191
  store float %197, ptr %195, align 8, !tbaa !100
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #11
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.ImGuiStyle, ptr %198, i32 0, i32 15
  %200 = getelementptr inbounds %struct.ImVec2, ptr %199, i32 0, i32 0
  %201 = load float, ptr %200, align 4, !tbaa !97
  %202 = fmul float %201, 2.000000e+00
  %203 = load ptr, ptr %11, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImGuiStyle, ptr %203, i32 0, i32 15
  %205 = getelementptr inbounds %struct.ImVec2, ptr %204, i32 0, i32 1
  %206 = load float, ptr %205, align 4, !tbaa !101
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %202, float noundef %206)
  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
  %207 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %208 = load float, ptr %207, align 4, !tbaa !96
  store float %208, ptr %24, align 4, !tbaa !94
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #11
  %209 = load ptr, ptr %8, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImGuiWindow, ptr %209, i32 0, i32 54
  %211 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %210, i32 0, i32 0
  %212 = getelementptr inbounds %struct.ImVec2, ptr %211, i32 0, i32 0
  %213 = load float, ptr %212, align 8, !tbaa !100
  %214 = load ptr, ptr %21, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %214, i32 0, i32 4
  %216 = load i16, ptr %215, align 4, !tbaa !102
  %217 = zext i16 %216 to i32
  %218 = sitofp i32 %217 to float
  %219 = fadd float %213, %218
  %220 = load ptr, ptr %8, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.ImGuiWindow, ptr %220, i32 0, i32 54
  %222 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %221, i32 0, i32 0
  %223 = getelementptr inbounds %struct.ImVec2, ptr %222, i32 0, i32 1
  %224 = load float, ptr %223, align 4, !tbaa !103
  %225 = load ptr, ptr %8, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.ImGuiWindow, ptr %225, i32 0, i32 54
  %227 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %226, i32 0, i32 7
  %228 = load float, ptr %227, align 8, !tbaa !104
  %229 = fadd float %224, %228
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef %219, float noundef %229)
  %230 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %231 = trunc i8 %230 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #11
  %232 = load float, ptr %24, align 4, !tbaa !94
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %232, float noundef 0.000000e+00)
  %233 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef @.str, i1 noundef zeroext %231, i32 noundef 5242881, ptr noundef nonnull align 4 dereferenceable(8) %26)
  %234 = zext i1 %233 to i8
  store i8 %234, ptr %16, 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 !93
  %235 = load ptr, ptr %5, align 8, !tbaa !5
  %236 = load <2 x float>, ptr %27, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %236, ptr noundef %235, ptr noundef null, i1 noundef zeroext true)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.ImGuiStyle, ptr %237, i32 0, i32 15
  %239 = getelementptr inbounds %struct.ImVec2, ptr %238, i32 0, i32 0
  %240 = load float, ptr %239, align 4, !tbaa !97
  %241 = fmul float %240, -5.000000e-01
  %242 = fptosi float %241 to i32
  %243 = sitofp i32 %242 to float
  %244 = load ptr, ptr %8, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.ImGuiWindow, ptr %244, i32 0, i32 54
  %246 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %245, i32 0, i32 0
  %247 = getelementptr inbounds %struct.ImVec2, ptr %246, i32 0, i32 0
  %248 = load float, ptr %247, align 8, !tbaa !100
  %249 = fadd float %248, %243
  store float %249, ptr %247, align 8, !tbaa !100
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  br label %351

250:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  %251 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  %252 = load float, ptr %251, align 4, !tbaa !96
  %253 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 1
  %254 = load float, ptr %253, align 4, !tbaa !98
  %255 = load ptr, ptr %11, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.ImGuiStyle, ptr %255, i32 0, i32 2
  %257 = getelementptr inbounds %struct.ImVec2, ptr %256, i32 0, i32 1
  %258 = load float, ptr %257, align 4, !tbaa !105
  %259 = fsub float %254, %258
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef %252, float noundef %259)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !93
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #11
  %260 = load ptr, ptr %6, align 8, !tbaa !5
  %261 = icmp ne ptr %260, null
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  br i1 %261, label %262, label %272

262:                                              ; preds = %250
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = getelementptr inbounds i8, ptr %263, i64 0
  %265 = load i8, ptr %264, align 1, !tbaa !106
  %266 = icmp ne i8 %265, 0
  br i1 %266, label %267, label %272

267:                                              ; preds = %262
  %268 = load ptr, ptr %6, align 8, !tbaa !5
  %269 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %268, ptr noundef null, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %269, ptr %30, align 4
  %270 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %271 = load float, ptr %270, align 4, !tbaa !96
  br label %273

272:                                              ; preds = %262, %250
  br label %273

273:                                              ; preds = %272, %267
  %274 = phi float [ %271, %267 ], [ 0.000000e+00, %272 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  store float %274, ptr %29, align 4, !tbaa !94
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #11
  %275 = load ptr, ptr %10, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.ImGuiContext, ptr %275, i32 0, i32 6
  %277 = load float, ptr %276, align 8, !tbaa !107
  %278 = fmul float %277, 0x3FF3333340000000
  %279 = fptosi float %278 to i32
  %280 = sitofp i32 %279 to float
  store float %280, ptr %31, align 4, !tbaa !94
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #11
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.ImGuiWindow, ptr %281, i32 0, i32 54
  %283 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %282, i32 0, i32 20
  %284 = load float, ptr %29, align 4, !tbaa !94
  %285 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %286 = load float, ptr %285, align 4, !tbaa !96
  %287 = load float, ptr %31, align 4, !tbaa !94
  %288 = call noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEffff(ptr noundef nonnull align 4 dereferenceable(26) %283, float noundef %284, float noundef %286, float noundef 0.000000e+00, float noundef %287)
  store float %288, ptr %32, align 4, !tbaa !94
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #11
  %289 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  store <2 x float> %289, ptr %34, align 4
  %290 = getelementptr inbounds %struct.ImVec2, ptr %34, i32 0, i32 0
  %291 = load float, ptr %290, align 4, !tbaa !96
  %292 = load float, ptr %32, align 4, !tbaa !94
  %293 = fsub float %291, %292
  %294 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %293)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  store float %294, ptr %33, align 4, !tbaa !94
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  %295 = load ptr, ptr %8, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.ImGuiWindow, ptr %295, i32 0, i32 54
  %297 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %296, i32 0, i32 0
  %298 = getelementptr inbounds %struct.ImVec2, ptr %297, i32 0, i32 0
  %299 = load float, ptr %298, align 8, !tbaa !100
  %300 = load ptr, ptr %21, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %300, i32 0, i32 4
  %302 = load i16, ptr %301, align 4, !tbaa !102
  %303 = zext i16 %302 to i32
  %304 = sitofp i32 %303 to float
  %305 = fadd float %299, %304
  %306 = load ptr, ptr %8, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.ImGuiWindow, ptr %306, i32 0, i32 54
  %308 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %307, i32 0, i32 0
  %309 = getelementptr inbounds %struct.ImVec2, ptr %308, i32 0, i32 1
  %310 = load float, ptr %309, align 4, !tbaa !103
  %311 = load ptr, ptr %8, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.ImGuiWindow, ptr %311, i32 0, i32 54
  %313 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %312, i32 0, i32 7
  %314 = load float, ptr %313, align 8, !tbaa !104
  %315 = fadd float %310, %314
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %305, float noundef %315)
  %316 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %317 = trunc i8 %316 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #11
  %318 = load float, ptr %32, align 4, !tbaa !94
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef %318, float noundef 0.000000e+00)
  %319 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef @.str, i1 noundef zeroext %317, i32 noundef 22020097, ptr noundef nonnull align 4 dereferenceable(8) %36)
  %320 = zext i1 %319 to i8
  store i8 %320, ptr %16, 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 !93
  %321 = load ptr, ptr %5, align 8, !tbaa !5
  %322 = load <2 x float>, ptr %37, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %322, ptr noundef %321, ptr noundef null, i1 noundef zeroext true)
  %323 = load float, ptr %29, align 4, !tbaa !94
  %324 = fcmp ogt float %323, 0.000000e+00
  br i1 %324, label %325, label %333

325:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #11
  %326 = load ptr, ptr %21, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %326, i32 0, i32 3
  %328 = load i16, ptr %327, align 2, !tbaa !108
  %329 = uitofp i16 %328 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef %329, float noundef 0.000000e+00)
  %330 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %39)
  store <2 x float> %330, ptr %38, align 4
  %331 = load ptr, ptr %6, align 8, !tbaa !5
  %332 = load <2 x float>, ptr %38, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %332, ptr noundef %331, ptr noundef null, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #11
  br label %333

333:                                              ; preds = %325, %273
  %334 = load ptr, ptr %8, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ImGuiWindow, ptr %334, i32 0, i32 72
  %336 = load ptr, ptr %335, align 8, !tbaa !109
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #11
  %337 = load ptr, ptr %21, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.ImGuiMenuColumns, ptr %337, i32 0, i32 6
  %339 = load i16, ptr %338, align 4, !tbaa !110
  %340 = zext i16 %339 to i32
  %341 = sitofp i32 %340 to float
  %342 = load float, ptr %33, align 4, !tbaa !94
  %343 = fadd float %341, %342
  %344 = load ptr, ptr %10, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ImGuiContext, ptr %344, i32 0, i32 6
  %346 = load float, ptr %345, align 8, !tbaa !107
  %347 = call float @llvm.fmuladd.f32(float %346, float 0x3FD3333340000000, float %343)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef %347, float noundef 0.000000e+00)
  %348 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %41)
  store <2 x float> %348, ptr %40, align 4
  %349 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  %350 = load <2 x float>, ptr %40, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %336, <2 x float> %350, i32 noundef %349, 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 %351

351:                                              ; preds = %333, %163
  %352 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %353 = trunc i8 %352 to i1
  br i1 %353, label %355, label %354

354:                                              ; preds = %351
  call void @_ZN5ImGui11EndDisabledEv()
  br label %355

355:                                              ; preds = %354, %351
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #11
  %356 = load ptr, ptr %10, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.ImGuiContext, ptr %356, i32 0, i32 36
  %358 = load i32, ptr %357, align 8, !tbaa !111
  %359 = load i32, ptr %12, align 4, !tbaa !42
  %360 = icmp eq i32 %358, %359
  br i1 %360, label %361, label %364

361:                                              ; preds = %355
  %362 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %363 = trunc i8 %362 to i1
  br label %364

364:                                              ; preds = %361, %355
  %365 = phi i1 [ false, %355 ], [ %363, %361 ]
  %366 = zext i1 %365 to i8
  store i8 %366, ptr %42, align 1, !tbaa !9
  %367 = load i8, ptr %17, align 1, !tbaa !9, !range !40, !noundef !41
  %368 = trunc i8 %367 to i1
  br i1 %368, label %369, label %373

369:                                              ; preds = %364
  %370 = load ptr, ptr %18, align 8, !tbaa !5
  %371 = load ptr, ptr %10, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.ImGuiContext, ptr %371, i32 0, i32 83
  store ptr %370, ptr %372, align 8, !tbaa !92
  br label %373

373:                                              ; preds = %369, %364
  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
  %374 = load ptr, ptr %8, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.ImGuiWindow, ptr %374, i32 0, i32 54
  %376 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %375, i32 0, i32 27
  %377 = load i32, ptr %376, align 4, !tbaa !95
  %378 = icmp eq i32 %377, 1
  br i1 %378, label %379, label %591

379:                                              ; preds = %373
  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
  %380 = load ptr, ptr %10, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.ImGuiContext, ptr %380, i32 0, i32 81
  %382 = getelementptr inbounds %struct.ImVector.17, ptr %381, i32 0, i32 0
  %383 = load i32, ptr %382, align 8, !tbaa !89
  %384 = load ptr, ptr %10, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.ImGuiContext, ptr %384, i32 0, i32 80
  %386 = getelementptr inbounds %struct.ImVector.17, ptr %385, i32 0, i32 0
  %387 = load i32, ptr %386, align 8, !tbaa !44
  %388 = icmp slt i32 %383, %387
  br i1 %388, label %389, label %411

389:                                              ; preds = %379
  %390 = load ptr, ptr %10, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.ImGuiContext, ptr %390, i32 0, i32 80
  %392 = load ptr, ptr %10, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.ImGuiContext, ptr %392, i32 0, i32 81
  %394 = getelementptr inbounds %struct.ImVector.17, ptr %393, i32 0, i32 0
  %395 = load i32, ptr %394, align 8, !tbaa !89
  %396 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %391, i32 noundef %395)
  %397 = getelementptr inbounds %struct.ImGuiPopupData, ptr %396, i32 0, i32 2
  %398 = load ptr, ptr %397, align 8, !tbaa !112
  %399 = load ptr, ptr %8, align 8, !tbaa !5
  %400 = icmp eq ptr %398, %399
  br i1 %400, label %401, label %411

401:                                              ; preds = %389
  %402 = load ptr, ptr %10, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.ImGuiContext, ptr %402, i32 0, i32 80
  %404 = load ptr, ptr %10, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.ImGuiContext, ptr %404, i32 0, i32 81
  %406 = getelementptr inbounds %struct.ImVector.17, ptr %405, i32 0, i32 0
  %407 = load i32, ptr %406, align 8, !tbaa !89
  %408 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %403, i32 noundef %407)
  %409 = getelementptr inbounds %struct.ImGuiPopupData, ptr %408, i32 0, i32 1
  %410 = load ptr, ptr %409, align 8, !tbaa !113
  br label %412

411:                                              ; preds = %389, %379
  br label %412

412:                                              ; preds = %411, %401
  %413 = phi ptr [ %410, %401 ], [ null, %411 ]
  store ptr %413, ptr %46, align 8, !tbaa !5
  %414 = load ptr, ptr %10, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct.ImGuiContext, ptr %414, i32 0, i32 29
  %416 = load ptr, ptr %415, align 8, !tbaa !114
  %417 = load ptr, ptr %8, align 8, !tbaa !5
  %418 = icmp eq ptr %416, %417
  br i1 %418, label %419, label %533

419:                                              ; preds = %412
  %420 = load ptr, ptr %46, align 8, !tbaa !5
  %421 = icmp ne ptr %420, null
  br i1 %421, label %422, label %533

422:                                              ; preds = %419
  %423 = load ptr, ptr %8, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.ImGuiWindow, ptr %423, i32 0, i32 2
  %425 = load i32, ptr %424, align 4, !tbaa !43
  %426 = and i32 %425, 1024
  %427 = icmp ne i32 %426, 0
  br i1 %427, label %533, label %428

428:                                              ; preds = %422
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #11
  %429 = load ptr, ptr %10, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.ImGuiContext, ptr %429, i32 0, i32 6
  %431 = load float, ptr %430, align 8, !tbaa !107
  store float %431, ptr %47, align 4, !tbaa !94
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #11
  %432 = load ptr, ptr %46, align 8, !tbaa !5
  %433 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %432)
  %434 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %48, i32 0, i32 0
  %435 = extractvalue { <2 x float>, <2 x float> } %433, 0
  store <2 x float> %435, ptr %434, align 4
  %436 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %48, i32 0, i32 1
  %437 = extractvalue { <2 x float>, <2 x float> } %433, 1
  store <2 x float> %437, ptr %436, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #11
  %438 = load ptr, ptr %10, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.ImGuiContext, ptr %438, i32 0, i32 3
  %440 = getelementptr inbounds %struct.ImGuiIO, ptr %439, i32 0, i32 36
  %441 = load ptr, ptr %10, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.ImGuiContext, ptr %441, i32 0, i32 3
  %443 = getelementptr inbounds %struct.ImGuiIO, ptr %442, i32 0, i32 59
  %444 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %440, ptr noundef nonnull align 4 dereferenceable(8) %443)
  store <2 x float> %444, ptr %49, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #11
  %445 = load ptr, ptr %8, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.ImGuiWindow, ptr %445, i32 0, i32 3
  %447 = getelementptr inbounds %struct.ImVec2, ptr %446, i32 0, i32 0
  %448 = load float, ptr %447, align 8, !tbaa !115
  %449 = load ptr, ptr %46, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.ImGuiWindow, ptr %449, i32 0, i32 3
  %451 = getelementptr inbounds %struct.ImVec2, ptr %450, i32 0, i32 0
  %452 = load float, ptr %451, align 8, !tbaa !115
  %453 = fcmp olt float %448, %452
  br i1 %453, label %454, label %456

454:                                              ; preds = %428
  %455 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  store <2 x float> %455, ptr %50, align 4
  br label %458

456:                                              ; preds = %428
  %457 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  store <2 x float> %457, ptr %50, align 4
  br label %458

458:                                              ; preds = %456, %454
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #11
  %459 = load ptr, ptr %8, align 8, !tbaa !5
  %460 = getelementptr inbounds %struct.ImGuiWindow, ptr %459, i32 0, i32 3
  %461 = getelementptr inbounds %struct.ImVec2, ptr %460, i32 0, i32 0
  %462 = load float, ptr %461, align 8, !tbaa !115
  %463 = load ptr, ptr %46, align 8, !tbaa !5
  %464 = getelementptr inbounds %struct.ImGuiWindow, ptr %463, i32 0, i32 3
  %465 = getelementptr inbounds %struct.ImVec2, ptr %464, i32 0, i32 0
  %466 = load float, ptr %465, align 8, !tbaa !115
  %467 = fcmp olt float %462, %466
  br i1 %467, label %468, label %470

468:                                              ; preds = %458
  %469 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  store <2 x float> %469, ptr %51, align 4
  br label %472

470:                                              ; preds = %458
  %471 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  store <2 x float> %471, ptr %51, align 4
  br label %472

472:                                              ; preds = %470, %468
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #11
  %473 = getelementptr inbounds %struct.ImVec2, ptr %49, i32 0, i32 0
  %474 = load float, ptr %473, align 4, !tbaa !96
  %475 = getelementptr inbounds %struct.ImVec2, ptr %50, i32 0, i32 0
  %476 = load float, ptr %475, align 4, !tbaa !96
  %477 = fsub float %474, %476
  %478 = call float @llvm.fabs.f32(float %477)
  %479 = fmul float %478, 0x3FD3333340000000
  %480 = load float, ptr %47, align 4, !tbaa !94
  %481 = fmul float %480, 5.000000e-01
  %482 = load float, ptr %47, align 4, !tbaa !94
  %483 = fmul float %482, 2.500000e+00
  %484 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %479, float noundef %481, float noundef %483)
  store float %484, ptr %52, align 4, !tbaa !94
  %485 = load ptr, ptr %8, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.ImGuiWindow, ptr %485, i32 0, i32 3
  %487 = getelementptr inbounds %struct.ImVec2, ptr %486, i32 0, i32 0
  %488 = load float, ptr %487, align 8, !tbaa !115
  %489 = load ptr, ptr %46, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.ImGuiWindow, ptr %489, i32 0, i32 3
  %491 = getelementptr inbounds %struct.ImVec2, ptr %490, i32 0, i32 0
  %492 = load float, ptr %491, align 8, !tbaa !115
  %493 = fcmp olt float %488, %492
  %494 = zext i1 %493 to i64
  %495 = select i1 %493, float -5.000000e-01, float 5.000000e-01
  %496 = getelementptr inbounds %struct.ImVec2, ptr %49, i32 0, i32 0
  %497 = load float, ptr %496, align 4, !tbaa !96
  %498 = fadd float %497, %495
  store float %498, ptr %496, align 4, !tbaa !96
  %499 = getelementptr inbounds %struct.ImVec2, ptr %49, i32 0, i32 1
  %500 = load float, ptr %499, align 4, !tbaa !98
  %501 = getelementptr inbounds %struct.ImVec2, ptr %50, i32 0, i32 1
  %502 = load float, ptr %501, align 4, !tbaa !98
  %503 = load float, ptr %52, align 4, !tbaa !94
  %504 = fsub float %502, %503
  %505 = getelementptr inbounds %struct.ImVec2, ptr %49, i32 0, i32 1
  %506 = load float, ptr %505, align 4, !tbaa !98
  %507 = fsub float %504, %506
  %508 = load float, ptr %47, align 4, !tbaa !94
  %509 = fneg float %508
  %510 = fmul float %509, 8.000000e+00
  %511 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %507, float noundef %510)
  %512 = fadd float %500, %511
  %513 = getelementptr inbounds %struct.ImVec2, ptr %50, i32 0, i32 1
  store float %512, ptr %513, align 4, !tbaa !98
  %514 = getelementptr inbounds %struct.ImVec2, ptr %49, i32 0, i32 1
  %515 = load float, ptr %514, align 4, !tbaa !98
  %516 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 1
  %517 = load float, ptr %516, align 4, !tbaa !98
  %518 = load float, ptr %52, align 4, !tbaa !94
  %519 = fadd float %517, %518
  %520 = getelementptr inbounds %struct.ImVec2, ptr %49, i32 0, i32 1
  %521 = load float, ptr %520, align 4, !tbaa !98
  %522 = fsub float %519, %521
  %523 = load float, ptr %47, align 4, !tbaa !94
  %524 = fmul float %523, 8.000000e+00
  %525 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %522, float noundef %524)
  %526 = fadd float %515, %525
  %527 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 1
  store float %526, ptr %527, align 4, !tbaa !98
  %528 = load ptr, ptr %10, align 8, !tbaa !5
  %529 = getelementptr inbounds %struct.ImGuiContext, ptr %528, i32 0, i32 3
  %530 = getelementptr inbounds %struct.ImGuiIO, ptr %529, i32 0, i32 36
  %531 = 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) %530)
  %532 = zext i1 %531 to i8
  store i8 %532, 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 %533

533:                                              ; preds = %472, %422, %419, %412
  %534 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %535 = trunc i8 %534 to i1
  br i1 %535, label %536, label %560

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

539:                                              ; preds = %536
  %540 = load ptr, ptr %10, align 8, !tbaa !5
  %541 = getelementptr inbounds %struct.ImGuiContext, ptr %540, i32 0, i32 29
  %542 = load ptr, ptr %541, align 8, !tbaa !114
  %543 = load ptr, ptr %8, align 8, !tbaa !5
  %544 = icmp eq ptr %542, %543
  br i1 %544, label %545, label %560

545:                                              ; preds = %539
  %546 = load ptr, ptr %10, align 8, !tbaa !5
  %547 = getelementptr inbounds %struct.ImGuiContext, ptr %546, i32 0, i32 37
  %548 = load i32, ptr %547, align 4, !tbaa !116
  %549 = icmp ne i32 %548, 0
  br i1 %549, label %550, label %560

550:                                              ; preds = %545
  %551 = load ptr, ptr %10, align 8, !tbaa !5
  %552 = getelementptr inbounds %struct.ImGuiContext, ptr %551, i32 0, i32 37
  %553 = load i32, ptr %552, align 4, !tbaa !116
  %554 = load i32, ptr %12, align 4, !tbaa !42
  %555 = icmp ne i32 %553, %554
  br i1 %555, label %556, label %560

556:                                              ; preds = %550
  %557 = load i8, ptr %45, align 1, !tbaa !9, !range !40, !noundef !41
  %558 = trunc i8 %557 to i1
  br i1 %558, label %560, label %559

559:                                              ; preds = %556
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %560

560:                                              ; preds = %559, %556, %550, %545, %539, %536, %533
  %561 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %562 = trunc i8 %561 to i1
  br i1 %562, label %567, label %563

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

566:                                              ; preds = %563
  store i8 1, ptr %43, align 1, !tbaa !9
  br label %578

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

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

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

576:                                              ; preds = %573
  store i8 1, ptr %43, align 1, !tbaa !9
  br label %577

577:                                              ; preds = %576, %573, %570, %567
  br label %578

578:                                              ; preds = %577, %566
  %579 = load ptr, ptr %10, align 8, !tbaa !5
  %580 = getelementptr inbounds %struct.ImGuiContext, ptr %579, i32 0, i32 84
  %581 = load i32, ptr %580, align 8, !tbaa !117
  %582 = load i32, ptr %12, align 4, !tbaa !42
  %583 = icmp eq i32 %581, %582
  br i1 %583, label %584, label %590

584:                                              ; preds = %578
  %585 = load ptr, ptr %10, align 8, !tbaa !5
  %586 = getelementptr inbounds %struct.ImGuiContext, ptr %585, i32 0, i32 117
  %587 = load i32, ptr %586, align 4, !tbaa !118
  %588 = icmp eq i32 %587, 1
  br i1 %588, label %589, label %590

589:                                              ; preds = %584
  store i8 1, ptr %43, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %590

590:                                              ; preds = %589, %584, %578
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #11
  br label %629

591:                                              ; preds = %373
  %592 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %593 = trunc i8 %592 to i1
  br i1 %593, label %594, label %601

594:                                              ; preds = %591
  %595 = load i8, ptr %16, align 1, !tbaa !9, !range !40, !noundef !41
  %596 = trunc i8 %595 to i1
  br i1 %596, label %597, label %601

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

600:                                              ; preds = %597
  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 %628

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

604:                                              ; preds = %601
  %605 = load i8, ptr %42, align 1, !tbaa !9, !range !40, !noundef !41
  %606 = trunc i8 %605 to i1
  br i1 %606, label %607, label %614

607:                                              ; preds = %604
  %608 = load i8, ptr %17, align 1, !tbaa !9, !range !40, !noundef !41
  %609 = trunc i8 %608 to i1
  br i1 %609, label %610, label %614

610:                                              ; preds = %607
  %611 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %612 = trunc i8 %611 to i1
  br i1 %612, label %614, label %613

613:                                              ; preds = %610, %601
  store i8 1, ptr %43, align 1, !tbaa !9
  br label %627

614:                                              ; preds = %610, %607, %604
  %615 = load ptr, ptr %10, align 8, !tbaa !5
  %616 = getelementptr inbounds %struct.ImGuiContext, ptr %615, i32 0, i32 84
  %617 = load i32, ptr %616, align 8, !tbaa !117
  %618 = load i32, ptr %12, align 4, !tbaa !42
  %619 = icmp eq i32 %617, %618
  br i1 %619, label %620, label %626

620:                                              ; preds = %614
  %621 = load ptr, ptr %10, align 8, !tbaa !5
  %622 = getelementptr inbounds %struct.ImGuiContext, ptr %621, i32 0, i32 117
  %623 = load i32, ptr %622, align 4, !tbaa !118
  %624 = icmp eq i32 %623, 3
  br i1 %624, label %625, label %626

625:                                              ; preds = %620
  store i8 1, ptr %43, align 1, !tbaa !9
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %626

626:                                              ; preds = %625, %620, %614
  br label %627

627:                                              ; preds = %626, %613
  br label %628

628:                                              ; preds = %627, %600
  br label %629

629:                                              ; preds = %628, %590
  %630 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %631 = trunc i8 %630 to i1
  br i1 %631, label %633, label %632

632:                                              ; preds = %629
  store i8 1, ptr %44, align 1, !tbaa !9
  br label %633

633:                                              ; preds = %632, %629
  %634 = load i8, ptr %44, align 1, !tbaa !9, !range !40, !noundef !41
  %635 = trunc i8 %634 to i1
  br i1 %635, label %636, label %644

636:                                              ; preds = %633
  %637 = load i32, ptr %12, align 4, !tbaa !42
  %638 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %637, i32 noundef 0)
  br i1 %638, label %639, label %644

639:                                              ; preds = %636
  %640 = load ptr, ptr %10, align 8, !tbaa !5
  %641 = getelementptr inbounds %struct.ImGuiContext, ptr %640, i32 0, i32 81
  %642 = getelementptr inbounds %struct.ImVector.17, ptr %641, i32 0, i32 0
  %643 = load i32, ptr %642, align 8, !tbaa !89
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %643, i1 noundef zeroext true)
  br label %644

644:                                              ; preds = %639, %636, %633
  call void @_ZN5ImGui5PopIDEv()
  %645 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %646 = trunc i8 %645 to i1
  br i1 %646, label %662, label %647

647:                                              ; preds = %644
  %648 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %649 = trunc i8 %648 to i1
  br i1 %649, label %650, label %662

650:                                              ; preds = %647
  %651 = load ptr, ptr %10, align 8, !tbaa !5
  %652 = getelementptr inbounds %struct.ImGuiContext, ptr %651, i32 0, i32 80
  %653 = getelementptr inbounds %struct.ImVector.17, ptr %652, i32 0, i32 0
  %654 = load i32, ptr %653, align 8, !tbaa !44
  %655 = load ptr, ptr %10, align 8, !tbaa !5
  %656 = getelementptr inbounds %struct.ImGuiContext, ptr %655, i32 0, i32 81
  %657 = getelementptr inbounds %struct.ImVector.17, ptr %656, i32 0, i32 0
  %658 = load i32, ptr %657, align 8, !tbaa !89
  %659 = icmp sgt i32 %654, %658
  br i1 %659, label %660, label %662

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

662:                                              ; preds = %650, %647, %644
  %663 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %664 = trunc i8 %663 to i1
  %665 = zext i1 %664 to i32
  %666 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %667 = trunc i8 %666 to i1
  %668 = zext i1 %667 to i32
  %669 = or i32 %668, %665
  %670 = icmp ne i32 %669, 0
  %671 = zext i1 %670 to i8
  store i8 %671, ptr %13, align 1, !tbaa !9
  %672 = load i8, ptr %43, align 1, !tbaa !9, !range !40, !noundef !41
  %673 = trunc i8 %672 to i1
  br i1 %673, label %674, label %676

674:                                              ; preds = %662
  %675 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %675, i32 noundef 0)
  br label %676

676:                                              ; preds = %674, %662
  %677 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %678 = trunc i8 %677 to i1
  br i1 %678, label %679, label %684

679:                                              ; preds = %676
  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) %19, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(8) %53)
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  %680 = load i32, ptr %12, align 4, !tbaa !42
  %681 = load i32, ptr %14, align 4, !tbaa !42
  %682 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %680, i32 noundef %681)
  %683 = zext i1 %682 to i8
  store i8 %683, ptr %13, align 1, !tbaa !9
  br label %687

684:                                              ; preds = %676
  %685 = load ptr, ptr %10, align 8, !tbaa !5
  %686 = getelementptr inbounds %struct.ImGuiContext, ptr %685, i32 0, i32 73
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %686)
  br label %687

687:                                              ; preds = %684, %679
  %688 = load i8, ptr %13, align 1, !tbaa !9, !range !40, !noundef !41
  %689 = trunc i8 %688 to i1
  store i1 %689, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %690

690:                                              ; preds = %687, %660
  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 8, 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 1, 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 %691

691:                                              ; preds = %690, %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 %692

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

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1 align 2

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !10, i64 147}
!12 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !10, i64 140, !10, i64 141, !10, i64 142, !10, i64 143, !10, i64 144, !10, i64 145, !10, i64 146, !10, i64 147, !10, i64 148, !10, i64 149, !10, i64 150, !10, i64 151, !7, i64 152, !16, i64 154, !16, i64 156, !16, i64 158, !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 440, !24, i64 456, !24, i64 472, !24, i64 488, !24, i64 504, !24, i64 520, !24, i64 536, !25, i64 552, !25, i64 556, !13, i64 560, !15, i64 564, !15, i64 568, !26, i64 576, !28, i64 592, !15, i64 608, !13, i64 612, !6, i64 616, !29, i64 624, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !7, i64 872, !7, i64 880, !13, i64 912, !13, i64 916, !10, i64 920}
!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, !20, i64 76, !16, i64 80, !16, i64 82, !13, i64 84, !10, i64 88, !10, i64 89, !10, i64 90, !14, i64 92, !21, i64 100, !13, i64 128, !13, i64 132, !22, i64 136, !6, i64 152, !6, i64 160, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !15, i64 184, !15, i64 188, !23, i64 192, !23, i64 208}
!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, !13, i64 7640}
!45 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !46, i64 8, !47, i64 5472, !6, i64 6520, !15, i64 6528, !15, i64 6532, !48, i64 6536, !49, i64 7048, !13, i64 7056, !13, i64 7060, !13, i64 7064, !10, i64 7068, !10, i64 7069, !10, i64 7070, !10, i64 7071, !10, i64 7072, !6, i64 7080, !22, i64 7088, !22, i64 7104, !22, i64 7120, !50, i64 7136, !26, i64 7152, !13, i64 7168, !14, i64 7172, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !6, i64 7216, !14, i64 7224, !15, i64 7232, !13, i64 7236, !13, i64 7240, !13, i64 7244, !10, i64 7248, !10, i64 7249, !10, i64 7250, !10, i64 7251, !15, i64 7252, !15, i64 7256, !13, i64 7260, !13, i64 7264, !15, i64 7268, !10, i64 7272, !10, i64 7273, !10, i64 7274, !10, i64 7275, !10, i64 7276, !10, i64 7277, !10, i64 7278, !13, i64 7280, !13, i64 7284, !51, i64 7288, !14, i64 7296, !6, i64 7304, !52, i64 7312, !13, i64 7316, !13, i64 7320, !10, i64 7324, !10, i64 7325, !6, i64 7328, !13, i64 7336, !15, i64 7340, !13, i64 7344, !53, i64 7348, !54, i64 7368, !55, i64 7432, !56, i64 7544, !57, i64 7560, !58, i64 7576, !17, i64 7592, !59, i64 7608, !60, i64 7624, !61, i64 7640, !61, i64 7656, !62, i64 7672, !6, i64 7688, !13, i64 7696, !13, i64 7700, !13, i64 7704, !13, i64 7708, !13, i64 7712, !13, i64 7716, !13, i64 7720, !13, i64 7724, !13, i64 7728, !13, i64 7732, !13, i64 7736, !13, i64 7740, !13, i64 7744, !52, i64 7748, !20, i64 7752, !13, i64 7756, !10, i64 7760, !10, i64 7761, !10, i64 7762, !10, i64 7763, !10, i64 7764, !10, i64 7765, !10, i64 7766, !13, i64 7768, !24, i64 7772, !10, i64 7788, !10, i64 7789, !10, i64 7790, !13, i64 7792, !13, i64 7796, !13, i64 7800, !13, i64 7804, !13, i64 7808, !13, i64 7812, !24, i64 7816, !13, i64 7832, !13, i64 7836, !63, i64 7840, !63, i64 7888, !63, i64 7936, !6, i64 7984, !6, i64 7992, !6, i64 8000, !15, i64 8008, !15, i64 8012, !10, i64 8016, !6, i64 8024, !6, i64 8032, !13, i64 8040, !13, i64 8044, !10, i64 8048, !15, i64 8052, !13, i64 8056, !10, i64 8060, !10, i64 8061, !10, i64 8062, !13, i64 8064, !13, i64 8068, !13, i64 8072, !64, i64 8080, !24, i64 8144, !13, i64 8160, !13, i64 8164, !15, i64 8168, !13, i64 8172, !13, i64 8176, !13, i64 8180, !13, i64 8184, !65, i64 8192, !7, i64 8208, !6, i64 8224, !13, i64 8232, !66, i64 8240, !68, i64 8280, !23, i64 8296, !39, i64 8312, !6, i64 8328, !69, i64 8336, !71, i64 8376, !72, i64 8392, !14, i64 8408, !73, i64 8416, !77, i64 12152, !13, i64 12264, !13, i64 12268, !15, i64 12272, !15, i64 12276, !13, i64 12280, !37, i64 12284, !79, i64 12300, !15, i64 12348, !10, i64 12352, !10, i64 12353, !15, i64 12356, !15, i64 12360, !15, i64 12364, !15, i64 12368, !16, i64 12372, !16, i64 12374, !15, i64 12376, !74, i64 12384, !17, i64 12400, !14, i64 12416, !14, i64 12424, !7, i64 12432, !10, i64 12433, !15, i64 12436, !80, i64 12440, !81, i64 12456, !82, i64 12472, !83, i64 12488, !84, i64 12504, !13, i64 12520, !10, i64 12524, !85, i64 12528, !6, i64 12536, !80, i64 12544, !6, i64 12560, !6, i64 12568, !15, i64 12576, !10, i64 12580, !13, i64 12584, !13, i64 12588, !13, i64 12592, !10, i64 12596, !13, i64 12600, !86, i64 12604, !87, i64 12624, !7, i64 12656, !13, i64 13136, !13, i64 13140, !15, i64 13144, !13, i64 13148, !13, i64 13152, !13, i64 13156, !7, i64 13160}
!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 1063, !7, i64 1068, !7, i64 1073, !7, i64 1080, !7, i64 1100, !7, i64 1120, !7, i64 1160, !7, i64 1180, !7, i64 3228, !7, i64 5276, !7, i64 5356, !15, i64 5436, !10, i64 5440, !16, i64 5442, !31, i64 5448}
!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 = !{!"_ZTS6ImPoolI10ImGuiTableE", !67, i64 0, !26, i64 16, !13, i64 32, !13, i64 36}
!67 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !70, i64 0, !26, i64 16, !13, i64 32, !13, i64 36}
!70 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!73 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !31, i64 16, !74, i64 32, !74, i64 48, !10, i64 64, !13, i64 68, !15, i64 72, !75, i64 76, !15, i64 3704, !10, i64 3708, !10, i64 3709, !10, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!74 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !76, i64 32}
!76 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!77 = !{!"_ZTS6ImFont", !23, i64 0, !15, i64 16, !15, i64 20, !31, i64 24, !78, 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}
!78 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!79 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!80 = !{!"_ZTS15ImGuiTextBuffer", !74, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !74, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !74, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!86 = !{!"_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}
!87 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !88, i64 16}
!88 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!89 = !{!45, !13, i64 7656}
!90 = !{!91, !13, i64 28}
!91 = !{!"_ZTS14ImGuiPopupData", !13, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 28, !14, i64 32, !14, i64 40}
!92 = !{!45, !6, i64 7688}
!93 = !{i64 0, i64 4, !94, i64 4, i64 4, !94}
!94 = !{!15, !15, i64 0}
!95 = !{!12, !13, i64 388}
!96 = !{!14, !15, i64 0}
!97 = !{!47, !15, i64 76}
!98 = !{!14, !15, i64 4}
!99 = !{!47, !15, i64 64}
!100 = !{!12, !15, i64 216}
!101 = !{!47, !15, i64 80}
!102 = !{!21, !16, i64 12}
!103 = !{!12, !15, i64 220}
!104 = !{!12, !15, i64 272}
!105 = !{!47, !15, i64 12}
!106 = !{!7, !7, i64 0}
!107 = !{!45, !15, i64 6528}
!108 = !{!21, !16, i64 10}
!109 = !{!12, !6, i64 616}
!110 = !{!21, !16, i64 16}
!111 = !{!45, !13, i64 7240}
!112 = !{!91, !6, i64 16}
!113 = !{!91, !6, i64 8}
!114 = !{!45, !6, i64 7192}
!115 = !{!12, !15, i64 16}
!116 = !{!45, !13, i64 7244}
!117 = !{!45, !13, i64 7696}
!118 = !{!45, !13, i64 7804}


; 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(921), 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(921)) 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

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

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

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

declare void @_ZN5ImGui20NavMoveRequestCancelEv() local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_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 %314, 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(921) %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, 335544320
  %.not = icmp eq i32 %31, 0
  %spec.select = select i1 %.not, i32 268960069, i32 285737285
  %32 = getelementptr inbounds i8, ptr %26, i64 12400
  %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 %313

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

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 = load i32, ptr %29, align 4, !tbaa !42
  %43 = and i32 %42, 67108864
  %.not168 = icmp eq i32 %43, 0
  br i1 %.not168, label %44, label %.thread

44:                                               ; preds = %40
  %45 = getelementptr inbounds i8, ptr %26, i64 7640
  %46 = load i32, ptr %45, align 8, !tbaa !43
  %47 = getelementptr inbounds i8, ptr %26, i64 7656
  %48 = load i32, ptr %47, align 8, !tbaa !88
  %49 = icmp sgt i32 %46, %48
  br i1 %49, label %52, label %.thread

.thread:                                          ; preds = %40, %44
  %50 = getelementptr inbounds i8, ptr %26, i64 7688
  %51 = load ptr, ptr %50, align 8, !tbaa !89
  br label %63

52:                                               ; preds = %44
  %53 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %45, i32 noundef %48)
  %54 = getelementptr inbounds i8, ptr %53, i64 28
  %55 = load i32, ptr %54, align 4, !tbaa !90
  %56 = getelementptr inbounds i8, ptr %21, i64 200
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %56)
  %58 = load i32, ptr %57, align 4, !tbaa !41
  %59 = icmp eq i32 %55, %58
  %60 = getelementptr inbounds i8, ptr %26, i64 7688
  %61 = load ptr, ptr %60, align 8, !tbaa !89
  br i1 %59, label %62, label %63

62:                                               ; preds = %52
  store ptr %21, ptr %60, align 8, !tbaa !89
  br label %63

63:                                               ; preds = %.thread, %62, %52
  %64 = phi ptr [ %51, %.thread ], [ %61, %62 ], [ %61, %52 ]
  %65 = phi ptr [ %50, %.thread ], [ %60, %62 ], [ %60, %52 ]
  %66 = phi i1 [ false, %.thread ], [ true, %62 ], [ false, %52 ]
  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
  %67 = getelementptr inbounds i8, ptr %21, i64 216
  %68 = load i64, ptr %67, align 8
  store i64 %68, ptr %6, align 8
  call void @_ZN5ImGui6PushIDEPKc(ptr noundef %0)
  br i1 %2, label %70, label %69

69:                                               ; preds = %63
  call void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext true)
  br label %70

70:                                               ; preds = %69, %63
  %71 = getelementptr inbounds i8, ptr %21, i64 316
  %72 = getelementptr inbounds i8, ptr %21, i64 388
  %73 = load i32, ptr %72, align 4, !tbaa !92
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %118

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  %76 = load float, ptr %6, align 8, !tbaa !93
  %77 = fadd float %76, -1.000000e+00
  %78 = getelementptr inbounds i8, ptr %26, i64 5548
  %79 = load float, ptr %78, align 4, !tbaa !94
  %80 = fmul float %79, 5.000000e-01
  %81 = fptosi float %80 to i32
  %82 = sitofp i32 %81 to float
  %83 = fsub float %77, %82
  %84 = getelementptr inbounds i8, ptr %6, i64 4
  %85 = load float, ptr %84, align 4, !tbaa !95
  %86 = getelementptr inbounds i8, ptr %26, i64 5536
  %87 = load float, ptr %86, align 4, !tbaa !96
  %88 = fsub float %85, %87
  %89 = call noundef float @_ZNK11ImGuiWindow13MenuBarHeightEv(ptr noundef nonnull align 8 dereferenceable(921) %21)
  %90 = fadd float %88, %89
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %83, float noundef %90)
  %91 = load i64, ptr %7, align 8
  store i64 %91, ptr %5, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  %92 = load float, ptr %78, align 4, !tbaa !94
  %93 = fmul float %92, 5.000000e-01
  %94 = fptosi float %93 to i32
  %95 = sitofp i32 %94 to float
  %96 = load float, ptr %67, align 8, !tbaa !97
  %97 = fadd float %96, %95
  store float %97, ptr %67, align 8, !tbaa !97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  %98 = fmul float %92, 2.000000e+00
  %99 = getelementptr inbounds i8, ptr %26, i64 5552
  %100 = load float, ptr %99, align 4, !tbaa !98
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %98, float noundef %100)
  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
  %101 = load float, ptr %67, align 8, !tbaa !97
  %102 = getelementptr inbounds i8, ptr %21, i64 328
  %103 = load i16, ptr %102, align 4, !tbaa !99
  %104 = uitofp i16 %103 to float
  %105 = fadd float %101, %104
  %106 = getelementptr inbounds i8, ptr %21, i64 220
  %107 = load float, ptr %106, align 4, !tbaa !100
  %108 = getelementptr inbounds i8, ptr %21, i64 272
  %109 = load float, ptr %108, align 8, !tbaa !101
  %110 = fadd float %107, %109
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %105, float noundef %110)
  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)
  %111 = 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)
  %112 = load float, ptr %78, align 4, !tbaa !94
  %113 = fmul float %112, -5.000000e-01
  %114 = fptosi float %113 to i32
  %115 = sitofp i32 %114 to float
  %116 = load float, ptr %67, align 8, !tbaa !97
  %117 = fadd float %116, %115
  store float %117, ptr %67, align 8, !tbaa !97
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %169

118:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  %119 = load float, ptr %6, align 8, !tbaa !93
  %120 = getelementptr inbounds i8, ptr %6, i64 4
  %121 = load float, ptr %120, align 4, !tbaa !95
  %122 = getelementptr inbounds i8, ptr %26, i64 5484
  %123 = load float, ptr %122, align 4, !tbaa !102
  %124 = fsub float %121, %123
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %119, float noundef %124)
  %125 = load i64, ptr %11, align 8
  store i64 %125, ptr %5, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  %.not169 = icmp eq ptr %1, null
  br i1 %.not169, label %130, label %126

126:                                              ; preds = %118
  %127 = load i8, ptr %1, align 1, !tbaa !103
  %.not170 = icmp eq i8 %127, 0
  br i1 %.not170, label %130, label %128

128:                                              ; preds = %126
  %129 = 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> %129, i64 0
  br label %130

130:                                              ; preds = %118, %126, %128
  %131 = phi float [ %.sroa.027.0.vec.extract, %128 ], [ 0.000000e+00, %126 ], [ 0.000000e+00, %118 ]
  %132 = getelementptr inbounds i8, ptr %26, i64 6528
  %133 = load float, ptr %132, align 8, !tbaa !104
  %134 = fmul float %133, 0x3FF3333340000000
  %135 = fptosi float %134 to i32
  %136 = sitofp i32 %135 to float
  %.sroa.044.0.vec.extract46 = extractelement <2 x float> %41, i64 0
  %137 = call noundef float @_ZN16ImGuiMenuColumns11DeclColumnsEffff(ptr noundef nonnull align 4 dereferenceable(26) %71, float noundef %131, float noundef %.sroa.044.0.vec.extract46, float noundef 0.000000e+00, float noundef %136)
  %138 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  %.sroa.022.0.vec.extract = extractelement <2 x float> %138, i64 0
  %139 = fsub float %.sroa.022.0.vec.extract, %137
  %140 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %139)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  %141 = load float, ptr %67, align 8, !tbaa !97
  %142 = getelementptr inbounds i8, ptr %21, i64 328
  %143 = load i16, ptr %142, align 4, !tbaa !99
  %144 = uitofp i16 %143 to float
  %145 = fadd float %141, %144
  %146 = getelementptr inbounds i8, ptr %21, i64 220
  %147 = load float, ptr %146, align 4, !tbaa !100
  %148 = getelementptr inbounds i8, ptr %21, i64 272
  %149 = load float, ptr %148, align 8, !tbaa !101
  %150 = fadd float %147, %149
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %145, float noundef %150)
  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 %137, float noundef 0.000000e+00)
  %151 = 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)
  %152 = fcmp ogt float %131, 0.000000e+00
  br i1 %152, label %153, label %158

153:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  %154 = getelementptr inbounds i8, ptr %21, i64 326
  %155 = load i16, ptr %154, align 2, !tbaa !105
  %156 = uitofp i16 %155 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %156, float noundef 0.000000e+00)
  %157 = 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> %157, ptr noundef %1, ptr noundef null, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  br label %158

158:                                              ; preds = %153, %130
  %159 = getelementptr inbounds i8, ptr %21, i64 616
  %160 = load ptr, ptr %159, align 8, !tbaa !106
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  %161 = getelementptr inbounds i8, ptr %21, i64 332
  %162 = load i16, ptr %161, align 4, !tbaa !107
  %163 = uitofp i16 %162 to float
  %164 = fadd float %140, %163
  %165 = load float, ptr %132, align 8, !tbaa !104
  %166 = call float @llvm.fmuladd.f32(float %165, float 0x3FD3333340000000, float %164)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %166, float noundef 0.000000e+00)
  %167 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %15)
  %168 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %160, <2 x float> %167, i32 noundef %168, 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 %169

169:                                              ; preds = %158, %75
  %.0161.in = phi i1 [ %111, %75 ], [ %151, %158 ]
  br i1 %2, label %171, label %170

170:                                              ; preds = %169
  call void @_ZN5ImGui11EndDisabledEv()
  br label %171

171:                                              ; preds = %170, %169
  %172 = getelementptr inbounds i8, ptr %26, i64 7240
  %173 = load i32, ptr %172, align 8, !tbaa !108
  %174 = load i32, ptr %4, align 4, !tbaa !41
  %175 = icmp eq i32 %173, %174
  %176 = and i1 %175, %2
  br i1 %66, label %177, label %178

177:                                              ; preds = %171
  store ptr %64, ptr %65, align 8, !tbaa !89
  br label %178

178:                                              ; preds = %177, %171
  %179 = load i32, ptr %72, align 4, !tbaa !92
  %180 = icmp eq i32 %179, 1
  br i1 %180, label %181, label %280

181:                                              ; preds = %178
  %182 = getelementptr inbounds i8, ptr %26, i64 7656
  %183 = load i32, ptr %182, align 8, !tbaa !88
  %184 = getelementptr inbounds i8, ptr %26, i64 7640
  %185 = load i32, ptr %184, align 8, !tbaa !43
  %186 = icmp slt i32 %183, %185
  br i1 %186, label %187, label %.thread200

187:                                              ; preds = %181
  %188 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %184, i32 noundef %183)
  %189 = getelementptr inbounds i8, ptr %188, i64 16
  %190 = load ptr, ptr %189, align 8, !tbaa !109
  %191 = icmp eq ptr %190, %21
  br i1 %191, label %193, label %.thread200

.thread200:                                       ; preds = %187, %181
  %192 = getelementptr inbounds i8, ptr %26, i64 7192
  br label %263

193:                                              ; preds = %187
  %194 = load i32, ptr %182, align 8, !tbaa !88
  %195 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %184, i32 noundef %194)
  %196 = getelementptr inbounds i8, ptr %195, i64 8
  %197 = load ptr, ptr %196, align 8, !tbaa !110
  %198 = getelementptr inbounds i8, ptr %26, i64 7192
  %199 = load ptr, ptr %198, align 8, !tbaa !111
  %200 = icmp eq ptr %199, %21
  %201 = icmp ne ptr %197, null
  %or.cond = select i1 %200, i1 %201, i1 false
  br i1 %or.cond, label %202, label %263

202:                                              ; preds = %193
  %203 = load i32, ptr %29, align 4, !tbaa !42
  %204 = and i32 %203, 1024
  %.not171 = icmp eq i32 %204, 0
  br i1 %.not171, label %205, label %263

205:                                              ; preds = %202
  %206 = getelementptr inbounds i8, ptr %26, i64 6528
  %207 = load float, ptr %206, align 8, !tbaa !104
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  %208 = call { <2 x float>, <2 x float> } @_ZNK11ImGuiWindow4RectEv(ptr noundef nonnull align 8 dereferenceable(921) %197)
  %209 = extractvalue { <2 x float>, <2 x float> } %208, 0
  store <2 x float> %209, ptr %16, align 8
  %210 = getelementptr inbounds i8, ptr %16, i64 8
  %211 = extractvalue { <2 x float>, <2 x float> } %208, 1
  store <2 x float> %211, ptr %210, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #10
  %212 = getelementptr inbounds i8, ptr %26, i64 296
  %213 = getelementptr inbounds i8, ptr %26, i64 948
  %214 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %212, ptr noundef nonnull align 4 dereferenceable(8) %213)
  store <2 x float> %214, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  %215 = getelementptr inbounds i8, ptr %21, i64 16
  %216 = load float, ptr %215, align 8, !tbaa !112
  %217 = getelementptr inbounds i8, ptr %197, i64 16
  %218 = load float, ptr %217, align 8, !tbaa !112
  %219 = fcmp olt float %216, %218
  %220 = extractelement <2 x float> %214, i64 0
  %221 = extractelement <2 x float> %214, i64 1
  br i1 %219, label %222, label %224

222:                                              ; preds = %205
  %223 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %226

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

226:                                              ; preds = %224, %222
  %storemerge = phi <2 x float> [ %225, %224 ], [ %223, %222 ]
  store <2 x float> %storemerge, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  %227 = load float, ptr %215, align 8, !tbaa !112
  %228 = load float, ptr %217, align 8, !tbaa !112
  %229 = fcmp olt float %227, %228
  %230 = extractelement <2 x float> %storemerge, i64 1
  br i1 %229, label %231, label %233

231:                                              ; preds = %226
  %232 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %235

233:                                              ; preds = %226
  %234 = call <2 x float> @_ZNK6ImRect5GetBREv(ptr noundef nonnull align 4 dereferenceable(16) %16)
  br label %235

235:                                              ; preds = %233, %231
  %storemerge172 = phi <2 x float> [ %234, %233 ], [ %232, %231 ]
  store <2 x float> %storemerge172, ptr %19, align 8
  %236 = fsub <2 x float> %214, %storemerge
  %237 = extractelement <2 x float> %236, i64 0
  %238 = call float @llvm.fabs.f32(float %237)
  %239 = fmul float %238, 0x3FD3333340000000
  %240 = fmul float %207, 5.000000e-01
  %241 = fmul float %207, 2.500000e+00
  %242 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %239, float noundef %240, float noundef %241)
  %243 = load float, ptr %215, align 8, !tbaa !112
  %244 = load float, ptr %217, align 8, !tbaa !112
  %245 = fcmp olt float %243, %244
  %246 = select i1 %245, float -5.000000e-01, float 5.000000e-01
  %247 = fadd float %220, %246
  store float %247, ptr %17, align 8, !tbaa !93
  %248 = getelementptr inbounds i8, ptr %18, i64 4
  %249 = fsub float %230, %242
  %250 = fsub float %249, %221
  %251 = fmul float %207, -8.000000e+00
  %252 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %250, float noundef %251)
  %253 = fadd float %221, %252
  store float %253, ptr %248, align 4, !tbaa !95
  %254 = getelementptr inbounds i8, ptr %19, i64 4
  %255 = extractelement <2 x float> %storemerge172, i64 1
  %256 = fadd float %242, %255
  %257 = fsub float %256, %221
  %258 = fmul float %207, 8.000000e+00
  %259 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %257, float noundef %258)
  %260 = fadd float %221, %259
  store float %260, ptr %254, align 4, !tbaa !95
  %261 = 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) %212)
  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
  %262 = xor i1 %261, true
  br label %263

263:                                              ; preds = %.thread200, %235, %202, %193
  %264 = phi ptr [ %198, %202 ], [ %198, %235 ], [ %198, %193 ], [ %192, %.thread200 ]
  %.0153 = phi i1 [ true, %202 ], [ %262, %235 ], [ true, %193 ], [ true, %.thread200 ]
  %.not175 = xor i1 %28, true
  %brmerge = select i1 %.not175, i1 true, i1 %176
  br i1 %brmerge, label %._crit_edge, label %265

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

265:                                              ; preds = %263
  %266 = load ptr, ptr %264, align 8, !tbaa !111
  %267 = icmp eq ptr %266, %21
  %.pre207 = load i32, ptr %4, align 4
  br i1 %267, label %268, label %271

268:                                              ; preds = %265
  %269 = getelementptr inbounds i8, ptr %26, i64 7244
  %270 = load i32, ptr %269, align 4, !tbaa !113
  %.not173 = icmp ne i32 %270, 0
  %.not174 = icmp ne i32 %270, %.pre207
  %or.cond176.not = select i1 %.not173, i1 %.not174, i1 false
  %spec.select198 = and i1 %.0153, %or.cond176.not
  br label %271

271:                                              ; preds = %._crit_edge, %268, %265
  %272 = phi i32 [ %.pre207, %265 ], [ %.pre, %._crit_edge ], [ %.pre207, %268 ]
  %.0154 = phi i1 [ false, %265 ], [ false, %._crit_edge ], [ %spec.select198, %268 ]
  %brmerge178.not = and i1 %.0161.in, %.not175
  %brmerge179 = or i1 %28, %.0161.in
  %.not180 = xor i1 %176, true
  %brmerge181 = select i1 %brmerge179, i1 true, i1 %.not180
  %.0157.v = select i1 %brmerge181, i1 %brmerge178.not, i1 %.0153
  %273 = getelementptr inbounds i8, ptr %26, i64 7696
  %274 = load i32, ptr %273, align 8, !tbaa !114
  %275 = icmp eq i32 %274, %272
  br i1 %275, label %276, label %290

276:                                              ; preds = %271
  %277 = getelementptr inbounds i8, ptr %26, i64 7804
  %278 = load i32, ptr %277, align 4, !tbaa !115
  %279 = icmp eq i32 %278, 1
  br i1 %279, label %.sink.split, label %290

280:                                              ; preds = %178
  %brmerge185.demorgan = and i1 %28, %.0161.in
  %brmerge187.not203 = and i1 %66, %brmerge185.demorgan
  %not.brmerge187.not203 = xor i1 %brmerge187.not203, true
  %.mux197 = xor i1 %28, %brmerge187.not203
  br i1 %.0161.in, label %290, label %281

281:                                              ; preds = %280
  %brmerge190.demorgan = and i1 %66, %176
  %brmerge190 = xor i1 %brmerge190.demorgan, true
  %brmerge191 = or i1 %28, %brmerge190
  br i1 %brmerge191, label %282, label %290

282:                                              ; preds = %281
  %283 = getelementptr inbounds i8, ptr %26, i64 7696
  %284 = load i32, ptr %283, align 8, !tbaa !114
  %285 = icmp eq i32 %284, %174
  br i1 %285, label %286, label %290

286:                                              ; preds = %282
  %287 = getelementptr inbounds i8, ptr %26, i64 7804
  %288 = load i32, ptr %287, align 4, !tbaa !115
  %289 = icmp eq i32 %288, 3
  br i1 %289, label %.sink.split, label %290

.sink.split:                                      ; preds = %286, %276
  %.1155.ph = phi i1 [ %.0154, %276 ], [ false, %286 ]
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %290

290:                                              ; preds = %.sink.split, %271, %276, %280, %281, %282, %286
  %.2159 = phi i1 [ false, %286 ], [ false, %282 ], [ %not.brmerge187.not203, %280 ], [ true, %281 ], [ %.0157.v, %276 ], [ %.0157.v, %271 ], [ true, %.sink.split ]
  %.1155 = phi i1 [ false, %286 ], [ false, %282 ], [ %brmerge187.not203, %280 ], [ false, %281 ], [ %.0154, %276 ], [ %.0154, %271 ], [ %.1155.ph, %.sink.split ]
  %.1151 = phi i1 [ %28, %286 ], [ %28, %282 ], [ %.mux197, %280 ], [ false, %281 ], [ %28, %276 ], [ %28, %271 ], [ %28, %.sink.split ]
  %not. = xor i1 %2, true
  %spec.select192 = select i1 %not., i1 true, i1 %.1155
  br i1 %spec.select192, label %291, label %297

291:                                              ; preds = %290
  %292 = load i32, ptr %4, align 4, !tbaa !41
  %293 = call noundef zeroext i1 @_ZN5ImGui11IsPopupOpenEji(i32 noundef %292, i32 noundef 0)
  br i1 %293, label %294, label %297

294:                                              ; preds = %291
  %295 = getelementptr inbounds i8, ptr %26, i64 7656
  %296 = load i32, ptr %295, align 8, !tbaa !88
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %296, i1 noundef zeroext true)
  br label %297

297:                                              ; preds = %294, %291, %290
  call void @_ZN5ImGui5PopIDEv()
  %.2159.not = xor i1 %.2159, true
  %brmerge193 = select i1 %.1151, i1 true, i1 %.2159.not
  br i1 %brmerge193, label %305, label %298

298:                                              ; preds = %297
  %299 = getelementptr inbounds i8, ptr %26, i64 7640
  %300 = load i32, ptr %299, align 8, !tbaa !43
  %301 = getelementptr inbounds i8, ptr %26, i64 7656
  %302 = load i32, ptr %301, align 8, !tbaa !88
  %303 = icmp sgt i32 %300, %302
  br i1 %303, label %304, label %305

304:                                              ; preds = %298
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %0, i32 noundef 0)
  br label %312

305:                                              ; preds = %297, %298
  br i1 %.2159, label %.thread202, label %306

.thread202:                                       ; preds = %305
  call void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %0, i32 noundef 0)
  br label %307

306:                                              ; preds = %305
  br i1 %.1151, label %307, label %310

307:                                              ; preds = %.thread202, %306
  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
  %308 = load i32, ptr %4, align 4, !tbaa !41
  %309 = call noundef zeroext i1 @_ZN5ImGui12BeginPopupExEji(i32 noundef %308, i32 noundef %spec.select)
  br label %312

310:                                              ; preds = %306
  %311 = getelementptr inbounds i8, ptr %26, i64 7432
  call void @_ZN19ImGuiNextWindowData10ClearFlagsEv(ptr noundef nonnull align 8 dereferenceable(108) %311)
  br label %312

312:                                              ; preds = %307, %310, %304
  %.0 = phi i1 [ false, %304 ], [ %309, %307 ], [ false, %310 ]
  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 %313

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

314:                                              ; preds = %3, %313
  %.2 = phi i1 [ %.1, %313 ], [ 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !13, i64 147}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !12, i64 72, !12, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !11, i64 124, !11, i64 132, !13, i64 140, !13, i64 141, !13, i64 142, !13, i64 143, !13, i64 144, !13, i64 145, !13, i64 146, !13, i64 147, !13, i64 148, !13, i64 149, !13, i64 150, !13, i64 151, !8, i64 152, !14, i64 154, !14, i64 156, !14, i64 158, !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 440, !22, i64 456, !22, i64 472, !22, i64 488, !22, i64 504, !22, i64 520, !22, i64 536, !23, i64 552, !23, i64 556, !10, i64 560, !12, i64 564, !12, i64 568, !24, i64 576, !26, i64 592, !12, i64 608, !10, i64 612, !7, i64 616, !27, i64 624, !7, i64 824, !7, i64 832, !7, i64 840, !7, i64 848, !7, i64 856, !7, i64 864, !8, i64 872, !8, i64 880, !10, i64 912, !10, i64 916, !13, i64 920}
!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, !18, i64 76, !14, i64 80, !14, i64 82, !10, i64 84, !13, i64 88, !13, i64 89, !13, i64 90, !11, i64 92, !19, i64 100, !10, i64 128, !10, i64 132, !20, i64 136, !7, i64 152, !7, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !12, i64 184, !12, i64 188, !21, i64 192, !21, i64 208}
!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, !10, i64 7640}
!44 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !45, i64 8, !46, i64 5472, !7, i64 6520, !12, i64 6528, !12, i64 6532, !47, i64 6536, !48, i64 7048, !10, i64 7056, !10, i64 7060, !10, i64 7064, !13, i64 7068, !13, i64 7069, !13, i64 7070, !13, i64 7071, !13, i64 7072, !7, i64 7080, !20, i64 7088, !20, i64 7104, !20, i64 7120, !49, i64 7136, !24, i64 7152, !10, i64 7168, !11, i64 7172, !7, i64 7184, !7, i64 7192, !7, i64 7200, !7, i64 7208, !7, i64 7216, !11, i64 7224, !12, i64 7232, !10, i64 7236, !10, i64 7240, !10, i64 7244, !13, i64 7248, !13, i64 7249, !13, i64 7250, !13, i64 7251, !12, i64 7252, !12, i64 7256, !10, i64 7260, !10, i64 7264, !12, i64 7268, !13, i64 7272, !13, i64 7273, !13, i64 7274, !13, i64 7275, !13, i64 7276, !13, i64 7277, !13, i64 7278, !10, i64 7280, !10, i64 7284, !50, i64 7288, !11, i64 7296, !7, i64 7304, !51, i64 7312, !10, i64 7316, !10, i64 7320, !13, i64 7324, !13, i64 7325, !7, i64 7328, !10, i64 7336, !12, i64 7340, !10, i64 7344, !52, i64 7348, !53, i64 7368, !54, i64 7432, !55, i64 7544, !56, i64 7560, !57, i64 7576, !15, i64 7592, !58, i64 7608, !59, i64 7624, !60, i64 7640, !60, i64 7656, !61, i64 7672, !7, i64 7688, !10, i64 7696, !10, i64 7700, !10, i64 7704, !10, i64 7708, !10, i64 7712, !10, i64 7716, !10, i64 7720, !10, i64 7724, !10, i64 7728, !10, i64 7732, !10, i64 7736, !10, i64 7740, !10, i64 7744, !51, i64 7748, !18, i64 7752, !10, i64 7756, !13, i64 7760, !13, i64 7761, !13, i64 7762, !13, i64 7763, !13, i64 7764, !13, i64 7765, !13, i64 7766, !10, i64 7768, !22, i64 7772, !13, i64 7788, !13, i64 7789, !13, i64 7790, !10, i64 7792, !10, i64 7796, !10, i64 7800, !10, i64 7804, !10, i64 7808, !10, i64 7812, !22, i64 7816, !10, i64 7832, !10, i64 7836, !62, i64 7840, !62, i64 7888, !62, i64 7936, !7, i64 7984, !7, i64 7992, !7, i64 8000, !12, i64 8008, !12, i64 8012, !13, i64 8016, !7, i64 8024, !7, i64 8032, !10, i64 8040, !10, i64 8044, !13, i64 8048, !12, i64 8052, !10, i64 8056, !13, i64 8060, !13, i64 8061, !13, i64 8062, !10, i64 8064, !10, i64 8068, !10, i64 8072, !63, i64 8080, !22, i64 8144, !10, i64 8160, !10, i64 8164, !12, i64 8168, !10, i64 8172, !10, i64 8176, !10, i64 8180, !10, i64 8184, !64, i64 8192, !8, i64 8208, !7, i64 8224, !10, i64 8232, !65, i64 8240, !67, i64 8280, !21, i64 8296, !37, i64 8312, !7, i64 8328, !68, i64 8336, !70, i64 8376, !71, i64 8392, !11, i64 8408, !72, i64 8416, !76, i64 12152, !10, i64 12264, !10, i64 12268, !12, i64 12272, !12, i64 12276, !10, i64 12280, !35, i64 12284, !78, i64 12300, !12, i64 12348, !13, i64 12352, !13, i64 12353, !12, i64 12356, !12, i64 12360, !12, i64 12364, !12, i64 12368, !14, i64 12372, !14, i64 12374, !12, i64 12376, !73, i64 12384, !15, i64 12400, !11, i64 12416, !11, i64 12424, !8, i64 12432, !13, i64 12433, !12, i64 12436, !79, i64 12440, !80, i64 12456, !81, i64 12472, !82, i64 12488, !83, i64 12504, !10, i64 12520, !13, i64 12524, !84, i64 12528, !7, i64 12536, !79, i64 12544, !7, i64 12560, !7, i64 12568, !12, i64 12576, !13, i64 12580, !10, i64 12584, !10, i64 12588, !10, i64 12592, !13, i64 12596, !10, i64 12600, !85, i64 12604, !86, i64 12624, !8, i64 12656, !10, i64 13136, !10, i64 13140, !12, i64 13144, !10, i64 13148, !10, i64 13152, !10, i64 13156, !8, i64 13160}
!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 1063, !8, i64 1068, !8, i64 1073, !8, i64 1080, !8, i64 1100, !8, i64 1120, !8, i64 1160, !8, i64 1180, !8, i64 3228, !8, i64 5276, !8, i64 5356, !12, i64 5436, !13, i64 5440, !14, i64 5442, !29, i64 5448}
!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 = !{!"_ZTS6ImPoolI10ImGuiTableE", !66, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!66 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !7, i64 8}
!67 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!68 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !69, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!69 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!70 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!71 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!72 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !29, i64 16, !73, i64 32, !73, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !74, i64 76, !12, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712, !7, i64 3720, !7, i64 3728}
!73 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!74 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !10, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !12, i64 28, !75, i64 32}
!75 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!76 = !{!"_ZTS6ImFont", !21, i64 0, !12, i64 16, !12, i64 20, !29, i64 24, !77, 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}
!77 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!78 = !{!"_ZTS21ImGuiComboPreviewData", !22, i64 0, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !10, i64 44}
!79 = !{!"_ZTS15ImGuiTextBuffer", !73, i64 0}
!80 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!81 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !73, i64 0}
!82 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !73, i64 0}
!83 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !7, i64 8}
!84 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!85 = !{!"_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}
!86 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !87, i64 16}
!87 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !7, i64 8}
!88 = !{!44, !10, i64 7656}
!89 = !{!44, !7, i64 7688}
!90 = !{!91, !10, i64 28}
!91 = !{!"_ZTS14ImGuiPopupData", !10, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !11, i64 32, !11, i64 40}
!92 = !{!6, !10, i64 388}
!93 = !{!11, !12, i64 0}
!94 = !{!46, !12, i64 76}
!95 = !{!11, !12, i64 4}
!96 = !{!46, !12, i64 64}
!97 = !{!6, !12, i64 216}
!98 = !{!46, !12, i64 80}
!99 = !{!19, !14, i64 12}
!100 = !{!6, !12, i64 220}
!101 = !{!6, !12, i64 272}
!102 = !{!46, !12, i64 12}
!103 = !{!8, !8, i64 0}
!104 = !{!44, !12, i64 6528}
!105 = !{!19, !14, i64 10}
!106 = !{!6, !7, i64 616}
!107 = !{!19, !14, i64 16}
!108 = !{!44, !10, i64 7240}
!109 = !{!91, !7, i64 16}
!110 = !{!91, !7, i64 8}
!111 = !{!44, !7, i64 7192}
!112 = !{!6, !12, i64 16}
!113 = !{!44, !10, i64 7244}
!114 = !{!44, !10, i64 7696}
!115 = !{!44, !10, i64 7804}


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