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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

@GImGui = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [59 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i = external hidden unnamed_addr constant [86 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #5 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca float, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca i32, align 4
  %27 = alloca i8, align 1
  %28 = alloca i8, align 1
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %31 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %31, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %32 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %32, ptr %13, align 8, !tbaa !5
  %33 = load i32, ptr %11, align 4, !tbaa !9
  %34 = and i32 %33, 1024
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %54

36:                                               ; preds = %5
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %41

39:                                               ; preds = %36
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 0, ptr %40, align 1, !tbaa !11
  br label %41

41:                                               ; preds = %39, %36
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = icmp ne ptr %42, null
  br i1 %43, label %44, label %46

44:                                               ; preds = %41
  %45 = load ptr, ptr %10, align 8, !tbaa !5
  store i8 0, ptr %45, align 1, !tbaa !11
  br label %46

46:                                               ; preds = %44, %41
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ImGuiContext, ptr %47, i32 0, i32 40
  %49 = load i32, ptr %48, align 8, !tbaa !13
  %50 = load i32, ptr %8, align 4, !tbaa !9
  %51 = icmp eq i32 %49, %50
  br i1 %51, label %52, label %53

52:                                               ; preds = %46
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %53

53:                                               ; preds = %52, %46
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %667

54:                                               ; preds = %5
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = and i32 %55, 458752
  %57 = icmp eq i32 %56, 0
  br i1 %57, label %58, label %61

58:                                               ; preds = %54
  %59 = load i32, ptr %11, align 4, !tbaa !9
  %60 = or i32 %59, 65536
  store i32 %60, ptr %11, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %58, %54
  %62 = load i32, ptr %11, align 4, !tbaa !9
  %63 = and i32 %62, 126
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %68

65:                                               ; preds = %61
  %66 = load i32, ptr %11, align 4, !tbaa !9
  %67 = or i32 %66, 4
  store i32 %67, ptr %11, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %65, %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ImGuiContext, ptr %69, i32 0, i32 28
  %71 = load ptr, ptr %70, align 8, !tbaa !67
  store ptr %71, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  %72 = load i32, ptr %11, align 4, !tbaa !9
  %73 = and i32 %72, 128
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %81

75:                                               ; preds = %68
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiContext, ptr %76, i32 0, i32 29
  %78 = load ptr, ptr %77, align 8, !tbaa !68
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = icmp eq ptr %78, %79
  br label %81

81:                                               ; preds = %75, %68
  %82 = phi i1 [ false, %68 ], [ %80, %75 ]
  %83 = zext i1 %82 to i8
  store i8 %83, ptr %16, align 1, !tbaa !11
  %84 = load i8, ptr %16, align 1, !tbaa !11, !range !69, !noundef !70
  %85 = trunc i8 %84 to i1
  br i1 %85, label %86, label %90

86:                                               ; preds = %81
  %87 = load ptr, ptr %13, align 8, !tbaa !5
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiContext, ptr %88, i32 0, i32 28
  store ptr %87, ptr %89, align 8, !tbaa !67
  br label %90

90:                                               ; preds = %86, %81
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  store i8 0, ptr %17, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #8
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = load i32, ptr %8, align 4, !tbaa !9
  %93 = call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %91, i32 noundef %92)
  %94 = zext i1 %93 to i8
  store i8 %94, ptr %18, align 1, !tbaa !11
  %95 = load i8, ptr %18, align 1, !tbaa !11, !range !69, !noundef !70
  %96 = trunc i8 %95 to i1
  br i1 %96, label %97, label %116

97:                                               ; preds = %90
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImGuiContext, ptr %98, i32 0, i32 137
  %100 = load i8, ptr %99, align 4, !tbaa !71, !range !69, !noundef !70
  %101 = trunc i8 %100 to i1
  br i1 %101, label %102, label %116

102:                                              ; preds = %97
  %103 = load ptr, ptr %12, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ImGuiContext, ptr %103, i32 0, i32 145
  %105 = getelementptr inbounds %struct.ImGuiPayload, ptr %104, i32 0, i32 2
  %106 = load i32, ptr %105, align 4, !tbaa !72
  %107 = load i32, ptr %8, align 4, !tbaa !9
  %108 = icmp eq i32 %106, %107
  br i1 %108, label %109, label %116

109:                                              ; preds = %102
  %110 = load ptr, ptr %12, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiContext, ptr %110, i32 0, i32 141
  %112 = load i32, ptr %111, align 8, !tbaa !73
  %113 = and i32 %112, 2
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %116, label %115

115:                                              ; preds = %109
  store i8 0, ptr %18, align 1, !tbaa !11
  br label %116

116:                                              ; preds = %115, %109, %102, %97, %90
  %117 = load ptr, ptr %12, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.ImGuiContext, ptr %117, i32 0, i32 137
  %119 = load i8, ptr %118, align 4, !tbaa !71, !range !69, !noundef !70
  %120 = trunc i8 %119 to i1
  br i1 %120, label %121, label %157

121:                                              ; preds = %116
  %122 = load i32, ptr %11, align 4, !tbaa !9
  %123 = and i32 %122, 64
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %157

125:                                              ; preds = %121
  %126 = load ptr, ptr %12, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ImGuiContext, ptr %126, i32 0, i32 141
  %128 = load i32, ptr %127, align 8, !tbaa !73
  %129 = and i32 %128, 4
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %157, label %131

131:                                              ; preds = %125
  %132 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 32)
  br i1 %132, label %133, label %156

133:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store float 0x3FE6666660000000, ptr %19, align 4, !tbaa !74
  store i8 1, ptr %18, align 1, !tbaa !11
  %134 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %134)
  %135 = load ptr, ptr %12, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImGuiContext, ptr %135, i32 0, i32 38
  %137 = load float, ptr %136, align 8, !tbaa !75
  %138 = fadd float %137, 0x3F1A36E2E0000000
  %139 = load ptr, ptr %12, 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 3
  %142 = load float, ptr %141, align 8, !tbaa !76
  %143 = fsub float %138, %142
  %144 = load ptr, ptr %12, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ImGuiContext, ptr %144, i32 0, i32 38
  %146 = load float, ptr %145, align 8, !tbaa !75
  %147 = fadd float %146, 0x3F1A36E2E0000000
  %148 = call noundef i32 @_ZN5ImGui25CalcTypematicRepeatAmountEffff(float noundef %143, float noundef %147, float noundef 0x3FE6666660000000, float noundef 0.000000e+00)
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %155

150:                                              ; preds = %133
  store i8 1, ptr %17, align 1, !tbaa !11
  %151 = load i32, ptr %8, align 4, !tbaa !9
  %152 = load ptr, ptr %12, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.ImGuiContext, ptr %152, i32 0, i32 153
  store i32 %151, ptr %153, align 8, !tbaa !77
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %154)
  br label %155

155:                                              ; preds = %150, %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %156

156:                                              ; preds = %155, %131
  br label %157

157:                                              ; preds = %156, %125, %121, %116
  %158 = load i8, ptr %16, align 1, !tbaa !11, !range !69, !noundef !70
  %159 = trunc i8 %158 to i1
  br i1 %159, label %160, label %164

160:                                              ; preds = %157
  %161 = load ptr, ptr %15, align 8, !tbaa !5
  %162 = load ptr, ptr %12, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImGuiContext, ptr %162, i32 0, i32 28
  store ptr %161, ptr %163, align 8, !tbaa !67
  br label %164

164:                                              ; preds = %160, %157
  %165 = load i8, ptr %18, align 1, !tbaa !11, !range !69, !noundef !70
  %166 = trunc i8 %165 to i1
  br i1 %166, label %167, label %183

167:                                              ; preds = %164
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = and i32 %168, 256
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %183

171:                                              ; preds = %167
  %172 = load ptr, ptr %12, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ImGuiContext, ptr %172, i32 0, i32 37
  %174 = load i32, ptr %173, align 4, !tbaa !78
  %175 = load i32, ptr %8, align 4, !tbaa !9
  %176 = icmp ne i32 %174, %175
  br i1 %176, label %177, label %183

177:                                              ; preds = %171
  %178 = load ptr, ptr %12, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.ImGuiContext, ptr %178, i32 0, i32 37
  %180 = load i32, ptr %179, align 4, !tbaa !78
  %181 = icmp ne i32 %180, 0
  br i1 %181, label %182, label %183

182:                                              ; preds = %177
  store i8 0, ptr %18, align 1, !tbaa !11
  br label %183

183:                                              ; preds = %182, %177, %171, %167, %164
  %184 = load i8, ptr %18, align 1, !tbaa !11, !range !69, !noundef !70
  %185 = trunc i8 %184 to i1
  br i1 %185, label %186, label %404

186:                                              ; preds = %183
  %187 = load i32, ptr %11, align 4, !tbaa !9
  %188 = and i32 %187, 4096
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %190, label %208

190:                                              ; preds = %186
  %191 = load ptr, ptr %12, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImGuiContext, ptr %191, i32 0, i32 3
  %193 = getelementptr inbounds %struct.ImGuiIO, ptr %192, i32 0, i32 40
  %194 = load i8, ptr %193, align 8, !tbaa !79, !range !69, !noundef !70
  %195 = trunc i8 %194 to i1
  br i1 %195, label %397, label %196

196:                                              ; preds = %190
  %197 = load ptr, ptr %12, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.ImGuiContext, ptr %197, i32 0, i32 3
  %199 = getelementptr inbounds %struct.ImGuiIO, ptr %198, i32 0, i32 41
  %200 = load i8, ptr %199, align 1, !tbaa !80, !range !69, !noundef !70
  %201 = trunc i8 %200 to i1
  br i1 %201, label %397, label %202

202:                                              ; preds = %196
  %203 = load ptr, ptr %12, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImGuiContext, ptr %203, i32 0, i32 3
  %205 = getelementptr inbounds %struct.ImGuiIO, ptr %204, i32 0, i32 42
  %206 = load i8, ptr %205, align 2, !tbaa !81, !range !69, !noundef !70
  %207 = trunc i8 %206 to i1
  br i1 %207, label %397, label %208

208:                                              ; preds = %202, %186
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 -1, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 -1, ptr %21, align 4, !tbaa !9
  %209 = load i32, ptr %11, align 4, !tbaa !9
  %210 = and i32 %209, 65536
  %211 = icmp ne i32 %210, 0
  br i1 %211, label %212, label %220

212:                                              ; preds = %208
  %213 = load ptr, ptr %12, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.ImGuiContext, ptr %213, i32 0, i32 3
  %215 = getelementptr inbounds %struct.ImGuiIO, ptr %214, i32 0, i32 64
  %216 = getelementptr inbounds [5 x i8], ptr %215, i64 0, i64 0
  %217 = load i8, ptr %216, align 8, !tbaa !11, !range !69, !noundef !70
  %218 = trunc i8 %217 to i1
  br i1 %218, label %219, label %220

219:                                              ; preds = %212
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %246

220:                                              ; preds = %212, %208
  %221 = load i32, ptr %11, align 4, !tbaa !9
  %222 = and i32 %221, 131072
  %223 = icmp ne i32 %222, 0
  br i1 %223, label %224, label %232

224:                                              ; preds = %220
  %225 = load ptr, ptr %12, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.ImGuiContext, ptr %225, i32 0, i32 3
  %227 = getelementptr inbounds %struct.ImGuiIO, ptr %226, i32 0, i32 64
  %228 = getelementptr inbounds [5 x i8], ptr %227, i64 0, i64 1
  %229 = load i8, ptr %228, align 1, !tbaa !11, !range !69, !noundef !70
  %230 = trunc i8 %229 to i1
  br i1 %230, label %231, label %232

231:                                              ; preds = %224
  store i32 1, ptr %20, align 4, !tbaa !9
  br label %245

232:                                              ; preds = %224, %220
  %233 = load i32, ptr %11, align 4, !tbaa !9
  %234 = and i32 %233, 262144
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %244

236:                                              ; preds = %232
  %237 = load ptr, ptr %12, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.ImGuiContext, ptr %237, i32 0, i32 3
  %239 = getelementptr inbounds %struct.ImGuiIO, ptr %238, i32 0, i32 64
  %240 = getelementptr inbounds [5 x i8], ptr %239, i64 0, i64 2
  %241 = load i8, ptr %240, align 2, !tbaa !11, !range !69, !noundef !70
  %242 = trunc i8 %241 to i1
  br i1 %242, label %243, label %244

243:                                              ; preds = %236
  store i32 2, ptr %20, align 4, !tbaa !9
  br label %244

244:                                              ; preds = %243, %236, %232
  br label %245

245:                                              ; preds = %244, %231
  br label %246

246:                                              ; preds = %245, %219
  %247 = load i32, ptr %11, align 4, !tbaa !9
  %248 = and i32 %247, 65536
  %249 = icmp ne i32 %248, 0
  br i1 %249, label %250, label %258

250:                                              ; preds = %246
  %251 = load ptr, ptr %12, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImGuiContext, ptr %251, i32 0, i32 3
  %253 = getelementptr inbounds %struct.ImGuiIO, ptr %252, i32 0, i32 66
  %254 = getelementptr inbounds [5 x i8], ptr %253, i64 0, i64 0
  %255 = load i8, ptr %254, align 2, !tbaa !11, !range !69, !noundef !70
  %256 = trunc i8 %255 to i1
  br i1 %256, label %257, label %258

257:                                              ; preds = %250
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %284

258:                                              ; preds = %250, %246
  %259 = load i32, ptr %11, align 4, !tbaa !9
  %260 = and i32 %259, 131072
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %270

262:                                              ; preds = %258
  %263 = load ptr, ptr %12, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.ImGuiContext, ptr %263, i32 0, i32 3
  %265 = getelementptr inbounds %struct.ImGuiIO, ptr %264, i32 0, i32 66
  %266 = getelementptr inbounds [5 x i8], ptr %265, i64 0, i64 1
  %267 = load i8, ptr %266, align 1, !tbaa !11, !range !69, !noundef !70
  %268 = trunc i8 %267 to i1
  br i1 %268, label %269, label %270

269:                                              ; preds = %262
  store i32 1, ptr %21, align 4, !tbaa !9
  br label %283

270:                                              ; preds = %262, %258
  %271 = load i32, ptr %11, align 4, !tbaa !9
  %272 = and i32 %271, 262144
  %273 = icmp ne i32 %272, 0
  br i1 %273, label %274, label %282

274:                                              ; preds = %270
  %275 = load ptr, ptr %12, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.ImGuiContext, ptr %275, i32 0, i32 3
  %277 = getelementptr inbounds %struct.ImGuiIO, ptr %276, i32 0, i32 66
  %278 = getelementptr inbounds [5 x i8], ptr %277, i64 0, i64 2
  %279 = load i8, ptr %278, align 2, !tbaa !11, !range !69, !noundef !70
  %280 = trunc i8 %279 to i1
  br i1 %280, label %281, label %282

281:                                              ; preds = %274
  store i32 2, ptr %21, align 4, !tbaa !9
  br label %282

282:                                              ; preds = %281, %274, %270
  br label %283

283:                                              ; preds = %282, %269
  br label %284

284:                                              ; preds = %283, %257
  %285 = load i32, ptr %20, align 4, !tbaa !9
  %286 = icmp ne i32 %285, -1
  br i1 %286, label %287, label %342

287:                                              ; preds = %284
  %288 = load ptr, ptr %12, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.ImGuiContext, ptr %288, i32 0, i32 40
  %290 = load i32, ptr %289, align 8, !tbaa !13
  %291 = load i32, ptr %8, align 4, !tbaa !9
  %292 = icmp ne i32 %290, %291
  br i1 %292, label %293, label %342

293:                                              ; preds = %287
  %294 = load i32, ptr %11, align 4, !tbaa !9
  %295 = and i32 %294, 12
  %296 = icmp ne i32 %295, 0
  br i1 %296, label %297, label %311

297:                                              ; preds = %293
  %298 = load i32, ptr %8, align 4, !tbaa !9
  %299 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %298, ptr noundef %299)
  %300 = load i32, ptr %20, align 4, !tbaa !9
  %301 = load ptr, ptr %12, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.ImGuiContext, ptr %301, i32 0, i32 56
  store i32 %300, ptr %302, align 4, !tbaa !82
  %303 = load i32, ptr %11, align 4, !tbaa !9
  %304 = and i32 %303, 16384
  %305 = icmp ne i32 %304, 0
  br i1 %305, label %309, label %306

306:                                              ; preds = %297
  %307 = load i32, ptr %8, align 4, !tbaa !9
  %308 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %307, ptr noundef %308)
  br label %309

309:                                              ; preds = %306, %297
  %310 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %310)
  br label %311

311:                                              ; preds = %309, %293
  %312 = load i32, ptr %11, align 4, !tbaa !9
  %313 = and i32 %312, 2
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %328, label %315

315:                                              ; preds = %311
  %316 = load i32, ptr %11, align 4, !tbaa !9
  %317 = and i32 %316, 32
  %318 = icmp ne i32 %317, 0
  br i1 %318, label %319, label %341

319:                                              ; preds = %315
  %320 = load ptr, ptr %12, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.ImGuiContext, ptr %320, i32 0, i32 3
  %322 = getelementptr inbounds %struct.ImGuiIO, ptr %321, i32 0, i32 65
  %323 = load i32, ptr %20, align 4, !tbaa !9
  %324 = sext i32 %323 to i64
  %325 = getelementptr inbounds [5 x i8], ptr %322, i64 0, i64 %324
  %326 = load i8, ptr %325, align 1, !tbaa !11, !range !69, !noundef !70
  %327 = trunc i8 %326 to i1
  br i1 %327, label %328, label %341

328:                                              ; preds = %319, %311
  store i8 1, ptr %17, align 1, !tbaa !11
  %329 = load i32, ptr %11, align 4, !tbaa !9
  %330 = and i32 %329, 8192
  %331 = icmp ne i32 %330, 0
  br i1 %331, label %332, label %333

332:                                              ; preds = %328
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %336

333:                                              ; preds = %328
  %334 = load i32, ptr %8, align 4, !tbaa !9
  %335 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %334, ptr noundef %335)
  br label %336

336:                                              ; preds = %333, %332
  %337 = load i32, ptr %20, align 4, !tbaa !9
  %338 = load ptr, ptr %12, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.ImGuiContext, ptr %338, i32 0, i32 56
  store i32 %337, ptr %339, align 4, !tbaa !82
  %340 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %340)
  br label %341

341:                                              ; preds = %336, %319, %315
  br label %342

342:                                              ; preds = %341, %287, %284
  %343 = load i32, ptr %11, align 4, !tbaa !9
  %344 = and i32 %343, 16
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %346, label %368

346:                                              ; preds = %342
  %347 = load i32, ptr %21, align 4, !tbaa !9
  %348 = icmp ne i32 %347, -1
  br i1 %348, label %349, label %368

349:                                              ; preds = %346
  %350 = load i32, ptr %11, align 4, !tbaa !9
  %351 = and i32 %350, 1
  %352 = icmp ne i32 %351, 0
  br i1 %352, label %353, label %366

353:                                              ; preds = %349
  %354 = load ptr, ptr %12, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.ImGuiContext, ptr %354, i32 0, i32 3
  %356 = getelementptr inbounds %struct.ImGuiIO, ptr %355, i32 0, i32 70
  %357 = load i32, ptr %21, align 4, !tbaa !9
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds [5 x float], ptr %356, i64 0, i64 %358
  %360 = load float, ptr %359, align 4, !tbaa !74
  %361 = load ptr, ptr %12, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.ImGuiContext, ptr %361, i32 0, i32 3
  %363 = getelementptr inbounds %struct.ImGuiIO, ptr %362, i32 0, i32 11
  %364 = load float, ptr %363, align 4, !tbaa !83
  %365 = fcmp oge float %360, %364
  br i1 %365, label %367, label %366

366:                                              ; preds = %353, %349
  store i8 1, ptr %17, align 1, !tbaa !11
  br label %367

367:                                              ; preds = %366, %353
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %368

368:                                              ; preds = %367, %346, %342
  %369 = load ptr, ptr %12, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.ImGuiContext, ptr %369, i32 0, i32 40
  %371 = load i32, ptr %370, align 8, !tbaa !13
  %372 = load i32, ptr %8, align 4, !tbaa !9
  %373 = icmp eq i32 %371, %372
  br i1 %373, label %374, label %396

374:                                              ; preds = %368
  %375 = load i32, ptr %11, align 4, !tbaa !9
  %376 = and i32 %375, 1
  %377 = icmp ne i32 %376, 0
  br i1 %377, label %378, label %396

378:                                              ; preds = %374
  %379 = load ptr, ptr %12, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.ImGuiContext, ptr %379, i32 0, i32 3
  %381 = getelementptr inbounds %struct.ImGuiIO, ptr %380, i32 0, i32 69
  %382 = load ptr, ptr %12, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.ImGuiContext, ptr %382, i32 0, i32 56
  %384 = load i32, ptr %383, align 4, !tbaa !82
  %385 = sext i32 %384 to i64
  %386 = getelementptr inbounds [5 x float], ptr %381, i64 0, i64 %385
  %387 = load float, ptr %386, align 4, !tbaa !74
  %388 = fcmp ogt float %387, 0.000000e+00
  br i1 %388, label %389, label %395

389:                                              ; preds = %378
  %390 = load ptr, ptr %12, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.ImGuiContext, ptr %390, i32 0, i32 56
  %392 = load i32, ptr %391, align 4, !tbaa !82
  %393 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef %392, i1 noundef zeroext true)
  br i1 %393, label %394, label %395

394:                                              ; preds = %389
  store i8 1, ptr %17, align 1, !tbaa !11
  br label %395

395:                                              ; preds = %394, %389, %378
  br label %396

396:                                              ; preds = %395, %374, %368
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %397

397:                                              ; preds = %396, %202, %196, %190
  %398 = load i8, ptr %17, align 1, !tbaa !11, !range !69, !noundef !70
  %399 = trunc i8 %398 to i1
  br i1 %399, label %400, label %403

400:                                              ; preds = %397
  %401 = load ptr, ptr %12, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.ImGuiContext, ptr %401, i32 0, i32 91
  store i8 1, ptr %402, align 2, !tbaa !84
  br label %403

403:                                              ; preds = %400, %397
  br label %404

404:                                              ; preds = %403, %183
  %405 = load ptr, ptr %12, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.ImGuiContext, ptr %405, i32 0, i32 73
  %407 = load i32, ptr %406, align 8, !tbaa !85
  %408 = load i32, ptr %8, align 4, !tbaa !9
  %409 = icmp eq i32 %407, %408
  br i1 %409, label %410, label %445

410:                                              ; preds = %404
  %411 = load ptr, ptr %12, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.ImGuiContext, ptr %411, i32 0, i32 91
  %413 = load i8, ptr %412, align 2, !tbaa !84, !range !69, !noundef !70
  %414 = trunc i8 %413 to i1
  br i1 %414, label %445, label %415

415:                                              ; preds = %410
  %416 = load ptr, ptr %12, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.ImGuiContext, ptr %416, i32 0, i32 92
  %418 = load i8, ptr %417, align 1, !tbaa !86, !range !69, !noundef !70
  %419 = trunc i8 %418 to i1
  br i1 %419, label %420, label %445

420:                                              ; preds = %415
  %421 = load ptr, ptr %12, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.ImGuiContext, ptr %421, i32 0, i32 40
  %423 = load i32, ptr %422, align 8, !tbaa !13
  %424 = icmp eq i32 %423, 0
  br i1 %424, label %439, label %425

425:                                              ; preds = %420
  %426 = load ptr, ptr %12, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.ImGuiContext, ptr %426, i32 0, i32 40
  %428 = load i32, ptr %427, align 8, !tbaa !13
  %429 = load i32, ptr %8, align 4, !tbaa !9
  %430 = icmp eq i32 %428, %429
  br i1 %430, label %439, label %431

431:                                              ; preds = %425
  %432 = load ptr, ptr %12, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.ImGuiContext, ptr %432, i32 0, i32 40
  %434 = load i32, ptr %433, align 8, !tbaa !13
  %435 = load ptr, ptr %13, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.ImGuiWindow, ptr %435, i32 0, i32 12
  %437 = load i32, ptr %436, align 4, !tbaa !87
  %438 = icmp eq i32 %434, %437
  br i1 %438, label %439, label %445

439:                                              ; preds = %431, %425, %420
  %440 = load i32, ptr %11, align 4, !tbaa !9
  %441 = and i32 %440, 32768
  %442 = icmp ne i32 %441, 0
  br i1 %442, label %444, label %443

443:                                              ; preds = %439
  store i8 1, ptr %18, align 1, !tbaa !11
  br label %444

444:                                              ; preds = %443, %439
  br label %445

445:                                              ; preds = %444, %431, %415, %410, %404
  %446 = load ptr, ptr %12, align 8, !tbaa !5
  %447 = getelementptr inbounds %struct.ImGuiContext, ptr %446, i32 0, i32 76
  %448 = load i32, ptr %447, align 4, !tbaa !95
  %449 = load i32, ptr %8, align 4, !tbaa !9
  %450 = icmp eq i32 %448, %449
  br i1 %450, label %451, label %503

451:                                              ; preds = %445
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  %452 = load ptr, ptr %12, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.ImGuiContext, ptr %452, i32 0, i32 75
  %454 = load i32, ptr %453, align 8, !tbaa !96
  %455 = load i32, ptr %8, align 4, !tbaa !9
  %456 = icmp eq i32 %454, %455
  %457 = zext i1 %456 to i8
  store i8 %457, ptr %22, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #8
  %458 = load i32, ptr %11, align 4, !tbaa !9
  %459 = and i32 %458, 1
  %460 = icmp ne i32 %459, 0
  %461 = zext i1 %460 to i64
  %462 = select i1 %460, i32 3, i32 1
  %463 = call noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef 0, i32 noundef %462)
  %464 = zext i1 %463 to i8
  store i8 %464, ptr %23, align 1, !tbaa !11
  %465 = load i8, ptr %22, align 1, !tbaa !11, !range !69, !noundef !70
  %466 = trunc i8 %465 to i1
  br i1 %466, label %470, label %467

467:                                              ; preds = %451
  %468 = load i8, ptr %23, align 1, !tbaa !11, !range !69, !noundef !70
  %469 = trunc i8 %468 to i1
  br i1 %469, label %470, label %471

470:                                              ; preds = %467, %451
  store i8 1, ptr %17, align 1, !tbaa !11
  br label %471

471:                                              ; preds = %470, %467
  %472 = load i8, ptr %22, align 1, !tbaa !11, !range !69, !noundef !70
  %473 = trunc i8 %472 to i1
  br i1 %473, label %483, label %474

474:                                              ; preds = %471
  %475 = load i8, ptr %23, align 1, !tbaa !11, !range !69, !noundef !70
  %476 = trunc i8 %475 to i1
  br i1 %476, label %483, label %477

477:                                              ; preds = %474
  %478 = load ptr, ptr %12, align 8, !tbaa !5
  %479 = getelementptr inbounds %struct.ImGuiContext, ptr %478, i32 0, i32 40
  %480 = load i32, ptr %479, align 8, !tbaa !13
  %481 = load i32, ptr %8, align 4, !tbaa !9
  %482 = icmp eq i32 %480, %481
  br i1 %482, label %483, label %502

483:                                              ; preds = %477, %474, %471
  %484 = load i32, ptr %8, align 4, !tbaa !9
  %485 = load ptr, ptr %12, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.ImGuiContext, ptr %485, i32 0, i32 75
  store i32 %484, ptr %486, align 8, !tbaa !96
  %487 = load i32, ptr %8, align 4, !tbaa !9
  %488 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %487, ptr noundef %488)
  %489 = load i8, ptr %22, align 1, !tbaa !11, !range !69, !noundef !70
  %490 = trunc i8 %489 to i1
  br i1 %490, label %494, label %491

491:                                              ; preds = %483
  %492 = load i8, ptr %23, align 1, !tbaa !11, !range !69, !noundef !70
  %493 = trunc i8 %492 to i1
  br i1 %493, label %494, label %501

494:                                              ; preds = %491, %483
  %495 = load i32, ptr %11, align 4, !tbaa !9
  %496 = and i32 %495, 16384
  %497 = icmp ne i32 %496, 0
  br i1 %497, label %501, label %498

498:                                              ; preds = %494
  %499 = load i32, ptr %8, align 4, !tbaa !9
  %500 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %499, ptr noundef %500)
  br label %501

501:                                              ; preds = %498, %494, %491
  br label %502

502:                                              ; preds = %501, %477
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  br label %503

503:                                              ; preds = %502, %445
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  store i8 0, ptr %24, align 1, !tbaa !11
  %504 = load ptr, ptr %12, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct.ImGuiContext, ptr %504, i32 0, i32 40
  %506 = load i32, ptr %505, align 8, !tbaa !13
  %507 = load i32, ptr %8, align 4, !tbaa !9
  %508 = icmp eq i32 %506, %507
  br i1 %508, label %509, label %648

509:                                              ; preds = %503
  %510 = load ptr, ptr %12, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.ImGuiContext, ptr %510, i32 0, i32 55
  %512 = load i32, ptr %511, align 8, !tbaa !97
  %513 = icmp eq i32 %512, 1
  br i1 %513, label %514, label %627

514:                                              ; preds = %509
  %515 = load ptr, ptr %12, align 8, !tbaa !5
  %516 = getelementptr inbounds %struct.ImGuiContext, ptr %515, i32 0, i32 43
  %517 = load i8, ptr %516, align 4, !tbaa !98, !range !69, !noundef !70
  %518 = trunc i8 %517 to i1
  br i1 %518, label %519, label %528

519:                                              ; preds = %514
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %520 = load ptr, ptr %12, align 8, !tbaa !5
  %521 = getelementptr inbounds %struct.ImGuiContext, ptr %520, i32 0, i32 3
  %522 = getelementptr inbounds %struct.ImGuiIO, ptr %521, i32 0, i32 36
  %523 = load ptr, ptr %7, align 8, !tbaa !5
  %524 = getelementptr inbounds %struct.ImRect, ptr %523, i32 0, i32 0
  %525 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %522, ptr noundef nonnull align 4 dereferenceable(8) %524)
  store <2 x float> %525, ptr %25, align 4
  %526 = load ptr, ptr %12, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct.ImGuiContext, ptr %526, i32 0, i32 53
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %527, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !99
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %528

528:                                              ; preds = %519, %514
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %529 = load ptr, ptr %12, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.ImGuiContext, ptr %529, i32 0, i32 56
  %531 = load i32, ptr %530, align 4, !tbaa !82
  store i32 %531, ptr %26, align 4, !tbaa !9
  %532 = load i32, ptr %26, align 4, !tbaa !9
  %533 = icmp sge i32 %532, 0
  br i1 %533, label %534, label %537

534:                                              ; preds = %528
  %535 = load i32, ptr %26, align 4, !tbaa !9
  %536 = icmp slt i32 %535, 5
  br label %537

537:                                              ; preds = %534, %528
  %538 = phi i1 [ false, %528 ], [ %536, %534 ]
  br i1 %538, label %539, label %540

539:                                              ; preds = %537
  br label %542

540:                                              ; preds = %537
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 606, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i) #9
  unreachable

541:                                              ; No predecessors!
  br label %542

542:                                              ; preds = %541, %539
  %543 = load ptr, ptr %12, align 8, !tbaa !5
  %544 = getelementptr inbounds %struct.ImGuiContext, ptr %543, i32 0, i32 3
  %545 = getelementptr inbounds %struct.ImGuiIO, ptr %544, i32 0, i32 37
  %546 = load i32, ptr %26, align 4, !tbaa !9
  %547 = sext i32 %546 to i64
  %548 = getelementptr inbounds [5 x i8], ptr %545, i64 0, i64 %547
  %549 = load i8, ptr %548, align 1, !tbaa !11, !range !69, !noundef !70
  %550 = trunc i8 %549 to i1
  br i1 %550, label %551, label %552

551:                                              ; preds = %542
  store i8 1, ptr %24, align 1, !tbaa !11
  br label %619

552:                                              ; preds = %542
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  %553 = load i8, ptr %18, align 1, !tbaa !11, !range !69, !noundef !70
  %554 = trunc i8 %553 to i1
  br i1 %554, label %555, label %559

555:                                              ; preds = %552
  %556 = load i32, ptr %11, align 4, !tbaa !9
  %557 = and i32 %556, 4
  %558 = icmp ne i32 %557, 0
  br label %559

559:                                              ; preds = %555, %552
  %560 = phi i1 [ false, %552 ], [ %558, %555 ]
  %561 = zext i1 %560 to i8
  store i8 %561, ptr %27, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  %562 = load i32, ptr %11, align 4, !tbaa !9
  %563 = and i32 %562, 8
  %564 = icmp ne i32 %563, 0
  %565 = zext i1 %564 to i8
  store i8 %565, ptr %28, align 1, !tbaa !11
  %566 = load i8, ptr %27, align 1, !tbaa !11, !range !69, !noundef !70
  %567 = trunc i8 %566 to i1
  br i1 %567, label %571, label %568

568:                                              ; preds = %559
  %569 = load i8, ptr %28, align 1, !tbaa !11, !range !69, !noundef !70
  %570 = trunc i8 %569 to i1
  br i1 %570, label %571, label %618

571:                                              ; preds = %568, %559
  %572 = load ptr, ptr %12, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.ImGuiContext, ptr %572, i32 0, i32 137
  %574 = load i8, ptr %573, align 4, !tbaa !71, !range !69, !noundef !70
  %575 = trunc i8 %574 to i1
  br i1 %575, label %618, label %576

576:                                              ; preds = %571
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  %577 = load i32, ptr %11, align 4, !tbaa !9
  %578 = and i32 %577, 32
  %579 = icmp ne i32 %578, 0
  br i1 %579, label %580, label %589

580:                                              ; preds = %576
  %581 = load ptr, ptr %12, align 8, !tbaa !5
  %582 = getelementptr inbounds %struct.ImGuiContext, ptr %581, i32 0, i32 3
  %583 = getelementptr inbounds %struct.ImGuiIO, ptr %582, i32 0, i32 68
  %584 = load i32, ptr %26, align 4, !tbaa !9
  %585 = sext i32 %584 to i64
  %586 = getelementptr inbounds [5 x i8], ptr %583, i64 0, i64 %585
  %587 = load i8, ptr %586, align 1, !tbaa !11, !range !69, !noundef !70
  %588 = trunc i8 %587 to i1
  br label %589

589:                                              ; preds = %580, %576
  %590 = phi i1 [ false, %576 ], [ %588, %580 ]
  %591 = zext i1 %590 to i8
  store i8 %591, ptr %29, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  %592 = load i32, ptr %11, align 4, !tbaa !9
  %593 = and i32 %592, 1
  %594 = icmp ne i32 %593, 0
  br i1 %594, label %595, label %608

595:                                              ; preds = %589
  %596 = load ptr, ptr %12, align 8, !tbaa !5
  %597 = getelementptr inbounds %struct.ImGuiContext, ptr %596, i32 0, i32 3
  %598 = getelementptr inbounds %struct.ImGuiIO, ptr %597, i32 0, i32 70
  %599 = load i32, ptr %26, align 4, !tbaa !9
  %600 = sext i32 %599 to i64
  %601 = getelementptr inbounds [5 x float], ptr %598, i64 0, i64 %600
  %602 = load float, ptr %601, align 4, !tbaa !74
  %603 = load ptr, ptr %12, align 8, !tbaa !5
  %604 = getelementptr inbounds %struct.ImGuiContext, ptr %603, i32 0, i32 3
  %605 = getelementptr inbounds %struct.ImGuiIO, ptr %604, i32 0, i32 11
  %606 = load float, ptr %605, align 4, !tbaa !83
  %607 = fcmp oge float %602, %606
  br label %608

608:                                              ; preds = %595, %589
  %609 = phi i1 [ false, %589 ], [ %607, %595 ]
  %610 = zext i1 %609 to i8
  store i8 %610, ptr %30, align 1, !tbaa !11
  %611 = load i8, ptr %29, align 1, !tbaa !11, !range !69, !noundef !70
  %612 = trunc i8 %611 to i1
  br i1 %612, label %617, label %613

613:                                              ; preds = %608
  %614 = load i8, ptr %30, align 1, !tbaa !11, !range !69, !noundef !70
  %615 = trunc i8 %614 to i1
  br i1 %615, label %617, label %616

616:                                              ; preds = %613
  store i8 1, ptr %17, align 1, !tbaa !11
  br label %617

617:                                              ; preds = %616, %613, %608
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  br label %618

618:                                              ; preds = %617, %571, %568
  call void @_ZN5ImGui13ClearActiveIDEv()
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  br label %619

619:                                              ; preds = %618, %551
  %620 = load i32, ptr %11, align 4, !tbaa !9
  %621 = and i32 %620, 16384
  %622 = icmp ne i32 %621, 0
  br i1 %622, label %626, label %623

623:                                              ; preds = %619
  %624 = load ptr, ptr %12, align 8, !tbaa !5
  %625 = getelementptr inbounds %struct.ImGuiContext, ptr %624, i32 0, i32 91
  store i8 1, ptr %625, align 2, !tbaa !84
  br label %626

626:                                              ; preds = %623, %619
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %641

627:                                              ; preds = %509
  %628 = load ptr, ptr %12, align 8, !tbaa !5
  %629 = getelementptr inbounds %struct.ImGuiContext, ptr %628, i32 0, i32 55
  %630 = load i32, ptr %629, align 8, !tbaa !97
  %631 = icmp eq i32 %630, 2
  br i1 %631, label %632, label %640

632:                                              ; preds = %627
  %633 = load ptr, ptr %12, align 8, !tbaa !5
  %634 = getelementptr inbounds %struct.ImGuiContext, ptr %633, i32 0, i32 76
  %635 = load i32, ptr %634, align 4, !tbaa !95
  %636 = load i32, ptr %8, align 4, !tbaa !9
  %637 = icmp ne i32 %635, %636
  br i1 %637, label %638, label %639

638:                                              ; preds = %632
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %639

639:                                              ; preds = %638, %632
  br label %640

640:                                              ; preds = %639, %627
  br label %641

641:                                              ; preds = %640, %626
  %642 = load i8, ptr %17, align 1, !tbaa !11, !range !69, !noundef !70
  %643 = trunc i8 %642 to i1
  br i1 %643, label %644, label %647

644:                                              ; preds = %641
  %645 = load ptr, ptr %12, align 8, !tbaa !5
  %646 = getelementptr inbounds %struct.ImGuiContext, ptr %645, i32 0, i32 45
  store i8 1, ptr %646, align 2, !tbaa !100
  br label %647

647:                                              ; preds = %644, %641
  br label %648

648:                                              ; preds = %647, %503
  %649 = load ptr, ptr %9, align 8, !tbaa !5
  %650 = icmp ne ptr %649, null
  br i1 %650, label %651, label %656

651:                                              ; preds = %648
  %652 = load i8, ptr %18, align 1, !tbaa !11, !range !69, !noundef !70
  %653 = trunc i8 %652 to i1
  %654 = load ptr, ptr %9, align 8, !tbaa !5
  %655 = zext i1 %653 to i8
  store i8 %655, ptr %654, align 1, !tbaa !11
  br label %656

656:                                              ; preds = %651, %648
  %657 = load ptr, ptr %10, align 8, !tbaa !5
  %658 = icmp ne ptr %657, null
  br i1 %658, label %659, label %664

659:                                              ; preds = %656
  %660 = load i8, ptr %24, align 1, !tbaa !11, !range !69, !noundef !70
  %661 = trunc i8 %660 to i1
  %662 = load ptr, ptr %10, align 8, !tbaa !5
  %663 = zext i1 %661 to i8
  store i8 %663, ptr %662, align 1, !tbaa !11
  br label %664

664:                                              ; preds = %659, %656
  %665 = load i8, ptr %17, align 1, !tbaa !11, !range !69, !noundef !70
  %666 = trunc i8 %665 to i1
  store i1 %666, ptr %6, align 1
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %667

667:                                              ; preds = %664, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  %668 = load i1, ptr %6, align 1
  ret i1 %668
}

declare void @_ZN5ImGui13ClearActiveIDEv() #6

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

declare noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef) #6

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) #6

declare noundef i32 @_ZN5ImGui25CalcTypematicRepeatAmountEffff(float noundef, float noundef, float noundef, float noundef) #6

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) #6

declare void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef, ptr noundef) #6

declare void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef, ptr noundef) #6

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef, i32 noundef) #7

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

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

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


; 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 local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [59 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i = external hidden unnamed_addr constant [86 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %7 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %8 = and i32 %4, 1024
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %18, label %9

9:                                                ; preds = %5
  %.not225 = icmp eq ptr %2, null
  br i1 %.not225, label %11, label %10

10:                                               ; preds = %9
  store i8 0, ptr %2, align 1, !tbaa !9
  br label %11

11:                                               ; preds = %10, %9
  %.not226 = icmp eq ptr %3, null
  br i1 %.not226, label %13, label %12

12:                                               ; preds = %11
  store i8 0, ptr %3, align 1, !tbaa !9
  br label %13

13:                                               ; preds = %12, %11
  %14 = getelementptr inbounds i8, ptr %6, i64 6856
  %15 = load i32, ptr %14, align 8, !tbaa !11
  %16 = icmp eq i32 %15, %1
  br i1 %16, label %17, label %297

17:                                               ; preds = %13
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %297

18:                                               ; preds = %5
  %19 = and i32 %4, 458752
  %20 = icmp eq i32 %19, 0
  %21 = or disjoint i32 %4, 65536
  %spec.select = select i1 %20, i32 %21, i32 %4
  %22 = and i32 %spec.select, 126
  %23 = icmp eq i32 %22, 0
  %24 = or disjoint i32 %spec.select, 4
  %.1 = select i1 %23, i32 %24, i32 %spec.select
  %25 = getelementptr inbounds i8, ptr %6, i64 6792
  %26 = load ptr, ptr %25, align 8, !tbaa !66
  %27 = and i32 %.1, 128
  %.not192 = icmp eq i32 %27, 0
  br i1 %.not192, label %.thread, label %28

28:                                               ; preds = %18
  %29 = getelementptr inbounds i8, ptr %6, i64 6800
  %30 = load ptr, ptr %29, align 8, !tbaa !67
  %31 = icmp eq ptr %30, %7
  br i1 %31, label %32, label %.thread

32:                                               ; preds = %28
  store ptr %7, ptr %25, align 8, !tbaa !66
  br label %.thread

.thread:                                          ; preds = %18, %32, %28
  %33 = phi i1 [ true, %32 ], [ false, %28 ], [ false, %18 ]
  %34 = tail call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %0, i32 noundef %1)
  %35 = getelementptr inbounds i8, ptr %6, i64 7980
  %36 = load i8, ptr %35, align 4, !tbaa !68, !range !69
  br i1 %34, label %37, label %.thread._crit_edge

37:                                               ; preds = %.thread
  %38 = trunc nuw i8 %36 to i1
  br i1 %38, label %39, label %.thread._crit_edge

39:                                               ; preds = %37
  %40 = getelementptr inbounds i8, ptr %6, i64 8012
  %41 = load i32, ptr %40, align 4, !tbaa !70
  %42 = icmp eq i32 %41, %1
  br i1 %42, label %43, label %.thread._crit_edge

43:                                               ; preds = %39
  %44 = getelementptr inbounds i8, ptr %6, i64 7984
  %45 = load i32, ptr %44, align 8, !tbaa !71
  %46 = and i32 %45, 2
  %.not193 = icmp ne i32 %46, 0
  br label %.thread._crit_edge

.thread._crit_edge:                               ; preds = %.thread, %43, %39, %37
  %.0171.shrunk = phi i1 [ true, %39 ], [ true, %37 ], [ %.not193, %43 ], [ false, %.thread ]
  %47 = getelementptr inbounds i8, ptr %6, i64 7980
  %48 = trunc nuw i8 %36 to i1
  %49 = and i32 %.1, 64
  %.not194 = icmp ne i32 %49, 0
  %or.cond229.not = and i1 %.not194, %48
  br i1 %or.cond229.not, label %50, label %66

50:                                               ; preds = %.thread._crit_edge
  %51 = getelementptr inbounds i8, ptr %6, i64 7984
  %52 = load i32, ptr %51, align 8, !tbaa !71
  %53 = and i32 %52, 4
  %.not195 = icmp eq i32 %53, 0
  br i1 %.not195, label %54, label %66

54:                                               ; preds = %50
  %55 = tail call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 32)
  br i1 %55, label %56, label %66

56:                                               ; preds = %54
  tail call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %1)
  %57 = getelementptr inbounds i8, ptr %6, i64 6848
  %58 = load float, ptr %57, align 8, !tbaa !72
  %59 = fadd float %58, 0x3F1A36E2E0000000
  %60 = getelementptr inbounds i8, ptr %6, i64 24
  %61 = load float, ptr %60, align 8, !tbaa !73
  %62 = fsub float %59, %61
  %63 = tail call noundef i32 @_ZN5ImGui25CalcTypematicRepeatAmountEffff(float noundef %62, float noundef %59, float noundef 0x3FE6666660000000, float noundef 0.000000e+00)
  %.not196 = icmp eq i32 %63, 0
  br i1 %.not196, label %66, label %64

64:                                               ; preds = %56
  %65 = getelementptr inbounds i8, ptr %6, i64 8104
  store i32 %1, ptr %65, align 8, !tbaa !74
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %7)
  br label %66

66:                                               ; preds = %56, %64, %54, %50, %.thread._crit_edge
  %.1172.shrunk = phi i1 [ %.0171.shrunk, %50 ], [ %.0171.shrunk, %54 ], [ %.0171.shrunk, %.thread._crit_edge ], [ true, %64 ], [ true, %56 ]
  %.1170 = phi i8 [ 0, %50 ], [ 0, %54 ], [ 0, %.thread._crit_edge ], [ 1, %64 ], [ 0, %56 ]
  br i1 %33, label %67, label %68

67:                                               ; preds = %66
  store ptr %26, ptr %25, align 8, !tbaa !66
  br label %68

68:                                               ; preds = %67, %66
  %69 = and i32 %.1, 256
  %.not197 = icmp ne i32 %69, 0
  %or.cond230.not = and i1 %.not197, %.1172.shrunk
  br i1 %or.cond230.not, label %70, label %73

70:                                               ; preds = %68
  %71 = getelementptr inbounds i8, ptr %6, i64 6844
  %72 = load i32, ptr %71, align 4, !tbaa !75
  %.not198 = icmp eq i32 %72, %1
  %.not199 = icmp eq i32 %72, 0
  %or.cond231 = or i1 %.not198, %.not199
  br i1 %or.cond231, label %74, label %182

73:                                               ; preds = %68
  br i1 %.1172.shrunk, label %74, label %182

74:                                               ; preds = %70, %73
  %75 = and i32 %.1, 4096
  %.not200 = icmp eq i32 %75, 0
  br i1 %.not200, label %88, label %76

76:                                               ; preds = %74
  %77 = getelementptr inbounds i8, ptr %6, i64 328
  %78 = load i8, ptr %77, align 8, !tbaa !76, !range !69, !noundef !77
  %79 = trunc nuw i8 %78 to i1
  br i1 %79, label %178, label %80

80:                                               ; preds = %76
  %81 = getelementptr inbounds i8, ptr %6, i64 329
  %82 = load i8, ptr %81, align 1, !tbaa !78, !range !69, !noundef !77
  %83 = trunc nuw i8 %82 to i1
  br i1 %83, label %178, label %84

84:                                               ; preds = %80
  %85 = getelementptr inbounds i8, ptr %6, i64 330
  %86 = load i8, ptr %85, align 2, !tbaa !79, !range !69, !noundef !77
  %87 = trunc nuw i8 %86 to i1
  br i1 %87, label %178, label %88

88:                                               ; preds = %84, %74
  %89 = and i32 %.1, 65536
  %.not201 = icmp eq i32 %89, 0
  br i1 %.not201, label %94, label %90

90:                                               ; preds = %88
  %91 = getelementptr inbounds i8, ptr %6, i64 1064
  %92 = load i8, ptr %91, align 8, !tbaa !9, !range !69, !noundef !77
  %93 = trunc nuw i8 %92 to i1
  br i1 %93, label %.thread251, label %94

94:                                               ; preds = %90, %88
  %95 = and i32 %.1, 131072
  %.not202 = icmp eq i32 %95, 0
  br i1 %.not202, label %100, label %96

96:                                               ; preds = %94
  %97 = getelementptr inbounds i8, ptr %6, i64 1065
  %98 = load i8, ptr %97, align 1, !tbaa !9, !range !69, !noundef !77
  %99 = trunc nuw i8 %98 to i1
  br i1 %99, label %106, label %100

100:                                              ; preds = %96, %94
  %101 = and i32 %.1, 262144
  %.not203 = icmp eq i32 %101, 0
  br i1 %.not203, label %106, label %102

102:                                              ; preds = %100
  %103 = getelementptr inbounds i8, ptr %6, i64 1066
  %104 = load i8, ptr %103, align 2, !tbaa !9, !range !69, !noundef !77
  %105 = trunc nuw i8 %104 to i1
  %not. = xor i1 %105, true
  %spec.select233 = select i1 %105, i32 2, i32 -1
  br label %106

106:                                              ; preds = %102, %96, %100
  %.not206 = phi i1 [ true, %100 ], [ false, %96 ], [ %not., %102 ]
  %.0175 = phi i32 [ -1, %100 ], [ 1, %96 ], [ %spec.select233, %102 ]
  br i1 %.not201, label %110, label %.thread251

.thread251:                                       ; preds = %90, %106
  %.0175258 = phi i32 [ %.0175, %106 ], [ 0, %90 ]
  %.not206255 = phi i1 [ %.not206, %106 ], [ false, %90 ]
  %107 = getelementptr inbounds i8, ptr %6, i64 1074
  %108 = load i8, ptr %107, align 2, !tbaa !9, !range !69, !noundef !77
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %121, label %.thread251._crit_edge

.thread251._crit_edge:                            ; preds = %.thread251
  %.pre263 = and i32 %.1, 131072
  br label %110

110:                                              ; preds = %.thread251._crit_edge, %106
  %.pre-phi = phi i32 [ %.pre263, %.thread251._crit_edge ], [ %95, %106 ]
  %.0175259 = phi i32 [ %.0175258, %.thread251._crit_edge ], [ %.0175, %106 ]
  %.not206256 = phi i1 [ %.not206255, %.thread251._crit_edge ], [ %.not206, %106 ]
  %.not204 = icmp eq i32 %.pre-phi, 0
  br i1 %.not204, label %115, label %111

111:                                              ; preds = %110
  %112 = getelementptr inbounds i8, ptr %6, i64 1075
  %113 = load i8, ptr %112, align 1, !tbaa !9, !range !69, !noundef !77
  %114 = trunc nuw i8 %113 to i1
  br i1 %114, label %121, label %115

115:                                              ; preds = %111, %110
  %116 = and i32 %.1, 262144
  %.not205 = icmp eq i32 %116, 0
  br i1 %.not205, label %121, label %117

117:                                              ; preds = %115
  %118 = getelementptr inbounds i8, ptr %6, i64 1076
  %119 = load i8, ptr %118, align 2, !tbaa !9, !range !69, !noundef !77
  %120 = trunc nuw i8 %119 to i1
  %spec.select235 = select i1 %120, i64 2, i64 4294967295
  br i1 %.not206256, label %150, label %123

121:                                              ; preds = %111, %.thread251, %115
  %.0175257 = phi i32 [ %.0175259, %115 ], [ %.0175258, %.thread251 ], [ %.0175259, %111 ]
  %.not206254 = phi i1 [ %.not206256, %115 ], [ %.not206255, %.thread251 ], [ %.not206256, %111 ]
  %122 = phi i1 [ false, %115 ], [ true, %.thread251 ], [ true, %111 ]
  %.0179 = phi i64 [ 4294967295, %115 ], [ 0, %.thread251 ], [ 1, %111 ]
  br i1 %.not206254, label %150, label %123

123:                                              ; preds = %117, %121
  %.0179261 = phi i64 [ %spec.select235, %117 ], [ %.0179, %121 ]
  %124 = phi i1 [ %120, %117 ], [ %122, %121 ]
  %.0175257260 = phi i32 [ %.0175259, %117 ], [ %.0175257, %121 ]
  %125 = getelementptr inbounds i8, ptr %6, i64 6856
  %126 = load i32, ptr %125, align 8, !tbaa !11
  %.not207 = icmp eq i32 %126, %1
  br i1 %.not207, label %150, label %127

127:                                              ; preds = %123
  %128 = and i32 %.1, 12
  %.not208 = icmp eq i32 %128, 0
  br i1 %.not208, label %134, label %129

129:                                              ; preds = %127
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  %130 = getelementptr inbounds i8, ptr %6, i64 6916
  store i32 %.0175257260, ptr %130, align 4, !tbaa !80
  %131 = and i32 %.1, 16384
  %.not209 = icmp eq i32 %131, 0
  br i1 %.not209, label %132, label %133

132:                                              ; preds = %129
  tail call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %133

133:                                              ; preds = %132, %129
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %7)
  br label %134

134:                                              ; preds = %133, %127
  %135 = and i32 %.1, 2
  %.not210 = icmp eq i32 %135, 0
  br i1 %.not210, label %136, label %144

136:                                              ; preds = %134
  %137 = and i32 %.1, 32
  %.not211 = icmp eq i32 %137, 0
  br i1 %.not211, label %150, label %138

138:                                              ; preds = %136
  %139 = getelementptr inbounds i8, ptr %6, i64 1069
  %140 = zext nneg i32 %.0175257260 to i64
  %141 = getelementptr inbounds [5 x i8], ptr %139, i64 0, i64 %140
  %142 = load i8, ptr %141, align 1, !tbaa !9, !range !69, !noundef !77
  %143 = trunc nuw i8 %142 to i1
  br i1 %143, label %144, label %150

144:                                              ; preds = %138, %134
  %145 = and i32 %.1, 8192
  %.not212 = icmp eq i32 %145, 0
  br i1 %.not212, label %147, label %146

146:                                              ; preds = %144
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %148

147:                                              ; preds = %144
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %148

148:                                              ; preds = %147, %146
  %149 = getelementptr inbounds i8, ptr %6, i64 6916
  store i32 %.0175257260, ptr %149, align 4, !tbaa !80
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %7)
  br label %150

150:                                              ; preds = %117, %136, %138, %148, %123, %121
  %.0179262 = phi i64 [ %.0179261, %148 ], [ %.0179261, %138 ], [ %.0179261, %136 ], [ %.0179261, %123 ], [ %.0179, %121 ], [ %spec.select235, %117 ]
  %151 = phi i1 [ %124, %148 ], [ %124, %138 ], [ %124, %136 ], [ %124, %123 ], [ %122, %121 ], [ %120, %117 ]
  %.2 = phi i8 [ 1, %148 ], [ %.1170, %138 ], [ %.1170, %136 ], [ %.1170, %123 ], [ %.1170, %121 ], [ %.1170, %117 ]
  %152 = and i32 %.1, 16
  %153 = icmp ne i32 %152, 0
  %or.cond = and i1 %153, %151
  %154 = and i32 %.1, 1
  br i1 %or.cond, label %155, label %._crit_edge

155:                                              ; preds = %150
  %.not213 = icmp eq i32 %154, 0
  br i1 %.not213, label %163, label %156

156:                                              ; preds = %155
  %157 = getelementptr inbounds i8, ptr %6, i64 1112
  %158 = getelementptr inbounds [5 x float], ptr %157, i64 0, i64 %.0179262
  %159 = load float, ptr %158, align 4, !tbaa !81
  %160 = getelementptr inbounds i8, ptr %6, i64 148
  %161 = load float, ptr %160, align 4, !tbaa !82
  %162 = fcmp ult float %159, %161
  br i1 %162, label %163, label %164

163:                                              ; preds = %156, %155
  br label %164

164:                                              ; preds = %163, %156
  %.3 = phi i8 [ %.2, %156 ], [ 1, %163 ]
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %._crit_edge

._crit_edge:                                      ; preds = %150, %164
  %.4 = phi i8 [ %.3, %164 ], [ %.2, %150 ]
  %165 = getelementptr inbounds i8, ptr %6, i64 6856
  %166 = load i32, ptr %165, align 8, !tbaa !11
  %167 = icmp ne i32 %166, %1
  %.not214 = icmp eq i32 %154, 0
  %or.cond236 = or i1 %.not214, %167
  br i1 %or.cond236, label %178, label %168

168:                                              ; preds = %._crit_edge
  %169 = getelementptr inbounds i8, ptr %6, i64 1092
  %170 = getelementptr inbounds i8, ptr %6, i64 6916
  %171 = load i32, ptr %170, align 4, !tbaa !80
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [5 x float], ptr %169, i64 0, i64 %172
  %174 = load float, ptr %173, align 4, !tbaa !81
  %175 = fcmp ogt float %174, 0.000000e+00
  br i1 %175, label %176, label %178

176:                                              ; preds = %168
  %177 = tail call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef %171, i1 noundef zeroext true)
  %spec.select237 = select i1 %177, i8 1, i8 %.4
  br label %178

178:                                              ; preds = %176, %._crit_edge, %168, %84, %80, %76
  %.6 = phi i8 [ %.1170, %76 ], [ %.1170, %80 ], [ %.1170, %84 ], [ %.4, %168 ], [ %.4, %._crit_edge ], [ %spec.select237, %176 ]
  %179 = trunc nuw i8 %.6 to i1
  br i1 %179, label %180, label %182

180:                                              ; preds = %178
  %181 = getelementptr inbounds i8, ptr %6, i64 7246
  store i8 1, ptr %181, align 2, !tbaa !83
  br label %182

182:                                              ; preds = %70, %178, %180, %73
  %.2173.shrunk249 = phi i1 [ true, %180 ], [ true, %178 ], [ false, %73 ], [ false, %70 ]
  %.7 = phi i8 [ %.6, %180 ], [ %.6, %178 ], [ %.1170, %73 ], [ %.1170, %70 ]
  %183 = getelementptr inbounds i8, ptr %6, i64 7168
  %184 = load i32, ptr %183, align 8, !tbaa !84
  %185 = icmp eq i32 %184, %1
  br i1 %185, label %186, label %206

186:                                              ; preds = %182
  %187 = getelementptr inbounds i8, ptr %6, i64 7246
  %188 = load i8, ptr %187, align 2, !tbaa !83, !range !69, !noundef !77
  %189 = trunc nuw i8 %188 to i1
  br i1 %189, label %206, label %190

190:                                              ; preds = %186
  %191 = getelementptr inbounds i8, ptr %6, i64 7247
  %192 = load i8, ptr %191, align 1, !tbaa !85, !range !69, !noundef !77
  %193 = trunc nuw i8 %192 to i1
  br i1 %193, label %194, label %206

194:                                              ; preds = %190
  %195 = getelementptr inbounds i8, ptr %6, i64 6856
  %196 = load i32, ptr %195, align 8, !tbaa !11
  %197 = icmp eq i32 %196, 0
  %198 = icmp eq i32 %196, %1
  %or.cond238 = or i1 %197, %198
  br i1 %or.cond238, label %204, label %199

199:                                              ; preds = %194
  %200 = getelementptr inbounds i8, ptr %7, i64 76
  %201 = load i32, ptr %200, align 4, !tbaa !86
  %202 = icmp eq i32 %196, %201
  %203 = and i32 %.1, 32768
  %.not215 = icmp eq i32 %203, 0
  %or.cond239 = and i1 %.not215, %202
  br i1 %or.cond239, label %205, label %206

204:                                              ; preds = %194
  %.old = and i32 %.1, 32768
  %.not215.old = icmp eq i32 %.old, 0
  br i1 %.not215.old, label %205, label %206

205:                                              ; preds = %199, %204
  br label %206

206:                                              ; preds = %204, %205, %199, %190, %186, %182
  %.3174.shrunk = phi i1 [ %.2173.shrunk249, %186 ], [ %.2173.shrunk249, %204 ], [ true, %205 ], [ %.2173.shrunk249, %199 ], [ %.2173.shrunk249, %190 ], [ %.2173.shrunk249, %182 ]
  %207 = getelementptr inbounds i8, ptr %6, i64 7180
  %208 = load i32, ptr %207, align 4, !tbaa !94
  %209 = icmp eq i32 %208, %1
  br i1 %209, label %210, label %224

210:                                              ; preds = %206
  %211 = getelementptr inbounds i8, ptr %6, i64 7176
  %212 = load i32, ptr %211, align 8, !tbaa !95
  %213 = icmp eq i32 %212, %1
  %214 = and i32 %.1, 1
  %.not216 = icmp eq i32 %214, 0
  %215 = select i1 %.not216, i32 1, i32 3
  %216 = tail call noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef 0, i32 noundef %215)
  %brmerge = or i1 %213, %216
  %.8 = select i1 %brmerge, i8 1, i8 %.7
  br i1 %brmerge, label %221, label %217

217:                                              ; preds = %210
  %218 = getelementptr inbounds i8, ptr %6, i64 6856
  %219 = load i32, ptr %218, align 8, !tbaa !11
  %220 = icmp eq i32 %219, %1
  br i1 %220, label %221, label %224

221:                                              ; preds = %210, %217
  store i32 %1, ptr %211, align 8, !tbaa !95
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  %222 = and i32 %.1, 16384
  %.not217 = icmp eq i32 %222, 0
  %or.cond243 = and i1 %.not217, %brmerge
  br i1 %or.cond243, label %223, label %224

223:                                              ; preds = %221
  tail call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  br label %224

224:                                              ; preds = %217, %223, %221, %206
  %.9 = phi i8 [ %.7, %206 ], [ %.8, %221 ], [ %.8, %223 ], [ %.7, %217 ]
  %225 = getelementptr inbounds i8, ptr %6, i64 6856
  %226 = load i32, ptr %225, align 8, !tbaa !11
  %227 = icmp eq i32 %226, %1
  br i1 %227, label %228, label %290

228:                                              ; preds = %224
  %229 = getelementptr inbounds i8, ptr %6, i64 6912
  %230 = load i32, ptr %229, align 8, !tbaa !96
  switch i32 %230, label %286 [
    i32 1, label %231
    i32 2, label %283
  ]

231:                                              ; preds = %228
  %232 = getelementptr inbounds i8, ptr %6, i64 6868
  %233 = load i8, ptr %232, align 4, !tbaa !97, !range !69, !noundef !77
  %234 = trunc nuw i8 %233 to i1
  br i1 %234, label %235, label %239

235:                                              ; preds = %231
  %236 = getelementptr inbounds i8, ptr %6, i64 304
  %237 = tail call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %236, ptr noundef nonnull align 4 dereferenceable(8) %0)
  %238 = getelementptr inbounds i8, ptr %6, i64 6896
  store <2 x float> %237, ptr %238, align 8
  br label %239

239:                                              ; preds = %235, %231
  %240 = getelementptr inbounds i8, ptr %6, i64 6916
  %241 = load i32, ptr %240, align 4, !tbaa !80
  %242 = icmp ult i32 %241, 5
  br i1 %242, label %244, label %243

243:                                              ; preds = %239
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 606, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i) #6
  unreachable

244:                                              ; preds = %239
  %245 = getelementptr inbounds i8, ptr %6, i64 312
  %246 = zext nneg i32 %241 to i64
  %247 = getelementptr inbounds [5 x i8], ptr %245, i64 0, i64 %246
  %248 = load i8, ptr %247, align 1, !tbaa !9, !range !69, !noundef !77
  %249 = trunc nuw i8 %248 to i1
  br i1 %249, label %279, label %250

250:                                              ; preds = %244
  %251 = and i32 %.1, 4
  %252 = icmp ne i32 %251, 0
  %253 = and i1 %252, %.3174.shrunk
  %254 = and i32 %.1, 8
  %.not219 = icmp ne i32 %254, 0
  %or.cond246.not = or i1 %.not219, %253
  br i1 %or.cond246.not, label %255, label %278

255:                                              ; preds = %250
  %256 = load i8, ptr %47, align 4, !tbaa !68, !range !69, !noundef !77
  %257 = trunc nuw i8 %256 to i1
  br i1 %257, label %278, label %258

258:                                              ; preds = %255
  %259 = and i32 %.1, 32
  %.not220 = icmp eq i32 %259, 0
  br i1 %.not220, label %265, label %260

260:                                              ; preds = %258
  %261 = getelementptr inbounds i8, ptr %6, i64 1084
  %262 = getelementptr inbounds [5 x i8], ptr %261, i64 0, i64 %246
  %263 = load i8, ptr %262, align 1, !tbaa !9, !range !69, !noundef !77
  %264 = trunc nuw i8 %263 to i1
  br label %265

265:                                              ; preds = %260, %258
  %266 = phi i1 [ false, %258 ], [ %264, %260 ]
  %267 = and i32 %.1, 1
  %.not221 = icmp eq i32 %267, 0
  br i1 %.not221, label %275, label %268

268:                                              ; preds = %265
  %269 = getelementptr inbounds i8, ptr %6, i64 1112
  %270 = getelementptr inbounds [5 x float], ptr %269, i64 0, i64 %246
  %271 = load float, ptr %270, align 4, !tbaa !81
  %272 = getelementptr inbounds i8, ptr %6, i64 148
  %273 = load float, ptr %272, align 4, !tbaa !82
  %274 = fcmp oge float %271, %273
  br label %275

275:                                              ; preds = %268, %265
  %276 = phi i1 [ false, %265 ], [ %274, %268 ]
  br i1 %266, label %278, label %277

277:                                              ; preds = %275
  %spec.select247 = select i1 %276, i8 %.9, i8 1
  br label %278

278:                                              ; preds = %277, %275, %250, %255
  %.11 = phi i8 [ %.9, %255 ], [ %.9, %250 ], [ %.9, %275 ], [ %spec.select247, %277 ]
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %279

279:                                              ; preds = %244, %278
  %.0176 = phi i8 [ 0, %278 ], [ 1, %244 ]
  %.12 = phi i8 [ %.11, %278 ], [ %.9, %244 ]
  %280 = and i32 %.1, 16384
  %.not222 = icmp eq i32 %280, 0
  br i1 %.not222, label %281, label %286

281:                                              ; preds = %279
  %282 = getelementptr inbounds i8, ptr %6, i64 7246
  store i8 1, ptr %282, align 2, !tbaa !83
  br label %286

283:                                              ; preds = %228
  %284 = load i32, ptr %207, align 4, !tbaa !94
  %.not218 = icmp eq i32 %284, %1
  br i1 %.not218, label %286, label %285

285:                                              ; preds = %283
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %286

286:                                              ; preds = %228, %279, %281, %285, %283
  %.1177 = phi i8 [ 0, %285 ], [ 0, %283 ], [ %.0176, %281 ], [ %.0176, %279 ], [ 0, %228 ]
  %.13 = phi i8 [ %.9, %285 ], [ %.9, %283 ], [ %.12, %281 ], [ %.12, %279 ], [ %.9, %228 ]
  %287 = trunc nuw i8 %.13 to i1
  br i1 %287, label %288, label %290

288:                                              ; preds = %286
  %289 = getelementptr inbounds i8, ptr %6, i64 6870
  store i8 1, ptr %289, align 2, !tbaa !98
  br label %290

290:                                              ; preds = %286, %288, %224
  %.2178 = phi i8 [ %.1177, %288 ], [ %.1177, %286 ], [ 0, %224 ]
  %.14 = phi i8 [ %.13, %288 ], [ %.13, %286 ], [ %.9, %224 ]
  %.not223 = icmp eq ptr %2, null
  br i1 %.not223, label %293, label %291

291:                                              ; preds = %290
  %292 = zext i1 %.3174.shrunk to i8
  store i8 %292, ptr %2, align 1, !tbaa !9
  br label %293

293:                                              ; preds = %291, %290
  %.not224 = icmp eq ptr %3, null
  br i1 %.not224, label %295, label %294

294:                                              ; preds = %293
  store i8 %.2178, ptr %3, align 1, !tbaa !9
  br label %295

295:                                              ; preds = %294, %293
  %296 = trunc nuw i8 %.14 to i1
  br label %297

297:                                              ; preds = %13, %17, %295
  %.0 = phi i1 [ %296, %295 ], [ false, %17 ], [ false, %13 ]
  ret i1 %.0
}

declare void @_ZN5ImGui13ClearActiveIDEv() local_unnamed_addr #4

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

declare noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) local_unnamed_addr #4

declare noundef i32 @_ZN5ImGui25CalcTypematicRepeatAmountEffff(float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #4

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) local_unnamed_addr #4

declare void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef, ptr noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef, i32 noundef) local_unnamed_addr #5

attributes #0 = { 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 #1 = { noreturn nounwind "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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { "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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noreturn nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass