; LLVM IR from vertver/Fresponze-old :: modules/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, double, i32, i32, i32, i8, i8, i8, i8, i32, [4 x i8], ptr, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %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.4, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.7, 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.15, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.17, %struct.ImVector.18, %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.2, %struct.ImVector.21, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.22, %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], float, i16, %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }
%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, 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], ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%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.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.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.8] }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.9, %struct.ImVector, %struct.ImVector.10, i32, ptr, ptr, i32, ptr, ptr, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.13, %struct.ImDrawCmd, %struct.ImDrawListSplitter }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.14 }
%struct.ImVector.14 = 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 }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.16, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector, %struct.ImVector.2, %struct.ImVector.2, 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.19, float, float, %struct.ImVector, %struct.ImVector.20, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }

@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 nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv() #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui34UpdateHoveredWindowAndCaptureFlagsEv() #2 {
  %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) #4
  %8 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %8, ptr %1, align 8, !tbaa !5
  call void @_ZL17FindHoveredWindowv()
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  %9 = call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  store ptr %9, ptr %2, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = icmp ne ptr %10, null
  br i1 %11, label %12, label %29

12:                                               ; preds = %0
  %13 = load ptr, ptr %1, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.ImGuiContext, ptr %13, i32 0, i32 29
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %28

17:                                               ; preds = %12
  %18 = load ptr, ptr %1, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.ImGuiContext, ptr %18, i32 0, i32 29
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = call noundef zeroext i1 @_ZN5ImGui15IsWindowChildOfEP11ImGuiWindowS1_(ptr noundef %20, ptr noundef %21)
  br i1 %22, label %28, label %23

23:                                               ; preds = %17
  %24 = load ptr, ptr %1, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ImGuiContext, ptr %24, i32 0, i32 28
  store ptr null, ptr %25, align 8, !tbaa !66
  %26 = load ptr, ptr %1, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ImGuiContext, ptr %26, i32 0, i32 29
  store ptr null, ptr %27, align 8, !tbaa !9
  br label %28

28:                                               ; preds = %23, %17, %12
  br label %29

29:                                               ; preds = %28, %0
  %30 = load ptr, ptr %1, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImGuiContext, ptr %30, i32 0, i32 3
  %32 = getelementptr inbounds %struct.ImGuiIO, ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 8, !tbaa !67
  %34 = and i32 %33, 16
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %41

36:                                               ; preds = %29
  %37 = load ptr, ptr %1, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImGuiContext, ptr %37, i32 0, i32 29
  store ptr null, ptr %38, align 8, !tbaa !9
  %39 = load ptr, ptr %1, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImGuiContext, ptr %39, i32 0, i32 28
  store ptr null, ptr %40, align 8, !tbaa !66
  br label %41

41:                                               ; preds = %36, %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 -1, ptr %3, align 4, !tbaa !68
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #4
  store i8 0, ptr %4, align 1, !tbaa !69
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !68
  br label %42

42:                                               ; preds = %122, %41
  %43 = load i32, ptr %5, align 4, !tbaa !68
  %44 = icmp slt i32 %43, 5
  br i1 %44, label %46, label %45

45:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %125

46:                                               ; preds = %42
  %47 = load ptr, ptr %1, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ImGuiContext, ptr %47, i32 0, i32 3
  %49 = getelementptr inbounds %struct.ImGuiIO, ptr %48, i32 0, i32 64
  %50 = load i32, ptr %5, align 4, !tbaa !68
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [5 x i8], ptr %49, i64 0, i64 %51
  %53 = load i8, ptr %52, align 1, !tbaa !69, !range !70, !noundef !71
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %75

55:                                               ; preds = %46
  %56 = load ptr, ptr %1, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiContext, ptr %56, i32 0, i32 28
  %58 = load ptr, ptr %57, align 8, !tbaa !66
  %59 = icmp ne ptr %58, null
  br i1 %59, label %66, label %60

60:                                               ; preds = %55
  %61 = load ptr, ptr %1, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiContext, ptr %61, i32 0, i32 70
  %63 = getelementptr inbounds %struct.ImVector.7, ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 8, !tbaa !72
  %65 = icmp sgt i32 %64, 0
  br label %66

66:                                               ; preds = %60, %55
  %67 = phi i1 [ true, %55 ], [ %65, %60 ]
  %68 = load ptr, ptr %1, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImGuiContext, ptr %68, i32 0, i32 3
  %70 = getelementptr inbounds %struct.ImGuiIO, ptr %69, i32 0, i32 67
  %71 = load i32, ptr %5, align 4, !tbaa !68
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [5 x i8], ptr %70, i64 0, i64 %72
  %74 = zext i1 %67 to i8
  store i8 %74, ptr %73, align 1, !tbaa !69
  br label %75

75:                                               ; preds = %66, %46
  %76 = load ptr, ptr %1, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiContext, ptr %76, i32 0, i32 3
  %78 = getelementptr inbounds %struct.ImGuiIO, ptr %77, i32 0, i32 37
  %79 = load i32, ptr %5, align 4, !tbaa !68
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [5 x i8], ptr %78, i64 0, i64 %80
  %82 = load i8, ptr %81, align 1, !tbaa !69, !range !70, !noundef !71
  %83 = trunc i8 %82 to i1
  %84 = zext i1 %83 to i32
  %85 = load i8, ptr %4, align 1, !tbaa !69, !range !70, !noundef !71
  %86 = trunc i8 %85 to i1
  %87 = zext i1 %86 to i32
  %88 = or i32 %87, %84
  %89 = icmp ne i32 %88, 0
  %90 = zext i1 %89 to i8
  store i8 %90, ptr %4, align 1, !tbaa !69
  %91 = load ptr, ptr %1, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.ImGuiContext, ptr %91, i32 0, i32 3
  %93 = getelementptr inbounds %struct.ImGuiIO, ptr %92, i32 0, i32 37
  %94 = load i32, ptr %5, align 4, !tbaa !68
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [5 x i8], ptr %93, i64 0, i64 %95
  %97 = load i8, ptr %96, align 1, !tbaa !69, !range !70, !noundef !71
  %98 = trunc i8 %97 to i1
  br i1 %98, label %99, label %121

99:                                               ; preds = %75
  %100 = load i32, ptr %3, align 4, !tbaa !68
  %101 = icmp eq i32 %100, -1
  br i1 %101, label %118, label %102

102:                                              ; preds = %99
  %103 = load ptr, ptr %1, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ImGuiContext, ptr %103, i32 0, i32 3
  %105 = getelementptr inbounds %struct.ImGuiIO, ptr %104, i32 0, i32 63
  %106 = load i32, ptr %5, align 4, !tbaa !68
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [5 x double], ptr %105, i64 0, i64 %107
  %109 = load double, ptr %108, align 8, !tbaa !73
  %110 = load ptr, ptr %1, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiContext, ptr %110, i32 0, i32 3
  %112 = getelementptr inbounds %struct.ImGuiIO, ptr %111, i32 0, i32 63
  %113 = load i32, ptr %3, align 4, !tbaa !68
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [5 x double], ptr %112, i64 0, i64 %114
  %116 = load double, ptr %115, align 8, !tbaa !73
  %117 = fcmp olt double %109, %116
  br i1 %117, label %118, label %120

118:                                              ; preds = %102, %99
  %119 = load i32, ptr %5, align 4, !tbaa !68
  store i32 %119, ptr %3, align 4, !tbaa !68
  br label %120

120:                                              ; preds = %118, %102
  br label %121

121:                                              ; preds = %120, %75
  br label %122

122:                                              ; preds = %121
  %123 = load i32, ptr %5, align 4, !tbaa !68
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %5, align 4, !tbaa !68
  br label %42, !llvm.loop !74

125:                                              ; preds = %45
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #4
  %126 = load i32, ptr %3, align 4, !tbaa !68
  %127 = icmp eq i32 %126, -1
  br i1 %127, label %137, label %128

128:                                              ; preds = %125
  %129 = load ptr, ptr %1, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiContext, ptr %129, i32 0, i32 3
  %131 = getelementptr inbounds %struct.ImGuiIO, ptr %130, i32 0, i32 67
  %132 = load i32, ptr %3, align 4, !tbaa !68
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [5 x i8], ptr %131, i64 0, i64 %133
  %135 = load i8, ptr %134, align 1, !tbaa !69, !range !70, !noundef !71
  %136 = trunc i8 %135 to i1
  br label %137

137:                                              ; preds = %128, %125
  %138 = phi i1 [ true, %125 ], [ %136, %128 ]
  %139 = zext i1 %138 to i8
  store i8 %139, ptr %6, align 1, !tbaa !69
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  %140 = load ptr, ptr %1, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.ImGuiContext, ptr %140, i32 0, i32 137
  %142 = load i8, ptr %141, align 4, !tbaa !76, !range !70, !noundef !71
  %143 = trunc i8 %142 to i1
  br i1 %143, label %144, label %150

144:                                              ; preds = %137
  %145 = load ptr, ptr %1, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiContext, ptr %145, i32 0, i32 141
  %147 = load i32, ptr %146, align 8, !tbaa !77
  %148 = and i32 %147, 16
  %149 = icmp ne i32 %148, 0
  br label %150

150:                                              ; preds = %144, %137
  %151 = phi i1 [ false, %137 ], [ %149, %144 ]
  %152 = zext i1 %151 to i8
  store i8 %152, ptr %7, align 1, !tbaa !69
  %153 = load i8, ptr %6, align 1, !tbaa !69, !range !70, !noundef !71
  %154 = trunc i8 %153 to i1
  br i1 %154, label %163, label %155

155:                                              ; preds = %150
  %156 = load i8, ptr %7, align 1, !tbaa !69, !range !70, !noundef !71
  %157 = trunc i8 %156 to i1
  br i1 %157, label %163, label %158

158:                                              ; preds = %155
  %159 = load ptr, ptr %1, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImGuiContext, ptr %159, i32 0, i32 29
  store ptr null, ptr %160, align 8, !tbaa !9
  %161 = load ptr, ptr %1, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.ImGuiContext, ptr %161, i32 0, i32 28
  store ptr null, ptr %162, align 8, !tbaa !66
  br label %163

163:                                              ; preds = %158, %155, %150
  %164 = load ptr, ptr %1, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImGuiContext, ptr %164, i32 0, i32 203
  %166 = load i32, ptr %165, align 4, !tbaa !78
  %167 = icmp ne i32 %166, -1
  br i1 %167, label %168, label %177

168:                                              ; preds = %163
  %169 = load ptr, ptr %1, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.ImGuiContext, ptr %169, i32 0, i32 203
  %171 = load i32, ptr %170, align 4, !tbaa !78
  %172 = icmp ne i32 %171, 0
  %173 = load ptr, ptr %1, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiContext, ptr %173, i32 0, i32 3
  %175 = getelementptr inbounds %struct.ImGuiIO, ptr %174, i32 0, i32 46
  %176 = zext i1 %172 to i8
  store i8 %176, ptr %175, align 8, !tbaa !79
  br label %200

177:                                              ; preds = %163
  %178 = load i8, ptr %6, align 1, !tbaa !69, !range !70, !noundef !71
  %179 = trunc i8 %178 to i1
  br i1 %179, label %180, label %188

180:                                              ; preds = %177
  %181 = load ptr, ptr %1, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGuiContext, ptr %181, i32 0, i32 28
  %183 = load ptr, ptr %182, align 8, !tbaa !66
  %184 = icmp ne ptr %183, null
  br i1 %184, label %194, label %185

185:                                              ; preds = %180
  %186 = load i8, ptr %4, align 1, !tbaa !69, !range !70, !noundef !71
  %187 = trunc i8 %186 to i1
  br i1 %187, label %194, label %188

188:                                              ; preds = %185, %177
  %189 = load ptr, ptr %1, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGuiContext, ptr %189, i32 0, i32 70
  %191 = getelementptr inbounds %struct.ImVector.7, ptr %190, i32 0, i32 0
  %192 = load i32, ptr %191, align 8, !tbaa !72
  %193 = icmp sgt i32 %192, 0
  br label %194

194:                                              ; preds = %188, %185, %180
  %195 = phi i1 [ true, %185 ], [ true, %180 ], [ %193, %188 ]
  %196 = load ptr, ptr %1, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.ImGuiContext, ptr %196, i32 0, i32 3
  %198 = getelementptr inbounds %struct.ImGuiIO, ptr %197, i32 0, i32 46
  %199 = zext i1 %195 to i8
  store i8 %199, ptr %198, align 8, !tbaa !79
  br label %200

200:                                              ; preds = %194, %168
  %201 = load ptr, ptr %1, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImGuiContext, ptr %201, i32 0, i32 204
  %203 = load i32, ptr %202, align 8, !tbaa !80
  %204 = icmp ne i32 %203, -1
  br i1 %204, label %205, label %214

205:                                              ; preds = %200
  %206 = load ptr, ptr %1, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.ImGuiContext, ptr %206, i32 0, i32 204
  %208 = load i32, ptr %207, align 8, !tbaa !80
  %209 = icmp ne i32 %208, 0
  %210 = load ptr, ptr %1, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.ImGuiContext, ptr %210, i32 0, i32 3
  %212 = getelementptr inbounds %struct.ImGuiIO, ptr %211, i32 0, i32 47
  %213 = zext i1 %209 to i8
  store i8 %213, ptr %212, align 1, !tbaa !81
  br label %228

214:                                              ; preds = %200
  %215 = load ptr, ptr %1, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.ImGuiContext, ptr %215, i32 0, i32 40
  %217 = load i32, ptr %216, align 8, !tbaa !82
  %218 = icmp ne i32 %217, 0
  br i1 %218, label %222, label %219

219:                                              ; preds = %214
  %220 = load ptr, ptr %2, align 8, !tbaa !5
  %221 = icmp ne ptr %220, null
  br label %222

222:                                              ; preds = %219, %214
  %223 = phi i1 [ true, %214 ], [ %221, %219 ]
  %224 = load ptr, ptr %1, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.ImGuiContext, ptr %224, i32 0, i32 3
  %226 = getelementptr inbounds %struct.ImGuiIO, ptr %225, i32 0, i32 47
  %227 = zext i1 %223 to i8
  store i8 %227, ptr %226, align 1, !tbaa !81
  br label %228

228:                                              ; preds = %222, %205
  %229 = load ptr, ptr %1, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.ImGuiContext, ptr %229, i32 0, i32 3
  %231 = getelementptr inbounds %struct.ImGuiIO, ptr %230, i32 0, i32 51
  %232 = load i8, ptr %231, align 1, !tbaa !83, !range !70, !noundef !71
  %233 = trunc i8 %232 to i1
  br i1 %233, label %234, label %252

234:                                              ; preds = %228
  %235 = load ptr, ptr %1, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImGuiContext, ptr %235, i32 0, i32 3
  %237 = getelementptr inbounds %struct.ImGuiIO, ptr %236, i32 0, i32 0
  %238 = load i32, ptr %237, align 8, !tbaa !67
  %239 = and i32 %238, 1
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %252

241:                                              ; preds = %234
  %242 = load ptr, ptr %1, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.ImGuiContext, ptr %242, i32 0, i32 3
  %244 = getelementptr inbounds %struct.ImGuiIO, ptr %243, i32 0, i32 0
  %245 = load i32, ptr %244, align 8, !tbaa !67
  %246 = and i32 %245, 8
  %247 = icmp ne i32 %246, 0
  br i1 %247, label %252, label %248

248:                                              ; preds = %241
  %249 = load ptr, ptr %1, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.ImGuiContext, ptr %249, i32 0, i32 3
  %251 = getelementptr inbounds %struct.ImGuiIO, ptr %250, i32 0, i32 47
  store i8 1, ptr %251, align 1, !tbaa !81
  br label %252

252:                                              ; preds = %248, %241, %234, %228
  %253 = load ptr, ptr %1, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.ImGuiContext, ptr %253, i32 0, i32 205
  %255 = load i32, ptr %254, align 4, !tbaa !84
  %256 = icmp ne i32 %255, -1
  br i1 %256, label %257, label %262

257:                                              ; preds = %252
  %258 = load ptr, ptr %1, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.ImGuiContext, ptr %258, i32 0, i32 205
  %260 = load i32, ptr %259, align 4, !tbaa !84
  %261 = icmp ne i32 %260, 0
  br label %263

262:                                              ; preds = %252
  br label %263

263:                                              ; preds = %262, %257
  %264 = phi i1 [ %261, %257 ], [ false, %262 ]
  %265 = load ptr, ptr %1, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.ImGuiContext, ptr %265, i32 0, i32 3
  %267 = getelementptr inbounds %struct.ImGuiIO, ptr %266, i32 0, i32 48
  %268 = zext i1 %264 to i8
  store i8 %268, ptr %267, align 2, !tbaa !85
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #4
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17FindHoveredWindowv() #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 = { 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 #4 = { 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 6808}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5480, !6, i64 6432, !15, i64 6440, !15, i64 6444, !19, i64 6448, !21, i64 6664, !13, i64 6672, !13, i64 6676, !13, i64 6680, !11, i64 6684, !11, i64 6685, !11, i64 6686, !11, i64 6687, !13, i64 6688, !6, i64 6696, !22, i64 6704, !22, i64 6720, !22, i64 6736, !22, i64 6752, !23, i64 6768, !13, i64 6784, !6, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !14, i64 6832, !15, i64 6840, !13, i64 6844, !11, i64 6848, !13, i64 6852, !15, i64 6856, !15, i64 6860, !13, i64 6864, !13, i64 6868, !15, i64 6872, !11, i64 6876, !11, i64 6877, !11, i64 6878, !11, i64 6879, !11, i64 6880, !13, i64 6884, !13, i64 6888, !25, i64 6896, !14, i64 6904, !6, i64 6912, !26, i64 6920, !13, i64 6924, !13, i64 6928, !11, i64 6932, !11, i64 6933, !6, i64 6936, !13, i64 6944, !15, i64 6948, !27, i64 6952, !29, i64 7064, !30, i64 7088, !31, i64 7104, !32, i64 7120, !33, i64 7136, !33, i64 7152, !6, i64 7168, !13, i64 7176, !13, i64 7180, !13, i64 7184, !13, i64 7188, !13, i64 7192, !13, i64 7196, !13, i64 7200, !13, i64 7204, !13, i64 7208, !13, i64 7212, !13, i64 7216, !26, i64 7220, !28, i64 7224, !13, i64 7240, !34, i64 7244, !13, i64 7248, !11, i64 7252, !11, i64 7253, !11, i64 7254, !11, i64 7255, !11, i64 7256, !11, i64 7257, !11, i64 7258, !13, i64 7260, !28, i64 7264, !11, i64 7280, !11, i64 7281, !13, i64 7284, !35, i64 7288, !13, i64 7292, !13, i64 7296, !13, i64 7300, !13, i64 7304, !36, i64 7312, !36, i64 7360, !36, i64 7408, !6, i64 7456, !13, i64 7464, !6, i64 7472, !6, i64 7480, !6, i64 7488, !15, i64 7496, !15, i64 7500, !11, i64 7504, !6, i64 7512, !6, i64 7520, !13, i64 7528, !13, i64 7532, !13, i64 7536, !13, i64 7540, !11, i64 7544, !37, i64 7552, !38, i64 7608, !15, i64 7640, !39, i64 7648, !39, i64 7872, !13, i64 8096, !11, i64 8100, !11, i64 8101, !11, i64 8102, !13, i64 8104, !13, i64 8108, !13, i64 8112, !48, i64 8120, !28, i64 8184, !13, i64 8200, !13, i64 8204, !15, i64 8208, !13, i64 8212, !13, i64 8216, !13, i64 8220, !13, i64 8224, !49, i64 8232, !7, i64 8248, !6, i64 8264, !50, i64 8272, !52, i64 8312, !53, i64 8328, !14, i64 8344, !54, i64 8352, !58, i64 12080, !13, i64 12200, !13, i64 12204, !15, i64 12208, !15, i64 12212, !7, i64 12216, !20, i64 12228, !11, i64 12244, !15, i64 12248, !15, i64 12252, !15, i64 12256, !13, i64 12260, !55, i64 12264, !61, i64 12280, !14, i64 12296, !14, i64 12304, !11, i64 12312, !15, i64 12316, !62, i64 12320, !63, i64 12336, !64, i64 12352, !11, i64 12368, !65, i64 12372, !6, i64 12376, !62, i64 12384, !15, i64 12400, !11, i64 12404, !13, i64 12408, !13, i64 12412, !13, i64 12416, !11, i64 12420, !13, i64 12424, !7, i64 12428, !13, i64 12908, !15, i64 12912, !13, i64 12916, !13, i64 12920, !13, i64 12924, !7, i64 12928}
!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 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !15, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !14, i64 296, !7, i64 304, !15, i64 312, !15, i64 316, !11, i64 320, !11, i64 321, !11, i64 322, !11, i64 323, !7, i64 324, !7, i64 836, !11, i64 920, !11, i64 921, !11, i64 922, !11, i64 923, !11, i64 924, !11, i64 925, !11, i64 926, !15, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !13, i64 948, !14, i64 952, !13, i64 960, !14, 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, !15, i64 5448, !16, i64 5452, !17, i64 5456}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !13, i64 132, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !15, i64 168, !11, i64 172, !11, i64 173, !11, i64 174, !15, i64 176, !15, i64 180, !7, i64 184}
!19 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !20, i64 28, !13, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!20 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"long long", !7, i64 0}
!26 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!27 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !11, i64 56, !28, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!30 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!35 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!36 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!37 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!38 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!39 = !{!"_ZTS10ImDrawList", !40, i64 0, !17, i64 16, !41, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !42, i64 96, !43, i64 112, !44, i64 128, !45, i64 144, !46, i64 200}
!40 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS9ImDrawCmd", !20, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!46 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !47, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_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}
!49 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !23, i64 16, !13, i64 32}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_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, !57, i64 24}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !59, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !60, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !11, i64 94, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !7, i64 112}
!59 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!63 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!65 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!66 = !{!10, !6, i64 6800}
!67 = !{!10, !13, i64 8}
!68 = !{!13, !13, i64 0}
!69 = !{!11, !11, i64 0}
!70 = !{i8 0, i8 2}
!71 = !{}
!72 = !{!10, !13, i64 7136}
!73 = !{!21, !21, i64 0}
!74 = distinct !{!74, !75}
!75 = !{!"llvm.loop.mustprogress"}
!76 = !{!10, !11, i64 8100}
!77 = !{!10, !13, i64 8104}
!78 = !{!10, !13, i64 12916}
!79 = !{!10, !11, i64 928}
!80 = !{!10, !13, i64 12920}
!81 = !{!10, !11, i64 929}
!82 = !{!10, !13, i64 6864}
!83 = !{!10, !11, i64 933}
!84 = !{!10, !13, i64 12924}
!85 = !{!10, !11, i64 930}


; 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 nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv() local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui34UpdateHoveredWindowAndCaptureFlagsEv() local_unnamed_addr #1 {
  %1 = load ptr, ptr @GImGui, align 8, !tbaa !5
  tail call void @_ZL17FindHoveredWindowv()
  %2 = tail call noundef ptr @_ZN5ImGui20GetTopMostPopupModalEv()
  %3 = icmp ne ptr %2, null
  br i1 %3, label %4, label %11

4:                                                ; preds = %0
  %5 = getelementptr inbounds i8, ptr %1, i64 6808
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %11, label %7

7:                                                ; preds = %4
  %8 = tail call noundef zeroext i1 @_ZN5ImGui15IsWindowChildOfEP11ImGuiWindowS1_(ptr noundef nonnull %6, ptr noundef nonnull %2)
  br i1 %8, label %11, label %9

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %1, i64 6800
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, i8 0, i64 16, i1 false)
  br label %11

11:                                               ; preds = %4, %7, %9, %0
  %12 = getelementptr inbounds i8, ptr %1, i64 8
  %13 = load i32, ptr %12, align 8, !tbaa !66
  %14 = and i32 %13, 16
  %.not64 = icmp eq i32 %14, 0
  br i1 %.not64, label %17, label %15

15:                                               ; preds = %11
  %16 = getelementptr inbounds i8, ptr %1, i64 6800
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %16, i8 0, i64 16, i1 false)
  br label %17

17:                                               ; preds = %15, %11
  %18 = getelementptr inbounds i8, ptr %1, i64 1064
  %19 = getelementptr inbounds i8, ptr %1, i64 312
  %20 = getelementptr inbounds i8, ptr %1, i64 6800
  %21 = getelementptr inbounds i8, ptr %1, i64 7136
  %22 = getelementptr inbounds i8, ptr %1, i64 1079
  %23 = getelementptr inbounds i8, ptr %1, i64 1024
  %24 = load i8, ptr %18, align 1, !tbaa !67, !range !68, !noundef !69
  %25 = trunc nuw i8 %24 to i1
  br i1 %25, label %26, label %34

26:                                               ; preds = %17
  %27 = load ptr, ptr %20, align 8, !tbaa !70
  %.not71 = icmp eq ptr %27, null
  br i1 %.not71, label %28, label %31

28:                                               ; preds = %26
  %29 = load i32, ptr %21, align 8, !tbaa !71
  %30 = icmp sgt i32 %29, 0
  br label %31

31:                                               ; preds = %28, %26
  %32 = phi i1 [ true, %26 ], [ %30, %28 ]
  %33 = zext i1 %32 to i8
  store i8 %33, ptr %22, align 1, !tbaa !67
  br label %34

34:                                               ; preds = %31, %17
  %35 = load i8, ptr %19, align 1, !tbaa !67, !range !68, !noundef !69
  %36 = trunc nuw i8 %35 to i1
  %not. = xor i1 %36, true
  %spec.select = sext i1 %not. to i32
  %37 = getelementptr inbounds i8, ptr %1, i64 1065
  %38 = load i8, ptr %37, align 1, !tbaa !67, !range !68, !noundef !69
  %39 = trunc nuw i8 %38 to i1
  br i1 %39, label %40, label %49

40:                                               ; preds = %34
  %41 = load ptr, ptr %20, align 8, !tbaa !70
  %.not71.1 = icmp eq ptr %41, null
  br i1 %.not71.1, label %42, label %45

42:                                               ; preds = %40
  %43 = load i32, ptr %21, align 8, !tbaa !71
  %44 = icmp sgt i32 %43, 0
  br label %45

45:                                               ; preds = %42, %40
  %46 = phi i1 [ true, %40 ], [ %44, %42 ]
  %47 = getelementptr inbounds i8, ptr %1, i64 1080
  %48 = zext i1 %46 to i8
  store i8 %48, ptr %47, align 1, !tbaa !67
  br label %49

49:                                               ; preds = %45, %34
  %50 = getelementptr inbounds i8, ptr %1, i64 313
  %51 = load i8, ptr %50, align 1, !tbaa !67, !range !68, !noundef !69
  %52 = trunc nuw i8 %51 to i1
  %53 = or i8 %51, %35
  br i1 %52, label %54, label %63

54:                                               ; preds = %49
  br i1 %36, label %55, label %62

55:                                               ; preds = %54
  %56 = getelementptr inbounds i8, ptr %1, i64 1032
  %57 = load double, ptr %56, align 8, !tbaa !72
  %58 = sext i1 %not. to i64
  %59 = getelementptr inbounds [5 x double], ptr %23, i64 0, i64 %58
  %60 = load double, ptr %59, align 8, !tbaa !72
  %61 = fcmp olt double %57, %60
  br i1 %61, label %62, label %63

62:                                               ; preds = %55, %54
  br label %63

63:                                               ; preds = %62, %55, %49
  %.1.1 = phi i32 [ 1, %62 ], [ %spec.select, %55 ], [ %spec.select, %49 ]
  %64 = getelementptr inbounds i8, ptr %1, i64 1066
  %65 = load i8, ptr %64, align 1, !tbaa !67, !range !68, !noundef !69
  %66 = trunc nuw i8 %65 to i1
  br i1 %66, label %67, label %76

67:                                               ; preds = %63
  %68 = load ptr, ptr %20, align 8, !tbaa !70
  %.not71.2 = icmp eq ptr %68, null
  br i1 %.not71.2, label %69, label %72

69:                                               ; preds = %67
  %70 = load i32, ptr %21, align 8, !tbaa !71
  %71 = icmp sgt i32 %70, 0
  br label %72

72:                                               ; preds = %69, %67
  %73 = phi i1 [ true, %67 ], [ %71, %69 ]
  %74 = getelementptr inbounds i8, ptr %1, i64 1081
  %75 = zext i1 %73 to i8
  store i8 %75, ptr %74, align 1, !tbaa !67
  br label %76

76:                                               ; preds = %72, %63
  %77 = getelementptr inbounds i8, ptr %1, i64 314
  %78 = load i8, ptr %77, align 1, !tbaa !67, !range !68, !noundef !69
  %79 = trunc nuw i8 %78 to i1
  %80 = or i8 %78, %53
  br i1 %79, label %81, label %91

81:                                               ; preds = %76
  %82 = icmp eq i32 %.1.1, -1
  br i1 %82, label %90, label %83

83:                                               ; preds = %81
  %84 = getelementptr inbounds i8, ptr %1, i64 1040
  %85 = load double, ptr %84, align 8, !tbaa !72
  %86 = zext nneg i32 %.1.1 to i64
  %87 = getelementptr inbounds [5 x double], ptr %23, i64 0, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !72
  %89 = fcmp olt double %85, %88
  br i1 %89, label %90, label %91

90:                                               ; preds = %83, %81
  br label %91

91:                                               ; preds = %90, %83, %76
  %.1.2 = phi i32 [ 2, %90 ], [ %.1.1, %83 ], [ %.1.1, %76 ]
  %92 = getelementptr inbounds i8, ptr %1, i64 1067
  %93 = load i8, ptr %92, align 1, !tbaa !67, !range !68, !noundef !69
  %94 = trunc nuw i8 %93 to i1
  br i1 %94, label %95, label %104

95:                                               ; preds = %91
  %96 = load ptr, ptr %20, align 8, !tbaa !70
  %.not71.3 = icmp eq ptr %96, null
  br i1 %.not71.3, label %97, label %101

97:                                               ; preds = %95
  %98 = load i32, ptr %21, align 8, !tbaa !71
  %99 = icmp sgt i32 %98, 0
  %100 = zext i1 %99 to i8
  br label %101

101:                                              ; preds = %97, %95
  %102 = phi i8 [ 1, %95 ], [ %100, %97 ]
  %103 = getelementptr inbounds i8, ptr %1, i64 1082
  store i8 %102, ptr %103, align 1, !tbaa !67
  br label %104

104:                                              ; preds = %101, %91
  %105 = getelementptr inbounds i8, ptr %1, i64 315
  %106 = load i8, ptr %105, align 1, !tbaa !67, !range !68, !noundef !69
  %107 = trunc nuw i8 %106 to i1
  %108 = or i8 %106, %80
  br i1 %107, label %109, label %119

109:                                              ; preds = %104
  %110 = icmp eq i32 %.1.2, -1
  br i1 %110, label %118, label %111

111:                                              ; preds = %109
  %112 = getelementptr inbounds i8, ptr %1, i64 1048
  %113 = load double, ptr %112, align 8, !tbaa !72
  %114 = zext nneg i32 %.1.2 to i64
  %115 = getelementptr inbounds [5 x double], ptr %23, i64 0, i64 %114
  %116 = load double, ptr %115, align 8, !tbaa !72
  %117 = fcmp olt double %113, %116
  br i1 %117, label %118, label %119

118:                                              ; preds = %111, %109
  br label %119

119:                                              ; preds = %118, %111, %104
  %.1.3 = phi i32 [ 3, %118 ], [ %.1.2, %111 ], [ %.1.2, %104 ]
  %120 = getelementptr inbounds i8, ptr %1, i64 1068
  %121 = load i8, ptr %120, align 1, !tbaa !67, !range !68, !noundef !69
  %122 = trunc nuw i8 %121 to i1
  br i1 %122, label %123, label %132

123:                                              ; preds = %119
  %124 = load ptr, ptr %20, align 8, !tbaa !70
  %.not71.4 = icmp eq ptr %124, null
  br i1 %.not71.4, label %125, label %129

125:                                              ; preds = %123
  %126 = load i32, ptr %21, align 8, !tbaa !71
  %127 = icmp sgt i32 %126, 0
  %128 = zext i1 %127 to i8
  br label %129

129:                                              ; preds = %125, %123
  %130 = phi i8 [ 1, %123 ], [ %128, %125 ]
  %131 = getelementptr inbounds i8, ptr %1, i64 1083
  store i8 %130, ptr %131, align 1, !tbaa !67
  br label %132

132:                                              ; preds = %129, %119
  %133 = getelementptr inbounds i8, ptr %1, i64 316
  %134 = load i8, ptr %133, align 1, !tbaa !67, !range !68, !noundef !69
  %135 = trunc nuw i8 %134 to i1
  %136 = or i8 %134, %108
  %137 = icmp ne i8 %136, 0
  %138 = icmp eq i32 %.1.3, -1
  br i1 %135, label %139, label %148

139:                                              ; preds = %132
  br i1 %138, label %147, label %140

140:                                              ; preds = %139
  %141 = getelementptr inbounds i8, ptr %1, i64 1056
  %142 = load double, ptr %141, align 8, !tbaa !72
  %143 = zext nneg i32 %.1.3 to i64
  %144 = getelementptr inbounds [5 x double], ptr %23, i64 0, i64 %143
  %145 = load double, ptr %144, align 8, !tbaa !72
  %146 = fcmp olt double %142, %145
  br i1 %146, label %147, label %.thread

147:                                              ; preds = %140, %139
  br label %.thread

148:                                              ; preds = %132
  br i1 %138, label %153, label %.thread

.thread:                                          ; preds = %140, %147, %148
  %.1.479 = phi i32 [ %.1.3, %148 ], [ %.1.3, %140 ], [ 4, %147 ]
  %149 = zext nneg i32 %.1.479 to i64
  %150 = getelementptr inbounds [5 x i8], ptr %22, i64 0, i64 %149
  %151 = load i8, ptr %150, align 1, !tbaa !67, !range !68, !noundef !69
  %152 = trunc nuw i8 %151 to i1
  br label %153

153:                                              ; preds = %.thread, %148
  %154 = phi i1 [ true, %148 ], [ %152, %.thread ]
  %155 = getelementptr inbounds i8, ptr %1, i64 8100
  %156 = load i8, ptr %155, align 4, !tbaa !73, !range !68, !noundef !69
  %157 = trunc nuw i8 %156 to i1
  br i1 %157, label %158, label %163

158:                                              ; preds = %153
  %159 = getelementptr inbounds i8, ptr %1, i64 8104
  %160 = load i32, ptr %159, align 8, !tbaa !74
  %161 = and i32 %160, 16
  %162 = icmp ne i32 %161, 0
  br label %163

163:                                              ; preds = %158, %153
  %164 = phi i1 [ false, %153 ], [ %162, %158 ]
  %brmerge = select i1 %154, i1 true, i1 %164
  br i1 %brmerge, label %166, label %165

165:                                              ; preds = %163
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %20, i8 0, i64 16, i1 false)
  br label %166

166:                                              ; preds = %163, %165
  %167 = getelementptr inbounds i8, ptr %1, i64 12916
  %168 = load i32, ptr %167, align 4, !tbaa !75
  %.not65 = icmp eq i32 %168, -1
  br i1 %.not65, label %173, label %169

169:                                              ; preds = %166
  %170 = icmp ne i32 %168, 0
  %171 = getelementptr inbounds i8, ptr %1, i64 928
  %172 = zext i1 %170 to i8
  store i8 %172, ptr %171, align 8, !tbaa !76
  br label %183

173:                                              ; preds = %166
  br i1 %154, label %174, label %176

174:                                              ; preds = %173
  %175 = load ptr, ptr %20, align 8, !tbaa !70
  %.not66 = icmp ne ptr %175, null
  %brmerge72 = or i1 %.not66, %137
  br i1 %brmerge72, label %180, label %176

176:                                              ; preds = %174, %173
  %177 = load i32, ptr %21, align 8, !tbaa !71
  %178 = icmp sgt i32 %177, 0
  %179 = zext i1 %178 to i8
  br label %180

180:                                              ; preds = %174, %176
  %181 = phi i8 [ 1, %174 ], [ %179, %176 ]
  %182 = getelementptr inbounds i8, ptr %1, i64 928
  store i8 %181, ptr %182, align 8, !tbaa !76
  br label %183

183:                                              ; preds = %180, %169
  %184 = getelementptr inbounds i8, ptr %1, i64 12920
  %185 = load i32, ptr %184, align 8, !tbaa !77
  %.not67 = icmp eq i32 %185, -1
  br i1 %.not67, label %188, label %186

186:                                              ; preds = %183
  %187 = icmp ne i32 %185, 0
  br label %193

188:                                              ; preds = %183
  %189 = getelementptr inbounds i8, ptr %1, i64 6864
  %190 = load i32, ptr %189, align 8, !tbaa !78
  %191 = icmp ne i32 %190, 0
  %192 = or i1 %3, %191
  br label %193

193:                                              ; preds = %188, %186
  %.sink.in = phi i1 [ %192, %188 ], [ %187, %186 ]
  %.sink = zext i1 %.sink.in to i8
  %194 = getelementptr inbounds i8, ptr %1, i64 929
  store i8 %.sink, ptr %194, align 1
  %195 = getelementptr inbounds i8, ptr %1, i64 933
  %196 = load i8, ptr %195, align 1, !tbaa !79, !range !68, !noundef !69
  %197 = trunc nuw i8 %196 to i1
  %198 = and i32 %13, 9
  %or.cond = icmp eq i32 %198, 1
  %or.cond73 = and i1 %or.cond, %197
  %spec.store.select = select i1 %or.cond73, i8 1, i8 %.sink
  store i8 %spec.store.select, ptr %194, align 1
  %199 = getelementptr inbounds i8, ptr %1, i64 12924
  %200 = load i32, ptr %199, align 4, !tbaa !80
  %201 = add i32 %200, -1
  %narrow = icmp ult i32 %201, -2
  %202 = zext i1 %narrow to i8
  %203 = getelementptr inbounds i8, ptr %1, i64 930
  store i8 %202, ptr %203, align 2, !tbaa !81
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17FindHoveredWindowv() local_unnamed_addr #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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 6808}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5480, !6, i64 6432, !15, i64 6440, !15, i64 6444, !19, i64 6448, !21, i64 6664, !13, i64 6672, !13, i64 6676, !13, i64 6680, !11, i64 6684, !11, i64 6685, !11, i64 6686, !11, i64 6687, !13, i64 6688, !6, i64 6696, !22, i64 6704, !22, i64 6720, !22, i64 6736, !22, i64 6752, !23, i64 6768, !13, i64 6784, !6, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !14, i64 6832, !15, i64 6840, !13, i64 6844, !11, i64 6848, !13, i64 6852, !15, i64 6856, !15, i64 6860, !13, i64 6864, !13, i64 6868, !15, i64 6872, !11, i64 6876, !11, i64 6877, !11, i64 6878, !11, i64 6879, !11, i64 6880, !13, i64 6884, !13, i64 6888, !25, i64 6896, !14, i64 6904, !6, i64 6912, !26, i64 6920, !13, i64 6924, !13, i64 6928, !11, i64 6932, !11, i64 6933, !6, i64 6936, !13, i64 6944, !15, i64 6948, !27, i64 6952, !29, i64 7064, !30, i64 7088, !31, i64 7104, !32, i64 7120, !33, i64 7136, !33, i64 7152, !6, i64 7168, !13, i64 7176, !13, i64 7180, !13, i64 7184, !13, i64 7188, !13, i64 7192, !13, i64 7196, !13, i64 7200, !13, i64 7204, !13, i64 7208, !13, i64 7212, !13, i64 7216, !26, i64 7220, !28, i64 7224, !13, i64 7240, !34, i64 7244, !13, i64 7248, !11, i64 7252, !11, i64 7253, !11, i64 7254, !11, i64 7255, !11, i64 7256, !11, i64 7257, !11, i64 7258, !13, i64 7260, !28, i64 7264, !11, i64 7280, !11, i64 7281, !13, i64 7284, !35, i64 7288, !13, i64 7292, !13, i64 7296, !13, i64 7300, !13, i64 7304, !36, i64 7312, !36, i64 7360, !36, i64 7408, !6, i64 7456, !13, i64 7464, !6, i64 7472, !6, i64 7480, !6, i64 7488, !15, i64 7496, !15, i64 7500, !11, i64 7504, !6, i64 7512, !6, i64 7520, !13, i64 7528, !13, i64 7532, !13, i64 7536, !13, i64 7540, !11, i64 7544, !37, i64 7552, !38, i64 7608, !15, i64 7640, !39, i64 7648, !39, i64 7872, !13, i64 8096, !11, i64 8100, !11, i64 8101, !11, i64 8102, !13, i64 8104, !13, i64 8108, !13, i64 8112, !48, i64 8120, !28, i64 8184, !13, i64 8200, !13, i64 8204, !15, i64 8208, !13, i64 8212, !13, i64 8216, !13, i64 8220, !13, i64 8224, !49, i64 8232, !7, i64 8248, !6, i64 8264, !50, i64 8272, !52, i64 8312, !53, i64 8328, !14, i64 8344, !54, i64 8352, !58, i64 12080, !13, i64 12200, !13, i64 12204, !15, i64 12208, !15, i64 12212, !7, i64 12216, !20, i64 12228, !11, i64 12244, !15, i64 12248, !15, i64 12252, !15, i64 12256, !13, i64 12260, !55, i64 12264, !61, i64 12280, !14, i64 12296, !14, i64 12304, !11, i64 12312, !15, i64 12316, !62, i64 12320, !63, i64 12336, !64, i64 12352, !11, i64 12368, !65, i64 12372, !6, i64 12376, !62, i64 12384, !15, i64 12400, !11, i64 12404, !13, i64 12408, !13, i64 12412, !13, i64 12416, !11, i64 12420, !13, i64 12424, !7, i64 12428, !13, i64 12908, !15, i64 12912, !13, i64 12916, !13, i64 12920, !13, i64 12924, !7, i64 12928}
!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 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !15, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !14, i64 296, !7, i64 304, !15, i64 312, !15, i64 316, !11, i64 320, !11, i64 321, !11, i64 322, !11, i64 323, !7, i64 324, !7, i64 836, !11, i64 920, !11, i64 921, !11, i64 922, !11, i64 923, !11, i64 924, !11, i64 925, !11, i64 926, !15, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !13, i64 948, !14, i64 952, !13, i64 960, !14, 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, !15, i64 5448, !16, i64 5452, !17, i64 5456}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !13, i64 132, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !15, i64 168, !11, i64 172, !11, i64 173, !11, i64 174, !15, i64 176, !15, i64 180, !7, i64 184}
!19 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !20, i64 28, !13, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!20 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!21 = !{!"double", !7, i64 0}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"long long", !7, i64 0}
!26 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!27 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !11, i64 56, !28, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!30 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!35 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!36 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!37 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!38 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!39 = !{!"_ZTS10ImDrawList", !40, i64 0, !17, i64 16, !41, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !42, i64 96, !43, i64 112, !44, i64 128, !45, i64 144, !46, i64 200}
!40 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS9ImDrawCmd", !20, i64 0, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !6, i64 48}
!46 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !47, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_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}
!49 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !23, i64 16, !13, i64 32}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_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, !57, i64 24}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !59, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !60, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !11, i64 94, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !7, i64 112}
!59 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!63 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!65 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!66 = !{!10, !13, i64 8}
!67 = !{!11, !11, i64 0}
!68 = !{i8 0, i8 2}
!69 = !{}
!70 = !{!10, !6, i64 6800}
!71 = !{!10, !13, i64 7136}
!72 = !{!21, !21, i64 0}
!73 = !{!10, !11, i64 8100}
!74 = !{!10, !13, i64 8104}
!75 = !{!10, !13, i64 12916}
!76 = !{!10, !11, i64 928}
!77 = !{!10, !13, i64 12920}
!78 = !{!10, !13, i64 6864}
!79 = !{!10, !11, i64 933}
!80 = !{!10, !13, i64 12924}
!81 = !{!10, !11, i64 930}


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