; LLVM IR from Eukky/TRender :: lib/imgui/imgui.ll (ZN5ImGui34UpdateHoveredWindowAndCaptureFlagsEv)

; 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.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, float, i32, i32, i32, %class.ImVector, %class.ImVector, %class.ImVector, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, i32, i8, [3 x i8], i32, float, i32, i32, float, i8, i8, i8, i8, i8, i8, [2 x i8], i32, %struct.ImVec2, ptr, ptr, i32, i32, float, [4 x i8], ptr, %class.ImVector.1, %class.ImVector.2, %class.ImVector.3, %class.ImVector.4, %class.ImVector.4, %struct.ImGuiNextWindowData, i8, [3 x i8], i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, ptr, float, float, i8, [3 x i8], i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, i32, i8, [3 x i8], i32, i32, %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %class.ImVector.13, [8 x i8], %struct.ImGuiTextEditState, %struct.ImFont, i32, i32, %struct.ImVec4, i8, [3 x i8], float, float, %struct.ImVec2, i32, %class.ImVector.14, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %class.ImVector.17, %class.ImVector.18, i8, [7 x i8], ptr, %struct.ImGuiTextBuffer, i32, i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [3 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [21 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, i8, [512 x i8], [17 x i16], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], [5 x float], [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] }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, [42 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, %struct.ImVec4, [12 x %struct.ImVec2] }
%class.ImVector = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %class.ImVector.0 }
%class.ImVector.0 = type { i32, i32, ptr }
%class.ImVector.1 = type { i32, i32, ptr }
%class.ImVector.2 = type { i32, i32, ptr }
%class.ImVector.3 = type { i32, i32, ptr }
%class.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNavMoveResult = type <{ i32, [4 x i8], ptr, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %class.ImVector.5] }
%class.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawList = type { %class.ImVector.6, %class.ImVector.7, %class.ImVector.8, i32, ptr, ptr, i32, ptr, ptr, %class.ImVector.9, %class.ImVector.10, %class.ImVector.11, i32, i32, %class.ImVector.12 }
%class.ImVector.6 = type { i32, i32, ptr }
%class.ImVector.7 = type { i32, i32, ptr }
%class.ImVector.8 = type { i32, i32, ptr }
%class.ImVector.9 = type { i32, i32, ptr }
%class.ImVector.10 = type { i32, i32, ptr }
%class.ImVector.11 = type { i32, i32, ptr }
%class.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%class.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiTextEditState = type <{ i32, [4 x i8], %class.ImVector.7, %class.ImVector.14, %class.ImVector.14, i32, i32, i32, float, %"struct.ImGuiStb::STB_TexteditState", float, i8, i8, [6 x i8] }>
%"struct.ImGuiStb::STB_TexteditState" = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImGuiStb::StbUndoState" }
%"struct.ImGuiStb::StbUndoState" = type { [99 x %"struct.ImGuiStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImGuiStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type { float, float, %struct.ImVec2, %class.ImVector.15, %class.ImVector.16, %class.ImVector.7, ptr, float, i16, i16, ptr, ptr, float, float, i8, i32 }
%class.ImVector.15 = type { i32, i32, ptr }
%class.ImVector.16 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%class.ImVector.14 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%class.ImVector.17 = type { i32, i32, ptr }
%class.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %class.ImVector.14 }
%struct.ImGuiWindow = type { ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImGuiWindowTempData, %class.ImVector.22, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32, float, %struct.ImGuiMenuColumns, %struct.ImGuiStorage, %class.ImVector.23, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i32, i32, i32, i32 }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i8, i8, i32, i32, i32, i32, i8, %struct.ImVec2, %class.ImVector, ptr, i32, i32, i32, float, float, %class.ImVector.20, %class.ImVector.16, %class.ImVector.16, %class.ImVector.21, [6 x i32], float, float, float, ptr }
%class.ImVector.20 = type { i32, i32, ptr }
%class.ImVector.21 = type { i32, i32, ptr }
%class.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiMenuColumns = type { i32, float, float, float, [4 x float], [4 x float] }
%class.ImVector.23 = type { i32, i32, ptr }

@GImGui = external dso_local 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui34UpdateHoveredWindowAndCaptureFlagsEv() #1 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i8, align 1
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #5
  %8 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %8, ptr %1, align 8, !tbaa !5
  %9 = load ptr, ptr %1, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.ImGuiContext, ptr %9, i32 0, i32 45
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %25

13:                                               ; preds = %0
  %14 = load ptr, ptr %1, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ImGuiContext, ptr %14, i32 0, i32 45
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = getelementptr inbounds %struct.ImGuiWindow, ptr %16, i32 0, i32 2
  %18 = load i32, ptr %17, align 4, !tbaa !54
  %19 = and i32 %18, 512
  %20 = icmp ne i32 %19, 0
  br i1 %20, label %25, label %21

21:                                               ; preds = %13
  %22 = load ptr, ptr %1, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiContext, ptr %22, i32 0, i32 45
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  br label %27

25:                                               ; preds = %13, %0
  %26 = call noundef ptr @_ZL17FindHoveredWindowv()
  br label %27

27:                                               ; preds = %25, %21
  %28 = phi ptr [ %24, %21 ], [ %26, %25 ]
  %29 = load ptr, ptr %1, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ImGuiContext, ptr %29, i32 0, i32 20
  store ptr %28, ptr %30, align 8, !tbaa !62
  %31 = load ptr, ptr %1, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiContext, ptr %31, i32 0, i32 20
  %33 = load ptr, ptr %32, align 8, !tbaa !62
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %41

35:                                               ; preds = %27
  %36 = load ptr, ptr %1, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImGuiContext, ptr %36, i32 0, i32 20
  %38 = load ptr, ptr %37, align 8, !tbaa !62
  %39 = getelementptr inbounds %struct.ImGuiWindow, ptr %38, i32 0, i32 60
  %40 = load ptr, ptr %39, align 8, !tbaa !63
  br label %42

41:                                               ; preds = %27
  br label %42

42:                                               ; preds = %41, %35
  %43 = phi ptr [ %40, %35 ], [ null, %41 ]
  %44 = load ptr, ptr %1, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ImGuiContext, ptr %44, i32 0, i32 21
  store ptr %43, ptr %45, align 8, !tbaa !64
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %46 = call noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv()
  store ptr %46, ptr %2, align 8, !tbaa !5
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %66

49:                                               ; preds = %42
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 21
  %52 = load ptr, ptr %51, align 8, !tbaa !64
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %65

54:                                               ; preds = %49
  %55 = load ptr, ptr %1, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiContext, ptr %55, i32 0, i32 21
  %57 = load ptr, ptr %56, align 8, !tbaa !64
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = call noundef zeroext i1 @_ZN5ImGui15IsWindowChildOfEP11ImGuiWindowS1_(ptr noundef %57, ptr noundef %58)
  br i1 %59, label %65, label %60

60:                                               ; preds = %54
  %61 = load ptr, ptr %1, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiContext, ptr %61, i32 0, i32 20
  store ptr null, ptr %62, align 8, !tbaa !62
  %63 = load ptr, ptr %1, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGuiContext, ptr %63, i32 0, i32 21
  store ptr null, ptr %64, align 8, !tbaa !64
  br label %65

65:                                               ; preds = %60, %54, %49
  br label %66

66:                                               ; preds = %65, %42
  %67 = load ptr, ptr %1, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiContext, ptr %67, i32 0, i32 3
  %69 = getelementptr inbounds %struct.ImGuiIO, ptr %68, i32 0, i32 0
  %70 = load i32, ptr %69, align 8, !tbaa !65
  %71 = and i32 %70, 16
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %78

73:                                               ; preds = %66
  %74 = load ptr, ptr %1, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGuiContext, ptr %74, i32 0, i32 21
  store ptr null, ptr %75, align 8, !tbaa !64
  %76 = load ptr, ptr %1, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiContext, ptr %76, i32 0, i32 20
  store ptr null, ptr %77, align 8, !tbaa !62
  br label %78

78:                                               ; preds = %73, %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 -1, ptr %3, align 4, !tbaa !66
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  store i8 0, ptr %4, align 1, !tbaa !67
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !66
  br label %79

79:                                               ; preds = %158, %78
  %80 = load i32, ptr %5, align 4, !tbaa !66
  %81 = icmp slt i32 %80, 5
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %161

83:                                               ; preds = %79
  %84 = load ptr, ptr %1, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImGuiContext, ptr %84, i32 0, i32 3
  %86 = getelementptr inbounds %struct.ImGuiIO, ptr %85, i32 0, i32 56
  %87 = load i32, ptr %5, align 4, !tbaa !66
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [5 x i8], ptr %86, i64 0, i64 %88
  %90 = load i8, ptr %89, align 1, !tbaa !67, !range !68, !noundef !69
  %91 = trunc i8 %90 to i1
  br i1 %91, label %92, label %111

92:                                               ; preds = %83
  %93 = load ptr, ptr %1, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.ImGuiContext, ptr %93, i32 0, i32 20
  %95 = load ptr, ptr %94, align 8, !tbaa !62
  %96 = icmp ne ptr %95, null
  br i1 %96, label %102, label %97

97:                                               ; preds = %92
  %98 = load ptr, ptr %1, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImGuiContext, ptr %98, i32 0, i32 49
  %100 = call noundef zeroext i1 @_ZNK8ImVectorI13ImGuiPopupRefE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %99)
  %101 = xor i1 %100, true
  br label %102

102:                                              ; preds = %97, %92
  %103 = phi i1 [ true, %92 ], [ %101, %97 ]
  %104 = load ptr, ptr %1, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ImGuiContext, ptr %104, i32 0, i32 3
  %106 = getelementptr inbounds %struct.ImGuiIO, ptr %105, i32 0, i32 59
  %107 = load i32, ptr %5, align 4, !tbaa !66
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [5 x i8], ptr %106, i64 0, i64 %108
  %110 = zext i1 %103 to i8
  store i8 %110, ptr %109, align 1, !tbaa !67
  br label %111

111:                                              ; preds = %102, %83
  %112 = load ptr, ptr %1, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiContext, ptr %112, i32 0, i32 3
  %114 = getelementptr inbounds %struct.ImGuiIO, ptr %113, i32 0, i32 30
  %115 = load i32, ptr %5, align 4, !tbaa !66
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [5 x i8], ptr %114, i64 0, i64 %116
  %118 = load i8, ptr %117, align 1, !tbaa !67, !range !68, !noundef !69
  %119 = trunc i8 %118 to i1
  %120 = zext i1 %119 to i32
  %121 = load i8, ptr %4, align 1, !tbaa !67, !range !68, !noundef !69
  %122 = trunc i8 %121 to i1
  %123 = zext i1 %122 to i32
  %124 = or i32 %123, %120
  %125 = icmp ne i32 %124, 0
  %126 = zext i1 %125 to i8
  store i8 %126, ptr %4, align 1, !tbaa !67
  %127 = load ptr, ptr %1, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiContext, ptr %127, i32 0, i32 3
  %129 = getelementptr inbounds %struct.ImGuiIO, ptr %128, i32 0, i32 30
  %130 = load i32, ptr %5, align 4, !tbaa !66
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [5 x i8], ptr %129, i64 0, i64 %131
  %133 = load i8, ptr %132, align 1, !tbaa !67, !range !68, !noundef !69
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %157

135:                                              ; preds = %111
  %136 = load i32, ptr %3, align 4, !tbaa !66
  %137 = icmp eq i32 %136, -1
  br i1 %137, label %154, label %138

138:                                              ; preds = %135
  %139 = load ptr, ptr %1, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ImGuiContext, ptr %139, i32 0, i32 3
  %141 = getelementptr inbounds %struct.ImGuiIO, ptr %140, i32 0, i32 55
  %142 = load i32, ptr %5, align 4, !tbaa !66
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [5 x float], ptr %141, i64 0, i64 %143
  %145 = load float, ptr %144, align 4, !tbaa !70
  %146 = load ptr, ptr %1, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ImGuiContext, ptr %146, i32 0, i32 3
  %148 = getelementptr inbounds %struct.ImGuiIO, ptr %147, i32 0, i32 55
  %149 = load i32, ptr %3, align 4, !tbaa !66
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [5 x float], ptr %148, i64 0, i64 %150
  %152 = load float, ptr %151, align 4, !tbaa !70
  %153 = fcmp olt float %145, %152
  br i1 %153, label %154, label %156

154:                                              ; preds = %138, %135
  %155 = load i32, ptr %5, align 4, !tbaa !66
  store i32 %155, ptr %3, align 4, !tbaa !66
  br label %156

156:                                              ; preds = %154, %138
  br label %157

157:                                              ; preds = %156, %111
  br label %158

158:                                              ; preds = %157
  %159 = load i32, ptr %5, align 4, !tbaa !66
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr %5, align 4, !tbaa !66
  br label %79, !llvm.loop !71

161:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  %162 = load i32, ptr %3, align 4, !tbaa !66
  %163 = icmp eq i32 %162, -1
  br i1 %163, label %173, label %164

164:                                              ; preds = %161
  %165 = load ptr, ptr %1, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImGuiContext, ptr %165, i32 0, i32 3
  %167 = getelementptr inbounds %struct.ImGuiIO, ptr %166, i32 0, i32 59
  %168 = load i32, ptr %3, align 4, !tbaa !66
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [5 x i8], ptr %167, i64 0, i64 %169
  %171 = load i8, ptr %170, align 1, !tbaa !67, !range !68, !noundef !69
  %172 = trunc i8 %171 to i1
  br label %173

173:                                              ; preds = %164, %161
  %174 = phi i1 [ true, %161 ], [ %172, %164 ]
  %175 = zext i1 %174 to i8
  store i8 %175, ptr %6, align 1, !tbaa !67
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  %176 = load ptr, ptr %1, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.ImGuiContext, ptr %176, i32 0, i32 101
  %178 = load i8, ptr %177, align 4, !tbaa !73, !range !68, !noundef !69
  %179 = trunc i8 %178 to i1
  br i1 %179, label %180, label %186

180:                                              ; preds = %173
  %181 = load ptr, ptr %1, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGuiContext, ptr %181, i32 0, i32 103
  %183 = load i32, ptr %182, align 8, !tbaa !74
  %184 = and i32 %183, 16
  %185 = icmp ne i32 %184, 0
  br label %186

186:                                              ; preds = %180, %173
  %187 = phi i1 [ false, %173 ], [ %185, %180 ]
  %188 = zext i1 %187 to i8
  store i8 %188, ptr %7, align 1, !tbaa !67
  %189 = load i8, ptr %6, align 1, !tbaa !67, !range !68, !noundef !69
  %190 = trunc i8 %189 to i1
  br i1 %190, label %199, label %191

191:                                              ; preds = %186
  %192 = load i8, ptr %7, align 1, !tbaa !67, !range !68, !noundef !69
  %193 = trunc i8 %192 to i1
  br i1 %193, label %199, label %194

194:                                              ; preds = %191
  %195 = load ptr, ptr %1, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiContext, ptr %195, i32 0, i32 21
  store ptr null, ptr %196, align 8, !tbaa !64
  %197 = load ptr, ptr %1, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.ImGuiContext, ptr %197, i32 0, i32 20
  store ptr null, ptr %198, align 8, !tbaa !62
  br label %199

199:                                              ; preds = %194, %191, %186
  %200 = load ptr, ptr %1, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.ImGuiContext, ptr %200, i32 0, i32 144
  %202 = load i32, ptr %201, align 8, !tbaa !75
  %203 = icmp ne i32 %202, -1
  br i1 %203, label %204, label %213

204:                                              ; preds = %199
  %205 = load ptr, ptr %1, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.ImGuiContext, ptr %205, i32 0, i32 144
  %207 = load i32, ptr %206, align 8, !tbaa !75
  %208 = icmp ne i32 %207, 0
  %209 = load ptr, ptr %1, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImGuiContext, ptr %209, i32 0, i32 3
  %211 = getelementptr inbounds %struct.ImGuiIO, ptr %210, i32 0, i32 41
  %212 = zext i1 %208 to i8
  store i8 %212, ptr %211, align 4, !tbaa !76
  br label %235

213:                                              ; preds = %199
  %214 = load i8, ptr %6, align 1, !tbaa !67, !range !68, !noundef !69
  %215 = trunc i8 %214 to i1
  br i1 %215, label %216, label %224

216:                                              ; preds = %213
  %217 = load ptr, ptr %1, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.ImGuiContext, ptr %217, i32 0, i32 20
  %219 = load ptr, ptr %218, align 8, !tbaa !62
  %220 = icmp ne ptr %219, null
  br i1 %220, label %229, label %221

221:                                              ; preds = %216
  %222 = load i8, ptr %4, align 1, !tbaa !67, !range !68, !noundef !69
  %223 = trunc i8 %222 to i1
  br i1 %223, label %229, label %224

224:                                              ; preds = %221, %213
  %225 = load ptr, ptr %1, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.ImGuiContext, ptr %225, i32 0, i32 49
  %227 = call noundef zeroext i1 @_ZNK8ImVectorI13ImGuiPopupRefE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %226)
  %228 = xor i1 %227, true
  br label %229

229:                                              ; preds = %224, %221, %216
  %230 = phi i1 [ true, %221 ], [ true, %216 ], [ %228, %224 ]
  %231 = load ptr, ptr %1, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.ImGuiContext, ptr %231, i32 0, i32 3
  %233 = getelementptr inbounds %struct.ImGuiIO, ptr %232, i32 0, i32 41
  %234 = zext i1 %230 to i8
  store i8 %234, ptr %233, align 4, !tbaa !76
  br label %235

235:                                              ; preds = %229, %204
  %236 = load ptr, ptr %1, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.ImGuiContext, ptr %236, i32 0, i32 145
  %238 = load i32, ptr %237, align 4, !tbaa !77
  %239 = icmp ne i32 %238, -1
  br i1 %239, label %240, label %249

240:                                              ; preds = %235
  %241 = load ptr, ptr %1, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.ImGuiContext, ptr %241, i32 0, i32 145
  %243 = load i32, ptr %242, align 4, !tbaa !77
  %244 = icmp ne i32 %243, 0
  %245 = load ptr, ptr %1, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.ImGuiContext, ptr %245, i32 0, i32 3
  %247 = getelementptr inbounds %struct.ImGuiIO, ptr %246, i32 0, i32 42
  %248 = zext i1 %244 to i8
  store i8 %248, ptr %247, align 1, !tbaa !78
  br label %263

249:                                              ; preds = %235
  %250 = load ptr, ptr %1, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.ImGuiContext, ptr %250, i32 0, i32 27
  %252 = load i32, ptr %251, align 8, !tbaa !79
  %253 = icmp ne i32 %252, 0
  br i1 %253, label %257, label %254

254:                                              ; preds = %249
  %255 = load ptr, ptr %2, align 8, !tbaa !5
  %256 = icmp ne ptr %255, null
  br label %257

257:                                              ; preds = %254, %249
  %258 = phi i1 [ true, %249 ], [ %256, %254 ]
  %259 = load ptr, ptr %1, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.ImGuiContext, ptr %259, i32 0, i32 3
  %261 = getelementptr inbounds %struct.ImGuiIO, ptr %260, i32 0, i32 42
  %262 = zext i1 %258 to i8
  store i8 %262, ptr %261, align 1, !tbaa !78
  br label %263

263:                                              ; preds = %257, %240
  %264 = load ptr, ptr %1, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImGuiContext, ptr %264, i32 0, i32 3
  %266 = getelementptr inbounds %struct.ImGuiIO, ptr %265, i32 0, i32 46
  %267 = load i8, ptr %266, align 1, !tbaa !80, !range !68, !noundef !69
  %268 = trunc i8 %267 to i1
  br i1 %268, label %269, label %287

269:                                              ; preds = %263
  %270 = load ptr, ptr %1, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.ImGuiContext, ptr %270, i32 0, i32 3
  %272 = getelementptr inbounds %struct.ImGuiIO, ptr %271, i32 0, i32 0
  %273 = load i32, ptr %272, align 8, !tbaa !65
  %274 = and i32 %273, 1
  %275 = icmp ne i32 %274, 0
  br i1 %275, label %276, label %287

276:                                              ; preds = %269
  %277 = load ptr, ptr %1, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImGuiContext, ptr %277, i32 0, i32 3
  %279 = getelementptr inbounds %struct.ImGuiIO, ptr %278, i32 0, i32 0
  %280 = load i32, ptr %279, align 8, !tbaa !65
  %281 = and i32 %280, 8
  %282 = icmp ne i32 %281, 0
  br i1 %282, label %287, label %283

283:                                              ; preds = %276
  %284 = load ptr, ptr %1, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.ImGuiContext, ptr %284, i32 0, i32 3
  %286 = getelementptr inbounds %struct.ImGuiIO, ptr %285, i32 0, i32 42
  store i8 1, ptr %286, align 1, !tbaa !78
  br label %287

287:                                              ; preds = %283, %276, %269, %263
  %288 = load ptr, ptr %1, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.ImGuiContext, ptr %288, i32 0, i32 146
  %290 = load i32, ptr %289, align 8, !tbaa !81
  %291 = icmp ne i32 %290, -1
  br i1 %291, label %292, label %297

292:                                              ; preds = %287
  %293 = load ptr, ptr %1, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ImGuiContext, ptr %293, i32 0, i32 146
  %295 = load i32, ptr %294, align 8, !tbaa !81
  %296 = icmp ne i32 %295, 0
  br label %298

297:                                              ; preds = %287
  br label %298

298:                                              ; preds = %297, %292
  %299 = phi i1 [ %296, %292 ], [ false, %297 ]
  %300 = load ptr, ptr %1, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.ImGuiContext, ptr %300, i32 0, i32 3
  %302 = getelementptr inbounds %struct.ImGuiIO, ptr %301, i32 0, i32 43
  %303 = zext i1 %299 to i8
  store i8 %303, ptr %302, align 2, !tbaa !82
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL17FindHoveredWindowv() #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv() #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui15IsWindowChildOfEP11ImGuiWindowS1_(ptr noundef, ptr noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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, !6, i64 6576}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !16, i64 5408, !6, i64 6232, !15, i64 6240, !15, i64 6244, !17, i64 6248, !15, i64 6384, !13, i64 6388, !13, i64 6392, !13, i64 6396, !19, i64 6400, !19, i64 6416, !19, i64 6432, !20, i64 6448, !13, i64 6464, !6, i64 6472, !6, i64 6480, !6, i64 6488, !13, i64 6496, !11, i64 6500, !13, i64 6504, !15, i64 6508, !13, i64 6512, !13, i64 6516, !15, i64 6520, !11, i64 6524, !11, i64 6525, !11, i64 6526, !11, i64 6527, !11, i64 6528, !11, i64 6529, !13, i64 6532, !14, i64 6536, !6, i64 6544, !6, i64 6552, !22, i64 6560, !13, i64 6564, !15, i64 6568, !6, i64 6576, !23, i64 6584, !24, i64 6600, !25, i64 6616, !26, i64 6632, !26, i64 6648, !27, i64 6664, !11, i64 6776, !13, i64 6780, !6, i64 6784, !13, i64 6792, !13, i64 6796, !13, i64 6800, !13, i64 6804, !13, i64 6808, !13, i64 6812, !13, i64 6816, !13, i64 6820, !22, i64 6824, !28, i64 6828, !13, i64 6844, !6, i64 6848, !15, i64 6856, !15, i64 6860, !11, i64 6864, !13, i64 6868, !13, i64 6872, !11, i64 6876, !11, i64 6877, !11, i64 6878, !11, i64 6879, !11, i64 6880, !11, i64 6881, !11, i64 6882, !13, i64 6884, !28, i64 6888, !11, i64 6904, !11, i64 6905, !13, i64 6908, !29, i64 6912, !13, i64 6916, !13, i64 6920, !13, i64 6924, !30, i64 6928, !30, i64 6976, !30, i64 7024, !31, i64 7072, !32, i64 7120, !15, i64 7152, !33, i64 7160, !13, i64 7328, !11, i64 7332, !13, i64 7336, !13, i64 7340, !41, i64 7344, !28, i64 7408, !13, i64 7424, !13, i64 7428, !15, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !42, i64 7448, !7, i64 7464, !43, i64 7472, !48, i64 11176, !13, i64 11288, !13, i64 11292, !18, i64 11296, !11, i64 11312, !15, i64 11316, !15, i64 11320, !14, i64 11324, !13, i64 11332, !44, i64 11336, !14, i64 11352, !14, i64 11360, !11, i64 11368, !15, i64 11372, !51, i64 11376, !52, i64 11392, !53, i64 11408, !11, i64 11424, !6, i64 11432, !51, i64 11440, !13, i64 11456, !13, i64 11460, !7, i64 11464, !13, i64 11944, !15, i64 11948, !13, i64 11952, !13, i64 11956, !13, i64 11960, !7, i64 11964}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_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 136, !15, i64 140, !6, i64 144, !6, i64 152, !15, i64 160, !11, i64 164, !6, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !14, i64 256, !7, i64 264, !15, i64 272, !15, i64 276, !11, i64 280, !11, i64 281, !11, i64 282, !11, i64 283, !11, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !14, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !14, i64 52, !15, i64 60, !15, i64 64, !14, i64 68, !14, i64 76, !14, i64 84, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !14, i64 116, !14, i64 124, !14, i64 132, !15, i64 140, !11, i64 144, !11, i64 145, !15, i64 148, !7, i64 152}
!17 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !18, i64 24, !7, i64 40}
!18 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!19 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS12ImGuiStorage", !21, i64 0}
!21 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!23 = !{!"_ZTS8ImVectorI11ImGuiColModE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !28, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!30 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!31 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36}
!32 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!33 = !{!"_ZTS10ImDrawList", !34, i64 0, !35, i64 16, !36, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !37, i64 96, !38, i64 112, !39, i64 128, !13, i64 144, !13, i64 148, !40, i64 152}
!34 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!42 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS18ImGuiTextEditState", !13, i64 0, !35, i64 8, !44, i64 24, !44, i64 40, !13, i64 56, !13, i64 60, !13, i64 64, !15, i64 68, !45, i64 72, !15, i64 3692, !11, i64 3696, !11, i64 3697}
!44 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, 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, !15, i64 20, !46, i64 24}
!46 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !47, i64 3582, !47, i64 3584, !13, i64 3588, !13, i64 3592}
!47 = !{!"short", !7, i64 0}
!48 = !{!"_ZTS6ImFont", !15, i64 0, !15, i64 4, !14, i64 8, !49, i64 16, !50, i64 32, !35, i64 48, !6, i64 64, !15, i64 72, !47, i64 76, !47, i64 78, !6, i64 80, !6, i64 88, !15, i64 96, !15, i64 100, !11, i64 104, !13, i64 108}
!49 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS15ImGuiTextBuffer", !44, i64 0}
!52 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!55, !13, i64 12}
!55 = !{!"_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, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !11, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !14, i64 184, !14, i64 192, !56, i64 200, !59, i64 496, !28, i64 512, !28, i64 528, !28, i64 544, !28, i64 560, !28, i64 576, !13, i64 592, !15, i64 596, !60, i64 600, !20, i64 648, !61, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !33, i64 696, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !7, i64 912, !7, i64 920, !13, i64 952, !13, i64 956, !13, i64 960, !13, i64 964, !13, i64 968, !13, i64 972}
!56 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !28, i64 68, !28, i64 84, !11, i64 100, !11, i64 101, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !11, i64 120, !14, i64 124, !19, i64 136, !6, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !15, i64 172, !15, i64 176, !57, i64 184, !50, i64 200, !50, i64 216, !58, i64 232, !7, i64 248, !15, i64 272, !15, i64 276, !15, i64 280, !6, i64 288}
!57 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !7, i64 16, !7, i64 32}
!61 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!10, !6, i64 6480}
!63 = !{!55, !6, i64 872}
!64 = !{!10, !6, i64 6488}
!65 = !{!10, !13, i64 8}
!66 = !{!13, !13, i64 0}
!67 = !{!11, !11, i64 0}
!68 = !{i8 0, i8 2}
!69 = !{}
!70 = !{!15, !15, i64 0}
!71 = distinct !{!71, !72}
!72 = !{!"llvm.loop.mustprogress"}
!73 = !{!10, !11, i64 7332}
!74 = !{!10, !13, i64 7336}
!75 = !{!10, !13, i64 11952}
!76 = !{!10, !11, i64 924}
!77 = !{!10, !13, i64 11956}
!78 = !{!10, !11, i64 925}
!79 = !{!10, !13, i64 6512}
!80 = !{!10, !11, i64 929}
!81 = !{!10, !13, i64 11960}
!82 = !{!10, !11, i64 926}


; 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"

@GImGui = external dso_local local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui34UpdateHoveredWindowAndCaptureFlagsEv() local_unnamed_addr #0 {
  %1 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %1, i64 6576
  %3 = load ptr, ptr %2, align 8, !tbaa !9
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %9, label %4

4:                                                ; preds = %0
  %5 = getelementptr inbounds i8, ptr %3, i64 12
  %6 = load i32, ptr %5, align 4, !tbaa !54
  %7 = and i32 %6, 512
  %.not73 = icmp eq i32 %7, 0
  br i1 %.not73, label %.thread, label %9

.thread:                                          ; preds = %4
  %8 = getelementptr inbounds i8, ptr %1, i64 6480
  store ptr %3, ptr %8, align 8, !tbaa !62
  br label %12

9:                                                ; preds = %0, %4
  %10 = tail call noundef ptr @_ZL17FindHoveredWindowv()
  %11 = getelementptr inbounds i8, ptr %1, i64 6480
  store ptr %10, ptr %11, align 8, !tbaa !62
  %.not74 = icmp eq ptr %10, null
  br i1 %.not74, label %17, label %12

12:                                               ; preds = %.thread, %9
  %13 = phi ptr [ %8, %.thread ], [ %11, %9 ]
  %14 = phi ptr [ %3, %.thread ], [ %10, %9 ]
  %15 = getelementptr inbounds i8, ptr %14, i64 872
  %16 = load ptr, ptr %15, align 8, !tbaa !63
  br label %17

17:                                               ; preds = %9, %12
  %18 = phi ptr [ %13, %12 ], [ %11, %9 ]
  %19 = phi ptr [ %16, %12 ], [ null, %9 ]
  %20 = getelementptr inbounds i8, ptr %1, i64 6488
  store ptr %19, ptr %20, align 8, !tbaa !64
  %21 = tail call noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv()
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %28

23:                                               ; preds = %17
  %24 = load ptr, ptr %20, align 8, !tbaa !64
  %.not75 = icmp eq ptr %24, null
  br i1 %.not75, label %28, label %25

25:                                               ; preds = %23
  %26 = tail call noundef zeroext i1 @_ZN5ImGui15IsWindowChildOfEP11ImGuiWindowS1_(ptr noundef nonnull %24, ptr noundef nonnull %21)
  br i1 %26, label %28, label %27

27:                                               ; preds = %25
  store ptr null, ptr %18, align 8, !tbaa !62
  store ptr null, ptr %20, align 8, !tbaa !64
  br label %28

28:                                               ; preds = %23, %25, %27, %17
  %29 = getelementptr inbounds i8, ptr %1, i64 8
  %30 = load i32, ptr %29, align 8, !tbaa !65
  %31 = and i32 %30, 16
  %.not76 = icmp eq i32 %31, 0
  br i1 %.not76, label %33, label %32

32:                                               ; preds = %28
  store ptr null, ptr %20, align 8, !tbaa !64
  store ptr null, ptr %18, align 8, !tbaa !62
  br label %33

33:                                               ; preds = %32, %28
  %34 = getelementptr inbounds i8, ptr %1, i64 1024
  %35 = getelementptr inbounds i8, ptr %1, i64 6632
  %36 = getelementptr inbounds i8, ptr %1, i64 1039
  %37 = getelementptr inbounds i8, ptr %1, i64 272
  %38 = getelementptr inbounds i8, ptr %1, i64 1004
  %39 = load i8, ptr %34, align 1, !tbaa !66, !range !67, !noundef !68
  %40 = trunc nuw i8 %39 to i1
  br i1 %40, label %41, label %49

41:                                               ; preds = %33
  %42 = load ptr, ptr %18, align 8, !tbaa !62
  %.not83 = icmp eq ptr %42, null
  br i1 %.not83, label %43, label %46

43:                                               ; preds = %41
  %44 = tail call noundef zeroext i1 @_ZNK8ImVectorI13ImGuiPopupRefE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %45 = xor i1 %44, true
  br label %46

46:                                               ; preds = %43, %41
  %47 = phi i1 [ true, %41 ], [ %45, %43 ]
  %48 = zext i1 %47 to i8
  store i8 %48, ptr %36, align 1, !tbaa !66
  br label %49

49:                                               ; preds = %46, %33
  %50 = load i8, ptr %37, align 1, !tbaa !66, !range !67, !noundef !68
  %51 = trunc nuw i8 %50 to i1
  %not. = xor i1 %51, true
  %spec.select = sext i1 %not. to i32
  %52 = getelementptr inbounds i8, ptr %1, i64 1025
  %53 = load i8, ptr %52, align 1, !tbaa !66, !range !67, !noundef !68
  %54 = trunc nuw i8 %53 to i1
  br i1 %54, label %55, label %64

55:                                               ; preds = %49
  %56 = load ptr, ptr %18, align 8, !tbaa !62
  %.not83.1 = icmp eq ptr %56, null
  br i1 %.not83.1, label %57, label %60

57:                                               ; preds = %55
  %58 = tail call noundef zeroext i1 @_ZNK8ImVectorI13ImGuiPopupRefE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %59 = xor i1 %58, true
  br label %60

60:                                               ; preds = %57, %55
  %61 = phi i1 [ true, %55 ], [ %59, %57 ]
  %62 = getelementptr inbounds i8, ptr %1, i64 1040
  %63 = zext i1 %61 to i8
  store i8 %63, ptr %62, align 1, !tbaa !66
  br label %64

64:                                               ; preds = %60, %49
  %65 = getelementptr inbounds i8, ptr %1, i64 273
  %66 = load i8, ptr %65, align 1, !tbaa !66, !range !67, !noundef !68
  %67 = trunc nuw i8 %66 to i1
  %68 = or i8 %66, %50
  br i1 %67, label %69, label %78

69:                                               ; preds = %64
  br i1 %51, label %70, label %77

70:                                               ; preds = %69
  %71 = getelementptr inbounds i8, ptr %1, i64 1008
  %72 = load float, ptr %71, align 4, !tbaa !69
  %73 = sext i1 %not. to i64
  %74 = getelementptr inbounds [5 x float], ptr %38, i64 0, i64 %73
  %75 = load float, ptr %74, align 4, !tbaa !69
  %76 = fcmp olt float %72, %75
  br i1 %76, label %77, label %78

77:                                               ; preds = %70, %69
  br label %78

78:                                               ; preds = %77, %70, %64
  %.1.1 = phi i32 [ 1, %77 ], [ %spec.select, %70 ], [ %spec.select, %64 ]
  %79 = getelementptr inbounds i8, ptr %1, i64 1026
  %80 = load i8, ptr %79, align 1, !tbaa !66, !range !67, !noundef !68
  %81 = trunc nuw i8 %80 to i1
  br i1 %81, label %82, label %91

82:                                               ; preds = %78
  %83 = load ptr, ptr %18, align 8, !tbaa !62
  %.not83.2 = icmp eq ptr %83, null
  br i1 %.not83.2, label %84, label %87

84:                                               ; preds = %82
  %85 = tail call noundef zeroext i1 @_ZNK8ImVectorI13ImGuiPopupRefE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %86 = xor i1 %85, true
  br label %87

87:                                               ; preds = %84, %82
  %88 = phi i1 [ true, %82 ], [ %86, %84 ]
  %89 = getelementptr inbounds i8, ptr %1, i64 1041
  %90 = zext i1 %88 to i8
  store i8 %90, ptr %89, align 1, !tbaa !66
  br label %91

91:                                               ; preds = %87, %78
  %92 = getelementptr inbounds i8, ptr %1, i64 274
  %93 = load i8, ptr %92, align 1, !tbaa !66, !range !67, !noundef !68
  %94 = trunc nuw i8 %93 to i1
  %95 = or i8 %93, %68
  br i1 %94, label %96, label %106

96:                                               ; preds = %91
  %97 = icmp eq i32 %.1.1, -1
  br i1 %97, label %105, label %98

98:                                               ; preds = %96
  %99 = getelementptr inbounds i8, ptr %1, i64 1012
  %100 = load float, ptr %99, align 4, !tbaa !69
  %101 = zext nneg i32 %.1.1 to i64
  %102 = getelementptr inbounds [5 x float], ptr %38, i64 0, i64 %101
  %103 = load float, ptr %102, align 4, !tbaa !69
  %104 = fcmp olt float %100, %103
  br i1 %104, label %105, label %106

105:                                              ; preds = %98, %96
  br label %106

106:                                              ; preds = %105, %98, %91
  %.1.2 = phi i32 [ 2, %105 ], [ %.1.1, %98 ], [ %.1.1, %91 ]
  %107 = getelementptr inbounds i8, ptr %1, i64 1027
  %108 = load i8, ptr %107, align 1, !tbaa !66, !range !67, !noundef !68
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %110, label %119

110:                                              ; preds = %106
  %111 = load ptr, ptr %18, align 8, !tbaa !62
  %.not83.3 = icmp eq ptr %111, null
  br i1 %.not83.3, label %112, label %115

112:                                              ; preds = %110
  %113 = tail call noundef zeroext i1 @_ZNK8ImVectorI13ImGuiPopupRefE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %114 = xor i1 %113, true
  br label %115

115:                                              ; preds = %112, %110
  %116 = phi i1 [ true, %110 ], [ %114, %112 ]
  %117 = getelementptr inbounds i8, ptr %1, i64 1042
  %118 = zext i1 %116 to i8
  store i8 %118, ptr %117, align 1, !tbaa !66
  br label %119

119:                                              ; preds = %115, %106
  %120 = getelementptr inbounds i8, ptr %1, i64 275
  %121 = load i8, ptr %120, align 1, !tbaa !66, !range !67, !noundef !68
  %122 = trunc nuw i8 %121 to i1
  %123 = or i8 %121, %95
  br i1 %122, label %124, label %134

124:                                              ; preds = %119
  %125 = icmp eq i32 %.1.2, -1
  br i1 %125, label %133, label %126

126:                                              ; preds = %124
  %127 = getelementptr inbounds i8, ptr %1, i64 1016
  %128 = load float, ptr %127, align 4, !tbaa !69
  %129 = zext nneg i32 %.1.2 to i64
  %130 = getelementptr inbounds [5 x float], ptr %38, i64 0, i64 %129
  %131 = load float, ptr %130, align 4, !tbaa !69
  %132 = fcmp olt float %128, %131
  br i1 %132, label %133, label %134

133:                                              ; preds = %126, %124
  br label %134

134:                                              ; preds = %133, %126, %119
  %.1.3 = phi i32 [ 3, %133 ], [ %.1.2, %126 ], [ %.1.2, %119 ]
  %135 = getelementptr inbounds i8, ptr %1, i64 1028
  %136 = load i8, ptr %135, align 1, !tbaa !66, !range !67, !noundef !68
  %137 = trunc nuw i8 %136 to i1
  br i1 %137, label %138, label %147

138:                                              ; preds = %134
  %139 = load ptr, ptr %18, align 8, !tbaa !62
  %.not83.4 = icmp eq ptr %139, null
  br i1 %.not83.4, label %140, label %144

140:                                              ; preds = %138
  %141 = tail call noundef zeroext i1 @_ZNK8ImVectorI13ImGuiPopupRefE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %142 = xor i1 %141, true
  %143 = zext i1 %142 to i8
  br label %144

144:                                              ; preds = %140, %138
  %145 = phi i8 [ 1, %138 ], [ %143, %140 ]
  %146 = getelementptr inbounds i8, ptr %1, i64 1043
  store i8 %145, ptr %146, align 1, !tbaa !66
  br label %147

147:                                              ; preds = %144, %134
  %148 = getelementptr inbounds i8, ptr %1, i64 276
  %149 = load i8, ptr %148, align 1, !tbaa !66, !range !67, !noundef !68
  %150 = trunc nuw i8 %149 to i1
  %151 = or i8 %149, %123
  %152 = icmp ne i8 %151, 0
  %153 = icmp eq i32 %.1.3, -1
  br i1 %150, label %154, label %163

154:                                              ; preds = %147
  br i1 %153, label %162, label %155

155:                                              ; preds = %154
  %156 = getelementptr inbounds i8, ptr %1, i64 1020
  %157 = load float, ptr %156, align 4, !tbaa !69
  %158 = zext nneg i32 %.1.3 to i64
  %159 = getelementptr inbounds [5 x float], ptr %38, i64 0, i64 %158
  %160 = load float, ptr %159, align 4, !tbaa !69
  %161 = fcmp olt float %157, %160
  br i1 %161, label %162, label %.thread90

162:                                              ; preds = %155, %154
  br label %.thread90

163:                                              ; preds = %147
  br i1 %153, label %168, label %.thread90

.thread90:                                        ; preds = %155, %162, %163
  %.1.492 = phi i32 [ %.1.3, %163 ], [ %.1.3, %155 ], [ 4, %162 ]
  %164 = zext nneg i32 %.1.492 to i64
  %165 = getelementptr inbounds [5 x i8], ptr %36, i64 0, i64 %164
  %166 = load i8, ptr %165, align 1, !tbaa !66, !range !67, !noundef !68
  %167 = trunc nuw i8 %166 to i1
  br label %168

168:                                              ; preds = %.thread90, %163
  %169 = phi i1 [ true, %163 ], [ %167, %.thread90 ]
  %170 = getelementptr inbounds i8, ptr %1, i64 7332
  %171 = load i8, ptr %170, align 4, !tbaa !70, !range !67, !noundef !68
  %172 = trunc nuw i8 %171 to i1
  br i1 %172, label %173, label %178

173:                                              ; preds = %168
  %174 = getelementptr inbounds i8, ptr %1, i64 7336
  %175 = load i32, ptr %174, align 8, !tbaa !71
  %176 = and i32 %175, 16
  %177 = icmp ne i32 %176, 0
  br label %178

178:                                              ; preds = %173, %168
  %179 = phi i1 [ false, %168 ], [ %177, %173 ]
  %brmerge = select i1 %169, i1 true, i1 %179
  br i1 %brmerge, label %181, label %180

180:                                              ; preds = %178
  store ptr null, ptr %20, align 8, !tbaa !64
  store ptr null, ptr %18, align 8, !tbaa !62
  br label %181

181:                                              ; preds = %178, %180
  %182 = getelementptr inbounds i8, ptr %1, i64 11952
  %183 = load i32, ptr %182, align 8, !tbaa !72
  %.not77 = icmp eq i32 %183, -1
  br i1 %.not77, label %188, label %184

184:                                              ; preds = %181
  %185 = icmp ne i32 %183, 0
  %186 = getelementptr inbounds i8, ptr %1, i64 924
  %187 = zext i1 %185 to i8
  store i8 %187, ptr %186, align 4, !tbaa !73
  br label %198

188:                                              ; preds = %181
  br i1 %169, label %189, label %191

189:                                              ; preds = %188
  %190 = load ptr, ptr %18, align 8, !tbaa !62
  %.not78 = icmp ne ptr %190, null
  %brmerge84 = or i1 %.not78, %152
  br i1 %brmerge84, label %195, label %191

191:                                              ; preds = %189, %188
  %192 = tail call noundef zeroext i1 @_ZNK8ImVectorI13ImGuiPopupRefE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %193 = xor i1 %192, true
  %194 = zext i1 %193 to i8
  br label %195

195:                                              ; preds = %189, %191
  %196 = phi i8 [ 1, %189 ], [ %194, %191 ]
  %197 = getelementptr inbounds i8, ptr %1, i64 924
  store i8 %196, ptr %197, align 4, !tbaa !73
  br label %198

198:                                              ; preds = %195, %184
  %199 = getelementptr inbounds i8, ptr %1, i64 11956
  %200 = load i32, ptr %199, align 4, !tbaa !74
  %.not79 = icmp eq i32 %200, -1
  br i1 %.not79, label %203, label %201

201:                                              ; preds = %198
  %202 = icmp ne i32 %200, 0
  br label %208

203:                                              ; preds = %198
  %204 = getelementptr inbounds i8, ptr %1, i64 6512
  %205 = load i32, ptr %204, align 8, !tbaa !75
  %206 = icmp ne i32 %205, 0
  %207 = or i1 %22, %206
  br label %208

208:                                              ; preds = %203, %201
  %.sink.in = phi i1 [ %207, %203 ], [ %202, %201 ]
  %.sink = zext i1 %.sink.in to i8
  %209 = getelementptr inbounds i8, ptr %1, i64 925
  store i8 %.sink, ptr %209, align 1
  %210 = getelementptr inbounds i8, ptr %1, i64 929
  %211 = load i8, ptr %210, align 1, !tbaa !76, !range !67, !noundef !68
  %212 = trunc nuw i8 %211 to i1
  br i1 %212, label %213, label %217

213:                                              ; preds = %208
  %214 = load i32, ptr %29, align 8, !tbaa !65
  %215 = and i32 %214, 9
  %or.cond = icmp eq i32 %215, 1
  br i1 %or.cond, label %216, label %217

216:                                              ; preds = %213
  store i8 1, ptr %209, align 1, !tbaa !77
  br label %217

217:                                              ; preds = %216, %213, %208
  %218 = getelementptr inbounds i8, ptr %1, i64 11960
  %219 = load i32, ptr %218, align 8, !tbaa !78
  %220 = add i32 %219, -1
  %narrow = icmp ult i32 %220, -2
  %221 = zext i1 %narrow to i8
  %222 = getelementptr inbounds i8, ptr %1, i64 926
  store i8 %221, ptr %222, align 2, !tbaa !79
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL17FindHoveredWindowv() local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv() local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui15IsWindowChildOfEP11ImGuiWindowS1_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8ImVectorI13ImGuiPopupRefE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

attributes #0 = { 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 #1 = { 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 #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 = { 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" }

!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, !6, i64 6576}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !16, i64 5408, !6, i64 6232, !15, i64 6240, !15, i64 6244, !17, i64 6248, !15, i64 6384, !13, i64 6388, !13, i64 6392, !13, i64 6396, !19, i64 6400, !19, i64 6416, !19, i64 6432, !20, i64 6448, !13, i64 6464, !6, i64 6472, !6, i64 6480, !6, i64 6488, !13, i64 6496, !11, i64 6500, !13, i64 6504, !15, i64 6508, !13, i64 6512, !13, i64 6516, !15, i64 6520, !11, i64 6524, !11, i64 6525, !11, i64 6526, !11, i64 6527, !11, i64 6528, !11, i64 6529, !13, i64 6532, !14, i64 6536, !6, i64 6544, !6, i64 6552, !22, i64 6560, !13, i64 6564, !15, i64 6568, !6, i64 6576, !23, i64 6584, !24, i64 6600, !25, i64 6616, !26, i64 6632, !26, i64 6648, !27, i64 6664, !11, i64 6776, !13, i64 6780, !6, i64 6784, !13, i64 6792, !13, i64 6796, !13, i64 6800, !13, i64 6804, !13, i64 6808, !13, i64 6812, !13, i64 6816, !13, i64 6820, !22, i64 6824, !28, i64 6828, !13, i64 6844, !6, i64 6848, !15, i64 6856, !15, i64 6860, !11, i64 6864, !13, i64 6868, !13, i64 6872, !11, i64 6876, !11, i64 6877, !11, i64 6878, !11, i64 6879, !11, i64 6880, !11, i64 6881, !11, i64 6882, !13, i64 6884, !28, i64 6888, !11, i64 6904, !11, i64 6905, !13, i64 6908, !29, i64 6912, !13, i64 6916, !13, i64 6920, !13, i64 6924, !30, i64 6928, !30, i64 6976, !30, i64 7024, !31, i64 7072, !32, i64 7120, !15, i64 7152, !33, i64 7160, !13, i64 7328, !11, i64 7332, !13, i64 7336, !13, i64 7340, !41, i64 7344, !28, i64 7408, !13, i64 7424, !13, i64 7428, !15, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !42, i64 7448, !7, i64 7464, !43, i64 7472, !48, i64 11176, !13, i64 11288, !13, i64 11292, !18, i64 11296, !11, i64 11312, !15, i64 11316, !15, i64 11320, !14, i64 11324, !13, i64 11332, !44, i64 11336, !14, i64 11352, !14, i64 11360, !11, i64 11368, !15, i64 11372, !51, i64 11376, !52, i64 11392, !53, i64 11408, !11, i64 11424, !6, i64 11432, !51, i64 11440, !13, i64 11456, !13, i64 11460, !7, i64 11464, !13, i64 11944, !15, i64 11948, !13, i64 11952, !13, i64 11956, !13, i64 11960, !7, i64 11964}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_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 136, !15, i64 140, !6, i64 144, !6, i64 152, !15, i64 160, !11, i64 164, !6, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !14, i64 256, !7, i64 264, !15, i64 272, !15, i64 276, !11, i64 280, !11, i64 281, !11, i64 282, !11, i64 283, !11, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !14, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !14, i64 52, !15, i64 60, !15, i64 64, !14, i64 68, !14, i64 76, !14, i64 84, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !14, i64 116, !14, i64 124, !14, i64 132, !15, i64 140, !11, i64 144, !11, i64 145, !15, i64 148, !7, i64 152}
!17 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !18, i64 24, !7, i64 40}
!18 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!19 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS12ImGuiStorage", !21, i64 0}
!21 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!23 = !{!"_ZTS8ImVectorI11ImGuiColModE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !28, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!30 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!31 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36}
!32 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!33 = !{!"_ZTS10ImDrawList", !34, i64 0, !35, i64 16, !36, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !37, i64 96, !38, i64 112, !39, i64 128, !13, i64 144, !13, i64 148, !40, i64 152}
!34 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!42 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS18ImGuiTextEditState", !13, i64 0, !35, i64 8, !44, i64 24, !44, i64 40, !13, i64 56, !13, i64 60, !13, i64 64, !15, i64 68, !45, i64 72, !15, i64 3692, !11, i64 3696, !11, i64 3697}
!44 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, 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, !15, i64 20, !46, i64 24}
!46 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !47, i64 3582, !47, i64 3584, !13, i64 3588, !13, i64 3592}
!47 = !{!"short", !7, i64 0}
!48 = !{!"_ZTS6ImFont", !15, i64 0, !15, i64 4, !14, i64 8, !49, i64 16, !50, i64 32, !35, i64 48, !6, i64 64, !15, i64 72, !47, i64 76, !47, i64 78, !6, i64 80, !6, i64 88, !15, i64 96, !15, i64 100, !11, i64 104, !13, i64 108}
!49 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS15ImGuiTextBuffer", !44, i64 0}
!52 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!55, !13, i64 12}
!55 = !{!"_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, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !11, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !14, i64 184, !14, i64 192, !56, i64 200, !59, i64 496, !28, i64 512, !28, i64 528, !28, i64 544, !28, i64 560, !28, i64 576, !13, i64 592, !15, i64 596, !60, i64 600, !20, i64 648, !61, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !33, i64 696, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !7, i64 912, !7, i64 920, !13, i64 952, !13, i64 956, !13, i64 960, !13, i64 964, !13, i64 968, !13, i64 972}
!56 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !28, i64 68, !28, i64 84, !11, i64 100, !11, i64 101, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !11, i64 120, !14, i64 124, !19, i64 136, !6, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !15, i64 172, !15, i64 176, !57, i64 184, !50, i64 200, !50, i64 216, !58, i64 232, !7, i64 248, !15, i64 272, !15, i64 276, !15, i64 280, !6, i64 288}
!57 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !7, i64 16, !7, i64 32}
!61 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!10, !6, i64 6480}
!63 = !{!55, !6, i64 872}
!64 = !{!10, !6, i64 6488}
!65 = !{!10, !13, i64 8}
!66 = !{!11, !11, i64 0}
!67 = !{i8 0, i8 2}
!68 = !{}
!69 = !{!15, !15, i64 0}
!70 = !{!10, !11, i64 7332}
!71 = !{!10, !13, i64 7336}
!72 = !{!10, !13, i64 11952}
!73 = !{!10, !11, i64 924}
!74 = !{!10, !13, i64 11956}
!75 = !{!10, !13, i64 6512}
!76 = !{!10, !11, i64 929}
!77 = !{!10, !11, i64 925}
!78 = !{!10, !13, i64 11960}
!79 = !{!10, !11, i64 926}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,MergedLoadStoreMotionPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass