; LLVM IR from vertver/Fresponze-old :: modules/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], 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, i8, float, float, [48 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImVector.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, ptr, ptr, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImDrawCmd, %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.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, 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 [87 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 i8, align 1
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca i32, align 4
  %28 = alloca i8, align 1
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  %31 = 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
  %32 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %32, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %33 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %33, ptr %13, align 8, !tbaa !5
  %34 = load i32, ptr %11, align 4, !tbaa !9
  %35 = and i32 %34, 1024
  %36 = icmp ne i32 %35, 0
  br i1 %36, label %37, label %55

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

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

42:                                               ; preds = %40, %37
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %47

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

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

53:                                               ; preds = %47
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %54

54:                                               ; preds = %53, %47
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %673

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

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

62:                                               ; preds = %59, %55
  %63 = load i32, ptr %11, align 4, !tbaa !9
  %64 = and i32 %63, 126
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %69

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

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

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

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

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

91:                                               ; preds = %87, %82
  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
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = load i32, ptr %8, align 4, !tbaa !9
  %94 = call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %92, i32 noundef %93)
  %95 = zext i1 %94 to i8
  store i8 %95, ptr %18, align 1, !tbaa !11
  %96 = load i8, ptr %18, align 1, !tbaa !11, !range !70, !noundef !71
  %97 = trunc i8 %96 to i1
  br i1 %97, label %98, label %117

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

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

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

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

117:                                              ; preds = %116, %110, %103, %98, %91
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiContext, ptr %118, i32 0, i32 137
  %120 = load i8, ptr %119, align 4, !tbaa !72, !range !70, !noundef !71
  %121 = trunc i8 %120 to i1
  br i1 %121, label %122, label %158

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

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

132:                                              ; preds = %126
  %133 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 32)
  br i1 %133, label %134, label %157

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

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

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

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

158:                                              ; preds = %157, %126, %122, %117
  %159 = load i8, ptr %16, align 1, !tbaa !11, !range !70, !noundef !71
  %160 = trunc i8 %159 to i1
  br i1 %160, label %161, label %165

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

165:                                              ; preds = %161, %158
  %166 = load i8, ptr %18, align 1, !tbaa !11, !range !70, !noundef !71
  %167 = trunc i8 %166 to i1
  br i1 %167, label %168, label %184

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

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

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

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

184:                                              ; preds = %183, %178, %172, %168, %165
  %185 = load i8, ptr %18, align 1, !tbaa !11, !range !70, !noundef !71
  %186 = trunc i8 %185 to i1
  br i1 %186, label %187, label %410

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

191:                                              ; preds = %187
  %192 = load ptr, ptr %12, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.ImGuiContext, ptr %192, i32 0, i32 3
  %194 = getelementptr inbounds %struct.ImGuiIO, ptr %193, i32 0, i32 40
  %195 = load i8, ptr %194, align 8, !tbaa !80, !range !70, !noundef !71
  %196 = trunc i8 %195 to i1
  br i1 %196, label %403, label %197

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

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

209:                                              ; preds = %203, %187
  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
  %210 = load i32, ptr %11, align 4, !tbaa !9
  %211 = and i32 %210, 65536
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %221

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

220:                                              ; preds = %213
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %247

221:                                              ; preds = %213, %209
  %222 = load i32, ptr %11, align 4, !tbaa !9
  %223 = and i32 %222, 131072
  %224 = icmp ne i32 %223, 0
  br i1 %224, label %225, label %233

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

232:                                              ; preds = %225
  store i32 1, ptr %20, align 4, !tbaa !9
  br label %246

233:                                              ; preds = %225, %221
  %234 = load i32, ptr %11, align 4, !tbaa !9
  %235 = and i32 %234, 262144
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %245

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

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

245:                                              ; preds = %244, %237, %233
  br label %246

246:                                              ; preds = %245, %232
  br label %247

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

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

258:                                              ; preds = %251
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %285

259:                                              ; preds = %251, %247
  %260 = load i32, ptr %11, align 4, !tbaa !9
  %261 = and i32 %260, 131072
  %262 = icmp ne i32 %261, 0
  br i1 %262, label %263, label %271

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

270:                                              ; preds = %263
  store i32 1, ptr %21, align 4, !tbaa !9
  br label %284

271:                                              ; preds = %263, %259
  %272 = load i32, ptr %11, align 4, !tbaa !9
  %273 = and i32 %272, 262144
  %274 = icmp ne i32 %273, 0
  br i1 %274, label %275, label %283

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

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

283:                                              ; preds = %282, %275, %271
  br label %284

284:                                              ; preds = %283, %270
  br label %285

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

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

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

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

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

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

312:                                              ; preds = %310, %294
  %313 = load i32, ptr %11, align 4, !tbaa !9
  %314 = and i32 %313, 2
  %315 = icmp ne i32 %314, 0
  br i1 %315, label %329, label %316

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

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

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

333:                                              ; preds = %329
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %337

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

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

342:                                              ; preds = %337, %320, %316
  br label %343

343:                                              ; preds = %342, %288, %285
  %344 = load i32, ptr %11, align 4, !tbaa !9
  %345 = and i32 %344, 16
  %346 = icmp ne i32 %345, 0
  br i1 %346, label %347, label %374

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

350:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  %351 = load i32, ptr %11, align 4, !tbaa !9
  %352 = and i32 %351, 1
  %353 = icmp ne i32 %352, 0
  br i1 %353, label %354, label %367

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

367:                                              ; preds = %354, %350
  %368 = phi i1 [ false, %350 ], [ %366, %354 ]
  %369 = zext i1 %368 to i8
  store i8 %369, ptr %22, align 1, !tbaa !11
  %370 = load i8, ptr %22, align 1, !tbaa !11, !range !70, !noundef !71
  %371 = trunc i8 %370 to i1
  br i1 %371, label %373, label %372

372:                                              ; preds = %367
  store i8 1, ptr %17, align 1, !tbaa !11
  br label %373

373:                                              ; preds = %372, %367
  call void @_ZN5ImGui13ClearActiveIDEv()
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  br label %374

374:                                              ; preds = %373, %347, %343
  %375 = load ptr, ptr %12, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.ImGuiContext, ptr %375, i32 0, i32 40
  %377 = load i32, ptr %376, align 8, !tbaa !13
  %378 = load i32, ptr %8, align 4, !tbaa !9
  %379 = icmp eq i32 %377, %378
  br i1 %379, label %380, label %402

380:                                              ; preds = %374
  %381 = load i32, ptr %11, align 4, !tbaa !9
  %382 = and i32 %381, 1
  %383 = icmp ne i32 %382, 0
  br i1 %383, label %384, label %402

384:                                              ; preds = %380
  %385 = load ptr, ptr %12, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.ImGuiContext, ptr %385, i32 0, i32 3
  %387 = getelementptr inbounds %struct.ImGuiIO, ptr %386, i32 0, i32 69
  %388 = load ptr, ptr %12, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.ImGuiContext, ptr %388, i32 0, i32 56
  %390 = load i32, ptr %389, align 4, !tbaa !83
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds [5 x float], ptr %387, i64 0, i64 %391
  %393 = load float, ptr %392, align 4, !tbaa !75
  %394 = fcmp ogt float %393, 0.000000e+00
  br i1 %394, label %395, label %401

395:                                              ; preds = %384
  %396 = load ptr, ptr %12, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.ImGuiContext, ptr %396, i32 0, i32 56
  %398 = load i32, ptr %397, align 4, !tbaa !83
  %399 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef %398, i1 noundef zeroext true)
  br i1 %399, label %400, label %401

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

401:                                              ; preds = %400, %395, %384
  br label %402

402:                                              ; preds = %401, %380, %374
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %403

403:                                              ; preds = %402, %203, %197, %191
  %404 = load i8, ptr %17, align 1, !tbaa !11, !range !70, !noundef !71
  %405 = trunc i8 %404 to i1
  br i1 %405, label %406, label %409

406:                                              ; preds = %403
  %407 = load ptr, ptr %12, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.ImGuiContext, ptr %407, i32 0, i32 91
  store i8 1, ptr %408, align 2, !tbaa !85
  br label %409

409:                                              ; preds = %406, %403
  br label %410

410:                                              ; preds = %409, %184
  %411 = load ptr, ptr %12, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.ImGuiContext, ptr %411, i32 0, i32 73
  %413 = load i32, ptr %412, align 8, !tbaa !86
  %414 = load i32, ptr %8, align 4, !tbaa !9
  %415 = icmp eq i32 %413, %414
  br i1 %415, label %416, label %451

416:                                              ; preds = %410
  %417 = load ptr, ptr %12, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.ImGuiContext, ptr %417, i32 0, i32 91
  %419 = load i8, ptr %418, align 2, !tbaa !85, !range !70, !noundef !71
  %420 = trunc i8 %419 to i1
  br i1 %420, label %451, label %421

421:                                              ; preds = %416
  %422 = load ptr, ptr %12, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.ImGuiContext, ptr %422, i32 0, i32 92
  %424 = load i8, ptr %423, align 1, !tbaa !87, !range !70, !noundef !71
  %425 = trunc i8 %424 to i1
  br i1 %425, label %426, label %451

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

431:                                              ; preds = %426
  %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 i32, ptr %8, align 4, !tbaa !9
  %436 = icmp eq i32 %434, %435
  br i1 %436, label %445, label %437

437:                                              ; preds = %431
  %438 = load ptr, ptr %12, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.ImGuiContext, ptr %438, i32 0, i32 40
  %440 = load i32, ptr %439, align 8, !tbaa !13
  %441 = load ptr, ptr %13, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.ImGuiWindow, ptr %441, i32 0, i32 12
  %443 = load i32, ptr %442, align 4, !tbaa !88
  %444 = icmp eq i32 %440, %443
  br i1 %444, label %445, label %451

445:                                              ; preds = %437, %431, %426
  %446 = load i32, ptr %11, align 4, !tbaa !9
  %447 = and i32 %446, 32768
  %448 = icmp ne i32 %447, 0
  br i1 %448, label %450, label %449

449:                                              ; preds = %445
  store i8 1, ptr %18, align 1, !tbaa !11
  br label %450

450:                                              ; preds = %449, %445
  br label %451

451:                                              ; preds = %450, %437, %421, %416, %410
  %452 = load ptr, ptr %12, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.ImGuiContext, ptr %452, i32 0, i32 76
  %454 = load i32, ptr %453, align 4, !tbaa !96
  %455 = load i32, ptr %8, align 4, !tbaa !9
  %456 = icmp eq i32 %454, %455
  br i1 %456, label %457, label %509

457:                                              ; preds = %451
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #8
  %458 = load ptr, ptr %12, align 8, !tbaa !5
  %459 = getelementptr inbounds %struct.ImGuiContext, ptr %458, i32 0, i32 75
  %460 = load i32, ptr %459, align 8, !tbaa !97
  %461 = load i32, ptr %8, align 4, !tbaa !9
  %462 = icmp eq i32 %460, %461
  %463 = zext i1 %462 to i8
  store i8 %463, ptr %23, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  %464 = load i32, ptr %11, align 4, !tbaa !9
  %465 = and i32 %464, 1
  %466 = icmp ne i32 %465, 0
  %467 = zext i1 %466 to i64
  %468 = select i1 %466, i32 3, i32 1
  %469 = call noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef 0, i32 noundef %468)
  %470 = zext i1 %469 to i8
  store i8 %470, ptr %24, align 1, !tbaa !11
  %471 = load i8, ptr %23, align 1, !tbaa !11, !range !70, !noundef !71
  %472 = trunc i8 %471 to i1
  br i1 %472, label %476, label %473

473:                                              ; preds = %457
  %474 = load i8, ptr %24, align 1, !tbaa !11, !range !70, !noundef !71
  %475 = trunc i8 %474 to i1
  br i1 %475, label %476, label %477

476:                                              ; preds = %473, %457
  store i8 1, ptr %17, align 1, !tbaa !11
  br label %477

477:                                              ; preds = %476, %473
  %478 = load i8, ptr %23, align 1, !tbaa !11, !range !70, !noundef !71
  %479 = trunc i8 %478 to i1
  br i1 %479, label %489, label %480

480:                                              ; preds = %477
  %481 = load i8, ptr %24, align 1, !tbaa !11, !range !70, !noundef !71
  %482 = trunc i8 %481 to i1
  br i1 %482, label %489, label %483

483:                                              ; preds = %480
  %484 = load ptr, ptr %12, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.ImGuiContext, ptr %484, i32 0, i32 40
  %486 = load i32, ptr %485, align 8, !tbaa !13
  %487 = load i32, ptr %8, align 4, !tbaa !9
  %488 = icmp eq i32 %486, %487
  br i1 %488, label %489, label %508

489:                                              ; preds = %483, %480, %477
  %490 = load i32, ptr %8, align 4, !tbaa !9
  %491 = load ptr, ptr %12, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.ImGuiContext, ptr %491, i32 0, i32 75
  store i32 %490, ptr %492, align 8, !tbaa !97
  %493 = load i32, ptr %8, align 4, !tbaa !9
  %494 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %493, ptr noundef %494)
  %495 = load i8, ptr %23, align 1, !tbaa !11, !range !70, !noundef !71
  %496 = trunc i8 %495 to i1
  br i1 %496, label %500, label %497

497:                                              ; preds = %489
  %498 = load i8, ptr %24, align 1, !tbaa !11, !range !70, !noundef !71
  %499 = trunc i8 %498 to i1
  br i1 %499, label %500, label %507

500:                                              ; preds = %497, %489
  %501 = load i32, ptr %11, align 4, !tbaa !9
  %502 = and i32 %501, 16384
  %503 = icmp ne i32 %502, 0
  br i1 %503, label %507, label %504

504:                                              ; preds = %500
  %505 = load i32, ptr %8, align 4, !tbaa !9
  %506 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %505, ptr noundef %506)
  br label %507

507:                                              ; preds = %504, %500, %497
  br label %508

508:                                              ; preds = %507, %483
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  br label %509

509:                                              ; preds = %508, %451
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  store i8 0, ptr %25, align 1, !tbaa !11
  %510 = load ptr, ptr %12, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.ImGuiContext, ptr %510, i32 0, i32 40
  %512 = load i32, ptr %511, align 8, !tbaa !13
  %513 = load i32, ptr %8, align 4, !tbaa !9
  %514 = icmp eq i32 %512, %513
  br i1 %514, label %515, label %654

515:                                              ; preds = %509
  %516 = load ptr, ptr %12, align 8, !tbaa !5
  %517 = getelementptr inbounds %struct.ImGuiContext, ptr %516, i32 0, i32 55
  %518 = load i32, ptr %517, align 8, !tbaa !98
  %519 = icmp eq i32 %518, 1
  br i1 %519, label %520, label %633

520:                                              ; preds = %515
  %521 = load ptr, ptr %12, align 8, !tbaa !5
  %522 = getelementptr inbounds %struct.ImGuiContext, ptr %521, i32 0, i32 43
  %523 = load i8, ptr %522, align 4, !tbaa !99, !range !70, !noundef !71
  %524 = trunc i8 %523 to i1
  br i1 %524, label %525, label %534

525:                                              ; preds = %520
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %526 = load ptr, ptr %12, align 8, !tbaa !5
  %527 = getelementptr inbounds %struct.ImGuiContext, ptr %526, i32 0, i32 3
  %528 = getelementptr inbounds %struct.ImGuiIO, ptr %527, i32 0, i32 36
  %529 = load ptr, ptr %7, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.ImRect, ptr %529, i32 0, i32 0
  %531 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %528, ptr noundef nonnull align 4 dereferenceable(8) %530)
  store <2 x float> %531, ptr %26, align 4
  %532 = load ptr, ptr %12, align 8, !tbaa !5
  %533 = getelementptr inbounds %struct.ImGuiContext, ptr %532, i32 0, i32 53
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %533, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !100
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %534

534:                                              ; preds = %525, %520
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  %535 = load ptr, ptr %12, align 8, !tbaa !5
  %536 = getelementptr inbounds %struct.ImGuiContext, ptr %535, i32 0, i32 56
  %537 = load i32, ptr %536, align 4, !tbaa !83
  store i32 %537, ptr %27, align 4, !tbaa !9
  %538 = load i32, ptr %27, align 4, !tbaa !9
  %539 = icmp sge i32 %538, 0
  br i1 %539, label %540, label %543

540:                                              ; preds = %534
  %541 = load i32, ptr %27, align 4, !tbaa !9
  %542 = icmp slt i32 %541, 5
  br label %543

543:                                              ; preds = %540, %534
  %544 = phi i1 [ false, %534 ], [ %542, %540 ]
  br i1 %544, label %545, label %546

545:                                              ; preds = %543
  br label %548

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

547:                                              ; No predecessors!
  br label %548

548:                                              ; preds = %547, %545
  %549 = load ptr, ptr %12, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.ImGuiContext, ptr %549, i32 0, i32 3
  %551 = getelementptr inbounds %struct.ImGuiIO, ptr %550, i32 0, i32 37
  %552 = load i32, ptr %27, align 4, !tbaa !9
  %553 = sext i32 %552 to i64
  %554 = getelementptr inbounds [5 x i8], ptr %551, i64 0, i64 %553
  %555 = load i8, ptr %554, align 1, !tbaa !11, !range !70, !noundef !71
  %556 = trunc i8 %555 to i1
  br i1 %556, label %557, label %558

557:                                              ; preds = %548
  store i8 1, ptr %25, align 1, !tbaa !11
  br label %625

558:                                              ; preds = %548
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  %559 = load i8, ptr %18, align 1, !tbaa !11, !range !70, !noundef !71
  %560 = trunc i8 %559 to i1
  br i1 %560, label %561, label %565

561:                                              ; preds = %558
  %562 = load i32, ptr %11, align 4, !tbaa !9
  %563 = and i32 %562, 4
  %564 = icmp ne i32 %563, 0
  br label %565

565:                                              ; preds = %561, %558
  %566 = phi i1 [ false, %558 ], [ %564, %561 ]
  %567 = zext i1 %566 to i8
  store i8 %567, ptr %28, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  %568 = load i32, ptr %11, align 4, !tbaa !9
  %569 = and i32 %568, 8
  %570 = icmp ne i32 %569, 0
  %571 = zext i1 %570 to i8
  store i8 %571, ptr %29, align 1, !tbaa !11
  %572 = load i8, ptr %28, align 1, !tbaa !11, !range !70, !noundef !71
  %573 = trunc i8 %572 to i1
  br i1 %573, label %577, label %574

574:                                              ; preds = %565
  %575 = load i8, ptr %29, align 1, !tbaa !11, !range !70, !noundef !71
  %576 = trunc i8 %575 to i1
  br i1 %576, label %577, label %624

577:                                              ; preds = %574, %565
  %578 = load ptr, ptr %12, align 8, !tbaa !5
  %579 = getelementptr inbounds %struct.ImGuiContext, ptr %578, i32 0, i32 137
  %580 = load i8, ptr %579, align 4, !tbaa !72, !range !70, !noundef !71
  %581 = trunc i8 %580 to i1
  br i1 %581, label %624, label %582

582:                                              ; preds = %577
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  %583 = load i32, ptr %11, align 4, !tbaa !9
  %584 = and i32 %583, 32
  %585 = icmp ne i32 %584, 0
  br i1 %585, label %586, label %595

586:                                              ; preds = %582
  %587 = load ptr, ptr %12, align 8, !tbaa !5
  %588 = getelementptr inbounds %struct.ImGuiContext, ptr %587, i32 0, i32 3
  %589 = getelementptr inbounds %struct.ImGuiIO, ptr %588, i32 0, i32 68
  %590 = load i32, ptr %27, align 4, !tbaa !9
  %591 = sext i32 %590 to i64
  %592 = getelementptr inbounds [5 x i8], ptr %589, i64 0, i64 %591
  %593 = load i8, ptr %592, align 1, !tbaa !11, !range !70, !noundef !71
  %594 = trunc i8 %593 to i1
  br label %595

595:                                              ; preds = %586, %582
  %596 = phi i1 [ false, %582 ], [ %594, %586 ]
  %597 = zext i1 %596 to i8
  store i8 %597, ptr %30, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  %598 = load i32, ptr %11, align 4, !tbaa !9
  %599 = and i32 %598, 1
  %600 = icmp ne i32 %599, 0
  br i1 %600, label %601, label %614

601:                                              ; preds = %595
  %602 = load ptr, ptr %12, align 8, !tbaa !5
  %603 = getelementptr inbounds %struct.ImGuiContext, ptr %602, i32 0, i32 3
  %604 = getelementptr inbounds %struct.ImGuiIO, ptr %603, i32 0, i32 70
  %605 = load i32, ptr %27, align 4, !tbaa !9
  %606 = sext i32 %605 to i64
  %607 = getelementptr inbounds [5 x float], ptr %604, i64 0, i64 %606
  %608 = load float, ptr %607, align 4, !tbaa !75
  %609 = load ptr, ptr %12, align 8, !tbaa !5
  %610 = getelementptr inbounds %struct.ImGuiContext, ptr %609, i32 0, i32 3
  %611 = getelementptr inbounds %struct.ImGuiIO, ptr %610, i32 0, i32 11
  %612 = load float, ptr %611, align 4, !tbaa !84
  %613 = fcmp oge float %608, %612
  br label %614

614:                                              ; preds = %601, %595
  %615 = phi i1 [ false, %595 ], [ %613, %601 ]
  %616 = zext i1 %615 to i8
  store i8 %616, ptr %31, align 1, !tbaa !11
  %617 = load i8, ptr %30, align 1, !tbaa !11, !range !70, !noundef !71
  %618 = trunc i8 %617 to i1
  br i1 %618, label %623, label %619

619:                                              ; preds = %614
  %620 = load i8, ptr %31, align 1, !tbaa !11, !range !70, !noundef !71
  %621 = trunc i8 %620 to i1
  br i1 %621, label %623, label %622

622:                                              ; preds = %619
  store i8 1, ptr %17, align 1, !tbaa !11
  br label %623

623:                                              ; preds = %622, %619, %614
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  br label %624

624:                                              ; preds = %623, %577, %574
  call void @_ZN5ImGui13ClearActiveIDEv()
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  br label %625

625:                                              ; preds = %624, %557
  %626 = load i32, ptr %11, align 4, !tbaa !9
  %627 = and i32 %626, 16384
  %628 = icmp ne i32 %627, 0
  br i1 %628, label %632, label %629

629:                                              ; preds = %625
  %630 = load ptr, ptr %12, align 8, !tbaa !5
  %631 = getelementptr inbounds %struct.ImGuiContext, ptr %630, i32 0, i32 91
  store i8 1, ptr %631, align 2, !tbaa !85
  br label %632

632:                                              ; preds = %629, %625
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %647

633:                                              ; preds = %515
  %634 = load ptr, ptr %12, align 8, !tbaa !5
  %635 = getelementptr inbounds %struct.ImGuiContext, ptr %634, i32 0, i32 55
  %636 = load i32, ptr %635, align 8, !tbaa !98
  %637 = icmp eq i32 %636, 2
  br i1 %637, label %638, label %646

638:                                              ; preds = %633
  %639 = load ptr, ptr %12, align 8, !tbaa !5
  %640 = getelementptr inbounds %struct.ImGuiContext, ptr %639, i32 0, i32 76
  %641 = load i32, ptr %640, align 4, !tbaa !96
  %642 = load i32, ptr %8, align 4, !tbaa !9
  %643 = icmp ne i32 %641, %642
  br i1 %643, label %644, label %645

644:                                              ; preds = %638
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %645

645:                                              ; preds = %644, %638
  br label %646

646:                                              ; preds = %645, %633
  br label %647

647:                                              ; preds = %646, %632
  %648 = load i8, ptr %17, align 1, !tbaa !11, !range !70, !noundef !71
  %649 = trunc i8 %648 to i1
  br i1 %649, label %650, label %653

650:                                              ; preds = %647
  %651 = load ptr, ptr %12, align 8, !tbaa !5
  %652 = getelementptr inbounds %struct.ImGuiContext, ptr %651, i32 0, i32 45
  store i8 1, ptr %652, align 2, !tbaa !101
  br label %653

653:                                              ; preds = %650, %647
  br label %654

654:                                              ; preds = %653, %509
  %655 = load ptr, ptr %9, align 8, !tbaa !5
  %656 = icmp ne ptr %655, null
  br i1 %656, label %657, label %662

657:                                              ; preds = %654
  %658 = load i8, ptr %18, align 1, !tbaa !11, !range !70, !noundef !71
  %659 = trunc i8 %658 to i1
  %660 = load ptr, ptr %9, align 8, !tbaa !5
  %661 = zext i1 %659 to i8
  store i8 %661, ptr %660, align 1, !tbaa !11
  br label %662

662:                                              ; preds = %657, %654
  %663 = load ptr, ptr %10, align 8, !tbaa !5
  %664 = icmp ne ptr %663, null
  br i1 %664, label %665, label %670

665:                                              ; preds = %662
  %666 = load i8, ptr %25, align 1, !tbaa !11, !range !70, !noundef !71
  %667 = trunc i8 %666 to i1
  %668 = load ptr, ptr %10, align 8, !tbaa !5
  %669 = zext i1 %667 to i8
  store i8 %669, ptr %668, align 1, !tbaa !11
  br label %670

670:                                              ; preds = %665, %662
  %671 = load i8, ptr %17, align 1, !tbaa !11, !range !70, !noundef !71
  %672 = trunc i8 %671 to i1
  store i1 %672, ptr %6, align 1
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #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 %673

673:                                              ; preds = %670, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  %674 = load i1, ptr %6, align 1
  ret i1 %674
}

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 6864}
!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 6664, !10, i64 6672, !10, i64 6676, !10, i64 6680, !12, i64 6684, !12, i64 6685, !12, i64 6686, !12, i64 6687, !10, i64 6688, !6, i64 6696, !24, i64 6704, !24, i64 6720, !24, i64 6736, !24, i64 6752, !25, i64 6768, !10, i64 6784, !6, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !16, i64 6832, !17, i64 6840, !10, i64 6844, !12, i64 6848, !10, i64 6852, !17, i64 6856, !17, i64 6860, !10, i64 6864, !10, i64 6868, !17, i64 6872, !12, i64 6876, !12, i64 6877, !12, i64 6878, !12, i64 6879, !12, i64 6880, !10, i64 6884, !10, i64 6888, !27, i64 6896, !16, i64 6904, !6, i64 6912, !28, i64 6920, !10, i64 6924, !10, i64 6928, !12, i64 6932, !12, i64 6933, !6, i64 6936, !10, i64 6944, !17, i64 6948, !29, i64 6952, !31, i64 7064, !32, i64 7088, !33, i64 7104, !34, i64 7120, !35, i64 7136, !35, i64 7152, !6, i64 7168, !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, !10, i64 7212, !10, i64 7216, !28, i64 7220, !30, i64 7224, !10, i64 7240, !36, i64 7244, !10, i64 7248, !12, i64 7252, !12, i64 7253, !12, i64 7254, !12, i64 7255, !12, i64 7256, !12, i64 7257, !12, i64 7258, !10, i64 7260, !30, i64 7264, !12, i64 7280, !12, i64 7281, !10, i64 7284, !37, i64 7288, !10, i64 7292, !10, i64 7296, !10, i64 7300, !10, i64 7304, !38, i64 7312, !38, i64 7360, !38, i64 7408, !6, i64 7456, !10, i64 7464, !6, i64 7472, !6, i64 7480, !6, i64 7488, !17, i64 7496, !17, i64 7500, !12, i64 7504, !6, i64 7512, !6, i64 7520, !10, i64 7528, !10, i64 7532, !10, i64 7536, !10, i64 7540, !12, i64 7544, !39, i64 7552, !40, i64 7608, !17, i64 7640, !41, i64 7648, !41, i64 7872, !10, i64 8096, !12, i64 8100, !12, i64 8101, !12, i64 8102, !10, i64 8104, !10, i64 8108, !10, i64 8112, !50, i64 8120, !30, i64 8184, !10, i64 8200, !10, i64 8204, !17, i64 8208, !10, i64 8212, !10, i64 8216, !10, i64 8220, !10, i64 8224, !51, i64 8232, !7, i64 8248, !6, i64 8264, !52, i64 8272, !54, i64 8312, !55, i64 8328, !16, i64 8344, !56, i64 8352, !60, i64 12080, !10, i64 12200, !10, i64 12204, !17, i64 12208, !17, i64 12212, !7, i64 12216, !22, i64 12228, !12, i64 12244, !17, i64 12248, !17, i64 12252, !17, i64 12256, !10, i64 12260, !57, i64 12264, !63, i64 12280, !16, i64 12296, !16, i64 12304, !12, i64 12312, !17, i64 12316, !64, i64 12320, !65, i64 12336, !66, i64 12352, !12, i64 12368, !67, i64 12372, !6, i64 12376, !64, i64 12384, !17, i64 12400, !12, i64 12404, !10, i64 12408, !10, i64 12412, !10, i64 12416, !12, i64 12420, !10, i64 12424, !7, i64 12428, !10, i64 12908, !17, i64 12912, !10, i64 12916, !10, i64 12920, !10, i64 12924, !7, i64 12928}
!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, !17, i64 5448, !18, i64 5452, !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, !12, i64 174, !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, !6, i64 208}
!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, !6, i64 80, !6, i64 88, !44, i64 96, !45, i64 112, !46, i64 128, !47, i64 144, !48, i64 200}
!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 = !{!"_ZTS9ImDrawCmd", !22, i64 0, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !6, i64 48}
!48 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !49, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_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}
!51 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !53, i64 0, !25, i64 16, !10, i64 32}
!53 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !19, i64 16, !57, i64 32, !57, i64 48, !12, i64 64, !10, i64 68, !17, i64 72, !58, i64 76, !17, i64 3696, !12, i64 3700, !12, i64 3701, !10, i64 3704, !6, i64 3712, !6, i64 3720}
!57 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_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, !59, i64 24}
!59 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !10, i64 3588, !10, i64 3592}
!60 = !{!"_ZTS6ImFont", !61, i64 0, !17, i64 16, !17, i64 20, !19, i64 24, !62, 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}
!61 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS15ImGuiTextBuffer", !57, i64 0}
!65 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !57, i64 0}
!67 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!68 = !{!14, !6, i64 6800}
!69 = !{!14, !6, i64 6808}
!70 = !{i8 0, i8 2}
!71 = !{}
!72 = !{!14, !12, i64 8100}
!73 = !{!14, !10, i64 8132}
!74 = !{!14, !10, i64 8104}
!75 = !{!17, !17, i64 0}
!76 = !{!14, !17, i64 6856}
!77 = !{!14, !17, i64 24}
!78 = !{!14, !10, i64 8224}
!79 = !{!14, !10, i64 6852}
!80 = !{!14, !12, i64 328}
!81 = !{!14, !12, i64 329}
!82 = !{!14, !12, i64 330}
!83 = !{!14, !10, i64 6924}
!84 = !{!14, !17, i64 148}
!85 = !{!14, !12, i64 7254}
!86 = !{!14, !10, i64 7176}
!87 = !{!14, !12, i64 7255}
!88 = !{!89, !10, i64 76}
!89 = !{!"_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, !63, i64 192, !90, 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, !95, i64 664, !17, i64 680, !10, i64 684, !6, i64 688, !41, i64 696, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !12, i64 1000, !10, i64 1004, !10, i64 1008}
!90 = !{!"_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, !91, i64 56, !91, i64 60, !91, 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, !92, 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, !93, i64 248, !61, i64 264, !61, i64 280, !94, i64 296, !7, i64 312}
!91 = !{!"_ZTS6ImVec1", !17, i64 0}
!92 = !{!"_ZTS16ImGuiMenuColumns", !17, i64 0, !17, i64 4, !17, i64 8, !7, i64 12, !7, i64 24}
!93 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!94 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!95 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!96 = !{!14, !10, i64 7188}
!97 = !{!14, !10, i64 7184}
!98 = !{!14, !28, i64 6920}
!99 = !{!14, !12, i64 6876}
!100 = !{i64 0, i64 4, !75, i64 4, i64 4, !75}
!101 = !{!14, !12, i64 6878}


; 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 [87 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
  %.not226 = icmp eq ptr %2, null
  br i1 %.not226, label %11, label %10

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

11:                                               ; preds = %10, %9
  %.not227 = icmp eq ptr %3, null
  br i1 %.not227, 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 6864
  %15 = load i32, ptr %14, align 8, !tbaa !11
  %16 = icmp eq i32 %15, %1
  br i1 %16, label %17, label %296

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

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 6800
  %26 = load ptr, ptr %25, align 8, !tbaa !67
  %27 = and i32 %.1, 128
  %.not193 = icmp eq i32 %27, 0
  br i1 %.not193, label %.thread, label %28

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

32:                                               ; preds = %28
  store ptr %7, ptr %25, align 8, !tbaa !67
  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 8100
  %36 = load i8, ptr %35, align 4, !tbaa !69, !range !70
  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 8132
  %41 = load i32, ptr %40, align 4, !tbaa !71
  %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 8104
  %45 = load i32, ptr %44, align 8, !tbaa !72
  %46 = and i32 %45, 2
  %.not194 = icmp ne i32 %46, 0
  br label %.thread._crit_edge

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

50:                                               ; preds = %.thread._crit_edge
  %51 = getelementptr inbounds i8, ptr %6, i64 8104
  %52 = load i32, ptr %51, align 8, !tbaa !72
  %53 = and i32 %52, 4
  %.not196 = icmp eq i32 %53, 0
  br i1 %.not196, 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 6856
  %58 = load float, ptr %57, align 8, !tbaa !73
  %59 = fadd float %58, 0x3F1A36E2E0000000
  %60 = getelementptr inbounds i8, ptr %6, i64 24
  %61 = load float, ptr %60, align 8, !tbaa !74
  %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)
  %.not197 = icmp eq i32 %63, 0
  br i1 %.not197, label %66, label %64

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

66:                                               ; preds = %56, %64, %54, %50, %.thread._crit_edge
  %.1173.shrunk = phi i1 [ %.0172.shrunk, %50 ], [ %.0172.shrunk, %54 ], [ %.0172.shrunk, %.thread._crit_edge ], [ true, %64 ], [ true, %56 ]
  %.1171 = 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 !67
  br label %68

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

70:                                               ; preds = %68
  %71 = getelementptr inbounds i8, ptr %6, i64 6852
  %72 = load i32, ptr %71, align 4, !tbaa !76
  %.not199 = icmp eq i32 %72, %1
  %.not200 = icmp eq i32 %72, 0
  %or.cond232 = or i1 %.not199, %.not200
  br i1 %or.cond232, label %74, label %181

73:                                               ; preds = %68
  br i1 %.1173.shrunk, label %74, label %181

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

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

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

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

88:                                               ; preds = %84, %74
  %89 = and i32 %.1, 65536
  %.not202 = icmp eq i32 %89, 0
  br i1 %.not202, 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 !70, !noundef !78
  %93 = trunc nuw i8 %92 to i1
  br i1 %93, label %.thread253, label %94

94:                                               ; preds = %90, %88
  %95 = and i32 %.1, 131072
  %.not203 = icmp eq i32 %95, 0
  br i1 %.not203, 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 !70, !noundef !78
  %99 = trunc nuw i8 %98 to i1
  br i1 %99, label %106, label %100

100:                                              ; preds = %96, %94
  %101 = and i32 %.1, 262144
  %.not204 = icmp eq i32 %101, 0
  br i1 %.not204, 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 !70, !noundef !78
  %105 = trunc nuw i8 %104 to i1
  %not. = xor i1 %105, true
  %spec.select234 = select i1 %105, i32 2, i32 -1
  br label %106

106:                                              ; preds = %102, %96, %100
  %.not207 = phi i1 [ true, %100 ], [ false, %96 ], [ %not., %102 ]
  %.0176 = phi i32 [ -1, %100 ], [ 1, %96 ], [ %spec.select234, %102 ]
  br i1 %.not202, label %110, label %.thread253

.thread253:                                       ; preds = %90, %106
  %.0176260 = phi i32 [ %.0176, %106 ], [ 0, %90 ]
  %.not207257 = phi i1 [ %.not207, %106 ], [ false, %90 ]
  %107 = getelementptr inbounds i8, ptr %6, i64 1074
  %108 = load i8, ptr %107, align 2, !tbaa !9, !range !70, !noundef !78
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %121, label %.thread253._crit_edge

.thread253._crit_edge:                            ; preds = %.thread253
  %.pre268 = and i32 %.1, 131072
  br label %110

110:                                              ; preds = %.thread253._crit_edge, %106
  %.pre-phi = phi i32 [ %.pre268, %.thread253._crit_edge ], [ %95, %106 ]
  %.0176261 = phi i32 [ %.0176260, %.thread253._crit_edge ], [ %.0176, %106 ]
  %.not207258 = phi i1 [ %.not207257, %.thread253._crit_edge ], [ %.not207, %106 ]
  %.not205 = icmp eq i32 %.pre-phi, 0
  br i1 %.not205, 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 !70, !noundef !78
  %114 = trunc nuw i8 %113 to i1
  br i1 %114, label %121, label %115

115:                                              ; preds = %111, %110
  %116 = and i32 %.1, 262144
  %.not206 = icmp eq i32 %116, 0
  br i1 %.not206, 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 !70, !noundef !78
  %120 = trunc nuw i8 %119 to i1
  %spec.select236 = select i1 %120, i64 2, i64 4294967295
  br i1 %.not207258, label %150, label %123

121:                                              ; preds = %111, %.thread253, %115
  %.0176259 = phi i32 [ %.0176261, %115 ], [ %.0176260, %.thread253 ], [ %.0176261, %111 ]
  %.not207256 = phi i1 [ %.not207258, %115 ], [ %.not207257, %.thread253 ], [ %.not207258, %111 ]
  %122 = phi i1 [ false, %115 ], [ true, %.thread253 ], [ true, %111 ]
  %.0180 = phi i64 [ 4294967295, %115 ], [ 0, %.thread253 ], [ 1, %111 ]
  br i1 %.not207256, label %150, label %123

123:                                              ; preds = %117, %121
  %.0180263 = phi i64 [ %spec.select236, %117 ], [ %.0180, %121 ]
  %124 = phi i1 [ %120, %117 ], [ %122, %121 ]
  %.0176259262 = phi i32 [ %.0176261, %117 ], [ %.0176259, %121 ]
  %125 = getelementptr inbounds i8, ptr %6, i64 6864
  %126 = load i32, ptr %125, align 8, !tbaa !11
  %.not208 = icmp eq i32 %126, %1
  br i1 %.not208, label %150, label %127

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

129:                                              ; preds = %127
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  %130 = getelementptr inbounds i8, ptr %6, i64 6924
  store i32 %.0176259262, ptr %130, align 4, !tbaa !81
  %131 = and i32 %.1, 16384
  %.not210 = icmp eq i32 %131, 0
  br i1 %.not210, 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
  %.not211 = icmp eq i32 %135, 0
  br i1 %.not211, label %136, label %144

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

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

144:                                              ; preds = %138, %134
  %145 = and i32 %.1, 8192
  %.not213 = icmp eq i32 %145, 0
  br i1 %.not213, 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 6924
  store i32 %.0176259262, ptr %149, align 4, !tbaa !81
  tail call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %7)
  br label %150

150:                                              ; preds = %117, %136, %138, %148, %123, %121
  %.0180264 = phi i64 [ %.0180263, %148 ], [ %.0180263, %138 ], [ %.0180263, %136 ], [ %.0180263, %123 ], [ %.0180, %121 ], [ %spec.select236, %117 ]
  %151 = phi i1 [ %124, %148 ], [ %124, %138 ], [ %124, %136 ], [ %124, %123 ], [ %122, %121 ], [ %120, %117 ]
  %.2 = phi i8 [ 1, %148 ], [ %.1171, %138 ], [ %.1171, %136 ], [ %.1171, %123 ], [ %.1171, %121 ], [ %.1171, %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
  %.not214 = icmp eq i32 %154, 0
  br i1 %.not214, label %.thread265, label %156

156:                                              ; preds = %155
  %157 = getelementptr inbounds i8, ptr %6, i64 1112
  %158 = getelementptr inbounds [5 x float], ptr %157, i64 0, i64 %.0180264
  %159 = load float, ptr %158, align 4, !tbaa !82
  %160 = getelementptr inbounds i8, ptr %6, i64 148
  %161 = load float, ptr %160, align 4, !tbaa !83
  %162 = fcmp oge float %159, %161
  %cond.fr = freeze i1 %162
  %spec.select267 = select i1 %cond.fr, i8 %.2, i8 1
  br label %.thread265

.thread265:                                       ; preds = %156, %155
  %163 = phi i8 [ 1, %155 ], [ %spec.select267, %156 ]
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %._crit_edge

._crit_edge:                                      ; preds = %150, %.thread265
  %.4 = phi i8 [ %163, %.thread265 ], [ %.2, %150 ]
  %164 = getelementptr inbounds i8, ptr %6, i64 6864
  %165 = load i32, ptr %164, align 8, !tbaa !11
  %166 = icmp ne i32 %165, %1
  %.not215 = icmp eq i32 %154, 0
  %or.cond238 = or i1 %.not215, %166
  br i1 %or.cond238, label %177, label %167

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

175:                                              ; preds = %167
  %176 = tail call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef %170, i1 noundef zeroext true)
  %spec.select239 = select i1 %176, i8 1, i8 %.4
  br label %177

177:                                              ; preds = %175, %._crit_edge, %167, %84, %80, %76
  %.6 = phi i8 [ %.1171, %76 ], [ %.1171, %80 ], [ %.1171, %84 ], [ %.4, %167 ], [ %.4, %._crit_edge ], [ %spec.select239, %175 ]
  %178 = trunc nuw i8 %.6 to i1
  br i1 %178, label %179, label %181

179:                                              ; preds = %177
  %180 = getelementptr inbounds i8, ptr %6, i64 7254
  store i8 1, ptr %180, align 2, !tbaa !84
  br label %181

181:                                              ; preds = %70, %177, %179, %73
  %.2174.shrunk251 = phi i1 [ true, %179 ], [ true, %177 ], [ false, %73 ], [ false, %70 ]
  %.7 = phi i8 [ %.6, %179 ], [ %.6, %177 ], [ %.1171, %73 ], [ %.1171, %70 ]
  %182 = getelementptr inbounds i8, ptr %6, i64 7176
  %183 = load i32, ptr %182, align 8, !tbaa !85
  %184 = icmp eq i32 %183, %1
  br i1 %184, label %185, label %205

185:                                              ; preds = %181
  %186 = getelementptr inbounds i8, ptr %6, i64 7254
  %187 = load i8, ptr %186, align 2, !tbaa !84, !range !70, !noundef !78
  %188 = trunc nuw i8 %187 to i1
  br i1 %188, label %205, label %189

189:                                              ; preds = %185
  %190 = getelementptr inbounds i8, ptr %6, i64 7255
  %191 = load i8, ptr %190, align 1, !tbaa !86, !range !70, !noundef !78
  %192 = trunc nuw i8 %191 to i1
  br i1 %192, label %193, label %205

193:                                              ; preds = %189
  %194 = getelementptr inbounds i8, ptr %6, i64 6864
  %195 = load i32, ptr %194, align 8, !tbaa !11
  %196 = icmp eq i32 %195, 0
  %197 = icmp eq i32 %195, %1
  %or.cond240 = or i1 %196, %197
  br i1 %or.cond240, label %203, label %198

198:                                              ; preds = %193
  %199 = getelementptr inbounds i8, ptr %7, i64 76
  %200 = load i32, ptr %199, align 4, !tbaa !87
  %201 = icmp eq i32 %195, %200
  %202 = and i32 %.1, 32768
  %.not216 = icmp eq i32 %202, 0
  %or.cond241 = and i1 %.not216, %201
  br i1 %or.cond241, label %204, label %205

203:                                              ; preds = %193
  %.old = and i32 %.1, 32768
  %.not216.old = icmp eq i32 %.old, 0
  br i1 %.not216.old, label %204, label %205

204:                                              ; preds = %198, %203
  br label %205

205:                                              ; preds = %203, %204, %198, %189, %185, %181
  %.3175.shrunk = phi i1 [ %.2174.shrunk251, %185 ], [ %.2174.shrunk251, %203 ], [ true, %204 ], [ %.2174.shrunk251, %198 ], [ %.2174.shrunk251, %189 ], [ %.2174.shrunk251, %181 ]
  %206 = getelementptr inbounds i8, ptr %6, i64 7188
  %207 = load i32, ptr %206, align 4, !tbaa !95
  %208 = icmp eq i32 %207, %1
  br i1 %208, label %209, label %223

209:                                              ; preds = %205
  %210 = getelementptr inbounds i8, ptr %6, i64 7184
  %211 = load i32, ptr %210, align 8, !tbaa !96
  %212 = icmp eq i32 %211, %1
  %213 = and i32 %.1, 1
  %.not217 = icmp eq i32 %213, 0
  %214 = select i1 %.not217, i32 1, i32 3
  %215 = tail call noundef zeroext i1 @_ZN5ImGui14IsNavInputTestEi18ImGuiInputReadMode(i32 noundef 0, i32 noundef %214)
  %brmerge = or i1 %212, %215
  %.8 = select i1 %brmerge, i8 1, i8 %.7
  br i1 %brmerge, label %220, label %216

216:                                              ; preds = %209
  %217 = getelementptr inbounds i8, ptr %6, i64 6864
  %218 = load i32, ptr %217, align 8, !tbaa !11
  %219 = icmp eq i32 %218, %1
  br i1 %219, label %220, label %223

220:                                              ; preds = %209, %216
  store i32 %1, ptr %210, align 8, !tbaa !96
  tail call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %1, ptr noundef %7)
  %221 = and i32 %.1, 16384
  %.not218 = icmp eq i32 %221, 0
  %or.cond245 = and i1 %.not218, %brmerge
  br i1 %or.cond245, label %222, label %223

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

223:                                              ; preds = %216, %222, %220, %205
  %.9 = phi i8 [ %.7, %205 ], [ %.8, %220 ], [ %.8, %222 ], [ %.7, %216 ]
  %224 = getelementptr inbounds i8, ptr %6, i64 6864
  %225 = load i32, ptr %224, align 8, !tbaa !11
  %226 = icmp eq i32 %225, %1
  br i1 %226, label %227, label %289

227:                                              ; preds = %223
  %228 = getelementptr inbounds i8, ptr %6, i64 6920
  %229 = load i32, ptr %228, align 8, !tbaa !97
  switch i32 %229, label %285 [
    i32 1, label %230
    i32 2, label %282
  ]

230:                                              ; preds = %227
  %231 = getelementptr inbounds i8, ptr %6, i64 6876
  %232 = load i8, ptr %231, align 4, !tbaa !98, !range !70, !noundef !78
  %233 = trunc nuw i8 %232 to i1
  br i1 %233, label %234, label %238

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

238:                                              ; preds = %234, %230
  %239 = getelementptr inbounds i8, ptr %6, i64 6924
  %240 = load i32, ptr %239, align 4, !tbaa !81
  %241 = icmp ult i32 %240, 5
  br i1 %241, label %243, label %242

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

243:                                              ; preds = %238
  %244 = getelementptr inbounds i8, ptr %6, i64 312
  %245 = zext nneg i32 %240 to i64
  %246 = getelementptr inbounds [5 x i8], ptr %244, i64 0, i64 %245
  %247 = load i8, ptr %246, align 1, !tbaa !9, !range !70, !noundef !78
  %248 = trunc nuw i8 %247 to i1
  br i1 %248, label %278, label %249

249:                                              ; preds = %243
  %250 = and i32 %.1, 4
  %251 = icmp ne i32 %250, 0
  %252 = and i1 %251, %.3175.shrunk
  %253 = and i32 %.1, 8
  %.not220 = icmp ne i32 %253, 0
  %or.cond248.not = or i1 %.not220, %252
  br i1 %or.cond248.not, label %254, label %277

254:                                              ; preds = %249
  %255 = load i8, ptr %47, align 4, !tbaa !69, !range !70, !noundef !78
  %256 = trunc nuw i8 %255 to i1
  br i1 %256, label %277, label %257

257:                                              ; preds = %254
  %258 = and i32 %.1, 32
  %.not221 = icmp eq i32 %258, 0
  br i1 %.not221, label %264, label %259

259:                                              ; preds = %257
  %260 = getelementptr inbounds i8, ptr %6, i64 1084
  %261 = getelementptr inbounds [5 x i8], ptr %260, i64 0, i64 %245
  %262 = load i8, ptr %261, align 1, !tbaa !9, !range !70, !noundef !78
  %263 = trunc nuw i8 %262 to i1
  br label %264

264:                                              ; preds = %259, %257
  %265 = phi i1 [ false, %257 ], [ %263, %259 ]
  %266 = and i32 %.1, 1
  %.not222 = icmp eq i32 %266, 0
  br i1 %.not222, label %274, label %267

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

274:                                              ; preds = %267, %264
  %275 = phi i1 [ false, %264 ], [ %273, %267 ]
  br i1 %265, label %277, label %276

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

277:                                              ; preds = %276, %274, %249, %254
  %.11 = phi i8 [ %.9, %254 ], [ %.9, %249 ], [ %.9, %274 ], [ %spec.select249, %276 ]
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %278

278:                                              ; preds = %243, %277
  %.0177 = phi i8 [ 0, %277 ], [ 1, %243 ]
  %.12 = phi i8 [ %.11, %277 ], [ %.9, %243 ]
  %279 = and i32 %.1, 16384
  %.not223 = icmp eq i32 %279, 0
  br i1 %.not223, label %280, label %285

280:                                              ; preds = %278
  %281 = getelementptr inbounds i8, ptr %6, i64 7254
  store i8 1, ptr %281, align 2, !tbaa !84
  br label %285

282:                                              ; preds = %227
  %283 = load i32, ptr %206, align 4, !tbaa !95
  %.not219 = icmp eq i32 %283, %1
  br i1 %.not219, label %285, label %284

284:                                              ; preds = %282
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %285

285:                                              ; preds = %227, %278, %280, %284, %282
  %.1178 = phi i8 [ 0, %284 ], [ 0, %282 ], [ %.0177, %280 ], [ %.0177, %278 ], [ 0, %227 ]
  %.13 = phi i8 [ %.9, %284 ], [ %.9, %282 ], [ %.12, %280 ], [ %.12, %278 ], [ %.9, %227 ]
  %286 = trunc nuw i8 %.13 to i1
  br i1 %286, label %287, label %289

287:                                              ; preds = %285
  %288 = getelementptr inbounds i8, ptr %6, i64 6878
  store i8 1, ptr %288, align 2, !tbaa !99
  br label %289

289:                                              ; preds = %285, %287, %223
  %.2179 = phi i8 [ %.1178, %287 ], [ %.1178, %285 ], [ 0, %223 ]
  %.14 = phi i8 [ %.13, %287 ], [ %.13, %285 ], [ %.9, %223 ]
  %.not224 = icmp eq ptr %2, null
  br i1 %.not224, label %292, label %290

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

292:                                              ; preds = %290, %289
  %.not225 = icmp eq ptr %3, null
  br i1 %.not225, label %294, label %293

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

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

296:                                              ; preds = %13, %17, %294
  %.0 = phi i1 [ %295, %294 ], [ 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 6864}
!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 6664, !14, i64 6672, !14, i64 6676, !14, i64 6680, !10, i64 6684, !10, i64 6685, !10, i64 6686, !10, i64 6687, !14, i64 6688, !6, i64 6696, !23, i64 6704, !23, i64 6720, !23, i64 6736, !23, i64 6752, !24, i64 6768, !14, i64 6784, !6, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !15, i64 6832, !16, i64 6840, !14, i64 6844, !10, i64 6848, !14, i64 6852, !16, i64 6856, !16, i64 6860, !14, i64 6864, !14, i64 6868, !16, i64 6872, !10, i64 6876, !10, i64 6877, !10, i64 6878, !10, i64 6879, !10, i64 6880, !14, i64 6884, !14, i64 6888, !26, i64 6896, !15, i64 6904, !6, i64 6912, !27, i64 6920, !14, i64 6924, !14, i64 6928, !10, i64 6932, !10, i64 6933, !6, i64 6936, !14, i64 6944, !16, i64 6948, !28, i64 6952, !30, i64 7064, !31, i64 7088, !32, i64 7104, !33, i64 7120, !34, i64 7136, !34, i64 7152, !6, i64 7168, !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, !14, i64 7212, !14, i64 7216, !27, i64 7220, !29, i64 7224, !14, i64 7240, !35, i64 7244, !14, i64 7248, !10, i64 7252, !10, i64 7253, !10, i64 7254, !10, i64 7255, !10, i64 7256, !10, i64 7257, !10, i64 7258, !14, i64 7260, !29, i64 7264, !10, i64 7280, !10, i64 7281, !14, i64 7284, !36, i64 7288, !14, i64 7292, !14, i64 7296, !14, i64 7300, !14, i64 7304, !37, i64 7312, !37, i64 7360, !37, i64 7408, !6, i64 7456, !14, i64 7464, !6, i64 7472, !6, i64 7480, !6, i64 7488, !16, i64 7496, !16, i64 7500, !10, i64 7504, !6, i64 7512, !6, i64 7520, !14, i64 7528, !14, i64 7532, !14, i64 7536, !14, i64 7540, !10, i64 7544, !38, i64 7552, !39, i64 7608, !16, i64 7640, !40, i64 7648, !40, i64 7872, !14, i64 8096, !10, i64 8100, !10, i64 8101, !10, i64 8102, !14, i64 8104, !14, i64 8108, !14, i64 8112, !49, i64 8120, !29, i64 8184, !14, i64 8200, !14, i64 8204, !16, i64 8208, !14, i64 8212, !14, i64 8216, !14, i64 8220, !14, i64 8224, !50, i64 8232, !7, i64 8248, !6, i64 8264, !51, i64 8272, !53, i64 8312, !54, i64 8328, !15, i64 8344, !55, i64 8352, !59, i64 12080, !14, i64 12200, !14, i64 12204, !16, i64 12208, !16, i64 12212, !7, i64 12216, !21, i64 12228, !10, i64 12244, !16, i64 12248, !16, i64 12252, !16, i64 12256, !14, i64 12260, !56, i64 12264, !62, i64 12280, !15, i64 12296, !15, i64 12304, !10, i64 12312, !16, i64 12316, !63, i64 12320, !64, i64 12336, !65, i64 12352, !10, i64 12368, !66, i64 12372, !6, i64 12376, !63, i64 12384, !16, i64 12400, !10, i64 12404, !14, i64 12408, !14, i64 12412, !14, i64 12416, !10, i64 12420, !14, i64 12424, !7, i64 12428, !14, i64 12908, !16, i64 12912, !14, i64 12916, !14, i64 12920, !14, i64 12924, !7, i64 12928}
!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, !16, i64 5448, !17, i64 5452, !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, !10, i64 174, !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, !6, i64 208}
!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, !6, i64 80, !6, i64 88, !43, i64 96, !44, i64 112, !45, i64 128, !46, i64 144, !47, i64 200}
!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 = !{!"_ZTS9ImDrawCmd", !21, i64 0, !6, i64 16, !14, i64 24, !14, i64 28, !14, i64 32, !6, i64 40, !6, i64 48}
!47 = !{!"_ZTS18ImDrawListSplitter", !14, i64 0, !14, i64 4, !48, i64 8}
!48 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !14, i64 0, !14, i64 4, !6, i64 8}
!49 = !{!"_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}
!50 = !{!"_ZTS8ImVectorIhE", !14, i64 0, !14, i64 4, !6, i64 8}
!51 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !52, i64 0, !24, i64 16, !14, i64 32}
!52 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !14, i64 0, !14, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !14, i64 0, !14, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !14, i64 0, !14, i64 4, !6, i64 8}
!55 = !{!"_ZTS19ImGuiInputTextState", !14, i64 0, !14, i64 4, !14, i64 8, !18, i64 16, !56, i64 32, !56, i64 48, !10, i64 64, !14, i64 68, !16, i64 72, !57, i64 76, !16, i64 3696, !10, i64 3700, !10, i64 3701, !14, i64 3704, !6, i64 3712, !6, i64 3720}
!56 = !{!"_ZTS8ImVectorIcE", !14, i64 0, !14, i64 4, !6, i64 8}
!57 = !{!"_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, !58, i64 24}
!58 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !14, i64 3588, !14, i64 3592}
!59 = !{!"_ZTS6ImFont", !60, i64 0, !16, i64 16, !16, i64 20, !18, i64 24, !61, 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}
!60 = !{!"_ZTS8ImVectorIfE", !14, i64 0, !14, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !14, i64 0, !14, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorIjE", !14, i64 0, !14, i64 4, !6, i64 8}
!63 = !{!"_ZTS15ImGuiTextBuffer", !56, i64 0}
!64 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !14, i64 0, !14, i64 4, !6, i64 8}
!65 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !56, i64 0}
!66 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!67 = !{!12, !6, i64 6800}
!68 = !{!12, !6, i64 6808}
!69 = !{!12, !10, i64 8100}
!70 = !{i8 0, i8 2}
!71 = !{!12, !14, i64 8132}
!72 = !{!12, !14, i64 8104}
!73 = !{!12, !16, i64 6856}
!74 = !{!12, !16, i64 24}
!75 = !{!12, !14, i64 8224}
!76 = !{!12, !14, i64 6852}
!77 = !{!12, !10, i64 328}
!78 = !{}
!79 = !{!12, !10, i64 329}
!80 = !{!12, !10, i64 330}
!81 = !{!12, !14, i64 6924}
!82 = !{!16, !16, i64 0}
!83 = !{!12, !16, i64 148}
!84 = !{!12, !10, i64 7254}
!85 = !{!12, !14, i64 7176}
!86 = !{!12, !10, i64 7255}
!87 = !{!88, !14, i64 76}
!88 = !{!"_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, !62, i64 192, !89, 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, !94, i64 664, !16, i64 680, !14, i64 684, !6, i64 688, !40, i64 696, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !10, i64 1000, !14, i64 1004, !14, i64 1008}
!89 = !{!"_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, !90, i64 56, !90, i64 60, !90, 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, !91, 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, !92, i64 248, !60, i64 264, !60, i64 280, !93, i64 296, !7, i64 312}
!90 = !{!"_ZTS6ImVec1", !16, i64 0}
!91 = !{!"_ZTS16ImGuiMenuColumns", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 12, !7, i64 24}
!92 = !{!"_ZTS8ImVectorIiE", !14, i64 0, !14, i64 4, !6, i64 8}
!93 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!94 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !14, i64 0, !14, i64 4, !6, i64 8}
!95 = !{!12, !14, i64 7188}
!96 = !{!12, !14, i64 7184}
!97 = !{!12, !27, i64 6920}
!98 = !{!12, !10, i64 6876}
!99 = !{!12, !10, i64 6878}


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