; LLVM IR from lbowes/falcon-9-simulation :: 3rd_party/imgui/imgui_widgets.ll (ZN5ImGui10SelectableEPKcbiRK6ImVec2)

; 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, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.5, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8] }>
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.1, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, [6 x i16], [4 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, i32, ptr, ptr, i32, i32, ptr, ptr, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImDrawListSplitter }
%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.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.12 }
%struct.ImVector.12 = 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, i32, [4 x i8], ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i8, [3 x i8], i32, float, float, i32, i32, float, i8, i8, i8, i8, i8, [3 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.16, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.18, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, i8, [3 x i8], float, float, float, i32, %struct.ImVector.22, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.24, %struct.ImChunkStream, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], i16, %struct.ImVector.7 }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, float, [48 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [64 x i8] }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.17] }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.7, %struct.ImVector.22, %struct.ImVector.22, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, 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.2, float, float, %struct.ImVector.7, %struct.ImVector.23, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.22 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.22 }

@GImGui = external global ptr, align 8

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() #1

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

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

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

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

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

declare void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) #4

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

declare void @_ZN5ImGui14PushStyleColorEiRK6ImVec4(i32 noundef, ptr noundef nonnull align 4 dereferenceable(16)) #4

declare void @_ZN5ImGui13PopStyleColorEi(i32 noundef) #4

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

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

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

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

declare void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #6 align 2

declare void @_ZN5ImGui14MarkItemEditedEj(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21PushColumnsBackgroundEv() #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui20PopColumnsBackgroundEv() #6

declare void @_ZN5ImGui19SetItemAllowOverlapEv() #4

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

44:                                               ; preds = %4
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %453

45:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %46 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %46, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ImGuiContext, ptr %47, i32 0, i32 4
  store ptr %48, ptr %13, align 8, !tbaa !5
  %49 = load i32, ptr %8, align 4, !tbaa !11
  %50 = and i32 %49, 2
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %59

52:                                               ; preds = %45
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImGuiWindow, ptr %53, i32 0, i32 50
  %55 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %54, i32 0, i32 30
  %56 = load ptr, ptr %55, align 8, !tbaa !42
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %59

58:                                               ; preds = %52
  call void @_ZN5ImGui21PushColumnsBackgroundEv()
  br label %59

59:                                               ; preds = %58, %52, %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(956) %60, ptr noundef %61, ptr noundef null)
  store i32 %62, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %63, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %64, ptr %15, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 0
  %67 = load float, ptr %66, align 4, !tbaa !43
  %68 = fcmp une float %67, 0.000000e+00
  br i1 %68, label %69, label %73

69:                                               ; preds = %59
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImVec2, ptr %70, i32 0, i32 0
  %72 = load float, ptr %71, align 4, !tbaa !43
  br label %76

73:                                               ; preds = %59
  %74 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %75 = load float, ptr %74, align 4, !tbaa !43
  br label %76

76:                                               ; preds = %73, %69
  %77 = phi float [ %72, %69 ], [ %75, %73 ]
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ImVec2, ptr %78, i32 0, i32 1
  %80 = load float, ptr %79, align 4, !tbaa !44
  %81 = fcmp une float %80, 0.000000e+00
  br i1 %81, label %82, label %86

82:                                               ; preds = %76
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImVec2, ptr %83, i32 0, i32 1
  %85 = load float, ptr %84, align 4, !tbaa !44
  br label %89

86:                                               ; preds = %76
  %87 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %88 = load float, ptr %87, align 4, !tbaa !44
  br label %89

89:                                               ; preds = %86, %82
  %90 = phi float [ %85, %82 ], [ %88, %86 ]
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %77, float noundef %90)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.ImGuiWindow, ptr %91, i32 0, i32 50
  %93 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %92, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %93, i64 8, i1 false), !tbaa.struct !45
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ImGuiWindow, ptr %94, i32 0, i32 50
  %96 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %95, i32 0, i32 6
  %97 = load float, ptr %96, align 8, !tbaa !47
  %98 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %99 = load float, ptr %98, align 4, !tbaa !44
  %100 = fadd float %99, %97
  store float %100, ptr %98, align 4, !tbaa !44
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %101 = load i32, ptr %8, align 4, !tbaa !11
  %102 = and i32 %101, 2
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %104, label %110

104:                                              ; preds = %89
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImGuiWindow, ptr %105, i32 0, i32 56
  %107 = getelementptr inbounds %struct.ImRect, ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds %struct.ImVec2, ptr %107, i32 0, i32 0
  %109 = load float, ptr %108, align 8, !tbaa !48
  br label %113

110:                                              ; preds = %89
  %111 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 0
  %112 = load float, ptr %111, align 4, !tbaa !43
  br label %113

113:                                              ; preds = %110, %104
  %114 = phi float [ %109, %104 ], [ %112, %110 ]
  store float %114, ptr %18, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %115 = load i32, ptr %8, align 4, !tbaa !11
  %116 = and i32 %115, 2
  %117 = icmp ne i32 %116, 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  br i1 %117, label %118, label %124

118:                                              ; preds = %113
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImGuiWindow, ptr %119, i32 0, i32 56
  %121 = getelementptr inbounds %struct.ImRect, ptr %120, i32 0, i32 1
  %122 = getelementptr inbounds %struct.ImVec2, ptr %121, i32 0, i32 0
  %123 = load float, ptr %122, align 8, !tbaa !49
  br label %128

124:                                              ; preds = %113
  %125 = call <2 x float> @_ZN5ImGui22GetContentRegionMaxAbsEv()
  store <2 x float> %125, ptr %20, align 4
  %126 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  %127 = load float, ptr %126, align 4, !tbaa !43
  br label %128

128:                                              ; preds = %124, %118
  %129 = phi float [ %123, %118 ], [ %127, %124 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  store float %129, ptr %19, align 4, !tbaa !46
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.ImVec2, ptr %130, i32 0, i32 0
  %132 = load float, ptr %131, align 4, !tbaa !43
  %133 = fcmp oeq float %132, 0.000000e+00
  br i1 %133, label %138, label %134

134:                                              ; preds = %128
  %135 = load i32, ptr %8, align 4, !tbaa !11
  %136 = and i32 %135, 8388608
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %138, label %146

138:                                              ; preds = %134, %128
  %139 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %140 = load float, ptr %139, align 4, !tbaa !43
  %141 = load float, ptr %19, align 4, !tbaa !46
  %142 = load float, ptr %18, align 4, !tbaa !46
  %143 = fsub float %141, %142
  %144 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %140, float noundef %143)
  %145 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  store float %144, ptr %145, align 4, !tbaa !43
  br label %146

146:                                              ; preds = %138, %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %17, i64 8, i1 false), !tbaa.struct !45
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %147 = load float, ptr %18, align 4, !tbaa !46
  %148 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %149 = load float, ptr %148, align 4, !tbaa !43
  %150 = fadd float %147, %149
  %151 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %152 = load float, ptr %151, align 4, !tbaa !44
  %153 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  %154 = load float, ptr %153, align 4, !tbaa !44
  %155 = fadd float %152, %154
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %150, float noundef %155)
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #7
  %156 = load float, ptr %18, align 4, !tbaa !46
  %157 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %158 = load float, ptr %157, align 4, !tbaa !44
  %159 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %160 = load float, ptr %159, align 4, !tbaa !43
  %161 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %162 = load float, ptr %161, align 4, !tbaa !44
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %23, float noundef %156, float noundef %158, float noundef %160, float noundef %162)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %163 = load ptr, ptr %13, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.ImGuiStyle, ptr %163, i32 0, i32 14
  %165 = getelementptr inbounds %struct.ImVec2, ptr %164, i32 0, i32 0
  %166 = load float, ptr %165, align 4, !tbaa !50
  store float %166, ptr %24, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %167 = load ptr, ptr %13, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ImGuiStyle, ptr %167, i32 0, i32 14
  %169 = getelementptr inbounds %struct.ImVec2, ptr %168, i32 0, i32 1
  %170 = load float, ptr %169, align 4, !tbaa !52
  store float %170, ptr %25, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %171 = load float, ptr %24, align 4, !tbaa !46
  %172 = fmul float %171, 5.000000e-01
  %173 = fptosi float %172 to i32
  %174 = sitofp i32 %173 to float
  store float %174, ptr %26, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %175 = load float, ptr %25, align 4, !tbaa !46
  %176 = fmul float %175, 5.000000e-01
  %177 = fptosi float %176 to i32
  %178 = sitofp i32 %177 to float
  store float %178, ptr %27, align 4, !tbaa !46
  %179 = load float, ptr %26, align 4, !tbaa !46
  %180 = getelementptr inbounds %struct.ImRect, ptr %23, i32 0, i32 0
  %181 = getelementptr inbounds %struct.ImVec2, ptr %180, i32 0, i32 0
  %182 = load float, ptr %181, align 4, !tbaa !53
  %183 = fsub float %182, %179
  store float %183, ptr %181, align 4, !tbaa !53
  %184 = load float, ptr %27, align 4, !tbaa !46
  %185 = getelementptr inbounds %struct.ImRect, ptr %23, i32 0, i32 0
  %186 = getelementptr inbounds %struct.ImVec2, ptr %185, i32 0, i32 1
  %187 = load float, ptr %186, align 4, !tbaa !54
  %188 = fsub float %187, %184
  store float %188, ptr %186, align 4, !tbaa !54
  %189 = load float, ptr %24, align 4, !tbaa !46
  %190 = load float, ptr %26, align 4, !tbaa !46
  %191 = fsub float %189, %190
  %192 = getelementptr inbounds %struct.ImRect, ptr %23, i32 0, i32 1
  %193 = getelementptr inbounds %struct.ImVec2, ptr %192, i32 0, i32 0
  %194 = load float, ptr %193, align 4, !tbaa !55
  %195 = fadd float %194, %191
  store float %195, ptr %193, align 4, !tbaa !55
  %196 = load float, ptr %25, align 4, !tbaa !46
  %197 = load float, ptr %27, align 4, !tbaa !46
  %198 = fsub float %196, %197
  %199 = getelementptr inbounds %struct.ImRect, ptr %23, i32 0, i32 1
  %200 = getelementptr inbounds %struct.ImVec2, ptr %199, i32 0, i32 1
  %201 = load float, ptr %200, align 4, !tbaa !56
  %202 = fadd float %201, %198
  store float %202, ptr %200, align 4, !tbaa !56
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  %203 = load i32, ptr %8, align 4, !tbaa !11
  %204 = and i32 %203, 8
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %206, label %223

206:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %207 = load ptr, ptr %10, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.ImGuiWindow, ptr %207, i32 0, i32 50
  %209 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %208, i32 0, i32 35
  %210 = load i32, ptr %209, align 8, !tbaa !57
  store i32 %210, ptr %29, align 4, !tbaa !11
  %211 = load ptr, ptr %10, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.ImGuiWindow, ptr %211, i32 0, i32 50
  %213 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %212, i32 0, i32 35
  %214 = load i32, ptr %213, align 8, !tbaa !57
  %215 = or i32 %214, 20
  store i32 %215, ptr %213, align 8, !tbaa !57
  %216 = load i32, ptr %14, align 4, !tbaa !11
  %217 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %23, i32 noundef %216, ptr noundef null)
  %218 = zext i1 %217 to i8
  store i8 %218, ptr %28, align 1, !tbaa !9
  %219 = load i32, ptr %29, align 4, !tbaa !11
  %220 = load ptr, ptr %10, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.ImGuiWindow, ptr %220, i32 0, i32 50
  %222 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %221, i32 0, i32 35
  store i32 %219, ptr %222, align 8, !tbaa !57
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %227

223:                                              ; preds = %146
  %224 = load i32, ptr %14, align 4, !tbaa !11
  %225 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %23, i32 noundef %224, ptr noundef null)
  %226 = zext i1 %225 to i8
  store i8 %226, ptr %28, align 1, !tbaa !9
  br label %227

227:                                              ; preds = %223, %206
  %228 = load i8, ptr %28, align 1, !tbaa !9, !range !40, !noundef !41
  %229 = trunc i8 %228 to i1
  br i1 %229, label %242, label %230

230:                                              ; preds = %227
  %231 = load i32, ptr %8, align 4, !tbaa !11
  %232 = and i32 %231, 2
  %233 = icmp ne i32 %232, 0
  br i1 %233, label %234, label %241

234:                                              ; preds = %230
  %235 = load ptr, ptr %10, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImGuiWindow, ptr %235, i32 0, i32 50
  %237 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %236, i32 0, i32 30
  %238 = load ptr, ptr %237, align 8, !tbaa !42
  %239 = icmp ne ptr %238, null
  br i1 %239, label %240, label %241

240:                                              ; preds = %234
  call void @_ZN5ImGui20PopColumnsBackgroundEv()
  br label %241

241:                                              ; preds = %240, %234, %230
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %452

242:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 0, ptr %30, align 4, !tbaa !11
  %243 = load i32, ptr %8, align 4, !tbaa !11
  %244 = and i32 %243, 1048576
  %245 = icmp ne i32 %244, 0
  br i1 %245, label %246, label %249

246:                                              ; preds = %242
  %247 = load i32, ptr %30, align 4, !tbaa !11
  %248 = or i32 %247, 8192
  store i32 %248, ptr %30, align 4, !tbaa !11
  br label %249

249:                                              ; preds = %246, %242
  %250 = load i32, ptr %8, align 4, !tbaa !11
  %251 = and i32 %250, 2097152
  %252 = icmp ne i32 %251, 0
  br i1 %252, label %253, label %256

253:                                              ; preds = %249
  %254 = load i32, ptr %30, align 4, !tbaa !11
  %255 = or i32 %254, 2
  store i32 %255, ptr %30, align 4, !tbaa !11
  br label %256

256:                                              ; preds = %253, %249
  %257 = load i32, ptr %8, align 4, !tbaa !11
  %258 = and i32 %257, 4194304
  %259 = icmp ne i32 %258, 0
  br i1 %259, label %260, label %263

260:                                              ; preds = %256
  %261 = load i32, ptr %30, align 4, !tbaa !11
  %262 = or i32 %261, 16
  store i32 %262, ptr %30, align 4, !tbaa !11
  br label %263

263:                                              ; preds = %260, %256
  %264 = load i32, ptr %8, align 4, !tbaa !11
  %265 = and i32 %264, 8
  %266 = icmp ne i32 %265, 0
  br i1 %266, label %267, label %270

267:                                              ; preds = %263
  %268 = load i32, ptr %30, align 4, !tbaa !11
  %269 = or i32 %268, 1024
  store i32 %269, ptr %30, align 4, !tbaa !11
  br label %270

270:                                              ; preds = %267, %263
  %271 = load i32, ptr %8, align 4, !tbaa !11
  %272 = and i32 %271, 4
  %273 = icmp ne i32 %272, 0
  br i1 %273, label %274, label %277

274:                                              ; preds = %270
  %275 = load i32, ptr %30, align 4, !tbaa !11
  %276 = or i32 %275, 36
  store i32 %276, ptr %30, align 4, !tbaa !11
  br label %277

277:                                              ; preds = %274, %270
  %278 = load i32, ptr %8, align 4, !tbaa !11
  %279 = and i32 %278, 16
  %280 = icmp ne i32 %279, 0
  br i1 %280, label %281, label %284

281:                                              ; preds = %277
  %282 = load i32, ptr %30, align 4, !tbaa !11
  %283 = or i32 %282, 256
  store i32 %283, ptr %30, align 4, !tbaa !11
  br label %284

284:                                              ; preds = %281, %277
  %285 = load i32, ptr %8, align 4, !tbaa !11
  %286 = and i32 %285, 8
  %287 = icmp ne i32 %286, 0
  br i1 %287, label %288, label %289

288:                                              ; preds = %284
  store i8 0, ptr %7, align 1, !tbaa !9
  br label %289

289:                                              ; preds = %288, %284
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #7
  %290 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %291 = trunc i8 %290 to i1
  %292 = zext i1 %291 to i8
  store i8 %292, ptr %31, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #7
  %293 = load i32, ptr %14, align 4, !tbaa !11
  %294 = load i32, ptr %30, align 4, !tbaa !11
  %295 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %23, i32 noundef %293, ptr noundef %32, ptr noundef %33, i32 noundef %294)
  %296 = zext i1 %295 to i8
  store i8 %296, ptr %34, align 1, !tbaa !9
  %297 = load i8, ptr %34, align 1, !tbaa !9, !range !40, !noundef !41
  %298 = trunc i8 %297 to i1
  br i1 %298, label %306, label %299

299:                                              ; preds = %289
  %300 = load i8, ptr %32, align 1, !tbaa !9, !range !40, !noundef !41
  %301 = trunc i8 %300 to i1
  br i1 %301, label %302, label %339

302:                                              ; preds = %299
  %303 = load i32, ptr %8, align 4, !tbaa !11
  %304 = and i32 %303, 33554432
  %305 = icmp ne i32 %304, 0
  br i1 %305, label %306, label %339

306:                                              ; preds = %302, %289
  %307 = load ptr, ptr %12, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.ImGuiContext, ptr %307, i32 0, i32 92
  %309 = load i8, ptr %308, align 1, !tbaa !58, !range !40, !noundef !41
  %310 = trunc i8 %309 to i1
  br i1 %310, label %338, label %311

311:                                              ; preds = %306
  %312 = load ptr, ptr %12, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.ImGuiContext, ptr %312, i32 0, i32 72
  %314 = load ptr, ptr %313, align 8, !tbaa !92
  %315 = load ptr, ptr %10, align 8, !tbaa !5
  %316 = icmp eq ptr %314, %315
  br i1 %316, label %317, label %338

317:                                              ; preds = %311
  %318 = load ptr, ptr %12, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.ImGuiContext, ptr %318, i32 0, i32 87
  %320 = load i32, ptr %319, align 4, !tbaa !93
  %321 = load ptr, ptr %10, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.ImGuiWindow, ptr %321, i32 0, i32 50
  %323 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %322, i32 0, i32 15
  %324 = load i32, ptr %323, align 4, !tbaa !94
  %325 = icmp eq i32 %320, %324
  br i1 %325, label %326, label %338

326:                                              ; preds = %317
  %327 = load ptr, ptr %12, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.ImGuiContext, ptr %327, i32 0, i32 91
  store i8 1, ptr %328, align 2, !tbaa !95
  %329 = load i32, ptr %14, align 4, !tbaa !11
  %330 = load ptr, ptr %10, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.ImGuiWindow, ptr %330, i32 0, i32 50
  %332 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %331, i32 0, i32 15
  %333 = load i32, ptr %332, align 4, !tbaa !94
  %334 = load ptr, ptr %10, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ImGuiWindow, ptr %334, i32 0, i32 50
  %336 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %335, i32 0, i32 19
  %337 = load i32, ptr %336, align 4, !tbaa !96
  call void @_ZN5ImGui8SetNavIDEjij(i32 noundef %329, i32 noundef %333, i32 noundef %337)
  br label %338

338:                                              ; preds = %326, %317, %311, %306
  br label %339

339:                                              ; preds = %338, %302, %299
  %340 = load i8, ptr %34, align 1, !tbaa !9, !range !40, !noundef !41
  %341 = trunc i8 %340 to i1
  br i1 %341, label %342, label %344

342:                                              ; preds = %339
  %343 = load i32, ptr %14, align 4, !tbaa !11
  call void @_ZN5ImGui14MarkItemEditedEj(i32 noundef %343)
  br label %344

344:                                              ; preds = %342, %339
  %345 = load i32, ptr %8, align 4, !tbaa !11
  %346 = and i32 %345, 16
  %347 = icmp ne i32 %346, 0
  br i1 %347, label %348, label %349

348:                                              ; preds = %344
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %349

349:                                              ; preds = %348, %344
  %350 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %351 = trunc i8 %350 to i1
  %352 = zext i1 %351 to i32
  %353 = load i8, ptr %31, align 1, !tbaa !9, !range !40, !noundef !41
  %354 = trunc i8 %353 to i1
  %355 = zext i1 %354 to i32
  %356 = icmp ne i32 %352, %355
  br i1 %356, label %357, label %363

357:                                              ; preds = %349
  %358 = load ptr, ptr %10, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.ImGuiWindow, ptr %358, i32 0, i32 50
  %360 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %359, i32 0, i32 12
  %361 = load i32, ptr %360, align 8, !tbaa !97
  %362 = or i32 %361, 8
  store i32 %362, ptr %360, align 8, !tbaa !97
  br label %363

363:                                              ; preds = %357, %349
  %364 = load i8, ptr %33, align 1, !tbaa !9, !range !40, !noundef !41
  %365 = trunc i8 %364 to i1
  br i1 %365, label %366, label %371

366:                                              ; preds = %363
  %367 = load i32, ptr %8, align 4, !tbaa !11
  %368 = and i32 %367, 16777216
  %369 = icmp ne i32 %368, 0
  br i1 %369, label %370, label %371

370:                                              ; preds = %366
  store i8 1, ptr %32, align 1, !tbaa !9
  br label %371

371:                                              ; preds = %370, %366, %363
  %372 = load i8, ptr %32, align 1, !tbaa !9, !range !40, !noundef !41
  %373 = trunc i8 %372 to i1
  br i1 %373, label %377, label %374

374:                                              ; preds = %371
  %375 = load i8, ptr %7, align 1, !tbaa !9, !range !40, !noundef !41
  %376 = trunc i8 %375 to i1
  br i1 %376, label %377, label %398

377:                                              ; preds = %374, %371
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  %378 = load i8, ptr %33, align 1, !tbaa !9, !range !40, !noundef !41
  %379 = trunc i8 %378 to i1
  br i1 %379, label %380, label %384

380:                                              ; preds = %377
  %381 = load i8, ptr %32, align 1, !tbaa !9, !range !40, !noundef !41
  %382 = trunc i8 %381 to i1
  br i1 %382, label %383, label %384

383:                                              ; preds = %380
  br label %389

384:                                              ; preds = %380, %377
  %385 = load i8, ptr %32, align 1, !tbaa !9, !range !40, !noundef !41
  %386 = trunc i8 %385 to i1
  %387 = zext i1 %386 to i64
  %388 = select i1 %386, i32 25, i32 24
  br label %389

389:                                              ; preds = %384, %383
  %390 = phi i32 [ 26, %383 ], [ %388, %384 ]
  %391 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %390, float noundef 1.000000e+00)
  store i32 %391, ptr %35, align 4, !tbaa !11
  %392 = getelementptr inbounds %struct.ImRect, ptr %23, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %392, i64 8, i1 false), !tbaa.struct !45
  %393 = getelementptr inbounds %struct.ImRect, ptr %23, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %393, i64 8, i1 false), !tbaa.struct !45
  %394 = load i32, ptr %35, align 4, !tbaa !11
  %395 = load <2 x float>, ptr %36, align 4
  %396 = load <2 x float>, ptr %37, align 4
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %395, <2 x float> %396, i32 noundef %394, i1 noundef zeroext false, float noundef 0.000000e+00)
  %397 = load i32, ptr %14, align 4, !tbaa !11
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %23, i32 noundef %397, i32 noundef 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %398

398:                                              ; preds = %389, %374
  %399 = load i32, ptr %8, align 4, !tbaa !11
  %400 = and i32 %399, 2
  %401 = icmp ne i32 %400, 0
  br i1 %401, label %402, label %409

402:                                              ; preds = %398
  %403 = load ptr, ptr %10, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.ImGuiWindow, ptr %403, i32 0, i32 50
  %405 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %404, i32 0, i32 30
  %406 = load ptr, ptr %405, align 8, !tbaa !42
  %407 = icmp ne ptr %406, null
  br i1 %407, label %408, label %409

408:                                              ; preds = %402
  call void @_ZN5ImGui20PopColumnsBackgroundEv()
  br label %409

409:                                              ; preds = %408, %402, %398
  %410 = load i32, ptr %8, align 4, !tbaa !11
  %411 = and i32 %410, 8
  %412 = icmp ne i32 %411, 0
  br i1 %412, label %413, label %417

413:                                              ; preds = %409
  %414 = load ptr, ptr %13, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct.ImGuiStyle, ptr %414, i32 0, i32 36
  %416 = getelementptr inbounds [48 x %struct.ImVec4], ptr %415, i64 0, i64 1
  call void @_ZN5ImGui14PushStyleColorEiRK6ImVec4(i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(16) %416)
  br label %417

417:                                              ; preds = %413, %409
  %418 = load ptr, ptr %6, align 8, !tbaa !5
  %419 = load ptr, ptr %13, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.ImGuiStyle, ptr %419, i32 0, i32 28
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef %418, ptr noundef null, ptr noundef %15, ptr noundef nonnull align 4 dereferenceable(8) %420, ptr noundef %23)
  %421 = load i32, ptr %8, align 4, !tbaa !11
  %422 = and i32 %421, 8
  %423 = icmp ne i32 %422, 0
  br i1 %423, label %424, label %425

424:                                              ; preds = %417
  call void @_ZN5ImGui13PopStyleColorEi(i32 noundef 1)
  br label %425

425:                                              ; preds = %424, %417
  %426 = load i8, ptr %34, align 1, !tbaa !9, !range !40, !noundef !41
  %427 = trunc i8 %426 to i1
  br i1 %427, label %428, label %446

428:                                              ; preds = %425
  %429 = load ptr, ptr %10, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.ImGuiWindow, ptr %429, i32 0, i32 2
  %431 = load i32, ptr %430, align 4, !tbaa !98
  %432 = and i32 %431, 67108864
  %433 = icmp ne i32 %432, 0
  br i1 %433, label %434, label %446

434:                                              ; preds = %428
  %435 = load i32, ptr %8, align 4, !tbaa !11
  %436 = and i32 %435, 1
  %437 = icmp ne i32 %436, 0
  br i1 %437, label %446, label %438

438:                                              ; preds = %434
  %439 = load ptr, ptr %10, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.ImGuiWindow, ptr %439, i32 0, i32 50
  %441 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %440, i32 0, i32 35
  %442 = load i32, ptr %441, align 8, !tbaa !57
  %443 = and i32 %442, 32
  %444 = icmp ne i32 %443, 0
  br i1 %444, label %446, label %445

445:                                              ; preds = %438
  call void @_ZN5ImGui17CloseCurrentPopupEv()
  br label %446

446:                                              ; preds = %445, %438, %434, %428, %425
  br label %447

447:                                              ; preds = %446
  br label %448

448:                                              ; preds = %447
  br label %449

449:                                              ; preds = %448
  %450 = load i8, ptr %34, align 1, !tbaa !9, !range !40, !noundef !41
  %451 = trunc i8 %450 to i1
  store i1 %451, ptr %5, align 1
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %452

452:                                              ; preds = %449, %241
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %453

453:                                              ; preds = %452, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %454 = load i1, ptr %5, align 1
  ret i1 %454
}

declare void @_ZN5ImGui8SetNavIDEjij(i32 noundef, i32 noundef, i32 noundef) #4

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

declare void @_ZN5ImGui17CloseCurrentPopupEv() #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 = { 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 = { 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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 131}
!14 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !12, i64 8, !12, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !16, i64 64, !16, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !15, i64 84, !15, i64 92, !15, i64 100, !15, i64 108, !15, i64 116, !10, i64 124, !10, i64 125, !10, i64 126, !10, i64 127, !10, i64 128, !10, i64 129, !10, i64 130, !10, i64 131, !10, i64 132, !10, i64 133, !10, i64 134, !10, i64 135, !7, i64 136, !17, i64 138, !17, i64 140, !17, i64 142, !12, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !10, i64 151, !12, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !15, i64 176, !15, i64 184, !18, i64 192, !19, i64 208, !21, i64 536, !21, i64 552, !21, i64 568, !21, i64 584, !21, i64 600, !21, i64 616, !12, i64 632, !16, i64 636, !16, i64 640, !28, i64 648, !30, i64 664, !16, i64 680, !12, i64 684, !6, i64 688, !31, i64 696, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !7, i64 904, !7, i64 912, !10, i64 944, !12, i64 948, !12, i64 952}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorIjE", !12, i64 0, !12, i64 4, !6, i64 8}
!19 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !16, i64 48, !16, i64 52, !20, i64 56, !20, i64 60, !20, i64 64, !12, i64 68, !12, i64 72, !21, i64 76, !21, i64 92, !22, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !10, i64 128, !10, i64 129, !10, i64 130, !15, i64 132, !23, i64 140, !12, i64 176, !12, i64 180, !24, i64 184, !6, i64 200, !6, i64 208, !12, i64 216, !12, i64 220, !12, i64 224, !12, i64 228, !12, i64 232, !16, i64 236, !16, i64 240, !25, i64 248, !26, i64 264, !26, i64 280, !27, i64 296, !7, i64 312}
!20 = !{!"_ZTS6ImVec1", !16, i64 0}
!21 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!22 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!23 = !{!"_ZTS16ImGuiMenuColumns", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 12, !7, i64 24}
!24 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !12, i64 0, !12, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIiE", !12, i64 0, !12, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIfE", !12, i64 0, !12, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !12, i64 0, !12, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !12, i64 0, !12, i64 4, !6, i64 8}
!31 = !{!"_ZTS10ImDrawList", !32, i64 0, !33, i64 16, !34, i64 32, !12, i64 48, !6, i64 56, !6, i64 64, !12, i64 72, !12, i64 76, !6, i64 80, !6, i64 88, !35, i64 96, !36, i64 112, !37, i64 128, !38, i64 144}
!32 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!38 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!14, !6, i64 416}
!43 = !{!15, !16, i64 0}
!44 = !{!15, !16, i64 4}
!45 = !{i64 0, i64 4, !46, i64 4, i64 4, !46}
!46 = !{!16, !16, i64 0}
!47 = !{!14, !16, i64 256}
!48 = !{!14, !16, i64 616}
!49 = !{!14, !16, i64 624}
!50 = !{!51, !16, i64 72}
!51 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !15, i64 4, !16, i64 12, !16, i64 16, !15, i64 20, !15, i64 28, !12, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !15, i64 56, !16, i64 64, !16, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !12, i64 132, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !16, i64 168, !10, i64 172, !10, i64 173, !16, i64 176, !16, i64 180, !7, i64 184}
!52 = !{!51, !16, i64 76}
!53 = !{!21, !16, i64 0}
!54 = !{!21, !16, i64 4}
!55 = !{!21, !16, i64 8}
!56 = !{!21, !16, i64 12}
!57 = !{!14, !12, i64 440}
!58 = !{!59, !10, i64 7247}
!59 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !60, i64 8, !51, i64 5480, !6, i64 6432, !16, i64 6440, !16, i64 6444, !61, i64 6448, !63, i64 6656, !12, i64 6664, !12, i64 6668, !12, i64 6672, !10, i64 6676, !10, i64 6677, !10, i64 6678, !10, i64 6679, !12, i64 6680, !6, i64 6688, !24, i64 6696, !24, i64 6712, !24, i64 6728, !24, i64 6744, !28, i64 6760, !12, i64 6776, !6, i64 6784, !6, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !15, i64 6824, !16, i64 6832, !12, i64 6836, !10, i64 6840, !12, i64 6844, !16, i64 6848, !16, i64 6852, !12, i64 6856, !12, i64 6860, !16, i64 6864, !10, i64 6868, !10, i64 6869, !10, i64 6870, !10, i64 6871, !10, i64 6872, !12, i64 6876, !12, i64 6880, !64, i64 6888, !15, i64 6896, !6, i64 6904, !65, i64 6912, !12, i64 6916, !12, i64 6920, !10, i64 6924, !10, i64 6925, !6, i64 6928, !12, i64 6936, !16, i64 6940, !66, i64 6944, !67, i64 7056, !68, i64 7080, !69, i64 7096, !70, i64 7112, !71, i64 7128, !71, i64 7144, !6, i64 7160, !12, i64 7168, !12, i64 7172, !12, i64 7176, !12, i64 7180, !12, i64 7184, !12, i64 7188, !12, i64 7192, !12, i64 7196, !12, i64 7200, !12, i64 7204, !12, i64 7208, !65, i64 7212, !21, i64 7216, !12, i64 7232, !22, i64 7236, !12, i64 7240, !10, i64 7244, !10, i64 7245, !10, i64 7246, !10, i64 7247, !10, i64 7248, !10, i64 7249, !10, i64 7250, !12, i64 7252, !21, i64 7256, !10, i64 7272, !10, i64 7273, !12, i64 7276, !72, i64 7280, !12, i64 7284, !12, i64 7288, !12, i64 7292, !12, i64 7296, !73, i64 7304, !73, i64 7352, !73, i64 7400, !6, i64 7448, !12, i64 7456, !6, i64 7464, !6, i64 7472, !6, i64 7480, !16, i64 7488, !16, i64 7492, !10, i64 7496, !6, i64 7504, !6, i64 7512, !12, i64 7520, !12, i64 7524, !12, i64 7528, !12, i64 7532, !10, i64 7536, !74, i64 7544, !75, i64 7600, !16, i64 7632, !31, i64 7640, !31, i64 7808, !12, i64 7976, !10, i64 7980, !10, i64 7981, !10, i64 7982, !12, i64 7984, !12, i64 7988, !12, i64 7992, !76, i64 8000, !21, i64 8064, !12, i64 8080, !12, i64 8084, !16, i64 8088, !12, i64 8092, !12, i64 8096, !12, i64 8100, !12, i64 8104, !77, i64 8112, !7, i64 8128, !6, i64 8144, !78, i64 8152, !80, i64 8192, !81, i64 8208, !15, i64 8224, !82, i64 8232, !86, i64 11960, !12, i64 12080, !12, i64 12084, !16, i64 12088, !16, i64 12092, !7, i64 12096, !62, i64 12108, !10, i64 12124, !16, i64 12128, !16, i64 12132, !16, i64 12136, !12, i64 12140, !83, i64 12144, !18, i64 12160, !15, i64 12176, !15, i64 12184, !10, i64 12192, !16, i64 12196, !88, i64 12200, !89, i64 12216, !90, i64 12232, !10, i64 12248, !91, i64 12252, !6, i64 12256, !88, i64 12264, !16, i64 12280, !10, i64 12284, !12, i64 12288, !12, i64 12292, !12, i64 12296, !10, i64 12300, !12, i64 12304, !7, i64 12308, !12, i64 12788, !16, i64 12792, !12, i64 12796, !12, i64 12800, !12, i64 12804, !7, i64 12808}
!60 = !{!"_ZTS7ImGuiIO", !12, i64 0, !12, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !7, i64 52, !16, i64 140, !16, i64 144, !6, i64 152, !6, i64 160, !16, i64 168, !10, i64 172, !6, i64 176, !15, i64 184, !10, i64 192, !10, i64 193, !10, i64 194, !10, i64 195, !10, i64 196, !16, 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, !6, i64 288, !15, i64 296, !7, i64 304, !16, i64 312, !16, i64 316, !10, i64 320, !10, i64 321, !10, i64 322, !10, i64 323, !7, i64 324, !7, i64 836, !10, i64 920, !10, i64 921, !10, i64 922, !10, i64 923, !10, i64 924, !10, i64 925, !10, i64 926, !16, i64 928, !12, i64 932, !12, i64 936, !12, i64 940, !12, i64 944, !12, i64 948, !15, i64 952, !12, i64 960, !15, i64 964, !7, i64 972, !7, i64 1016, !7, i64 1056, !7, i64 1061, !7, i64 1066, !7, i64 1071, !7, i64 1076, !7, i64 1084, !7, i64 1104, !7, i64 1124, !7, i64 1164, !7, i64 1184, !7, i64 3232, !7, i64 5280, !7, i64 5364, !17, i64 5448, !33, i64 5456}
!61 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !62, i64 28, !12, i64 44, !7, i64 48, !7, i64 144}
!62 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!63 = !{!"double", !7, i64 0}
!64 = !{!"long long", !7, i64 0}
!65 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!66 = !{!"_ZTS19ImGuiNextWindowData", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !10, i64 56, !21, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!67 = !{!"_ZTS17ImGuiNextItemData", !12, i64 0, !16, i64 4, !12, i64 8, !12, i64 12, !10, i64 16}
!68 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !12, i64 0, !12, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !12, i64 0, !12, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorIP6ImFontE", !12, i64 0, !12, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!72 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!73 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !12, i64 8, !12, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !21, i64 28}
!74 = !{!"_ZTS10ImDrawData", !10, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !15, i64 28, !15, i64 36, !15, i64 44}
!75 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!76 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !7, i64 24, !10, i64 57, !10, i64 58}
!77 = !{!"_ZTS8ImVectorIhE", !12, i64 0, !12, i64 4, !6, i64 8}
!78 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !79, i64 0, !28, i64 16, !12, i64 32}
!79 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !12, i64 0, !12, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !12, i64 0, !12, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !12, i64 0, !12, i64 4, !6, i64 8}
!82 = !{!"_ZTS19ImGuiInputTextState", !12, i64 0, !12, i64 4, !12, i64 8, !33, i64 16, !83, i64 32, !83, i64 48, !10, i64 64, !12, i64 68, !16, i64 72, !84, i64 76, !16, i64 3696, !10, i64 3700, !10, i64 3701, !12, i64 3704, !6, i64 3712, !6, i64 3720}
!83 = !{!"_ZTS8ImVectorIcE", !12, i64 0, !12, i64 4, !6, i64 8}
!84 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !16, i64 20, !85, i64 24}
!85 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !12, i64 3588, !12, i64 3592}
!86 = !{!"_ZTS6ImFont", !26, i64 0, !16, i64 16, !16, i64 20, !33, i64 24, !87, i64 40, !6, i64 56, !15, i64 64, !6, i64 72, !6, i64 80, !17, i64 88, !17, i64 90, !17, i64 92, !10, i64 94, !16, i64 96, !16, i64 100, !16, i64 104, !12, i64 108, !7, i64 112}
!87 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !12, i64 0, !12, i64 4, !6, i64 8}
!88 = !{!"_ZTS15ImGuiTextBuffer", !83, i64 0}
!89 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !12, i64 0, !12, i64 4, !6, i64 8}
!90 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !83, i64 0}
!91 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!92 = !{!59, !6, i64 7160}
!93 = !{!59, !22, i64 7236}
!94 = !{!14, !22, i64 316}
!95 = !{!59, !10, i64 7246}
!96 = !{!14, !12, i64 332}
!97 = !{!14, !12, i64 280}
!98 = !{!14, !12, i64 12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }

@GImGui = external local_unnamed_addr global ptr, align 8

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() local_unnamed_addr #1

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

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

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

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

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

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

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

declare void @_ZN5ImGui13PopStyleColorEi(i32 noundef) local_unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #5 align 2

declare void @_ZN5ImGui14MarkItemEditedEj(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21PushColumnsBackgroundEv() local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui20PopColumnsBackgroundEv() local_unnamed_addr #5

declare void @_ZN5ImGui19SetItemAllowOverlapEv() local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %0, i1 noundef zeroext %1, i32 noundef %2, ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %3) local_unnamed_addr #4 {
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImRect, align 16
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %13 = getelementptr inbounds i8, ptr %12, i64 131
  %14 = load i8, ptr %13, align 1, !tbaa !5, !range !37, !noundef !38
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %161, label %16

16:                                               ; preds = %4
  %17 = load ptr, ptr @GImGui, align 8, !tbaa !39
  %18 = and i32 %2, 2
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %23, label %19

19:                                               ; preds = %16
  %20 = getelementptr inbounds i8, ptr %12, i64 416
  %21 = load ptr, ptr %20, align 8, !tbaa !40
  %.not106 = icmp eq ptr %21, null
  br i1 %.not106, label %23, label %22

22:                                               ; preds = %19
  tail call void @_ZN5ImGui21PushColumnsBackgroundEv()
  br label %23

23:                                               ; preds = %22, %19, %16
  %24 = tail call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(956) %12, ptr noundef %0, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %25 = tail call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %0, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %25, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %26 = load float, ptr %3, align 4, !tbaa !41
  %27 = fcmp une float %26, 0.000000e+00
  %28 = extractelement <2 x float> %25, i64 0
  %29 = select i1 %27, float %26, float %28
  %30 = getelementptr inbounds i8, ptr %3, i64 4
  %31 = load float, ptr %30, align 4, !tbaa !42
  %32 = fcmp une float %31, 0.000000e+00
  %33 = extractelement <2 x float> %25, i64 1
  %34 = select i1 %32, float %31, float %33
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %29, float noundef %34)
  %35 = getelementptr inbounds i8, ptr %12, i64 208
  %.sroa.028.0.copyload = load float, ptr %35, align 8, !tbaa !43
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 212
  %.sroa.5.0.copyload = load float, ptr %.sroa.5.0..sroa_idx, align 4, !tbaa !43
  %36 = getelementptr inbounds i8, ptr %12, i64 256
  %37 = load float, ptr %36, align 8, !tbaa !44
  %38 = fadd float %.sroa.5.0.copyload, %37
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00)
  br i1 %.not, label %44, label %39

39:                                               ; preds = %23
  %40 = getelementptr inbounds i8, ptr %12, i64 616
  %41 = load float, ptr %40, align 8, !tbaa !45
  %42 = getelementptr inbounds i8, ptr %12, i64 624
  %43 = load float, ptr %42, align 8, !tbaa !46
  br label %46

44:                                               ; preds = %23
  %45 = call <2 x float> @_ZN5ImGui22GetContentRegionMaxAbsEv()
  %.sroa.023.0.vec.extract = extractelement <2 x float> %45, i64 0
  br label %46

46:                                               ; preds = %44, %39
  %47 = phi float [ %41, %39 ], [ %.sroa.028.0.copyload, %44 ]
  %48 = phi float [ %43, %39 ], [ %.sroa.023.0.vec.extract, %44 ]
  %49 = load float, ptr %3, align 4, !tbaa !41
  %50 = fcmp une float %49, 0.000000e+00
  %51 = and i32 %2, 8388608
  %.not107 = icmp eq i32 %51, 0
  %or.cond = and i1 %.not107, %50
  br i1 %or.cond, label %._crit_edge, label %52

._crit_edge:                                      ; preds = %46
  %.pre = load float, ptr %6, align 4, !tbaa !41
  br label %55

52:                                               ; preds = %46
  %53 = fsub float %48, %47
  %54 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %28, float noundef %53)
  store float %54, ptr %6, align 4, !tbaa !41
  br label %55

55:                                               ; preds = %._crit_edge, %52
  %56 = phi float [ %.pre, %._crit_edge ], [ %54, %52 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  store float %.sroa.028.0.copyload, ptr %7, align 4, !tbaa !43
  %.sroa.5.0..sroa_idx30 = getelementptr inbounds i8, ptr %7, i64 4
  store float %38, ptr %.sroa.5.0..sroa_idx30, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %57 = fadd float %47, %56
  %58 = getelementptr inbounds i8, ptr %6, i64 4
  %59 = load float, ptr %58, align 4, !tbaa !42
  %60 = fadd float %38, %59
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %57, float noundef %60)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %61 = load float, ptr %8, align 4, !tbaa !41
  %62 = getelementptr inbounds i8, ptr %8, i64 4
  %63 = load float, ptr %62, align 4, !tbaa !42
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef %47, float noundef %38, float noundef %61, float noundef %63)
  %64 = getelementptr inbounds i8, ptr %17, i64 5552
  %65 = getelementptr inbounds i8, ptr %9, i64 8
  %66 = load <2 x float>, ptr %64, align 4, !tbaa !43
  %67 = fmul <2 x float> %66, <float 5.000000e-01, float 5.000000e-01>
  %68 = fptosi <2 x float> %67 to <2 x i32>
  %69 = sitofp <2 x i32> %68 to <2 x float>
  %70 = fsub <2 x float> %66, %69
  %71 = load <4 x float>, ptr %9, align 16, !tbaa !43
  %72 = shufflevector <2 x float> %69, <2 x float> %70, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %73 = fsub <4 x float> %71, %72
  %74 = fadd <4 x float> %71, %72
  %75 = shufflevector <4 x float> %73, <4 x float> %74, <4 x i32> <i32 0, i32 1, i32 6, i32 7>
  store <4 x float> %75, ptr %9, align 16, !tbaa !43
  %76 = and i32 %2, 8
  %.not108 = icmp eq i32 %76, 0
  br i1 %.not108, label %82, label %77

77:                                               ; preds = %55
  %78 = getelementptr inbounds i8, ptr %12, i64 440
  %79 = load i32, ptr %78, align 8, !tbaa !47
  %80 = or i32 %79, 20
  store i32 %80, ptr %78, align 8, !tbaa !47
  %81 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef %24, ptr noundef null)
  store i32 %79, ptr %78, align 8, !tbaa !47
  br i1 %81, label %89, label %84

82:                                               ; preds = %55
  %83 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef %24, ptr noundef null)
  br i1 %83, label %89, label %84

84:                                               ; preds = %77, %82
  br i1 %.not, label %160, label %85

85:                                               ; preds = %84
  %86 = getelementptr inbounds i8, ptr %12, i64 416
  %87 = load ptr, ptr %86, align 8, !tbaa !40
  %.not109 = icmp eq ptr %87, null
  br i1 %.not109, label %160, label %88

88:                                               ; preds = %85
  call void @_ZN5ImGui20PopColumnsBackgroundEv()
  br label %160

89:                                               ; preds = %77, %82
  %90 = lshr i32 %2, 7
  %spec.select = and i32 %90, 8192
  %91 = lshr i32 %2, 20
  %92 = and i32 %91, 2
  %.1103 = or disjoint i32 %spec.select, %92
  %93 = lshr i32 %2, 18
  %94 = and i32 %93, 16
  %.2 = or disjoint i32 %.1103, %94
  %95 = shl nuw nsw i32 %76, 7
  %.3 = or disjoint i32 %.2, %95
  %96 = and i32 %2, 4
  %.not113 = icmp eq i32 %96, 0
  %97 = or disjoint i32 %.3, 36
  %.4 = select i1 %.not113, i32 %.3, i32 %97
  %98 = and i32 %2, 16
  %.not114 = icmp eq i32 %98, 0
  %99 = shl nuw nsw i32 %98, 4
  %.5 = or disjoint i32 %.4, %99
  %.0100 = and i1 %.not108, %1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  %100 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef %24, ptr noundef nonnull %10, ptr noundef nonnull %11, i32 noundef %.5)
  br i1 %100, label %105, label %101

101:                                              ; preds = %89
  %102 = load i8, ptr %10, align 1, !tbaa !48, !range !37, !noundef !38
  %103 = trunc nuw i8 %102 to i1
  %104 = and i32 %2, 33554432
  %.not115 = icmp ne i32 %104, 0
  %or.cond122.not = and i1 %.not115, %103
  br i1 %or.cond122.not, label %105, label %.thread126

105:                                              ; preds = %101, %89
  %106 = getelementptr inbounds i8, ptr %17, i64 7247
  %107 = load i8, ptr %106, align 1, !tbaa !49, !range !37, !noundef !38
  %108 = trunc nuw i8 %107 to i1
  br i1 %108, label %123, label %109

109:                                              ; preds = %105
  %110 = getelementptr inbounds i8, ptr %17, i64 7160
  %111 = load ptr, ptr %110, align 8, !tbaa !84
  %112 = icmp eq ptr %111, %12
  br i1 %112, label %113, label %123

113:                                              ; preds = %109
  %114 = getelementptr inbounds i8, ptr %17, i64 7236
  %115 = load i32, ptr %114, align 4, !tbaa !85
  %116 = getelementptr inbounds i8, ptr %12, i64 316
  %117 = load i32, ptr %116, align 4, !tbaa !86
  %118 = icmp eq i32 %115, %117
  br i1 %118, label %119, label %123

119:                                              ; preds = %113
  %120 = getelementptr inbounds i8, ptr %17, i64 7246
  store i8 1, ptr %120, align 2, !tbaa !87
  %121 = getelementptr inbounds i8, ptr %12, i64 332
  %122 = load i32, ptr %121, align 4, !tbaa !88
  call void @_ZN5ImGui8SetNavIDEjij(i32 noundef %24, i32 noundef %115, i32 noundef %122)
  br label %123

123:                                              ; preds = %105, %109, %113, %119
  br i1 %100, label %124, label %.thread126

124:                                              ; preds = %123
  call void @_ZN5ImGui14MarkItemEditedEj(i32 noundef %24)
  br label %.thread126

.thread126:                                       ; preds = %101, %124, %123
  br i1 %.not114, label %126, label %125

125:                                              ; preds = %.thread126
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %126

126:                                              ; preds = %.thread126, %125
  %127 = load i8, ptr %11, align 1, !tbaa !48, !range !37, !noundef !38
  %128 = trunc nuw i8 %127 to i1
  %129 = and i32 %2, 16777216
  %.not116 = icmp ne i32 %129, 0
  %or.cond124.not = and i1 %.not116, %128
  br i1 %or.cond124.not, label %.thread136, label %131

.thread136:                                       ; preds = %126
  store i8 1, ptr %10, align 1, !tbaa !48
  %130 = select i1 %128, i32 26, i32 25
  br label %135

131:                                              ; preds = %126
  %.pre131 = load i8, ptr %10, align 1, !tbaa !48, !range !37
  %.pre131.fr = freeze i8 %.pre131
  %132 = trunc i8 %.pre131.fr to i1
  %brmerge = or i1 %.0100, %132
  br i1 %brmerge, label %133, label %138

133:                                              ; preds = %131
  %134 = select i1 %128, i32 26, i32 25
  %spec.select138 = select i1 %132, i32 %134, i32 24
  br label %135

135:                                              ; preds = %133, %.thread136
  %136 = phi i32 [ %130, %.thread136 ], [ %spec.select138, %133 ]
  %137 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %136, float noundef 1.000000e+00)
  %.sroa.01.0.copyload = load <2 x float>, ptr %9, align 16
  %.sroa.0.0.copyload = load <2 x float>, ptr %65, align 8
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %.sroa.01.0.copyload, <2 x float> %.sroa.0.0.copyload, i32 noundef %137, i1 noundef zeroext false, float noundef 0.000000e+00)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef %24, i32 noundef 10)
  br label %138

138:                                              ; preds = %131, %135
  br i1 %.not, label %143, label %139

139:                                              ; preds = %138
  %140 = getelementptr inbounds i8, ptr %12, i64 416
  %141 = load ptr, ptr %140, align 8, !tbaa !40
  %.not117 = icmp eq ptr %141, null
  br i1 %.not117, label %143, label %142

142:                                              ; preds = %139
  call void @_ZN5ImGui20PopColumnsBackgroundEv()
  br label %143

143:                                              ; preds = %142, %139, %138
  br i1 %.not108, label %.critedge, label %144

144:                                              ; preds = %143
  %145 = getelementptr inbounds i8, ptr %17, i64 5680
  call void @_ZN5ImGui14PushStyleColorEiRK6ImVec4(i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(16) %145)
  %146 = getelementptr inbounds i8, ptr %17, i64 5624
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef %0, ptr noundef null, ptr noundef nonnull %5, ptr noundef nonnull align 4 dereferenceable(8) %146, ptr noundef nonnull %9)
  call void @_ZN5ImGui13PopStyleColorEi(i32 noundef 1)
  br label %148

.critedge:                                        ; preds = %143
  %147 = getelementptr inbounds i8, ptr %17, i64 5624
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef %0, ptr noundef null, ptr noundef nonnull %5, ptr noundef nonnull align 4 dereferenceable(8) %147, ptr noundef nonnull %9)
  br label %148

148:                                              ; preds = %.critedge, %144
  br i1 %100, label %149, label %159

149:                                              ; preds = %148
  %150 = getelementptr inbounds i8, ptr %12, i64 12
  %151 = load i32, ptr %150, align 4, !tbaa !89
  %152 = and i32 %151, 67108864
  %.not118 = icmp ne i32 %152, 0
  %153 = and i32 %2, 1
  %.not119 = icmp eq i32 %153, 0
  %or.cond125 = and i1 %.not119, %.not118
  br i1 %or.cond125, label %154, label %159

154:                                              ; preds = %149
  %155 = getelementptr inbounds i8, ptr %12, i64 440
  %156 = load i32, ptr %155, align 8, !tbaa !47
  %157 = and i32 %156, 32
  %.not120 = icmp eq i32 %157, 0
  br i1 %.not120, label %158, label %159

158:                                              ; preds = %154
  call void @_ZN5ImGui17CloseCurrentPopupEv()
  br label %159

159:                                              ; preds = %148, %149, %154, %158
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %160

160:                                              ; preds = %84, %85, %88, %159
  %.0 = phi i1 [ %100, %159 ], [ false, %88 ], [ false, %85 ], [ false, %84 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %161

161:                                              ; preds = %4, %160
  %.1 = phi i1 [ %.0, %160 ], [ false, %4 ]
  ret i1 %.1
}

declare void @_ZN5ImGui8SetNavIDEjij(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

declare void @_ZN5ImGui17CloseCurrentPopupEv() 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 uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress 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 #6 = { 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 131}
!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, !12, i64 64, !12, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !11, i64 84, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !13, i64 130, !13, i64 131, !13, i64 132, !13, i64 133, !13, i64 134, !13, i64 135, !8, i64 136, !14, i64 138, !14, i64 140, !14, i64 142, !10, i64 144, !8, i64 148, !8, i64 149, !8, i64 150, !13, i64 151, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !11, i64 176, !11, i64 184, !15, i64 192, !16, i64 208, !18, i64 536, !18, i64 552, !18, i64 568, !18, i64 584, !18, i64 600, !18, i64 616, !10, i64 632, !12, i64 636, !12, i64 640, !25, i64 648, !27, i64 664, !12, i64 680, !10, i64 684, !7, i64 688, !28, i64 696, !7, i64 864, !7, i64 872, !7, i64 880, !7, i64 888, !7, i64 896, !8, i64 904, !8, i64 912, !13, i64 944, !10, i64 948, !10, i64 952}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!16 = !{!"_ZTS19ImGuiWindowTempData", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !12, i64 52, !17, i64 56, !17, i64 60, !17, i64 64, !10, i64 68, !10, i64 72, !18, i64 76, !18, i64 92, !19, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !13, i64 128, !13, i64 129, !13, i64 130, !11, i64 132, !20, i64 140, !10, i64 176, !10, i64 180, !21, i64 184, !7, i64 200, !7, i64 208, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !12, i64 236, !12, i64 240, !22, i64 248, !23, i64 264, !23, i64 280, !24, i64 296, !8, i64 312}
!17 = !{!"_ZTS6ImVec1", !12, i64 0}
!18 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!19 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!20 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !12, i64 8, !8, i64 12, !8, i64 24}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!24 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!28 = !{!"_ZTS10ImDrawList", !29, i64 0, !30, i64 16, !31, i64 32, !10, i64 48, !7, i64 56, !7, i64 64, !10, i64 72, !10, i64 76, !7, i64 80, !7, i64 88, !32, i64 96, !33, i64 112, !34, i64 128, !35, i64 144}
!29 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!35 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !36, i64 8}
!36 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!37 = !{i8 0, i8 2}
!38 = !{}
!39 = !{!7, !7, i64 0}
!40 = !{!6, !7, i64 416}
!41 = !{!11, !12, i64 0}
!42 = !{!11, !12, i64 4}
!43 = !{!12, !12, i64 0}
!44 = !{!6, !12, i64 256}
!45 = !{!6, !12, i64 616}
!46 = !{!6, !12, i64 624}
!47 = !{!6, !10, i64 440}
!48 = !{!13, !13, i64 0}
!49 = !{!50, !13, i64 7247}
!50 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !51, i64 8, !52, i64 5480, !7, i64 6432, !12, i64 6440, !12, i64 6444, !53, i64 6448, !55, i64 6656, !10, i64 6664, !10, i64 6668, !10, i64 6672, !13, i64 6676, !13, i64 6677, !13, i64 6678, !13, i64 6679, !10, i64 6680, !7, i64 6688, !21, i64 6696, !21, i64 6712, !21, i64 6728, !21, i64 6744, !25, i64 6760, !10, i64 6776, !7, i64 6784, !7, i64 6792, !7, i64 6800, !7, i64 6808, !7, i64 6816, !11, i64 6824, !12, i64 6832, !10, i64 6836, !13, i64 6840, !10, i64 6844, !12, i64 6848, !12, i64 6852, !10, i64 6856, !10, i64 6860, !12, i64 6864, !13, i64 6868, !13, i64 6869, !13, i64 6870, !13, i64 6871, !13, i64 6872, !10, i64 6876, !10, i64 6880, !56, i64 6888, !11, i64 6896, !7, i64 6904, !57, i64 6912, !10, i64 6916, !10, i64 6920, !13, i64 6924, !13, i64 6925, !7, i64 6928, !10, i64 6936, !12, i64 6940, !58, i64 6944, !59, i64 7056, !60, i64 7080, !61, i64 7096, !62, i64 7112, !63, i64 7128, !63, i64 7144, !7, i64 7160, !10, i64 7168, !10, i64 7172, !10, i64 7176, !10, i64 7180, !10, i64 7184, !10, i64 7188, !10, i64 7192, !10, i64 7196, !10, i64 7200, !10, i64 7204, !10, i64 7208, !57, i64 7212, !18, i64 7216, !10, i64 7232, !19, i64 7236, !10, i64 7240, !13, i64 7244, !13, i64 7245, !13, i64 7246, !13, i64 7247, !13, i64 7248, !13, i64 7249, !13, i64 7250, !10, i64 7252, !18, i64 7256, !13, i64 7272, !13, i64 7273, !10, i64 7276, !64, i64 7280, !10, i64 7284, !10, i64 7288, !10, i64 7292, !10, i64 7296, !65, i64 7304, !65, i64 7352, !65, i64 7400, !7, i64 7448, !10, i64 7456, !7, i64 7464, !7, i64 7472, !7, i64 7480, !12, i64 7488, !12, i64 7492, !13, i64 7496, !7, i64 7504, !7, i64 7512, !10, i64 7520, !10, i64 7524, !10, i64 7528, !10, i64 7532, !13, i64 7536, !66, i64 7544, !67, i64 7600, !12, i64 7632, !28, i64 7640, !28, i64 7808, !10, i64 7976, !13, i64 7980, !13, i64 7981, !13, i64 7982, !10, i64 7984, !10, i64 7988, !10, i64 7992, !68, i64 8000, !18, i64 8064, !10, i64 8080, !10, i64 8084, !12, i64 8088, !10, i64 8092, !10, i64 8096, !10, i64 8100, !10, i64 8104, !69, i64 8112, !8, i64 8128, !7, i64 8144, !70, i64 8152, !72, i64 8192, !73, i64 8208, !11, i64 8224, !74, i64 8232, !78, i64 11960, !10, i64 12080, !10, i64 12084, !12, i64 12088, !12, i64 12092, !8, i64 12096, !54, i64 12108, !13, i64 12124, !12, i64 12128, !12, i64 12132, !12, i64 12136, !10, i64 12140, !75, i64 12144, !15, i64 12160, !11, i64 12176, !11, i64 12184, !13, i64 12192, !12, i64 12196, !80, i64 12200, !81, i64 12216, !82, i64 12232, !13, i64 12248, !83, i64 12252, !7, i64 12256, !80, i64 12264, !12, i64 12280, !13, i64 12284, !10, i64 12288, !10, i64 12292, !10, i64 12296, !13, i64 12300, !10, i64 12304, !8, i64 12308, !10, i64 12788, !12, i64 12792, !10, i64 12796, !10, i64 12800, !10, i64 12804, !8, i64 12808}
!51 = !{!"_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, !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, !7, i64 288, !11, i64 296, !8, i64 304, !12, i64 312, !12, i64 316, !13, i64 320, !13, i64 321, !13, i64 322, !13, i64 323, !8, i64 324, !8, i64 836, !13, i64 920, !13, i64 921, !13, i64 922, !13, i64 923, !13, i64 924, !13, i64 925, !13, i64 926, !12, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !10, i64 944, !10, i64 948, !11, i64 952, !10, i64 960, !11, i64 964, !8, i64 972, !8, i64 1016, !8, i64 1056, !8, i64 1061, !8, i64 1066, !8, i64 1071, !8, i64 1076, !8, i64 1084, !8, i64 1104, !8, i64 1124, !8, i64 1164, !8, i64 1184, !8, i64 3232, !8, i64 5280, !8, i64 5364, !14, i64 5448, !30, i64 5456}
!52 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !11, i64 4, !12, i64 12, !12, i64 16, !11, i64 20, !11, i64 28, !10, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !11, i64 56, !12, i64 64, !12, i64 68, !11, i64 72, !11, i64 80, !11, i64 88, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !10, i64 132, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !12, i64 168, !13, i64 172, !13, i64 173, !12, i64 176, !12, i64 180, !8, i64 184}
!53 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !54, i64 28, !10, i64 44, !8, i64 48, !8, i64 144}
!54 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!55 = !{!"double", !8, i64 0}
!56 = !{!"long long", !8, i64 0}
!57 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!58 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !13, i64 56, !18, i64 60, !7, i64 80, !7, i64 88, !12, i64 96, !11, i64 100}
!59 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!60 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!62 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!63 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!64 = !{!"_ZTS15ImGuiNavForward", !8, i64 0}
!65 = !{!"_ZTS18ImGuiNavMoveResult", !7, i64 0, !10, i64 8, !10, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !18, i64 28}
!66 = !{!"_ZTS10ImDrawData", !13, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !11, i64 28, !11, i64 36, !11, i64 44}
!67 = !{!"_ZTS17ImDrawDataBuilder", !8, i64 0}
!68 = !{!"_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}
!69 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!70 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !71, i64 0, !25, i64 16, !10, i64 32}
!71 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!72 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!73 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!74 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !30, i64 16, !75, i64 32, !75, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !76, i64 76, !12, i64 3696, !13, i64 3700, !13, i64 3701, !10, i64 3704, !7, i64 3712, !7, i64 3720}
!75 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!76 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 17, !8, i64 18, !8, i64 19, !12, i64 20, !77, i64 24}
!77 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!78 = !{!"_ZTS6ImFont", !23, i64 0, !12, i64 16, !12, i64 20, !30, i64 24, !79, i64 40, !7, i64 56, !11, i64 64, !7, i64 72, !7, i64 80, !14, i64 88, !14, i64 90, !14, i64 92, !13, i64 94, !12, i64 96, !12, i64 100, !12, i64 104, !10, i64 108, !8, i64 112}
!79 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!80 = !{!"_ZTS15ImGuiTextBuffer", !75, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !75, i64 0}
!83 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!84 = !{!50, !7, i64 7160}
!85 = !{!50, !19, i64 7236}
!86 = !{!6, !19, i64 316}
!87 = !{!50, !13, i64 7246}
!88 = !{!6, !10, i64 332}
!89 = !{!6, !10, i64 12}


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