; LLVM IR from Dragons-Lake/REI :: sources/REI_Integration/3rdParty/imgui (imgui_widgets)

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

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

@GImGui = external global ptr, align 8
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix = external hidden unnamed_addr constant [4 x i8], align 1
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix = external hidden unnamed_addr constant [3 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [2 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

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

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

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

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

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

declare void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef, <2 x float>, i32 noundef) #4

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

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

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

declare void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef, <2 x float>, i32 noundef, i32 noundef, float noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #7 align 2

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

declare void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef, ptr noundef, ptr noundef) #4

declare void @_ZN5ImGui19SetItemAllowOverlapEv() #4

declare noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui16TreeNodeBehaviorEjiPKcS1_(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #6 {
  %5 = alloca i1, align 1
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %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 i8, align 1
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca float, align 4
  %18 = alloca %struct.ImRect, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %struct.ImRect, align 4
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca i8, align 1
  %28 = alloca i32, align 4
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  %31 = alloca i8, align 1
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca i8, align 1
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca %struct.ImVec2, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca %struct.ImVec2, align 4
  %43 = alloca %struct.ImVec2, align 4
  %44 = alloca %struct.ImVec2, align 4
  %45 = alloca %struct.ImVec2, align 4
  %46 = alloca [4 x i8], align 1
  %47 = alloca [3 x i8], align 1
  %48 = alloca %struct.ImVec2, align 4
  %49 = alloca %struct.ImVec2, align 4
  %50 = alloca i32, align 4
  %51 = alloca %struct.ImVec2, align 4
  %52 = alloca %struct.ImVec2, align 4
  %53 = alloca %struct.ImVec2, align 4
  %54 = alloca %struct.ImVec2, align 4
  %55 = alloca %struct.ImVec2, align 4
  store i32 %0, ptr %6, align 4, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %56 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %56, ptr %10, align 8, !tbaa !9
  %57 = load ptr, ptr %10, align 8, !tbaa !9
  %58 = getelementptr inbounds %struct.ImGuiWindow, ptr %57, i32 0, i32 26
  %59 = load i8, ptr %58, align 1, !tbaa !11, !range !39, !noundef !40
  %60 = trunc i8 %59 to i1
  br i1 %60, label %61, label %62

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

62:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %63 = load ptr, ptr @GImGui, align 8, !tbaa !9
  store ptr %63, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %64 = load ptr, ptr %12, align 8, !tbaa !9
  %65 = getelementptr inbounds %struct.ImGuiContext, ptr %64, i32 0, i32 6
  store ptr %65, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  %66 = load i32, ptr %7, align 4, !tbaa !5
  %67 = and i32 %66, 2
  %68 = icmp ne i32 %67, 0
  %69 = zext i1 %68 to i8
  store i8 %69, ptr %14, align 1, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %70 = load i8, ptr %14, align 1, !tbaa !41, !range !39, !noundef !40
  %71 = trunc i8 %70 to i1
  br i1 %71, label %76, label %72

72:                                               ; preds = %62
  %73 = load i32, ptr %7, align 4, !tbaa !5
  %74 = and i32 %73, 1024
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %76, label %79

76:                                               ; preds = %72, %62
  %77 = load ptr, ptr %13, align 8, !tbaa !9
  %78 = getelementptr inbounds %struct.ImGuiStyle, ptr %77, i32 0, i32 11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %78, i64 8, i1 false), !tbaa.struct !42
  br label %93

79:                                               ; preds = %72
  %80 = load ptr, ptr %13, align 8, !tbaa !9
  %81 = getelementptr inbounds %struct.ImGuiStyle, ptr %80, i32 0, i32 11
  %82 = getelementptr inbounds %struct.ImVec2, ptr %81, i32 0, i32 0
  %83 = load float, ptr %82, align 4, !tbaa !44
  %84 = load ptr, ptr %10, align 8, !tbaa !9
  %85 = getelementptr inbounds %struct.ImGuiWindow, ptr %84, i32 0, i32 49
  %86 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %85, i32 0, i32 6
  %87 = load float, ptr %86, align 8, !tbaa !46
  %88 = load ptr, ptr %13, align 8, !tbaa !9
  %89 = getelementptr inbounds %struct.ImGuiStyle, ptr %88, i32 0, i32 11
  %90 = getelementptr inbounds %struct.ImVec2, ptr %89, i32 0, i32 1
  %91 = load float, ptr %90, align 4, !tbaa !47
  %92 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %87, float noundef %91)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %83, float noundef %92)
  br label %93

93:                                               ; preds = %79, %76
  %94 = load ptr, ptr %9, align 8, !tbaa !9
  %95 = icmp ne ptr %94, null
  br i1 %95, label %99, label %96

96:                                               ; preds = %93
  %97 = load ptr, ptr %8, align 8, !tbaa !9
  %98 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %97, ptr noundef null)
  store ptr %98, ptr %9, align 8, !tbaa !9
  br label %99

99:                                               ; preds = %96, %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %100 = load ptr, ptr %8, align 8, !tbaa !9
  %101 = load ptr, ptr %9, align 8, !tbaa !9
  %102 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %100, ptr noundef %101, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %102, ptr %16, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %103 = load ptr, ptr %10, align 8, !tbaa !9
  %104 = getelementptr inbounds %struct.ImGuiWindow, ptr %103, i32 0, i32 49
  %105 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %104, i32 0, i32 4
  %106 = getelementptr inbounds %struct.ImVec2, ptr %105, i32 0, i32 1
  %107 = load float, ptr %106, align 4, !tbaa !48
  %108 = load ptr, ptr %12, align 8, !tbaa !9
  %109 = getelementptr inbounds %struct.ImGuiContext, ptr %108, i32 0, i32 8
  %110 = load float, ptr %109, align 8, !tbaa !49
  %111 = load ptr, ptr %13, align 8, !tbaa !9
  %112 = getelementptr inbounds %struct.ImGuiStyle, ptr %111, i32 0, i32 11
  %113 = getelementptr inbounds %struct.ImVec2, ptr %112, i32 0, i32 1
  %114 = load float, ptr %113, align 4, !tbaa !47
  %115 = call float @llvm.fmuladd.f32(float %114, float 2.000000e+00, float %110)
  %116 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %107, float noundef %115)
  %117 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  %118 = load float, ptr %117, align 4, !tbaa !83
  %119 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %120 = load float, ptr %119, align 4, !tbaa !83
  %121 = call float @llvm.fmuladd.f32(float %120, float 2.000000e+00, float %118)
  %122 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %116, float noundef %121)
  store float %122, ptr %17, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #8
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %18)
  %123 = load i32, ptr %7, align 4, !tbaa !5
  %124 = and i32 %123, 4096
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %132

126:                                              ; preds = %99
  %127 = load ptr, ptr %10, align 8, !tbaa !9
  %128 = getelementptr inbounds %struct.ImGuiWindow, ptr %127, i32 0, i32 53
  %129 = getelementptr inbounds %struct.ImRect, ptr %128, i32 0, i32 0
  %130 = getelementptr inbounds %struct.ImVec2, ptr %129, i32 0, i32 0
  %131 = load float, ptr %130, align 8, !tbaa !84
  br label %138

132:                                              ; preds = %99
  %133 = load ptr, ptr %10, align 8, !tbaa !9
  %134 = getelementptr inbounds %struct.ImGuiWindow, ptr %133, i32 0, i32 49
  %135 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %134, i32 0, i32 0
  %136 = getelementptr inbounds %struct.ImVec2, ptr %135, i32 0, i32 0
  %137 = load float, ptr %136, align 8, !tbaa !85
  br label %138

138:                                              ; preds = %132, %126
  %139 = phi float [ %131, %126 ], [ %137, %132 ]
  %140 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  %141 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 0
  store float %139, ptr %141, align 4, !tbaa !86
  %142 = load ptr, ptr %10, align 8, !tbaa !9
  %143 = getelementptr inbounds %struct.ImGuiWindow, ptr %142, i32 0, i32 49
  %144 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %143, i32 0, i32 0
  %145 = getelementptr inbounds %struct.ImVec2, ptr %144, i32 0, i32 1
  %146 = load float, ptr %145, align 4, !tbaa !87
  %147 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  %148 = getelementptr inbounds %struct.ImVec2, ptr %147, i32 0, i32 1
  store float %146, ptr %148, align 4, !tbaa !88
  %149 = load ptr, ptr %10, align 8, !tbaa !9
  %150 = getelementptr inbounds %struct.ImGuiWindow, ptr %149, i32 0, i32 53
  %151 = getelementptr inbounds %struct.ImRect, ptr %150, i32 0, i32 1
  %152 = getelementptr inbounds %struct.ImVec2, ptr %151, i32 0, i32 0
  %153 = load float, ptr %152, align 8, !tbaa !89
  %154 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %155 = getelementptr inbounds %struct.ImVec2, ptr %154, i32 0, i32 0
  store float %153, ptr %155, align 4, !tbaa !90
  %156 = load ptr, ptr %10, align 8, !tbaa !9
  %157 = getelementptr inbounds %struct.ImGuiWindow, ptr %156, i32 0, i32 49
  %158 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %157, i32 0, i32 0
  %159 = getelementptr inbounds %struct.ImVec2, ptr %158, i32 0, i32 1
  %160 = load float, ptr %159, align 4, !tbaa !87
  %161 = load float, ptr %17, align 4, !tbaa !43
  %162 = fadd float %160, %161
  %163 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %164 = getelementptr inbounds %struct.ImVec2, ptr %163, i32 0, i32 1
  store float %162, ptr %164, align 4, !tbaa !91
  %165 = load i8, ptr %14, align 1, !tbaa !41, !range !39, !noundef !40
  %166 = trunc i8 %165 to i1
  br i1 %166, label %167, label %190

167:                                              ; preds = %138
  %168 = load ptr, ptr %10, align 8, !tbaa !9
  %169 = getelementptr inbounds %struct.ImGuiWindow, ptr %168, i32 0, i32 8
  %170 = getelementptr inbounds %struct.ImVec2, ptr %169, i32 0, i32 0
  %171 = load float, ptr %170, align 8, !tbaa !92
  %172 = call float @llvm.fmuladd.f32(float %171, float 5.000000e-01, float -1.000000e+00)
  %173 = fptosi float %172 to i32
  %174 = sitofp i32 %173 to float
  %175 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  %176 = getelementptr inbounds %struct.ImVec2, ptr %175, i32 0, i32 0
  %177 = load float, ptr %176, align 4, !tbaa !86
  %178 = fsub float %177, %174
  store float %178, ptr %176, align 4, !tbaa !86
  %179 = load ptr, ptr %10, align 8, !tbaa !9
  %180 = getelementptr inbounds %struct.ImGuiWindow, ptr %179, i32 0, i32 8
  %181 = getelementptr inbounds %struct.ImVec2, ptr %180, i32 0, i32 0
  %182 = load float, ptr %181, align 8, !tbaa !92
  %183 = fmul float %182, 5.000000e-01
  %184 = fptosi float %183 to i32
  %185 = sitofp i32 %184 to float
  %186 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %187 = getelementptr inbounds %struct.ImVec2, ptr %186, i32 0, i32 0
  %188 = load float, ptr %187, align 4, !tbaa !90
  %189 = fadd float %188, %185
  store float %189, ptr %187, align 4, !tbaa !90
  br label %190

190:                                              ; preds = %167, %138
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %191 = load ptr, ptr %12, align 8, !tbaa !9
  %192 = getelementptr inbounds %struct.ImGuiContext, ptr %191, i32 0, i32 8
  %193 = load float, ptr %192, align 8, !tbaa !49
  %194 = load i8, ptr %14, align 1, !tbaa !41, !range !39, !noundef !40
  %195 = trunc i8 %194 to i1
  br i1 %195, label %196, label %200

196:                                              ; preds = %190
  %197 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %198 = load float, ptr %197, align 4, !tbaa !93
  %199 = fmul float %198, 3.000000e+00
  br label %204

200:                                              ; preds = %190
  %201 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %202 = load float, ptr %201, align 4, !tbaa !93
  %203 = fmul float %202, 2.000000e+00
  br label %204

204:                                              ; preds = %200, %196
  %205 = phi float [ %199, %196 ], [ %203, %200 ]
  %206 = fadd float %193, %205
  store float %206, ptr %19, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %207 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %208 = load float, ptr %207, align 4, !tbaa !83
  %209 = load ptr, ptr %10, align 8, !tbaa !9
  %210 = getelementptr inbounds %struct.ImGuiWindow, ptr %209, i32 0, i32 49
  %211 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %210, i32 0, i32 6
  %212 = load float, ptr %211, align 8, !tbaa !46
  %213 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %208, float noundef %212)
  store float %213, ptr %20, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %214 = load ptr, ptr %12, align 8, !tbaa !9
  %215 = getelementptr inbounds %struct.ImGuiContext, ptr %214, i32 0, i32 8
  %216 = load float, ptr %215, align 8, !tbaa !49
  %217 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %218 = load float, ptr %217, align 4, !tbaa !93
  %219 = fcmp ogt float %218, 0.000000e+00
  br i1 %219, label %220, label %226

220:                                              ; preds = %204
  %221 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %222 = load float, ptr %221, align 4, !tbaa !93
  %223 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %224 = load float, ptr %223, align 4, !tbaa !93
  %225 = call float @llvm.fmuladd.f32(float %224, float 2.000000e+00, float %222)
  br label %227

226:                                              ; preds = %204
  br label %227

227:                                              ; preds = %226, %220
  %228 = phi float [ %225, %220 ], [ 0.000000e+00, %226 ]
  %229 = fadd float %216, %228
  store float %229, ptr %21, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %230 = load ptr, ptr %10, align 8, !tbaa !9
  %231 = getelementptr inbounds %struct.ImGuiWindow, ptr %230, i32 0, i32 49
  %232 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds %struct.ImVec2, ptr %232, i32 0, i32 0
  %234 = load float, ptr %233, align 8, !tbaa !85
  %235 = load float, ptr %19, align 4, !tbaa !43
  %236 = fadd float %234, %235
  %237 = load ptr, ptr %10, align 8, !tbaa !9
  %238 = getelementptr inbounds %struct.ImGuiWindow, ptr %237, i32 0, i32 49
  %239 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %238, i32 0, i32 0
  %240 = getelementptr inbounds %struct.ImVec2, ptr %239, i32 0, i32 1
  %241 = load float, ptr %240, align 4, !tbaa !87
  %242 = load float, ptr %20, align 4, !tbaa !43
  %243 = fadd float %241, %242
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %236, float noundef %243)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %244 = load float, ptr %21, align 4, !tbaa !43
  %245 = load float, ptr %17, align 4, !tbaa !43
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %244, float noundef %245)
  %246 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %247 = load float, ptr %246, align 4, !tbaa !83
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %247)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %18, i64 16, i1 false), !tbaa.struct !94
  %248 = load i8, ptr %14, align 1, !tbaa !41, !range !39, !noundef !40
  %249 = trunc i8 %248 to i1
  br i1 %249, label %267, label %250

250:                                              ; preds = %227
  %251 = load i32, ptr %7, align 4, !tbaa !5
  %252 = and i32 %251, 6144
  %253 = icmp eq i32 %252, 0
  br i1 %253, label %254, label %267

254:                                              ; preds = %250
  %255 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  %256 = getelementptr inbounds %struct.ImVec2, ptr %255, i32 0, i32 0
  %257 = load float, ptr %256, align 4, !tbaa !86
  %258 = load float, ptr %21, align 4, !tbaa !43
  %259 = fadd float %257, %258
  %260 = load ptr, ptr %13, align 8, !tbaa !9
  %261 = getelementptr inbounds %struct.ImGuiStyle, ptr %260, i32 0, i32 14
  %262 = getelementptr inbounds %struct.ImVec2, ptr %261, i32 0, i32 0
  %263 = load float, ptr %262, align 4, !tbaa !95
  %264 = call float @llvm.fmuladd.f32(float %263, float 2.000000e+00, float %259)
  %265 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %266 = getelementptr inbounds %struct.ImVec2, ptr %265, i32 0, i32 0
  store float %264, ptr %266, align 4, !tbaa !90
  br label %267

267:                                              ; preds = %254, %250, %227
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  %268 = load i32, ptr %7, align 4, !tbaa !5
  %269 = and i32 %268, 256
  %270 = icmp ne i32 %269, 0
  %271 = zext i1 %270 to i8
  store i8 %271, ptr %25, align 1, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #8
  %272 = load i32, ptr %6, align 4, !tbaa !5
  %273 = load i32, ptr %7, align 4, !tbaa !5
  %274 = call noundef zeroext i1 @_ZN5ImGui22TreeNodeBehaviorIsOpenEji(i32 noundef %272, i32 noundef %273)
  %275 = zext i1 %274 to i8
  store i8 %275, ptr %26, align 1, !tbaa !41
  %276 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %277 = trunc i8 %276 to i1
  br i1 %277, label %278, label %302

278:                                              ; preds = %267
  %279 = load ptr, ptr %12, align 8, !tbaa !9
  %280 = getelementptr inbounds %struct.ImGuiContext, ptr %279, i32 0, i32 89
  %281 = load i8, ptr %280, align 4, !tbaa !96, !range !39, !noundef !40
  %282 = trunc i8 %281 to i1
  br i1 %282, label %302, label %283

283:                                              ; preds = %278
  %284 = load i32, ptr %7, align 4, !tbaa !5
  %285 = and i32 %284, 8192
  %286 = icmp ne i32 %285, 0
  br i1 %286, label %287, label %302

287:                                              ; preds = %283
  %288 = load i32, ptr %7, align 4, !tbaa !5
  %289 = and i32 %288, 8
  %290 = icmp ne i32 %289, 0
  br i1 %290, label %302, label %291

291:                                              ; preds = %287
  %292 = load ptr, ptr %10, align 8, !tbaa !9
  %293 = getelementptr inbounds %struct.ImGuiWindow, ptr %292, i32 0, i32 49
  %294 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %293, i32 0, i32 8
  %295 = load i32, ptr %294, align 8, !tbaa !97
  %296 = shl i32 1, %295
  %297 = load ptr, ptr %10, align 8, !tbaa !9
  %298 = getelementptr inbounds %struct.ImGuiWindow, ptr %297, i32 0, i32 49
  %299 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %298, i32 0, i32 9
  %300 = load i32, ptr %299, align 4, !tbaa !98
  %301 = or i32 %300, %296
  store i32 %301, ptr %299, align 4, !tbaa !98
  br label %302

302:                                              ; preds = %291, %287, %283, %278, %267
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  %303 = load i32, ptr %6, align 4, !tbaa !5
  %304 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %24, i32 noundef %303, ptr noundef null)
  %305 = zext i1 %304 to i8
  store i8 %305, ptr %27, align 1, !tbaa !41
  %306 = load ptr, ptr %10, align 8, !tbaa !9
  %307 = getelementptr inbounds %struct.ImGuiWindow, ptr %306, i32 0, i32 49
  %308 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %307, i32 0, i32 11
  %309 = load i32, ptr %308, align 4, !tbaa !99
  %310 = or i32 %309, 2
  store i32 %310, ptr %308, align 4, !tbaa !99
  %311 = load ptr, ptr %10, align 8, !tbaa !9
  %312 = getelementptr inbounds %struct.ImGuiWindow, ptr %311, i32 0, i32 49
  %313 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %312, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %313, ptr align 4 %18, i64 16, i1 false), !tbaa.struct !94
  %314 = load i8, ptr %27, align 1, !tbaa !41, !range !39, !noundef !40
  %315 = trunc i8 %314 to i1
  br i1 %315, label %331, label %316

316:                                              ; preds = %302
  %317 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %318 = trunc i8 %317 to i1
  br i1 %318, label %319, label %325

319:                                              ; preds = %316
  %320 = load i32, ptr %7, align 4, !tbaa !5
  %321 = and i32 %320, 8
  %322 = icmp ne i32 %321, 0
  br i1 %322, label %325, label %323

323:                                              ; preds = %319
  %324 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN5ImGui18TreePushOverrideIDEj(i32 noundef %324)
  br label %325

325:                                              ; preds = %323, %319, %316
  br label %326

326:                                              ; preds = %325
  br label %327

327:                                              ; preds = %326
  br label %328

328:                                              ; preds = %327
  %329 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %330 = trunc i8 %329 to i1
  store i1 %330, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %746

331:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 1024, ptr %28, align 4, !tbaa !5
  %332 = load i32, ptr %7, align 4, !tbaa !5
  %333 = and i32 %332, 4
  %334 = icmp ne i32 %333, 0
  br i1 %334, label %335, label %338

335:                                              ; preds = %331
  %336 = load i32, ptr %28, align 4, !tbaa !5
  %337 = or i32 %336, 64
  store i32 %337, ptr %28, align 4, !tbaa !5
  br label %338

338:                                              ; preds = %335, %331
  %339 = load i32, ptr %7, align 4, !tbaa !5
  %340 = and i32 %339, 64
  %341 = icmp ne i32 %340, 0
  br i1 %341, label %342, label %351

342:                                              ; preds = %338
  %343 = load i32, ptr %7, align 4, !tbaa !5
  %344 = and i32 %343, 128
  %345 = icmp ne i32 %344, 0
  %346 = zext i1 %345 to i64
  %347 = select i1 %345, i32 2, i32 0
  %348 = or i32 16, %347
  %349 = load i32, ptr %28, align 4, !tbaa !5
  %350 = or i32 %349, %348
  store i32 %350, ptr %28, align 4, !tbaa !5
  br label %351

351:                                              ; preds = %342, %338
  %352 = load i8, ptr %25, align 1, !tbaa !41, !range !39, !noundef !40
  %353 = trunc i8 %352 to i1
  br i1 %353, label %357, label %354

354:                                              ; preds = %351
  %355 = load i32, ptr %28, align 4, !tbaa !5
  %356 = or i32 %355, 4096
  store i32 %356, ptr %28, align 4, !tbaa !5
  br label %357

357:                                              ; preds = %354, %351
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  %358 = load i32, ptr %7, align 4, !tbaa !5
  %359 = and i32 %358, 1
  %360 = icmp ne i32 %359, 0
  %361 = zext i1 %360 to i8
  store i8 %361, ptr %29, align 1, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  %362 = load i8, ptr %29, align 1, !tbaa !41, !range !39, !noundef !40
  %363 = trunc i8 %362 to i1
  %364 = zext i1 %363 to i8
  store i8 %364, ptr %30, align 1, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  %365 = load i32, ptr %6, align 4, !tbaa !5
  %366 = load i32, ptr %28, align 4, !tbaa !5
  %367 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %24, i32 noundef %365, ptr noundef %31, ptr noundef %32, i32 noundef %366)
  %368 = zext i1 %367 to i8
  store i8 %368, ptr %33, align 1, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #8
  store i8 0, ptr %34, align 1, !tbaa !41
  %369 = load i8, ptr %25, align 1, !tbaa !41, !range !39, !noundef !40
  %370 = trunc i8 %369 to i1
  br i1 %370, label %512, label %371

371:                                              ; preds = %357
  %372 = load i8, ptr %33, align 1, !tbaa !41, !range !39, !noundef !40
  %373 = trunc i8 %372 to i1
  br i1 %373, label %374, label %455

374:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  %375 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %376 = load float, ptr %375, align 4, !tbaa !93
  %377 = load float, ptr %19, align 4, !tbaa !43
  %378 = fsub float %376, %377
  store float %378, ptr %35, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  %379 = load float, ptr %35, align 4, !tbaa !43
  %380 = load ptr, ptr %12, align 8, !tbaa !9
  %381 = getelementptr inbounds %struct.ImGuiContext, ptr %380, i32 0, i32 8
  %382 = load float, ptr %381, align 8, !tbaa !49
  %383 = fadd float %379, %382
  %384 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %385 = load float, ptr %384, align 4, !tbaa !93
  %386 = call float @llvm.fmuladd.f32(float %385, float 2.000000e+00, float %383)
  store float %386, ptr %36, align 4, !tbaa !43
  %387 = load i32, ptr %7, align 4, !tbaa !5
  %388 = and i32 %387, 192
  %389 = icmp ne i32 %388, 0
  br i1 %389, label %390, label %396

390:                                              ; preds = %374
  %391 = load ptr, ptr %12, align 8, !tbaa !9
  %392 = getelementptr inbounds %struct.ImGuiContext, ptr %391, i32 0, i32 68
  %393 = load i32, ptr %392, align 4, !tbaa !100
  %394 = load i32, ptr %6, align 4, !tbaa !5
  %395 = icmp eq i32 %393, %394
  br label %396

396:                                              ; preds = %390, %374
  %397 = phi i1 [ true, %374 ], [ %395, %390 ]
  %398 = zext i1 %397 to i8
  store i8 %398, ptr %34, align 1, !tbaa !41
  %399 = load i32, ptr %7, align 4, !tbaa !5
  %400 = and i32 %399, 128
  %401 = icmp ne i32 %400, 0
  br i1 %401, label %402, label %427

402:                                              ; preds = %396
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %403 = load float, ptr %35, align 4, !tbaa !43
  %404 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 0
  %405 = getelementptr inbounds %struct.ImVec2, ptr %404, i32 0, i32 1
  %406 = load float, ptr %405, align 4, !tbaa !88
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %403, float noundef %406)
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %407 = load float, ptr %36, align 4, !tbaa !43
  %408 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %409 = getelementptr inbounds %struct.ImVec2, ptr %408, i32 0, i32 1
  %410 = load float, ptr %409, align 4, !tbaa !91
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef %407, float noundef %410)
  %411 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %38, i1 noundef zeroext true)
  br i1 %411, label %412, label %418

412:                                              ; preds = %402
  %413 = load ptr, ptr %12, align 8, !tbaa !9
  %414 = getelementptr inbounds %struct.ImGuiContext, ptr %413, i32 0, i32 92
  %415 = load i8, ptr %414, align 1, !tbaa !101, !range !39, !noundef !40
  %416 = trunc i8 %415 to i1
  %417 = xor i1 %416, true
  br label %418

418:                                              ; preds = %412, %402
  %419 = phi i1 [ false, %402 ], [ %417, %412 ]
  %420 = zext i1 %419 to i32
  %421 = load i8, ptr %34, align 1, !tbaa !41, !range !39, !noundef !40
  %422 = trunc i8 %421 to i1
  %423 = zext i1 %422 to i32
  %424 = or i32 %423, %420
  %425 = icmp ne i32 %424, 0
  %426 = zext i1 %425 to i8
  store i8 %426, ptr %34, align 1, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %427

427:                                              ; preds = %418, %396
  %428 = load i32, ptr %7, align 4, !tbaa !5
  %429 = and i32 %428, 64
  %430 = icmp ne i32 %429, 0
  br i1 %430, label %431, label %445

431:                                              ; preds = %427
  %432 = load ptr, ptr %12, align 8, !tbaa !9
  %433 = getelementptr inbounds %struct.ImGuiContext, ptr %432, i32 0, i32 5
  %434 = getelementptr inbounds %struct.ImGuiIO, ptr %433, i32 0, i32 64
  %435 = getelementptr inbounds [5 x i8], ptr %434, i64 0, i64 0
  %436 = load i8, ptr %435, align 1, !tbaa !41, !range !39, !noundef !40
  %437 = trunc i8 %436 to i1
  %438 = zext i1 %437 to i32
  %439 = load i8, ptr %34, align 1, !tbaa !41, !range !39, !noundef !40
  %440 = trunc i8 %439 to i1
  %441 = zext i1 %440 to i32
  %442 = or i32 %441, %438
  %443 = icmp ne i32 %442, 0
  %444 = zext i1 %443 to i8
  store i8 %444, ptr %34, align 1, !tbaa !41
  br label %445

445:                                              ; preds = %431, %427
  %446 = load ptr, ptr %12, align 8, !tbaa !9
  %447 = getelementptr inbounds %struct.ImGuiContext, ptr %446, i32 0, i32 125
  %448 = load i8, ptr %447, align 4, !tbaa !102, !range !39, !noundef !40
  %449 = trunc i8 %448 to i1
  br i1 %449, label %450, label %454

450:                                              ; preds = %445
  %451 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %452 = trunc i8 %451 to i1
  br i1 %452, label %453, label %454

453:                                              ; preds = %450
  store i8 0, ptr %34, align 1, !tbaa !41
  br label %454

454:                                              ; preds = %453, %450, %445
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %455

455:                                              ; preds = %454, %371
  %456 = load ptr, ptr %12, align 8, !tbaa !9
  %457 = getelementptr inbounds %struct.ImGuiContext, ptr %456, i32 0, i32 67
  %458 = load i32, ptr %457, align 8, !tbaa !103
  %459 = load i32, ptr %6, align 4, !tbaa !5
  %460 = icmp eq i32 %458, %459
  br i1 %460, label %461, label %475

461:                                              ; preds = %455
  %462 = load ptr, ptr %12, align 8, !tbaa !9
  %463 = getelementptr inbounds %struct.ImGuiContext, ptr %462, i32 0, i32 100
  %464 = load i8, ptr %463, align 1, !tbaa !104, !range !39, !noundef !40
  %465 = trunc i8 %464 to i1
  br i1 %465, label %466, label %475

466:                                              ; preds = %461
  %467 = load ptr, ptr %12, align 8, !tbaa !9
  %468 = getelementptr inbounds %struct.ImGuiContext, ptr %467, i32 0, i32 104
  %469 = load i32, ptr %468, align 4, !tbaa !105
  %470 = icmp eq i32 %469, 0
  br i1 %470, label %471, label %475

471:                                              ; preds = %466
  %472 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %473 = trunc i8 %472 to i1
  br i1 %473, label %474, label %475

474:                                              ; preds = %471
  store i8 1, ptr %34, align 1, !tbaa !41
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %475

475:                                              ; preds = %474, %471, %466, %461, %455
  %476 = load ptr, ptr %12, align 8, !tbaa !9
  %477 = getelementptr inbounds %struct.ImGuiContext, ptr %476, i32 0, i32 67
  %478 = load i32, ptr %477, align 8, !tbaa !103
  %479 = load i32, ptr %6, align 4, !tbaa !5
  %480 = icmp eq i32 %478, %479
  br i1 %480, label %481, label %495

481:                                              ; preds = %475
  %482 = load ptr, ptr %12, align 8, !tbaa !9
  %483 = getelementptr inbounds %struct.ImGuiContext, ptr %482, i32 0, i32 100
  %484 = load i8, ptr %483, align 1, !tbaa !104, !range !39, !noundef !40
  %485 = trunc i8 %484 to i1
  br i1 %485, label %486, label %495

486:                                              ; preds = %481
  %487 = load ptr, ptr %12, align 8, !tbaa !9
  %488 = getelementptr inbounds %struct.ImGuiContext, ptr %487, i32 0, i32 104
  %489 = load i32, ptr %488, align 4, !tbaa !105
  %490 = icmp eq i32 %489, 1
  br i1 %490, label %491, label %495

491:                                              ; preds = %486
  %492 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %493 = trunc i8 %492 to i1
  br i1 %493, label %495, label %494

494:                                              ; preds = %491
  store i8 1, ptr %34, align 1, !tbaa !41
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %495

495:                                              ; preds = %494, %491, %486, %481, %475
  %496 = load i8, ptr %34, align 1, !tbaa !41, !range !39, !noundef !40
  %497 = trunc i8 %496 to i1
  br i1 %497, label %498, label %511

498:                                              ; preds = %495
  %499 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %500 = trunc i8 %499 to i1
  %501 = xor i1 %500, true
  %502 = zext i1 %501 to i8
  store i8 %502, ptr %26, align 1, !tbaa !41
  %503 = load ptr, ptr %10, align 8, !tbaa !9
  %504 = getelementptr inbounds %struct.ImGuiWindow, ptr %503, i32 0, i32 49
  %505 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %504, i32 0, i32 23
  %506 = load ptr, ptr %505, align 8, !tbaa !106
  %507 = load i32, ptr %6, align 4, !tbaa !5
  %508 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %509 = trunc i8 %508 to i1
  %510 = zext i1 %509 to i32
  call void @_ZN12ImGuiStorage6SetIntEji(ptr noundef nonnull align 8 dereferenceable(16) %506, i32 noundef %507, i32 noundef %510)
  br label %511

511:                                              ; preds = %498, %495
  br label %512

512:                                              ; preds = %511, %357
  %513 = load i32, ptr %7, align 4, !tbaa !5
  %514 = and i32 %513, 4
  %515 = icmp ne i32 %514, 0
  br i1 %515, label %516, label %517

516:                                              ; preds = %512
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %517

517:                                              ; preds = %516, %512
  %518 = load i8, ptr %29, align 1, !tbaa !41, !range !39, !noundef !40
  %519 = trunc i8 %518 to i1
  %520 = zext i1 %519 to i32
  %521 = load i8, ptr %30, align 1, !tbaa !41, !range !39, !noundef !40
  %522 = trunc i8 %521 to i1
  %523 = zext i1 %522 to i32
  %524 = icmp ne i32 %520, %523
  br i1 %524, label %525, label %531

525:                                              ; preds = %517
  %526 = load ptr, ptr %10, align 8, !tbaa !9
  %527 = getelementptr inbounds %struct.ImGuiWindow, ptr %526, i32 0, i32 49
  %528 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %527, i32 0, i32 11
  %529 = load i32, ptr %528, align 4, !tbaa !99
  %530 = or i32 %529, 8
  store i32 %530, ptr %528, align 4, !tbaa !99
  br label %531

531:                                              ; preds = %525, %517
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %532 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  store i32 %532, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  store i32 2, ptr %40, align 4, !tbaa !5
  %533 = load i8, ptr %14, align 1, !tbaa !41, !range !39, !noundef !40
  %534 = trunc i8 %533 to i1
  br i1 %534, label %535, label %645

535:                                              ; preds = %531
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  %536 = load i8, ptr %32, align 1, !tbaa !41, !range !39, !noundef !40
  %537 = trunc i8 %536 to i1
  br i1 %537, label %538, label %542

538:                                              ; preds = %535
  %539 = load i8, ptr %31, align 1, !tbaa !41, !range !39, !noundef !40
  %540 = trunc i8 %539 to i1
  br i1 %540, label %541, label %542

541:                                              ; preds = %538
  br label %547

542:                                              ; preds = %538, %535
  %543 = load i8, ptr %31, align 1, !tbaa !41, !range !39, !noundef !40
  %544 = trunc i8 %543 to i1
  %545 = zext i1 %544 to i64
  %546 = select i1 %544, i32 25, i32 24
  br label %547

547:                                              ; preds = %542, %541
  %548 = phi i32 [ 26, %541 ], [ %546, %542 ]
  %549 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %548, float noundef 1.000000e+00)
  store i32 %549, ptr %41, align 4, !tbaa !5
  %550 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %550, i64 8, i1 false), !tbaa.struct !42
  %551 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %551, i64 8, i1 false), !tbaa.struct !42
  %552 = load i32, ptr %41, align 4, !tbaa !5
  %553 = load ptr, ptr %13, align 8, !tbaa !9
  %554 = getelementptr inbounds %struct.ImGuiStyle, ptr %553, i32 0, i32 12
  %555 = load float, ptr %554, align 4, !tbaa !107
  %556 = load <2 x float>, ptr %42, align 4
  %557 = load <2 x float>, ptr %43, align 4
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %556, <2 x float> %557, i32 noundef %552, i1 noundef zeroext true, float noundef %555)
  %558 = load i32, ptr %6, align 4, !tbaa !5
  %559 = load i32, ptr %40, align 4, !tbaa !5
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %18, i32 noundef %558, i32 noundef %559)
  %560 = load i32, ptr %7, align 4, !tbaa !5
  %561 = and i32 %560, 512
  %562 = icmp ne i32 %561, 0
  br i1 %562, label %563, label %580

563:                                              ; preds = %547
  %564 = load ptr, ptr %10, align 8, !tbaa !9
  %565 = getelementptr inbounds %struct.ImGuiWindow, ptr %564, i32 0, i32 64
  %566 = load ptr, ptr %565, align 8, !tbaa !108
  %567 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %568 = load float, ptr %567, align 4, !tbaa !93
  %569 = load float, ptr %19, align 4, !tbaa !43
  %570 = fneg float %569
  %571 = call float @llvm.fmuladd.f32(float %570, float 0x3FE3333340000000, float %568)
  %572 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %573 = load float, ptr %572, align 4, !tbaa !83
  %574 = load ptr, ptr %12, align 8, !tbaa !9
  %575 = getelementptr inbounds %struct.ImGuiContext, ptr %574, i32 0, i32 8
  %576 = load float, ptr %575, align 8, !tbaa !49
  %577 = call float @llvm.fmuladd.f32(float %576, float 5.000000e-01, float %573)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef %571, float noundef %577)
  %578 = load i32, ptr %39, align 4, !tbaa !5
  %579 = load <2 x float>, ptr %44, align 4
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %566, <2 x float> %579, i32 noundef %578)
  br label %608

580:                                              ; preds = %547
  %581 = load i8, ptr %25, align 1, !tbaa !41, !range !39, !noundef !40
  %582 = trunc i8 %581 to i1
  br i1 %582, label %602, label %583

583:                                              ; preds = %580
  %584 = load ptr, ptr %10, align 8, !tbaa !9
  %585 = getelementptr inbounds %struct.ImGuiWindow, ptr %584, i32 0, i32 64
  %586 = load ptr, ptr %585, align 8, !tbaa !108
  %587 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %588 = load float, ptr %587, align 4, !tbaa !93
  %589 = load float, ptr %19, align 4, !tbaa !43
  %590 = fsub float %588, %589
  %591 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %592 = load float, ptr %591, align 4, !tbaa !93
  %593 = fadd float %590, %592
  %594 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %595 = load float, ptr %594, align 4, !tbaa !83
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %45, float noundef %593, float noundef %595)
  %596 = load i32, ptr %39, align 4, !tbaa !5
  %597 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %598 = trunc i8 %597 to i1
  %599 = zext i1 %598 to i64
  %600 = select i1 %598, i32 3, i32 1
  %601 = load <2 x float>, ptr %45, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %586, <2 x float> %601, i32 noundef %596, i32 noundef %600, float noundef 1.000000e+00)
  br label %607

602:                                              ; preds = %580
  %603 = load float, ptr %19, align 4, !tbaa !43
  %604 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %605 = load float, ptr %604, align 4, !tbaa !93
  %606 = fsub float %605, %603
  store float %606, ptr %604, align 4, !tbaa !93
  br label %607

607:                                              ; preds = %602, %583
  br label %608

608:                                              ; preds = %607, %563
  %609 = load i32, ptr %7, align 4, !tbaa !5
  %610 = and i32 %609, 1048576
  %611 = icmp ne i32 %610, 0
  br i1 %611, label %612, label %625

612:                                              ; preds = %608
  %613 = load ptr, ptr %12, align 8, !tbaa !9
  %614 = getelementptr inbounds %struct.ImGuiContext, ptr %613, i32 0, i32 8
  %615 = load float, ptr %614, align 8, !tbaa !49
  %616 = load ptr, ptr %13, align 8, !tbaa !9
  %617 = getelementptr inbounds %struct.ImGuiStyle, ptr %616, i32 0, i32 11
  %618 = getelementptr inbounds %struct.ImVec2, ptr %617, i32 0, i32 0
  %619 = load float, ptr %618, align 4, !tbaa !44
  %620 = fadd float %615, %619
  %621 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %622 = getelementptr inbounds %struct.ImVec2, ptr %621, i32 0, i32 0
  %623 = load float, ptr %622, align 4, !tbaa !90
  %624 = fsub float %623, %620
  store float %624, ptr %622, align 4, !tbaa !90
  br label %625

625:                                              ; preds = %612, %608
  %626 = load ptr, ptr %12, align 8, !tbaa !9
  %627 = getelementptr inbounds %struct.ImGuiContext, ptr %626, i32 0, i32 172
  %628 = load i8, ptr %627, align 8, !tbaa !109, !range !39, !noundef !40
  %629 = trunc i8 %628 to i1
  br i1 %629, label %630, label %640

630:                                              ; preds = %625
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %46, ptr align 1 @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 3, ptr %47) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %47, ptr align 1 @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix, i64 3, i1 false)
  %631 = getelementptr inbounds [4 x i8], ptr %46, i64 0, i64 0
  %632 = getelementptr inbounds [4 x i8], ptr %46, i64 0, i64 0
  %633 = getelementptr inbounds i8, ptr %632, i64 3
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %22, ptr noundef %631, ptr noundef %633)
  %634 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %635 = load ptr, ptr %8, align 8, !tbaa !9
  %636 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %48, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %634, ptr noundef %635, ptr noundef %636, ptr noundef %16, ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  %637 = getelementptr inbounds [3 x i8], ptr %47, i64 0, i64 0
  %638 = getelementptr inbounds [3 x i8], ptr %47, i64 0, i64 0
  %639 = getelementptr inbounds i8, ptr %638, i64 2
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %22, ptr noundef %637, ptr noundef %639)
  call void @llvm.lifetime.end.p0(i64 3, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  br label %644

640:                                              ; preds = %625
  %641 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %642 = load ptr, ptr %8, align 8, !tbaa !9
  %643 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %49, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %641, ptr noundef %642, ptr noundef %643, ptr noundef %16, ptr noundef nonnull align 4 dereferenceable(8) %49, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %644

644:                                              ; preds = %640, %630
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %731

645:                                              ; preds = %531
  %646 = load i8, ptr %31, align 1, !tbaa !41, !range !39, !noundef !40
  %647 = trunc i8 %646 to i1
  br i1 %647, label %651, label %648

648:                                              ; preds = %645
  %649 = load i8, ptr %29, align 1, !tbaa !41, !range !39, !noundef !40
  %650 = trunc i8 %649 to i1
  br i1 %650, label %651, label %673

651:                                              ; preds = %648, %645
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  %652 = load i8, ptr %32, align 1, !tbaa !41, !range !39, !noundef !40
  %653 = trunc i8 %652 to i1
  br i1 %653, label %654, label %658

654:                                              ; preds = %651
  %655 = load i8, ptr %31, align 1, !tbaa !41, !range !39, !noundef !40
  %656 = trunc i8 %655 to i1
  br i1 %656, label %657, label %658

657:                                              ; preds = %654
  br label %663

658:                                              ; preds = %654, %651
  %659 = load i8, ptr %31, align 1, !tbaa !41, !range !39, !noundef !40
  %660 = trunc i8 %659 to i1
  %661 = zext i1 %660 to i64
  %662 = select i1 %660, i32 25, i32 24
  br label %663

663:                                              ; preds = %658, %657
  %664 = phi i32 [ 26, %657 ], [ %662, %658 ]
  %665 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %664, float noundef 1.000000e+00)
  store i32 %665, ptr %50, align 4, !tbaa !5
  %666 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %666, i64 8, i1 false), !tbaa.struct !42
  %667 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 %667, i64 8, i1 false), !tbaa.struct !42
  %668 = load i32, ptr %50, align 4, !tbaa !5
  %669 = load <2 x float>, ptr %51, align 4
  %670 = load <2 x float>, ptr %52, align 4
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %669, <2 x float> %670, i32 noundef %668, i1 noundef zeroext false, float noundef 0.000000e+00)
  %671 = load i32, ptr %6, align 4, !tbaa !5
  %672 = load i32, ptr %40, align 4, !tbaa !5
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %18, i32 noundef %671, i32 noundef %672)
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %673

673:                                              ; preds = %663, %648
  %674 = load i32, ptr %7, align 4, !tbaa !5
  %675 = and i32 %674, 512
  %676 = icmp ne i32 %675, 0
  br i1 %676, label %677, label %694

677:                                              ; preds = %673
  %678 = load ptr, ptr %10, align 8, !tbaa !9
  %679 = getelementptr inbounds %struct.ImGuiWindow, ptr %678, i32 0, i32 64
  %680 = load ptr, ptr %679, align 8, !tbaa !108
  %681 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %682 = load float, ptr %681, align 4, !tbaa !93
  %683 = load float, ptr %19, align 4, !tbaa !43
  %684 = fneg float %683
  %685 = call float @llvm.fmuladd.f32(float %684, float 5.000000e-01, float %682)
  %686 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %687 = load float, ptr %686, align 4, !tbaa !83
  %688 = load ptr, ptr %12, align 8, !tbaa !9
  %689 = getelementptr inbounds %struct.ImGuiContext, ptr %688, i32 0, i32 8
  %690 = load float, ptr %689, align 8, !tbaa !49
  %691 = call float @llvm.fmuladd.f32(float %690, float 5.000000e-01, float %687)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %53, float noundef %685, float noundef %691)
  %692 = load i32, ptr %39, align 4, !tbaa !5
  %693 = load <2 x float>, ptr %53, align 4
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %680, <2 x float> %693, i32 noundef %692)
  br label %721

694:                                              ; preds = %673
  %695 = load i8, ptr %25, align 1, !tbaa !41, !range !39, !noundef !40
  %696 = trunc i8 %695 to i1
  br i1 %696, label %720, label %697

697:                                              ; preds = %694
  %698 = load ptr, ptr %10, align 8, !tbaa !9
  %699 = getelementptr inbounds %struct.ImGuiWindow, ptr %698, i32 0, i32 64
  %700 = load ptr, ptr %699, align 8, !tbaa !108
  %701 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %702 = load float, ptr %701, align 4, !tbaa !93
  %703 = load float, ptr %19, align 4, !tbaa !43
  %704 = fsub float %702, %703
  %705 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %706 = load float, ptr %705, align 4, !tbaa !93
  %707 = fadd float %704, %706
  %708 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %709 = load float, ptr %708, align 4, !tbaa !83
  %710 = load ptr, ptr %12, align 8, !tbaa !9
  %711 = getelementptr inbounds %struct.ImGuiContext, ptr %710, i32 0, i32 8
  %712 = load float, ptr %711, align 8, !tbaa !49
  %713 = call float @llvm.fmuladd.f32(float %712, float 0x3FC3333340000000, float %709)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %54, float noundef %707, float noundef %713)
  %714 = load i32, ptr %39, align 4, !tbaa !5
  %715 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %716 = trunc i8 %715 to i1
  %717 = zext i1 %716 to i64
  %718 = select i1 %716, i32 3, i32 1
  %719 = load <2 x float>, ptr %54, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %700, <2 x float> %719, i32 noundef %714, i32 noundef %718, float noundef 0x3FE6666660000000)
  br label %720

720:                                              ; preds = %697, %694
  br label %721

721:                                              ; preds = %720, %677
  %722 = load ptr, ptr %12, align 8, !tbaa !9
  %723 = getelementptr inbounds %struct.ImGuiContext, ptr %722, i32 0, i32 172
  %724 = load i8, ptr %723, align 8, !tbaa !109, !range !39, !noundef !40
  %725 = trunc i8 %724 to i1
  br i1 %725, label %726, label %727

726:                                              ; preds = %721
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %22, ptr noundef @.str.130, ptr noundef null)
  br label %727

727:                                              ; preds = %726, %721
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !42
  %728 = load ptr, ptr %8, align 8, !tbaa !9
  %729 = load ptr, ptr %9, align 8, !tbaa !9
  %730 = load <2 x float>, ptr %55, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %730, ptr noundef %728, ptr noundef %729, i1 noundef zeroext false)
  br label %731

731:                                              ; preds = %727, %644
  %732 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %733 = trunc i8 %732 to i1
  br i1 %733, label %734, label %740

734:                                              ; preds = %731
  %735 = load i32, ptr %7, align 4, !tbaa !5
  %736 = and i32 %735, 8
  %737 = icmp ne i32 %736, 0
  br i1 %737, label %740, label %738

738:                                              ; preds = %734
  %739 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN5ImGui18TreePushOverrideIDEj(i32 noundef %739)
  br label %740

740:                                              ; preds = %738, %734, %731
  br label %741

741:                                              ; preds = %740
  br label %742

742:                                              ; preds = %741
  br label %743

743:                                              ; preds = %742
  %744 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %745 = trunc i8 %744 to i1
  store i1 %745, ptr %5, align 1
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %746

746:                                              ; preds = %743, %328
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %747

747:                                              ; preds = %746, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %748 = load i1, ptr %5, align 1
  ret i1 %748
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui18TreePushOverrideIDEj(i32 noundef) #7

declare noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #4

declare void @_ZN5ImGui20NavMoveRequestCancelEv() #4

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !15, i64 131}
!12 = !{!"_ZTS11ImGuiWindow", !10, i64 0, !6, i64 8, !6, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !14, i64 64, !14, i64 68, !6, i64 72, !6, i64 76, !6, i64 80, !13, i64 84, !13, i64 92, !13, i64 100, !13, i64 108, !13, i64 116, !15, i64 124, !15, i64 125, !15, i64 126, !15, i64 127, !15, i64 128, !15, i64 129, !15, i64 130, !15, i64 131, !15, i64 132, !15, i64 133, !15, i64 134, !7, i64 135, !16, i64 136, !16, i64 138, !16, i64 140, !6, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !15, i64 151, !6, i64 152, !6, i64 156, !6, i64 160, !6, i64 164, !6, i64 168, !6, i64 172, !13, i64 176, !13, i64 184, !17, i64 192, !18, i64 208, !19, i64 496, !19, i64 512, !19, i64 528, !19, i64 544, !19, i64 560, !19, i64 576, !6, i64 592, !14, i64 596, !14, i64 600, !26, i64 604, !27, i64 640, !29, i64 656, !14, i64 672, !6, i64 676, !10, i64 680, !30, i64 688, !10, i64 856, !10, i64 864, !10, i64 872, !10, i64 880, !10, i64 888, !7, i64 896, !7, i64 904, !15, i64 936, !6, i64 940, !6, i64 944}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !10, i64 8}
!18 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !14, i64 48, !14, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !19, i64 72, !19, i64 88, !20, i64 104, !6, i64 108, !6, i64 112, !6, i64 116, !15, i64 120, !15, i64 121, !15, i64 122, !13, i64 124, !21, i64 136, !10, i64 152, !6, i64 160, !6, i64 164, !6, i64 168, !6, i64 172, !6, i64 176, !14, i64 180, !14, i64 184, !22, i64 192, !23, i64 208, !23, i64 224, !24, i64 240, !7, i64 256, !25, i64 268, !25, i64 272, !25, i64 276, !10, i64 280}
!19 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!22 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !10, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!24 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!25 = !{!"_ZTS6ImVec1", !14, i64 0}
!26 = !{!"_ZTS16ImGuiMenuColumns", !14, i64 0, !14, i64 4, !14, i64 8, !7, i64 12, !7, i64 24}
!27 = !{!"_ZTS12ImGuiStorage", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!29 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !6, i64 0, !6, i64 4, !10, i64 8}
!30 = !{!"_ZTS10ImDrawList", !31, i64 0, !32, i64 16, !33, i64 32, !6, i64 48, !10, i64 56, !10, i64 64, !6, i64 72, !6, i64 76, !10, i64 80, !10, i64 88, !34, i64 96, !35, i64 112, !36, i64 128, !37, i64 144}
!31 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !10, i64 8}
!32 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!33 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !10, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !10, i64 8}
!35 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !10, i64 8}
!36 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!37 = !{!"_ZTS18ImDrawListSplitter", !6, i64 0, !6, i64 4, !38, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = !{!15, !15, i64 0}
!42 = !{i64 0, i64 4, !43, i64 4, i64 4, !43}
!43 = !{!14, !14, i64 0}
!44 = !{!45, !14, i64 56}
!45 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !13, i64 4, !14, i64 12, !14, i64 16, !13, i64 20, !13, i64 28, !6, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !13, i64 56, !14, i64 64, !14, i64 68, !13, i64 72, !13, i64 80, !13, i64 88, !14, i64 96, !14, i64 100, !14, i64 104, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !6, i64 128, !13, i64 132, !13, i64 140, !13, i64 148, !13, i64 156, !14, i64 164, !15, i64 168, !15, i64 169, !14, i64 172, !7, i64 176}
!46 = !{!12, !14, i64 256}
!47 = !{!45, !14, i64 60}
!48 = !{!12, !14, i64 244}
!49 = !{!50, !14, i64 6416}
!50 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !51, i64 8, !45, i64 5464, !10, i64 6408, !14, i64 6416, !14, i64 6420, !52, i64 6424, !54, i64 6568, !6, i64 6576, !6, i64 6580, !6, i64 6584, !21, i64 6592, !21, i64 6608, !21, i64 6624, !21, i64 6640, !27, i64 6656, !6, i64 6672, !10, i64 6680, !10, i64 6688, !10, i64 6696, !10, i64 6704, !10, i64 6712, !13, i64 6720, !14, i64 6728, !6, i64 6732, !15, i64 6736, !6, i64 6740, !14, i64 6744, !14, i64 6748, !6, i64 6752, !6, i64 6756, !14, i64 6760, !15, i64 6764, !15, i64 6765, !15, i64 6766, !15, i64 6767, !15, i64 6768, !6, i64 6772, !6, i64 6776, !55, i64 6784, !13, i64 6792, !10, i64 6800, !56, i64 6808, !6, i64 6812, !15, i64 6816, !15, i64 6817, !10, i64 6824, !6, i64 6832, !14, i64 6836, !57, i64 6840, !58, i64 6944, !59, i64 6960, !60, i64 6976, !61, i64 6992, !62, i64 7008, !62, i64 7024, !10, i64 7040, !6, i64 7048, !6, i64 7052, !6, i64 7056, !6, i64 7060, !6, i64 7064, !6, i64 7068, !6, i64 7072, !6, i64 7076, !6, i64 7080, !56, i64 7084, !19, i64 7088, !6, i64 7104, !10, i64 7112, !10, i64 7120, !10, i64 7128, !14, i64 7136, !14, i64 7140, !15, i64 7144, !20, i64 7148, !6, i64 7152, !15, i64 7156, !15, i64 7157, !15, i64 7158, !15, i64 7159, !15, i64 7160, !15, i64 7161, !15, i64 7162, !6, i64 7164, !19, i64 7168, !15, i64 7184, !15, i64 7185, !6, i64 7188, !63, i64 7192, !6, i64 7196, !6, i64 7200, !6, i64 7204, !64, i64 7208, !64, i64 7256, !64, i64 7304, !10, i64 7352, !10, i64 7360, !6, i64 7368, !6, i64 7372, !6, i64 7376, !6, i64 7380, !15, i64 7384, !65, i64 7392, !66, i64 7448, !14, i64 7480, !30, i64 7488, !30, i64 7656, !6, i64 7824, !15, i64 7828, !15, i64 7829, !6, i64 7832, !6, i64 7836, !6, i64 7840, !67, i64 7848, !19, i64 7912, !6, i64 7928, !6, i64 7932, !14, i64 7936, !6, i64 7940, !6, i64 7944, !6, i64 7948, !68, i64 7952, !7, i64 7968, !10, i64 7976, !69, i64 7984, !71, i64 8024, !72, i64 8040, !13, i64 8056, !73, i64 8064, !77, i64 11792, !6, i64 11912, !6, i64 11916, !14, i64 11920, !7, i64 11924, !53, i64 11936, !15, i64 11952, !14, i64 11956, !14, i64 11960, !14, i64 11964, !6, i64 11968, !74, i64 11976, !6, i64 11992, !13, i64 11996, !13, i64 12004, !15, i64 12012, !14, i64 12016, !79, i64 12024, !80, i64 12040, !81, i64 12056, !15, i64 12072, !82, i64 12076, !10, i64 12080, !79, i64 12088, !14, i64 12104, !15, i64 12108, !6, i64 12112, !6, i64 12116, !6, i64 12120, !15, i64 12124, !6, i64 12128, !7, i64 12132, !6, i64 12612, !14, i64 12616, !6, i64 12620, !6, i64 12624, !6, i64 12628, !7, i64 12632}
!51 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !10, i64 24, !10, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !7, i64 52, !14, i64 140, !14, i64 144, !10, i64 152, !10, i64 160, !14, i64 168, !15, i64 172, !10, i64 176, !13, i64 184, !15, i64 192, !15, i64 193, !15, i64 194, !15, i64 195, !15, i64 196, !14, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !13, i64 296, !7, i64 304, !14, i64 312, !14, i64 316, !15, i64 320, !15, i64 321, !15, i64 322, !15, i64 323, !7, i64 324, !7, i64 836, !15, i64 920, !15, i64 921, !15, i64 922, !15, i64 923, !15, i64 924, !15, i64 925, !15, i64 926, !14, i64 928, !6, i64 932, !6, i64 936, !6, i64 940, !6, i64 944, !6, i64 948, !13, i64 952, !13, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !32, i64 5440}
!52 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !10, i64 8, !14, i64 16, !14, i64 20, !53, i64 24, !6, i64 40, !7, i64 44}
!53 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!54 = !{!"double", !7, i64 0}
!55 = !{!"long long", !7, i64 0}
!56 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!57 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !15, i64 48, !19, i64 52, !10, i64 72, !10, i64 80, !14, i64 88, !13, i64 92}
!58 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !14, i64 4, !15, i64 8, !6, i64 12}
!59 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !10, i64 8}
!60 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!61 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!62 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!63 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!64 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !6, i64 4, !10, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !19, i64 28}
!65 = !{!"_ZTS10ImDrawData", !15, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !13, i64 28, !13, i64 36, !13, i64 44}
!66 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!67 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!68 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!69 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !70, i64 0, !27, i64 16, !6, i64 32}
!70 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !10, i64 8}
!71 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !10, i64 8}
!72 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !10, i64 8}
!73 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 4, !6, i64 8, !32, i64 16, !74, i64 32, !74, i64 48, !15, i64 64, !6, i64 68, !14, i64 72, !75, i64 76, !14, i64 3696, !15, i64 3700, !15, i64 3701, !6, i64 3704, !10, i64 3712, !10, i64 3720}
!74 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!75 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !6, i64 0, !6, i64 4, !6, 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, !14, i64 20, !76, i64 24}
!76 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !6, i64 3588, !6, i64 3592}
!77 = !{!"_ZTS6ImFont", !23, i64 0, !14, i64 16, !14, i64 20, !32, i64 24, !78, i64 40, !10, i64 56, !13, i64 64, !10, i64 72, !10, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !14, i64 96, !14, i64 100, !14, i64 104, !6, i64 108, !15, i64 112}
!78 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!79 = !{!"_ZTS15ImGuiTextBuffer", !74, i64 0}
!80 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!81 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !6, i64 0, !6, i64 4, !10, i64 8}
!82 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!83 = !{!13, !14, i64 4}
!84 = !{!12, !14, i64 544}
!85 = !{!12, !14, i64 208}
!86 = !{!19, !14, i64 0}
!87 = !{!12, !14, i64 212}
!88 = !{!19, !14, i64 4}
!89 = !{!12, !14, i64 552}
!90 = !{!19, !14, i64 8}
!91 = !{!19, !14, i64 12}
!92 = !{!12, !14, i64 56}
!93 = !{!13, !14, i64 0}
!94 = !{i64 0, i64 4, !43, i64 4, i64 4, !43, i64 8, i64 4, !43, i64 12, i64 4, !43}
!95 = !{!45, !14, i64 72}
!96 = !{!50, !15, i64 7156}
!97 = !{!12, !6, i64 264}
!98 = !{!12, !6, i64 268}
!99 = !{!12, !6, i64 276}
!100 = !{!50, !6, i64 7052}
!101 = !{!50, !15, i64 7159}
!102 = !{!50, !15, i64 7828}
!103 = !{!50, !6, i64 7048}
!104 = !{!50, !15, i64 7185}
!105 = !{!50, !6, i64 7196}
!106 = !{!12, !10, i64 360}
!107 = !{!45, !14, i64 64}
!108 = !{!12, !10, i64 680}
!109 = !{!50, !15, i64 12072}


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

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

@GImGui = external local_unnamed_addr global ptr, align 8
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix = external hidden unnamed_addr constant [4 x i8], align 1
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix = external hidden unnamed_addr constant [3 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

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

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

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

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

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

declare void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef, <2 x float>, i32 noundef) local_unnamed_addr #4

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

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

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

declare void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef, <2 x float>, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #7 align 2

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

declare void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN5ImGui19SetItemAllowOverlapEv() local_unnamed_addr #4

declare noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui16TreeNodeBehaviorEjiPKcS1_(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #6 {
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImRect, align 8
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImRect, align 4
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 8
  %16 = alloca %struct.ImVec2, align 8
  %17 = alloca [4 x i8], align 4
  %18 = alloca [3 x i8], align 1
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 8
  %22 = alloca %struct.ImVec2, align 8
  %23 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %24 = getelementptr inbounds i8, ptr %23, i64 131
  %25 = load i8, ptr %24, align 1, !tbaa !5, !range !37, !noundef !38
  %26 = trunc nuw i8 %25 to i1
  br i1 %26, label %321, label %27

27:                                               ; preds = %4
  %28 = load ptr, ptr @GImGui, align 8, !tbaa !39
  %29 = and i32 %1, 2
  %.not = icmp eq i32 %29, 0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %30 = and i32 %1, 1026
  %or.cond = icmp eq i32 %30, 0
  %31 = getelementptr inbounds i8, ptr %28, i64 5520
  br i1 %or.cond, label %34, label %32

32:                                               ; preds = %27
  %33 = load i64, ptr %31, align 4
  store i64 %33, ptr %5, align 8
  br label %41

34:                                               ; preds = %27
  %35 = load float, ptr %31, align 4, !tbaa !40
  %36 = getelementptr inbounds i8, ptr %23, i64 256
  %37 = load float, ptr %36, align 8, !tbaa !42
  %38 = getelementptr inbounds i8, ptr %28, i64 5524
  %39 = load float, ptr %38, align 4, !tbaa !43
  %40 = tail call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %37, float noundef %39)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %35, float noundef %40)
  br label %41

41:                                               ; preds = %34, %32
  %.not164 = icmp eq ptr %3, null
  br i1 %.not164, label %42, label %44

42:                                               ; preds = %41
  %43 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %2, ptr noundef null)
  br label %44

44:                                               ; preds = %42, %41
  %.0155 = phi ptr [ %3, %41 ], [ %43, %42 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %45 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %2, ptr noundef %.0155, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %45, ptr %6, align 8
  %46 = getelementptr inbounds i8, ptr %23, i64 208
  %47 = getelementptr inbounds i8, ptr %23, i64 244
  %48 = load float, ptr %47, align 4, !tbaa !44
  %49 = getelementptr inbounds i8, ptr %28, i64 6416
  %50 = load float, ptr %49, align 8, !tbaa !45
  %51 = getelementptr inbounds i8, ptr %28, i64 5520
  %52 = getelementptr inbounds i8, ptr %28, i64 5524
  %53 = load float, ptr %52, align 4, !tbaa !43
  %54 = call float @llvm.fmuladd.f32(float %53, float 2.000000e+00, float %50)
  %55 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %48, float noundef %54)
  %56 = extractelement <2 x float> %45, i64 1
  %57 = getelementptr inbounds i8, ptr %5, i64 4
  %58 = load float, ptr %57, align 4, !tbaa !79
  %59 = call float @llvm.fmuladd.f32(float %58, float 2.000000e+00, float %56)
  %60 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %55, float noundef %59)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %61 = and i32 %1, 4096
  %.not165 = icmp eq i32 %61, 0
  %62 = getelementptr inbounds i8, ptr %23, i64 544
  %.in = select i1 %.not165, ptr %46, ptr %62
  %63 = load float, ptr %.in, align 8, !tbaa !80
  store float %63, ptr %7, align 8, !tbaa !81
  %64 = getelementptr inbounds i8, ptr %23, i64 212
  %65 = load float, ptr %64, align 4, !tbaa !82
  %66 = getelementptr inbounds i8, ptr %7, i64 4
  store float %65, ptr %66, align 4, !tbaa !83
  %67 = getelementptr inbounds i8, ptr %23, i64 552
  %68 = load float, ptr %67, align 8, !tbaa !84
  %69 = getelementptr inbounds i8, ptr %7, i64 8
  store float %68, ptr %69, align 8, !tbaa !85
  %70 = fadd float %60, %65
  %71 = getelementptr inbounds i8, ptr %7, i64 12
  store float %70, ptr %71, align 4, !tbaa !86
  %72 = extractelement <2 x float> %45, i64 0
  br i1 %.not, label %84, label %73

73:                                               ; preds = %44
  %74 = getelementptr inbounds i8, ptr %23, i64 56
  %75 = load float, ptr %74, align 8, !tbaa !87
  %76 = call float @llvm.fmuladd.f32(float %75, float 5.000000e-01, float -1.000000e+00)
  %77 = fptosi float %76 to i32
  %78 = sitofp i32 %77 to float
  %79 = fsub float %63, %78
  store float %79, ptr %7, align 8, !tbaa !81
  %80 = fmul float %75, 5.000000e-01
  %81 = fptosi float %80 to i32
  %82 = sitofp i32 %81 to float
  %83 = fadd float %68, %82
  store float %83, ptr %69, align 8, !tbaa !85
  br label %84

84:                                               ; preds = %73, %44
  %.v = phi float [ 3.000000e+00, %73 ], [ 2.000000e+00, %44 ]
  %85 = load float, ptr %49, align 8, !tbaa !45
  %86 = load float, ptr %5, align 8
  %87 = fmul float %.v, %86
  %88 = fadd float %85, %87
  %89 = load float, ptr %57, align 4, !tbaa !79
  %90 = getelementptr inbounds i8, ptr %23, i64 256
  %91 = load float, ptr %90, align 8, !tbaa !42
  %92 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %89, float noundef %91)
  %93 = load float, ptr %49, align 8, !tbaa !45
  %94 = fcmp ogt float %72, 0.000000e+00
  %95 = load float, ptr %5, align 8
  %96 = call float @llvm.fmuladd.f32(float %95, float 2.000000e+00, float %72)
  %97 = select i1 %94, float %96, float 0.000000e+00
  %98 = fadd float %93, %97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %99 = load float, ptr %46, align 8, !tbaa !88
  %100 = fadd float %88, %99
  %101 = load float, ptr %64, align 4, !tbaa !82
  %102 = fadd float %92, %101
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %100, float noundef %102)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %98, float noundef %60)
  %103 = load float, ptr %57, align 4, !tbaa !79
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %103)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !89
  %104 = and i32 %1, 6146
  %or.cond181 = icmp eq i32 %104, 0
  br i1 %or.cond181, label %105, label %112

105:                                              ; preds = %84
  %106 = load float, ptr %7, align 8, !tbaa !81
  %107 = fadd float %98, %106
  %108 = getelementptr inbounds i8, ptr %28, i64 5536
  %109 = load float, ptr %108, align 4, !tbaa !90
  %110 = call float @llvm.fmuladd.f32(float %109, float 2.000000e+00, float %107)
  %111 = getelementptr inbounds i8, ptr %10, i64 8
  store float %110, ptr %111, align 4, !tbaa !85
  br label %112

112:                                              ; preds = %105, %84
  %113 = and i32 %1, 256
  %.not166 = icmp eq i32 %113, 0
  %114 = call noundef zeroext i1 @_ZN5ImGui22TreeNodeBehaviorIsOpenEji(i32 noundef %0, i32 noundef %1)
  br i1 %114, label %115, label %128

115:                                              ; preds = %112
  %116 = getelementptr inbounds i8, ptr %28, i64 7156
  %117 = load i8, ptr %116, align 4, !tbaa !91, !range !37, !noundef !38
  %118 = trunc nuw i8 %117 to i1
  %119 = and i32 %1, 8200
  %120 = icmp ne i32 %119, 8192
  %or.cond183.not = or i1 %120, %118
  br i1 %or.cond183.not, label %128, label %121

121:                                              ; preds = %115
  %122 = getelementptr inbounds i8, ptr %23, i64 264
  %123 = load i32, ptr %122, align 8, !tbaa !92
  %124 = shl nuw i32 1, %123
  %125 = getelementptr inbounds i8, ptr %23, i64 268
  %126 = load i32, ptr %125, align 4, !tbaa !93
  %127 = or i32 %126, %124
  store i32 %127, ptr %125, align 4, !tbaa !93
  br label %128

128:                                              ; preds = %121, %115, %112
  %129 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef %0, ptr noundef null)
  %130 = getelementptr inbounds i8, ptr %23, i64 276
  %131 = load i32, ptr %130, align 4, !tbaa !94
  %132 = or i32 %131, 2
  store i32 %132, ptr %130, align 4, !tbaa !94
  %133 = getelementptr inbounds i8, ptr %23, i64 296
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %133, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !89
  br i1 %129, label %137, label %134

134:                                              ; preds = %128
  %135 = and i32 %1, 8
  %.not169 = icmp eq i32 %135, 0
  %or.cond184 = and i1 %.not169, %114
  br i1 %or.cond184, label %136, label %320

136:                                              ; preds = %134
  call void @_ZN5ImGui18TreePushOverrideIDEj(i32 noundef %0)
  br label %320

137:                                              ; preds = %128
  %138 = and i32 %1, 4
  %.not170 = icmp eq i32 %138, 0
  %spec.select = select i1 %.not170, i32 1024, i32 1088
  %139 = and i32 %1, 64
  %.not171 = icmp eq i32 %139, 0
  %140 = lshr i32 %1, 6
  %141 = and i32 %140, 2
  %142 = or disjoint i32 %141, 16
  %143 = select i1 %.not171, i32 0, i32 %142
  %.1158 = or disjoint i32 %143, %spec.select
  %144 = or disjoint i32 %.1158, 4096
  %.2 = select i1 %.not166, i32 %144, i32 %.1158
  %145 = and i32 %1, 1
  %.not173 = icmp ne i32 %145, 0
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  %146 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef %0, ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef %.2)
  br i1 %.not166, label %147, label %217

147:                                              ; preds = %137
  br i1 %146, label %148, label %187

148:                                              ; preds = %147
  %149 = load float, ptr %8, align 8, !tbaa !95
  %150 = fsub float %149, %88
  %151 = load float, ptr %49, align 8, !tbaa !45
  %152 = fadd float %150, %151
  %153 = load float, ptr %5, align 8, !tbaa !95
  %154 = call float @llvm.fmuladd.f32(float %153, float 2.000000e+00, float %152)
  %155 = and i32 %1, 192
  %.not174 = icmp eq i32 %155, 0
  br i1 %.not174, label %160, label %156

156:                                              ; preds = %148
  %157 = getelementptr inbounds i8, ptr %28, i64 7052
  %158 = load i32, ptr %157, align 4, !tbaa !96
  %159 = icmp eq i32 %158, %0
  br label %160

160:                                              ; preds = %156, %148
  %161 = phi i1 [ true, %148 ], [ %159, %156 ]
  %162 = zext i1 %161 to i8
  %163 = and i32 %1, 128
  %.not175 = icmp eq i32 %163, 0
  br i1 %.not175, label %177, label %164

164:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %165 = getelementptr inbounds i8, ptr %10, i64 4
  %166 = load float, ptr %165, align 4, !tbaa !83
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %150, float noundef %166)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %167 = getelementptr inbounds i8, ptr %10, i64 12
  %168 = load float, ptr %167, align 4, !tbaa !86
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %154, float noundef %168)
  %169 = call noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %14, i1 noundef zeroext true)
  br i1 %169, label %170, label %174

170:                                              ; preds = %164
  %171 = getelementptr inbounds i8, ptr %28, i64 7159
  %172 = load i8, ptr %171, align 1, !tbaa !97, !range !37, !noundef !38
  %173 = xor i8 %172, 1
  br label %174

174:                                              ; preds = %170, %164
  %175 = phi i8 [ 0, %164 ], [ %173, %170 ]
  %176 = or i8 %175, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %177

177:                                              ; preds = %174, %160
  %.0159 = phi i8 [ %176, %174 ], [ %162, %160 ]
  br i1 %.not171, label %182, label %178

178:                                              ; preds = %177
  %179 = getelementptr inbounds i8, ptr %28, i64 1061
  %180 = load i8, ptr %179, align 1, !tbaa !98, !range !37, !noundef !38
  %181 = or i8 %180, %.0159
  br label %182

182:                                              ; preds = %178, %177
  %.1160 = phi i8 [ %181, %178 ], [ %.0159, %177 ]
  %183 = getelementptr inbounds i8, ptr %28, i64 7828
  %184 = load i8, ptr %183, align 4, !tbaa !99, !range !37, !noundef !38
  %185 = trunc nuw i8 %184 to i1
  %186 = and i1 %114, %185
  %spec.select192 = select i1 %186, i8 0, i8 %.1160
  br label %187

187:                                              ; preds = %182, %147
  %.3 = phi i8 [ 0, %147 ], [ %spec.select192, %182 ]
  %188 = getelementptr inbounds i8, ptr %28, i64 7048
  %189 = load i32, ptr %188, align 8, !tbaa !100
  %190 = icmp eq i32 %189, %0
  br i1 %190, label %191, label %200

191:                                              ; preds = %187
  %192 = getelementptr inbounds i8, ptr %28, i64 7185
  %193 = load i8, ptr %192, align 1, !tbaa !101, !range !37, !noundef !38
  %194 = trunc nuw i8 %193 to i1
  br i1 %194, label %195, label %.thread203

195:                                              ; preds = %191
  %196 = getelementptr inbounds i8, ptr %28, i64 7196
  %197 = load i32, ptr %196, align 4, !tbaa !102
  %198 = icmp eq i32 %197, 0
  %brmerge.not = and i1 %114, %198
  br i1 %brmerge.not, label %199, label %.thread203

199:                                              ; preds = %195
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  %.pre = load i32, ptr %188, align 8, !tbaa !100
  br label %200

200:                                              ; preds = %199, %187
  %201 = phi i32 [ %.pre, %199 ], [ %189, %187 ]
  %.4 = phi i8 [ 1, %199 ], [ %.3, %187 ]
  %202 = icmp eq i32 %201, %0
  br i1 %202, label %.thread203, label %210

.thread203:                                       ; preds = %191, %195, %200
  %.4206 = phi i8 [ %.4, %200 ], [ %.3, %195 ], [ %.3, %191 ]
  %203 = getelementptr inbounds i8, ptr %28, i64 7185
  %204 = load i8, ptr %203, align 1, !tbaa !101, !range !37, !noundef !38
  %205 = trunc nuw i8 %204 to i1
  br i1 %205, label %206, label %210

206:                                              ; preds = %.thread203
  %207 = getelementptr inbounds i8, ptr %28, i64 7196
  %208 = load i32, ptr %207, align 4, !tbaa !102
  %209 = icmp ne i32 %208, 1
  %brmerge189 = or i1 %114, %209
  br i1 %brmerge189, label %210, label %.thread

.thread:                                          ; preds = %206
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %212

210:                                              ; preds = %206, %.thread203, %200
  %.4205 = phi i8 [ %.4206, %206 ], [ %.4206, %.thread203 ], [ %.4, %200 ]
  %211 = trunc nuw i8 %.4205 to i1
  br i1 %211, label %212, label %217

212:                                              ; preds = %.thread, %210
  %213 = xor i1 %114, true
  %214 = getelementptr inbounds i8, ptr %23, i64 360
  %215 = load ptr, ptr %214, align 8, !tbaa !103
  %216 = zext i1 %213 to i32
  call void @_ZN12ImGuiStorage6SetIntEji(ptr noundef nonnull align 8 dereferenceable(16) %215, i32 noundef %0, i32 noundef %216)
  br label %217

217:                                              ; preds = %210, %212, %137
  %.0156.in = phi i1 [ %114, %137 ], [ %213, %212 ], [ %114, %210 ]
  br i1 %.not170, label %219, label %218

218:                                              ; preds = %217
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %219

219:                                              ; preds = %217, %218
  %220 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  br i1 %.not, label %275, label %221

221:                                              ; preds = %219
  %222 = load i8, ptr %12, align 1, !tbaa !98, !range !37, !noundef !38
  %223 = trunc nuw i8 %222 to i1
  %.pre199 = load i8, ptr %11, align 1, !tbaa !98, !range !37
  %224 = trunc nuw i8 %.pre199 to i1
  %.not207 = xor i1 %223, true
  %225 = select i1 %223, i1 %224, i1 false
  %.mux = select i1 %.not207, i1 %224, i1 false
  %226 = select i1 %.mux, i32 25, i32 24
  %227 = select i1 %225, i32 26, i32 %226
  %228 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %227, float noundef 1.000000e+00)
  %.sroa.04.0.copyload = load <2 x float>, ptr %7, align 8
  %.sroa.03.0.copyload = load <2 x float>, ptr %69, align 8
  %229 = getelementptr inbounds i8, ptr %28, i64 5528
  %230 = load float, ptr %229, align 4, !tbaa !104
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %.sroa.04.0.copyload, <2 x float> %.sroa.03.0.copyload, i32 noundef %228, i1 noundef zeroext true, float noundef %230)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %0, i32 noundef 2)
  %231 = and i32 %1, 512
  %.not177 = icmp eq i32 %231, 0
  br i1 %.not177, label %243, label %232

232:                                              ; preds = %221
  %233 = getelementptr inbounds i8, ptr %23, i64 680
  %234 = load ptr, ptr %233, align 8, !tbaa !105
  %235 = load float, ptr %8, align 8, !tbaa !95
  %236 = fneg float %88
  %237 = call float @llvm.fmuladd.f32(float %236, float 0x3FE3333340000000, float %235)
  %238 = getelementptr inbounds i8, ptr %8, i64 4
  %239 = load float, ptr %238, align 4, !tbaa !79
  %240 = load float, ptr %49, align 8, !tbaa !45
  %241 = call float @llvm.fmuladd.f32(float %240, float 5.000000e-01, float %239)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %237, float noundef %241)
  %242 = load <2 x float>, ptr %15, align 8
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %234, <2 x float> %242, i32 noundef %220)
  br label %258

243:                                              ; preds = %221
  br i1 %.not166, label %244, label %255

244:                                              ; preds = %243
  %245 = getelementptr inbounds i8, ptr %23, i64 680
  %246 = load ptr, ptr %245, align 8, !tbaa !105
  %247 = load float, ptr %8, align 8, !tbaa !95
  %248 = fsub float %247, %88
  %249 = load float, ptr %5, align 8, !tbaa !95
  %250 = fadd float %248, %249
  %251 = getelementptr inbounds i8, ptr %8, i64 4
  %252 = load float, ptr %251, align 4, !tbaa !79
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %250, float noundef %252)
  %253 = select i1 %.0156.in, i32 3, i32 1
  %254 = load <2 x float>, ptr %16, align 8
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %246, <2 x float> %254, i32 noundef %220, i32 noundef %253, float noundef 1.000000e+00)
  br label %258

255:                                              ; preds = %243
  %256 = load float, ptr %8, align 8, !tbaa !95
  %257 = fsub float %256, %88
  store float %257, ptr %8, align 8, !tbaa !95
  br label %258

258:                                              ; preds = %244, %255, %232
  %259 = and i32 %1, 1048576
  %.not178 = icmp eq i32 %259, 0
  br i1 %.not178, label %266, label %260

260:                                              ; preds = %258
  %261 = load float, ptr %49, align 8, !tbaa !45
  %262 = load float, ptr %51, align 4, !tbaa !40
  %263 = fadd float %261, %262
  %264 = load float, ptr %69, align 8, !tbaa !85
  %265 = fsub float %264, %263
  store float %265, ptr %69, align 8, !tbaa !85
  br label %266

266:                                              ; preds = %260, %258
  %267 = getelementptr inbounds i8, ptr %28, i64 12072
  %268 = load i8, ptr %267, align 8, !tbaa !106, !range !37, !noundef !38
  %269 = trunc nuw i8 %268 to i1
  br i1 %269, label %270, label %274

270:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #8
  %271 = load i32, ptr @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix, align 1
  store i32 %271, ptr %17, align 4
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %18) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %18, ptr noundef nonnull align 1 dereferenceable(3) @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix, i64 3, i1 false)
  %272 = getelementptr inbounds i8, ptr %17, i64 3
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %8, ptr noundef nonnull %17, ptr noundef nonnull %272)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %69, ptr noundef %2, ptr noundef %.0155, ptr noundef nonnull %6, ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  %273 = getelementptr inbounds i8, ptr %18, i64 2
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %8, ptr noundef nonnull %18, ptr noundef nonnull %273)
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  br label %316

274:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %69, ptr noundef %2, ptr noundef %.0155, ptr noundef nonnull %6, ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  br label %316

275:                                              ; preds = %219
  %276 = load i8, ptr %11, align 1, !tbaa !98, !range !37, !noundef !38
  %277 = trunc nuw i8 %276 to i1
  %brmerge190 = or i1 %.not173, %277
  br i1 %brmerge190, label %278, label %283

278:                                              ; preds = %275
  %279 = load i8, ptr %12, align 1, !tbaa !98, !range !37, !noundef !38
  %brmerge196.demorgan198 = and i8 %279, %276
  %brmerge196.demorgan = trunc nuw i8 %brmerge196.demorgan198 to i1
  %280 = select i1 %277, i32 25, i32 24
  %281 = select i1 %brmerge196.demorgan, i32 26, i32 %280
  %282 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %281, float noundef 1.000000e+00)
  %.sroa.02.0.copyload = load <2 x float>, ptr %7, align 8
  %.sroa.01.0.copyload = load <2 x float>, ptr %69, align 8
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %.sroa.02.0.copyload, <2 x float> %.sroa.01.0.copyload, i32 noundef %282, i1 noundef zeroext false, float noundef 0.000000e+00)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %0, i32 noundef 2)
  br label %283

283:                                              ; preds = %275, %278
  %284 = and i32 %1, 512
  %.not176 = icmp eq i32 %284, 0
  br i1 %.not176, label %296, label %285

285:                                              ; preds = %283
  %286 = getelementptr inbounds i8, ptr %23, i64 680
  %287 = load ptr, ptr %286, align 8, !tbaa !105
  %288 = load float, ptr %8, align 8, !tbaa !95
  %289 = fneg float %88
  %290 = call float @llvm.fmuladd.f32(float %289, float 5.000000e-01, float %288)
  %291 = getelementptr inbounds i8, ptr %8, i64 4
  %292 = load float, ptr %291, align 4, !tbaa !79
  %293 = load float, ptr %49, align 8, !tbaa !45
  %294 = call float @llvm.fmuladd.f32(float %293, float 5.000000e-01, float %292)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %290, float noundef %294)
  %295 = load <2 x float>, ptr %21, align 8
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %287, <2 x float> %295, i32 noundef %220)
  br label %310

296:                                              ; preds = %283
  br i1 %.not166, label %297, label %310

297:                                              ; preds = %296
  %298 = getelementptr inbounds i8, ptr %23, i64 680
  %299 = load ptr, ptr %298, align 8, !tbaa !105
  %300 = load float, ptr %8, align 8, !tbaa !95
  %301 = fsub float %300, %88
  %302 = load float, ptr %5, align 8, !tbaa !95
  %303 = fadd float %301, %302
  %304 = getelementptr inbounds i8, ptr %8, i64 4
  %305 = load float, ptr %304, align 4, !tbaa !79
  %306 = load float, ptr %49, align 8, !tbaa !45
  %307 = call float @llvm.fmuladd.f32(float %306, float 0x3FC3333340000000, float %305)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %303, float noundef %307)
  %308 = select i1 %.0156.in, i32 3, i32 1
  %309 = load <2 x float>, ptr %22, align 8
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %299, <2 x float> %309, i32 noundef %220, i32 noundef %308, float noundef 0x3FE6666660000000)
  br label %310

310:                                              ; preds = %296, %297, %285
  %311 = getelementptr inbounds i8, ptr %28, i64 12072
  %312 = load i8, ptr %311, align 8, !tbaa !106, !range !37, !noundef !38
  %313 = trunc nuw i8 %312 to i1
  br i1 %313, label %314, label %315

314:                                              ; preds = %310
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %8, ptr noundef nonnull @.str.130, ptr noundef null)
  br label %315

315:                                              ; preds = %314, %310
  %.sroa.0.0.copyload = load <2 x float>, ptr %8, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %.sroa.0.0.copyload, ptr noundef %2, ptr noundef %.0155, i1 noundef zeroext false)
  br label %316

316:                                              ; preds = %270, %274, %315
  %317 = and i32 %1, 8
  %.not179 = icmp eq i32 %317, 0
  %or.cond191 = and i1 %.not179, %.0156.in
  br i1 %or.cond191, label %318, label %319

318:                                              ; preds = %316
  call void @_ZN5ImGui18TreePushOverrideIDEj(i32 noundef %0)
  br label %319

319:                                              ; preds = %316, %318
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br label %320

320:                                              ; preds = %136, %134, %319
  %.0 = phi i1 [ %.0156.in, %319 ], [ %114, %134 ], [ true, %136 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  br label %321

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui18TreePushOverrideIDEj(i32 noundef) local_unnamed_addr #7

declare noundef zeroext i1 @_ZN5ImGui19IsMouseHoveringRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #4

declare void @_ZN5ImGui20NavMoveRequestCancelEv() local_unnamed_addr #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !13, i64 131}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64, !12, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !11, i64 84, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !13, i64 130, !13, i64 131, !13, i64 132, !13, i64 133, !13, i64 134, !8, i64 135, !14, i64 136, !14, i64 138, !14, i64 140, !10, i64 144, !8, i64 148, !8, i64 149, !8, i64 150, !13, i64 151, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !11, i64 176, !11, i64 184, !15, i64 192, !16, i64 208, !17, i64 496, !17, i64 512, !17, i64 528, !17, i64 544, !17, i64 560, !17, i64 576, !10, i64 592, !12, i64 596, !12, i64 600, !24, i64 604, !25, i64 640, !27, i64 656, !12, i64 672, !10, i64 676, !7, i64 680, !28, i64 688, !7, i64 856, !7, i64 864, !7, i64 872, !7, i64 880, !7, i64 888, !8, i64 896, !8, i64 904, !13, i64 936, !10, i64 940, !10, i64 944}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!16 = !{!"_ZTS19ImGuiWindowTempData", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48, !12, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !17, i64 72, !17, i64 88, !18, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !13, i64 120, !13, i64 121, !13, i64 122, !11, i64 124, !19, i64 136, !7, i64 152, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !12, i64 180, !12, i64 184, !20, i64 192, !21, i64 208, !21, i64 224, !22, i64 240, !8, i64 256, !23, i64 268, !23, i64 272, !23, i64 276, !7, i64 280}
!17 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!18 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!19 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!20 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!23 = !{!"_ZTS6ImVec1", !12, i64 0}
!24 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !12, i64 8, !8, i64 12, !8, i64 24}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!28 = !{!"_ZTS10ImDrawList", !29, i64 0, !30, i64 16, !31, i64 32, !10, i64 48, !7, i64 56, !7, i64 64, !10, i64 72, !10, i64 76, !7, i64 80, !7, i64 88, !32, i64 96, !33, i64 112, !34, i64 128, !35, i64 144}
!29 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!35 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !36, i64 8}
!36 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!37 = !{i8 0, i8 2}
!38 = !{}
!39 = !{!7, !7, i64 0}
!40 = !{!41, !12, i64 56}
!41 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !11, i64 4, !12, i64 12, !12, i64 16, !11, i64 20, !11, i64 28, !10, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !11, i64 56, !12, i64 64, !12, i64 68, !11, i64 72, !11, i64 80, !11, i64 88, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !10, i64 128, !11, i64 132, !11, i64 140, !11, i64 148, !11, i64 156, !12, i64 164, !13, i64 168, !13, i64 169, !12, i64 172, !8, i64 176}
!42 = !{!6, !12, i64 256}
!43 = !{!41, !12, i64 60}
!44 = !{!6, !12, i64 244}
!45 = !{!46, !12, i64 6416}
!46 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !47, i64 8, !41, i64 5464, !7, i64 6408, !12, i64 6416, !12, i64 6420, !48, i64 6424, !50, i64 6568, !10, i64 6576, !10, i64 6580, !10, i64 6584, !19, i64 6592, !19, i64 6608, !19, i64 6624, !19, i64 6640, !25, i64 6656, !10, i64 6672, !7, i64 6680, !7, i64 6688, !7, i64 6696, !7, i64 6704, !7, i64 6712, !11, i64 6720, !12, i64 6728, !10, i64 6732, !13, i64 6736, !10, i64 6740, !12, i64 6744, !12, i64 6748, !10, i64 6752, !10, i64 6756, !12, i64 6760, !13, i64 6764, !13, i64 6765, !13, i64 6766, !13, i64 6767, !13, i64 6768, !10, i64 6772, !10, i64 6776, !51, i64 6784, !11, i64 6792, !7, i64 6800, !52, i64 6808, !10, i64 6812, !13, i64 6816, !13, i64 6817, !7, i64 6824, !10, i64 6832, !12, i64 6836, !53, i64 6840, !54, i64 6944, !55, i64 6960, !56, i64 6976, !57, i64 6992, !58, i64 7008, !58, i64 7024, !7, i64 7040, !10, i64 7048, !10, i64 7052, !10, i64 7056, !10, i64 7060, !10, i64 7064, !10, i64 7068, !10, i64 7072, !10, i64 7076, !10, i64 7080, !52, i64 7084, !17, i64 7088, !10, i64 7104, !7, i64 7112, !7, i64 7120, !7, i64 7128, !12, i64 7136, !12, i64 7140, !13, i64 7144, !18, i64 7148, !10, i64 7152, !13, i64 7156, !13, i64 7157, !13, i64 7158, !13, i64 7159, !13, i64 7160, !13, i64 7161, !13, i64 7162, !10, i64 7164, !17, i64 7168, !13, i64 7184, !13, i64 7185, !10, i64 7188, !59, i64 7192, !10, i64 7196, !10, i64 7200, !10, i64 7204, !60, i64 7208, !60, i64 7256, !60, i64 7304, !7, i64 7352, !7, i64 7360, !10, i64 7368, !10, i64 7372, !10, i64 7376, !10, i64 7380, !13, i64 7384, !61, i64 7392, !62, i64 7448, !12, i64 7480, !28, i64 7488, !28, i64 7656, !10, i64 7824, !13, i64 7828, !13, i64 7829, !10, i64 7832, !10, i64 7836, !10, i64 7840, !63, i64 7848, !17, i64 7912, !10, i64 7928, !10, i64 7932, !12, i64 7936, !10, i64 7940, !10, i64 7944, !10, i64 7948, !64, i64 7952, !8, i64 7968, !7, i64 7976, !65, i64 7984, !67, i64 8024, !68, i64 8040, !11, i64 8056, !69, i64 8064, !73, i64 11792, !10, i64 11912, !10, i64 11916, !12, i64 11920, !8, i64 11924, !49, i64 11936, !13, i64 11952, !12, i64 11956, !12, i64 11960, !12, i64 11964, !10, i64 11968, !70, i64 11976, !10, i64 11992, !11, i64 11996, !11, i64 12004, !13, i64 12012, !12, i64 12016, !75, i64 12024, !76, i64 12040, !77, i64 12056, !13, i64 12072, !78, i64 12076, !7, i64 12080, !75, i64 12088, !12, i64 12104, !13, i64 12108, !10, i64 12112, !10, i64 12116, !10, i64 12120, !13, i64 12124, !10, i64 12128, !8, i64 12132, !10, i64 12612, !12, i64 12616, !10, i64 12620, !10, i64 12624, !10, i64 12628, !8, i64 12632}
!47 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !7, i64 24, !7, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !8, i64 52, !12, i64 140, !12, i64 144, !7, i64 152, !7, i64 160, !12, i64 168, !13, i64 172, !7, i64 176, !11, i64 184, !13, i64 192, !13, i64 193, !13, i64 194, !13, i64 195, !13, i64 196, !12, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !11, i64 296, !8, i64 304, !12, i64 312, !12, i64 316, !13, i64 320, !13, i64 321, !13, i64 322, !13, i64 323, !8, i64 324, !8, i64 836, !13, i64 920, !13, i64 921, !13, i64 922, !13, i64 923, !13, i64 924, !13, i64 925, !13, i64 926, !12, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !10, i64 944, !10, i64 948, !11, i64 952, !11, i64 960, !8, i64 968, !8, i64 1008, !8, i64 1048, !8, i64 1053, !8, i64 1058, !8, i64 1063, !8, i64 1068, !8, i64 1076, !8, i64 1096, !8, i64 1116, !8, i64 1156, !8, i64 1176, !8, i64 3224, !8, i64 5272, !8, i64 5356, !30, i64 5440}
!48 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !49, i64 24, !10, i64 40, !8, i64 44}
!49 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!50 = !{!"double", !8, i64 0}
!51 = !{!"long long", !8, i64 0}
!52 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!53 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !13, i64 48, !17, i64 52, !7, i64 72, !7, i64 80, !12, i64 88, !11, i64 92}
!54 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !13, i64 8, !10, i64 12}
!55 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!56 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!57 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!59 = !{!"_ZTS15ImGuiNavForward", !8, i64 0}
!60 = !{!"_ZTS18ImGuiNavMoveResult", !10, i64 0, !10, i64 4, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !17, i64 28}
!61 = !{!"_ZTS10ImDrawData", !13, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !11, i64 28, !11, i64 36, !11, i64 44}
!62 = !{!"_ZTS17ImDrawDataBuilder", !8, i64 0}
!63 = !{!"_ZTS12ImGuiPayload", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !8, i64 24, !13, i64 57, !13, i64 58}
!64 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!65 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !66, i64 0, !25, i64 16, !10, i64 32}
!66 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!67 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!68 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!69 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !30, i64 16, !70, i64 32, !70, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !71, i64 76, !12, i64 3696, !13, i64 3700, !13, i64 3701, !10, i64 3704, !7, i64 3712, !7, i64 3720}
!70 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!71 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 17, !8, i64 18, !8, i64 19, !12, i64 20, !72, i64 24}
!72 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!73 = !{!"_ZTS6ImFont", !21, i64 0, !12, i64 16, !12, i64 20, !30, i64 24, !74, i64 40, !7, i64 56, !11, i64 64, !7, i64 72, !7, i64 80, !14, i64 88, !14, i64 90, !14, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !10, i64 108, !13, i64 112}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!75 = !{!"_ZTS15ImGuiTextBuffer", !70, i64 0}
!76 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!77 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !10, i64 0, !10, i64 4, !7, i64 8}
!78 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!79 = !{!11, !12, i64 4}
!80 = !{!12, !12, i64 0}
!81 = !{!17, !12, i64 0}
!82 = !{!6, !12, i64 212}
!83 = !{!17, !12, i64 4}
!84 = !{!6, !12, i64 552}
!85 = !{!17, !12, i64 8}
!86 = !{!17, !12, i64 12}
!87 = !{!6, !12, i64 56}
!88 = !{!6, !12, i64 208}
!89 = !{i64 0, i64 4, !80, i64 4, i64 4, !80, i64 8, i64 4, !80, i64 12, i64 4, !80}
!90 = !{!41, !12, i64 72}
!91 = !{!46, !13, i64 7156}
!92 = !{!6, !10, i64 264}
!93 = !{!6, !10, i64 268}
!94 = !{!6, !10, i64 276}
!95 = !{!11, !12, i64 0}
!96 = !{!46, !10, i64 7052}
!97 = !{!46, !13, i64 7159}
!98 = !{!13, !13, i64 0}
!99 = !{!46, !13, i64 7828}
!100 = !{!46, !10, i64 7048}
!101 = !{!46, !13, i64 7185}
!102 = !{!46, !10, i64 7196}
!103 = !{!6, !7, i64 360}
!104 = !{!41, !12, i64 64}
!105 = !{!6, !7, i64 680}
!106 = !{!46, !13, i64 12072}


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