; LLVM IR from syby119/CG-projects :: external/imgui/imgui_widgets.ll (ZN5ImGui16TreeNodeBehaviorEjiPKcS1_)

; 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, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.3, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.1 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.10 }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [7 x i8], ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.11, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.17, %struct.ImVector.18, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.19, [16 x i8], ptr, i32, [4 x i8], %struct.ImPool, %struct.ImVector.21, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.22, %struct.ImVector.24, %struct.ImVector.25, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i16, i16, float, [4 x i8], %struct.ImVector.26, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.28, %struct.ImChunkStream, %struct.ImChunkStream.29, %struct.ImVector.30, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [4 x i8], %struct.ImGuiStackTool, [120 x float], i32, 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, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i8, i32, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [20 x float], [20 x float], float, i8, i16, %struct.ImVector.5 }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%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.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImPool.22 = type { %struct.ImVector.23, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.5, %struct.ImVector.26, %struct.ImVector.26, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, 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.1, float, float, %struct.ImVector.5, %struct.ImVector.27, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.26 }
%struct.ImChunkStream.29 = type { %struct.ImVector.26 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.26 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.31 }
%struct.ImVector.31 = type { i32, i32, ptr }

@GImGui = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [54 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_ = external hidden unnamed_addr constant [86 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.145 = 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_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, i32 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

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

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 @_ZN5ImGui24LogSetNextTextDecorationEPKcS1_(ptr noundef, ptr 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 #8 align 2

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

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 float, align 4
  %30 = alloca float, align 4
  %31 = alloca i8, align 1
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca i8, align 1
  %35 = alloca i8, align 1
  %36 = alloca i8, align 1
  %37 = alloca i8, align 1
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca %struct.ImVec2, 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 i32, align 4
  %47 = alloca %struct.ImVec2, align 4
  %48 = alloca %struct.ImVec2, align 4
  %49 = alloca %struct.ImVec2, align 4
  %50 = alloca %struct.ImVec2, align 4
  %51 = 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) #9
  %52 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %52, ptr %10, align 8, !tbaa !9
  %53 = load ptr, ptr %10, align 8, !tbaa !9
  %54 = getelementptr inbounds %struct.ImGuiWindow, ptr %53, i32 0, i32 28
  %55 = load i8, ptr %54, align 1, !tbaa !11, !range !40, !noundef !41
  %56 = trunc i8 %55 to i1
  br i1 %56, label %57, label %58

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

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

68:                                               ; preds = %58
  %69 = load i32, ptr %7, align 4, !tbaa !5
  %70 = and i32 %69, 1024
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %75

72:                                               ; preds = %68, %58
  %73 = load ptr, ptr %13, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.ImGuiStyle, ptr %73, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %74, i64 8, i1 false), !tbaa.struct !43
  br label %89

75:                                               ; preds = %68
  %76 = load ptr, ptr %13, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.ImGuiStyle, ptr %76, i32 0, i32 12
  %78 = getelementptr inbounds %struct.ImVec2, ptr %77, i32 0, i32 0
  %79 = load float, ptr %78, align 4, !tbaa !45
  %80 = load ptr, ptr %10, align 8, !tbaa !9
  %81 = getelementptr inbounds %struct.ImGuiWindow, ptr %80, i32 0, i32 54
  %82 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %81, i32 0, i32 7
  %83 = load float, ptr %82, align 8, !tbaa !47
  %84 = load ptr, ptr %13, align 8, !tbaa !9
  %85 = getelementptr inbounds %struct.ImGuiStyle, ptr %84, i32 0, i32 12
  %86 = getelementptr inbounds %struct.ImVec2, ptr %85, i32 0, i32 1
  %87 = load float, ptr %86, align 4, !tbaa !48
  %88 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %83, float noundef %87)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %79, float noundef %88)
  br label %89

89:                                               ; preds = %75, %72
  %90 = load ptr, ptr %9, align 8, !tbaa !9
  %91 = icmp ne ptr %90, null
  br i1 %91, label %95, label %92

92:                                               ; preds = %89
  %93 = load ptr, ptr %8, align 8, !tbaa !9
  %94 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %93, ptr noundef null)
  store ptr %94, ptr %9, align 8, !tbaa !9
  br label %95

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

122:                                              ; preds = %95
  %123 = load ptr, ptr %10, align 8, !tbaa !9
  %124 = getelementptr inbounds %struct.ImGuiWindow, ptr %123, i32 0, i32 58
  %125 = getelementptr inbounds %struct.ImRect, ptr %124, i32 0, i32 0
  %126 = getelementptr inbounds %struct.ImVec2, ptr %125, i32 0, i32 0
  %127 = load float, ptr %126, align 8, !tbaa !95
  br label %134

128:                                              ; preds = %95
  %129 = load ptr, ptr %10, align 8, !tbaa !9
  %130 = getelementptr inbounds %struct.ImGuiWindow, ptr %129, i32 0, i32 54
  %131 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %130, i32 0, i32 0
  %132 = getelementptr inbounds %struct.ImVec2, ptr %131, i32 0, i32 0
  %133 = load float, ptr %132, align 8, !tbaa !96
  br label %134

134:                                              ; preds = %128, %122
  %135 = phi float [ %127, %122 ], [ %133, %128 ]
  %136 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  %137 = getelementptr inbounds %struct.ImVec2, ptr %136, i32 0, i32 0
  store float %135, ptr %137, align 4, !tbaa !97
  %138 = load ptr, ptr %10, align 8, !tbaa !9
  %139 = getelementptr inbounds %struct.ImGuiWindow, ptr %138, i32 0, i32 54
  %140 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %139, i32 0, i32 0
  %141 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 1
  %142 = load float, ptr %141, align 4, !tbaa !98
  %143 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  %144 = getelementptr inbounds %struct.ImVec2, ptr %143, i32 0, i32 1
  store float %142, ptr %144, align 4, !tbaa !99
  %145 = load ptr, ptr %10, align 8, !tbaa !9
  %146 = getelementptr inbounds %struct.ImGuiWindow, ptr %145, i32 0, i32 58
  %147 = getelementptr inbounds %struct.ImRect, ptr %146, i32 0, i32 1
  %148 = getelementptr inbounds %struct.ImVec2, ptr %147, i32 0, i32 0
  %149 = load float, ptr %148, align 8, !tbaa !100
  %150 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %151 = getelementptr inbounds %struct.ImVec2, ptr %150, i32 0, i32 0
  store float %149, ptr %151, align 4, !tbaa !101
  %152 = load ptr, ptr %10, align 8, !tbaa !9
  %153 = getelementptr inbounds %struct.ImGuiWindow, ptr %152, i32 0, i32 54
  %154 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %153, i32 0, i32 0
  %155 = getelementptr inbounds %struct.ImVec2, ptr %154, i32 0, i32 1
  %156 = load float, ptr %155, align 4, !tbaa !98
  %157 = load float, ptr %17, align 4, !tbaa !44
  %158 = fadd float %156, %157
  %159 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %160 = getelementptr inbounds %struct.ImVec2, ptr %159, i32 0, i32 1
  store float %158, ptr %160, align 4, !tbaa !102
  %161 = load i8, ptr %14, align 1, !tbaa !42, !range !40, !noundef !41
  %162 = trunc i8 %161 to i1
  br i1 %162, label %163, label %186

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

186:                                              ; preds = %163, %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %187 = load ptr, ptr %12, align 8, !tbaa !9
  %188 = getelementptr inbounds %struct.ImGuiContext, ptr %187, i32 0, i32 6
  %189 = load float, ptr %188, align 8, !tbaa !50
  %190 = load i8, ptr %14, align 1, !tbaa !42, !range !40, !noundef !41
  %191 = trunc i8 %190 to i1
  br i1 %191, label %192, label %196

192:                                              ; preds = %186
  %193 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %194 = load float, ptr %193, align 4, !tbaa !104
  %195 = fmul float %194, 3.000000e+00
  br label %200

196:                                              ; preds = %186
  %197 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %198 = load float, ptr %197, align 4, !tbaa !104
  %199 = fmul float %198, 2.000000e+00
  br label %200

200:                                              ; preds = %196, %192
  %201 = phi float [ %195, %192 ], [ %199, %196 ]
  %202 = fadd float %189, %201
  store float %202, ptr %19, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %203 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %204 = load float, ptr %203, align 4, !tbaa !94
  %205 = load ptr, ptr %10, align 8, !tbaa !9
  %206 = getelementptr inbounds %struct.ImGuiWindow, ptr %205, i32 0, i32 54
  %207 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %206, i32 0, i32 7
  %208 = load float, ptr %207, align 8, !tbaa !47
  %209 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %204, float noundef %208)
  store float %209, ptr %20, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %210 = load ptr, ptr %12, align 8, !tbaa !9
  %211 = getelementptr inbounds %struct.ImGuiContext, ptr %210, i32 0, i32 6
  %212 = load float, ptr %211, align 8, !tbaa !50
  %213 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %214 = load float, ptr %213, align 4, !tbaa !104
  %215 = fcmp ogt float %214, 0.000000e+00
  br i1 %215, label %216, label %222

216:                                              ; preds = %200
  %217 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %218 = load float, ptr %217, align 4, !tbaa !104
  %219 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %220 = load float, ptr %219, align 4, !tbaa !104
  %221 = call float @llvm.fmuladd.f32(float %220, float 2.000000e+00, float %218)
  br label %223

222:                                              ; preds = %200
  br label %223

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

246:                                              ; preds = %223
  %247 = load i32, ptr %7, align 4, !tbaa !5
  %248 = and i32 %247, 6144
  %249 = icmp eq i32 %248, 0
  br i1 %249, label %250, label %263

250:                                              ; preds = %246
  %251 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  %252 = getelementptr inbounds %struct.ImVec2, ptr %251, i32 0, i32 0
  %253 = load float, ptr %252, align 4, !tbaa !97
  %254 = load float, ptr %21, align 4, !tbaa !44
  %255 = fadd float %253, %254
  %256 = load ptr, ptr %13, align 8, !tbaa !9
  %257 = getelementptr inbounds %struct.ImGuiStyle, ptr %256, i32 0, i32 15
  %258 = getelementptr inbounds %struct.ImVec2, ptr %257, i32 0, i32 0
  %259 = load float, ptr %258, align 4, !tbaa !106
  %260 = call float @llvm.fmuladd.f32(float %259, float 2.000000e+00, float %255)
  %261 = getelementptr inbounds %struct.ImRect, ptr %24, i32 0, i32 1
  %262 = getelementptr inbounds %struct.ImVec2, ptr %261, i32 0, i32 0
  store float %260, ptr %262, align 4, !tbaa !101
  br label %263

263:                                              ; preds = %250, %246, %223
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #9
  %264 = load i32, ptr %7, align 4, !tbaa !5
  %265 = and i32 %264, 256
  %266 = icmp ne i32 %265, 0
  %267 = zext i1 %266 to i8
  store i8 %267, ptr %25, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #9
  %268 = load i32, ptr %6, align 4, !tbaa !5
  %269 = load i32, ptr %7, align 4, !tbaa !5
  %270 = call noundef zeroext i1 @_ZN5ImGui22TreeNodeBehaviorIsOpenEji(i32 noundef %268, i32 noundef %269)
  %271 = zext i1 %270 to i8
  store i8 %271, ptr %26, align 1, !tbaa !42
  %272 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %273 = trunc i8 %272 to i1
  br i1 %273, label %274, label %298

274:                                              ; preds = %263
  %275 = load ptr, ptr %12, align 8, !tbaa !9
  %276 = getelementptr inbounds %struct.ImGuiContext, ptr %275, i32 0, i32 100
  %277 = load i8, ptr %276, align 8, !tbaa !107, !range !40, !noundef !41
  %278 = trunc i8 %277 to i1
  br i1 %278, label %298, label %279

279:                                              ; preds = %274
  %280 = load i32, ptr %7, align 4, !tbaa !5
  %281 = and i32 %280, 8192
  %282 = icmp ne i32 %281, 0
  br i1 %282, label %283, label %298

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

287:                                              ; preds = %283
  %288 = load ptr, ptr %10, align 8, !tbaa !9
  %289 = getelementptr inbounds %struct.ImGuiWindow, ptr %288, i32 0, i32 54
  %290 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %289, i32 0, i32 21
  %291 = load i32, ptr %290, align 8, !tbaa !108
  %292 = shl i32 1, %291
  %293 = load ptr, ptr %10, align 8, !tbaa !9
  %294 = getelementptr inbounds %struct.ImGuiWindow, ptr %293, i32 0, i32 54
  %295 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %294, i32 0, i32 22
  %296 = load i32, ptr %295, align 4, !tbaa !109
  %297 = or i32 %296, %292
  store i32 %297, ptr %295, align 4, !tbaa !109
  br label %298

298:                                              ; preds = %287, %283, %279, %274, %263
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #9
  %299 = load i32, ptr %6, align 4, !tbaa !5
  %300 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %24, i32 noundef %299, ptr noundef null, i32 noundef 0)
  %301 = zext i1 %300 to i8
  store i8 %301, ptr %27, align 1, !tbaa !42
  %302 = load ptr, ptr %12, align 8, !tbaa !9
  %303 = getelementptr inbounds %struct.ImGuiContext, ptr %302, i32 0, i32 71
  %304 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %303, i32 0, i32 2
  %305 = load i32, ptr %304, align 8, !tbaa !110
  %306 = or i32 %305, 2
  store i32 %306, ptr %304, align 8, !tbaa !110
  %307 = load ptr, ptr %12, align 8, !tbaa !9
  %308 = getelementptr inbounds %struct.ImGuiContext, ptr %307, i32 0, i32 71
  %309 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %308, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %309, ptr align 4 %18, i64 16, i1 false), !tbaa.struct !105
  %310 = load i8, ptr %27, align 1, !tbaa !42, !range !40, !noundef !41
  %311 = trunc i8 %310 to i1
  br i1 %311, label %324, label %312

312:                                              ; preds = %298
  %313 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %314 = trunc i8 %313 to i1
  br i1 %314, label %315, label %321

315:                                              ; preds = %312
  %316 = load i32, ptr %7, align 4, !tbaa !5
  %317 = and i32 %316, 8
  %318 = icmp ne i32 %317, 0
  br i1 %318, label %321, label %319

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

321:                                              ; preds = %319, %315, %312
  %322 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %323 = trunc i8 %322 to i1
  store i1 %323, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %773

324:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  store i32 0, ptr %28, align 4, !tbaa !5
  %325 = load i32, ptr %7, align 4, !tbaa !5
  %326 = and i32 %325, 4
  %327 = icmp ne i32 %326, 0
  br i1 %327, label %328, label %331

328:                                              ; preds = %324
  %329 = load i32, ptr %28, align 4, !tbaa !5
  %330 = or i32 %329, 4096
  store i32 %330, ptr %28, align 4, !tbaa !5
  br label %331

331:                                              ; preds = %328, %324
  %332 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %333 = trunc i8 %332 to i1
  br i1 %333, label %337, label %334

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

337:                                              ; preds = %334, %331
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %338 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %339 = load float, ptr %338, align 4, !tbaa !104
  %340 = load float, ptr %19, align 4, !tbaa !44
  %341 = fsub float %339, %340
  %342 = load ptr, ptr %13, align 8, !tbaa !9
  %343 = getelementptr inbounds %struct.ImGuiStyle, ptr %342, i32 0, i32 18
  %344 = getelementptr inbounds %struct.ImVec2, ptr %343, i32 0, i32 0
  %345 = load float, ptr %344, align 4, !tbaa !111
  %346 = fsub float %341, %345
  store float %346, ptr %29, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  %347 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %348 = load float, ptr %347, align 4, !tbaa !104
  %349 = load float, ptr %19, align 4, !tbaa !44
  %350 = fsub float %348, %349
  %351 = load ptr, ptr %12, align 8, !tbaa !9
  %352 = getelementptr inbounds %struct.ImGuiContext, ptr %351, i32 0, i32 6
  %353 = load float, ptr %352, align 8, !tbaa !50
  %354 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %355 = load float, ptr %354, align 4, !tbaa !104
  %356 = call float @llvm.fmuladd.f32(float %355, float 2.000000e+00, float %353)
  %357 = fadd float %350, %356
  %358 = load ptr, ptr %13, align 8, !tbaa !9
  %359 = getelementptr inbounds %struct.ImGuiStyle, ptr %358, i32 0, i32 18
  %360 = getelementptr inbounds %struct.ImVec2, ptr %359, i32 0, i32 0
  %361 = load float, ptr %360, align 4, !tbaa !111
  %362 = fadd float %357, %361
  store float %362, ptr %30, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #9
  %363 = load ptr, ptr %12, align 8, !tbaa !9
  %364 = getelementptr inbounds %struct.ImGuiContext, ptr %363, i32 0, i32 3
  %365 = getelementptr inbounds %struct.ImGuiIO, ptr %364, i32 0, i32 36
  %366 = getelementptr inbounds %struct.ImVec2, ptr %365, i32 0, i32 0
  %367 = load float, ptr %366, align 8, !tbaa !112
  %368 = load float, ptr %29, align 4, !tbaa !44
  %369 = fcmp oge float %367, %368
  br i1 %369, label %370, label %378

370:                                              ; preds = %337
  %371 = load ptr, ptr %12, align 8, !tbaa !9
  %372 = getelementptr inbounds %struct.ImGuiContext, ptr %371, i32 0, i32 3
  %373 = getelementptr inbounds %struct.ImGuiIO, ptr %372, i32 0, i32 36
  %374 = getelementptr inbounds %struct.ImVec2, ptr %373, i32 0, i32 0
  %375 = load float, ptr %374, align 8, !tbaa !112
  %376 = load float, ptr %30, align 4, !tbaa !44
  %377 = fcmp olt float %375, %376
  br label %378

378:                                              ; preds = %370, %337
  %379 = phi i1 [ false, %337 ], [ %377, %370 ]
  %380 = zext i1 %379 to i8
  store i8 %380, ptr %31, align 1, !tbaa !42
  %381 = load ptr, ptr %10, align 8, !tbaa !9
  %382 = load ptr, ptr %12, align 8, !tbaa !9
  %383 = getelementptr inbounds %struct.ImGuiContext, ptr %382, i32 0, i32 29
  %384 = load ptr, ptr %383, align 8, !tbaa !113
  %385 = icmp ne ptr %381, %384
  br i1 %385, label %389, label %386

386:                                              ; preds = %378
  %387 = load i8, ptr %31, align 1, !tbaa !42, !range !40, !noundef !41
  %388 = trunc i8 %387 to i1
  br i1 %388, label %392, label %389

389:                                              ; preds = %386, %378
  %390 = load i32, ptr %28, align 4, !tbaa !5
  %391 = or i32 %390, 65536
  store i32 %391, ptr %28, align 4, !tbaa !5
  br label %392

392:                                              ; preds = %389, %386
  %393 = load i8, ptr %31, align 1, !tbaa !42, !range !40, !noundef !41
  %394 = trunc i8 %393 to i1
  br i1 %394, label %395, label %398

395:                                              ; preds = %392
  %396 = load i32, ptr %28, align 4, !tbaa !5
  %397 = or i32 %396, 16
  store i32 %397, ptr %28, align 4, !tbaa !5
  br label %409

398:                                              ; preds = %392
  %399 = load i32, ptr %7, align 4, !tbaa !5
  %400 = and i32 %399, 64
  %401 = icmp ne i32 %400, 0
  br i1 %401, label %402, label %405

402:                                              ; preds = %398
  %403 = load i32, ptr %28, align 4, !tbaa !5
  %404 = or i32 %403, 288
  store i32 %404, ptr %28, align 4, !tbaa !5
  br label %408

405:                                              ; preds = %398
  %406 = load i32, ptr %28, align 4, !tbaa !5
  %407 = or i32 %406, 32
  store i32 %407, ptr %28, align 4, !tbaa !5
  br label %408

408:                                              ; preds = %405, %402
  br label %409

409:                                              ; preds = %408, %395
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #9
  %410 = load i32, ptr %7, align 4, !tbaa !5
  %411 = and i32 %410, 1
  %412 = icmp ne i32 %411, 0
  %413 = zext i1 %412 to i8
  store i8 %413, ptr %32, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #9
  %414 = load i8, ptr %32, align 1, !tbaa !42, !range !40, !noundef !41
  %415 = trunc i8 %414 to i1
  %416 = zext i1 %415 to i8
  store i8 %416, ptr %33, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #9
  %417 = load i32, ptr %6, align 4, !tbaa !5
  %418 = load i32, ptr %28, align 4, !tbaa !5
  %419 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %24, i32 noundef %417, ptr noundef %34, ptr noundef %35, i32 noundef %418)
  %420 = zext i1 %419 to i8
  store i8 %420, ptr %36, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #9
  store i8 0, ptr %37, align 1, !tbaa !42
  %421 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %422 = trunc i8 %421 to i1
  br i1 %422, label %552, label %423

423:                                              ; preds = %409
  %424 = load i8, ptr %36, align 1, !tbaa !42, !range !40, !noundef !41
  %425 = trunc i8 %424 to i1
  br i1 %425, label %426, label %478

426:                                              ; preds = %423
  %427 = load ptr, ptr %12, align 8, !tbaa !9
  %428 = getelementptr inbounds %struct.ImGuiContext, ptr %427, i32 0, i32 157
  %429 = load i32, ptr %428, align 8, !tbaa !114
  %430 = load i32, ptr %6, align 4, !tbaa !5
  %431 = icmp ne i32 %429, %430
  br i1 %431, label %432, label %478

432:                                              ; preds = %426
  %433 = load i32, ptr %7, align 4, !tbaa !5
  %434 = and i32 %433, 192
  %435 = icmp eq i32 %434, 0
  br i1 %435, label %442, label %436

436:                                              ; preds = %432
  %437 = load ptr, ptr %12, align 8, !tbaa !9
  %438 = getelementptr inbounds %struct.ImGuiContext, ptr %437, i32 0, i32 86
  %439 = load i32, ptr %438, align 8, !tbaa !115
  %440 = load i32, ptr %6, align 4, !tbaa !5
  %441 = icmp eq i32 %439, %440
  br i1 %441, label %442, label %443

442:                                              ; preds = %436, %432
  store i8 1, ptr %37, align 1, !tbaa !42
  br label %443

443:                                              ; preds = %442, %436
  %444 = load i32, ptr %7, align 4, !tbaa !5
  %445 = and i32 %444, 128
  %446 = icmp ne i32 %445, 0
  br i1 %446, label %447, label %465

447:                                              ; preds = %443
  %448 = load i8, ptr %31, align 1, !tbaa !42, !range !40, !noundef !41
  %449 = trunc i8 %448 to i1
  br i1 %449, label %450, label %456

450:                                              ; preds = %447
  %451 = load ptr, ptr %12, align 8, !tbaa !9
  %452 = getelementptr inbounds %struct.ImGuiContext, ptr %451, i32 0, i32 103
  %453 = load i8, ptr %452, align 1, !tbaa !116, !range !40, !noundef !41
  %454 = trunc i8 %453 to i1
  %455 = xor i1 %454, true
  br label %456

456:                                              ; preds = %450, %447
  %457 = phi i1 [ false, %447 ], [ %455, %450 ]
  %458 = zext i1 %457 to i32
  %459 = load i8, ptr %37, align 1, !tbaa !42, !range !40, !noundef !41
  %460 = trunc i8 %459 to i1
  %461 = zext i1 %460 to i32
  %462 = or i32 %461, %458
  %463 = icmp ne i32 %462, 0
  %464 = zext i1 %463 to i8
  store i8 %464, ptr %37, align 1, !tbaa !42
  br label %465

465:                                              ; preds = %456, %443
  %466 = load i32, ptr %7, align 4, !tbaa !5
  %467 = and i32 %466, 64
  %468 = icmp ne i32 %467, 0
  br i1 %468, label %469, label %477

469:                                              ; preds = %465
  %470 = load ptr, ptr %12, align 8, !tbaa !9
  %471 = getelementptr inbounds %struct.ImGuiContext, ptr %470, i32 0, i32 3
  %472 = getelementptr inbounds %struct.ImGuiIO, ptr %471, i32 0, i32 67
  %473 = getelementptr inbounds [5 x i8], ptr %472, i64 0, i64 0
  %474 = load i8, ptr %473, align 1, !tbaa !42, !range !40, !noundef !41
  %475 = trunc i8 %474 to i1
  br i1 %475, label %476, label %477

476:                                              ; preds = %469
  store i8 1, ptr %37, align 1, !tbaa !42
  br label %477

477:                                              ; preds = %476, %469, %465
  br label %500

478:                                              ; preds = %426, %423
  %479 = load i8, ptr %36, align 1, !tbaa !42, !range !40, !noundef !41
  %480 = trunc i8 %479 to i1
  br i1 %480, label %481, label %499

481:                                              ; preds = %478
  %482 = load ptr, ptr %12, align 8, !tbaa !9
  %483 = getelementptr inbounds %struct.ImGuiContext, ptr %482, i32 0, i32 157
  %484 = load i32, ptr %483, align 8, !tbaa !114
  %485 = load i32, ptr %6, align 4, !tbaa !5
  %486 = icmp eq i32 %484, %485
  br i1 %486, label %487, label %499

487:                                              ; preds = %481
  %488 = load i32, ptr %28, align 4, !tbaa !5
  %489 = and i32 %488, 512
  %490 = icmp ne i32 %489, 0
  br i1 %490, label %491, label %492

491:                                              ; preds = %487
  br label %494

492:                                              ; preds = %487
  call void @__assert_fail(ptr noundef @.str.143, ptr noundef @.str.2, i32 noundef 5927, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_) #10
  unreachable

493:                                              ; No predecessors!
  br label %494

494:                                              ; preds = %493, %491
  %495 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %496 = trunc i8 %495 to i1
  br i1 %496, label %498, label %497

497:                                              ; preds = %494
  store i8 1, ptr %37, align 1, !tbaa !42
  br label %498

498:                                              ; preds = %497, %494
  br label %499

499:                                              ; preds = %498, %481, %478
  br label %500

500:                                              ; preds = %499, %477
  %501 = load ptr, ptr %12, align 8, !tbaa !9
  %502 = getelementptr inbounds %struct.ImGuiContext, ptr %501, i32 0, i32 84
  %503 = load i32, ptr %502, align 8, !tbaa !117
  %504 = load i32, ptr %6, align 4, !tbaa !5
  %505 = icmp eq i32 %503, %504
  br i1 %505, label %506, label %515

506:                                              ; preds = %500
  %507 = load ptr, ptr %12, align 8, !tbaa !9
  %508 = getelementptr inbounds %struct.ImGuiContext, ptr %507, i32 0, i32 117
  %509 = load i32, ptr %508, align 4, !tbaa !118
  %510 = icmp eq i32 %509, 0
  br i1 %510, label %511, label %515

511:                                              ; preds = %506
  %512 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %513 = trunc i8 %512 to i1
  br i1 %513, label %514, label %515

514:                                              ; preds = %511
  store i8 1, ptr %37, align 1, !tbaa !42
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %515

515:                                              ; preds = %514, %511, %506, %500
  %516 = load ptr, ptr %12, align 8, !tbaa !9
  %517 = getelementptr inbounds %struct.ImGuiContext, ptr %516, i32 0, i32 84
  %518 = load i32, ptr %517, align 8, !tbaa !117
  %519 = load i32, ptr %6, align 4, !tbaa !5
  %520 = icmp eq i32 %518, %519
  br i1 %520, label %521, label %530

521:                                              ; preds = %515
  %522 = load ptr, ptr %12, align 8, !tbaa !9
  %523 = getelementptr inbounds %struct.ImGuiContext, ptr %522, i32 0, i32 117
  %524 = load i32, ptr %523, align 4, !tbaa !118
  %525 = icmp eq i32 %524, 1
  br i1 %525, label %526, label %530

526:                                              ; preds = %521
  %527 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %528 = trunc i8 %527 to i1
  br i1 %528, label %530, label %529

529:                                              ; preds = %526
  store i8 1, ptr %37, align 1, !tbaa !42
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %530

530:                                              ; preds = %529, %526, %521, %515
  %531 = load i8, ptr %37, align 1, !tbaa !42, !range !40, !noundef !41
  %532 = trunc i8 %531 to i1
  br i1 %532, label %533, label %551

533:                                              ; preds = %530
  %534 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %535 = trunc i8 %534 to i1
  %536 = xor i1 %535, true
  %537 = zext i1 %536 to i8
  store i8 %537, ptr %26, align 1, !tbaa !42
  %538 = load ptr, ptr %10, align 8, !tbaa !9
  %539 = getelementptr inbounds %struct.ImGuiWindow, ptr %538, i32 0, i32 54
  %540 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %539, i32 0, i32 24
  %541 = load ptr, ptr %540, align 8, !tbaa !119
  %542 = load i32, ptr %6, align 4, !tbaa !5
  %543 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %544 = trunc i8 %543 to i1
  %545 = zext i1 %544 to i32
  call void @_ZN12ImGuiStorage6SetIntEji(ptr noundef nonnull align 8 dereferenceable(16) %541, i32 noundef %542, i32 noundef %545)
  %546 = load ptr, ptr %12, align 8, !tbaa !9
  %547 = getelementptr inbounds %struct.ImGuiContext, ptr %546, i32 0, i32 71
  %548 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %547, i32 0, i32 2
  %549 = load i32, ptr %548, align 8, !tbaa !110
  %550 = or i32 %549, 16
  store i32 %550, ptr %548, align 8, !tbaa !110
  br label %551

551:                                              ; preds = %533, %530
  br label %552

552:                                              ; preds = %551, %409
  %553 = load i32, ptr %7, align 4, !tbaa !5
  %554 = and i32 %553, 4
  %555 = icmp ne i32 %554, 0
  br i1 %555, label %556, label %557

556:                                              ; preds = %552
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %557

557:                                              ; preds = %556, %552
  %558 = load i8, ptr %32, align 1, !tbaa !42, !range !40, !noundef !41
  %559 = trunc i8 %558 to i1
  %560 = zext i1 %559 to i32
  %561 = load i8, ptr %33, align 1, !tbaa !42, !range !40, !noundef !41
  %562 = trunc i8 %561 to i1
  %563 = zext i1 %562 to i32
  %564 = icmp ne i32 %560, %563
  br i1 %564, label %565, label %571

565:                                              ; preds = %557
  %566 = load ptr, ptr %12, align 8, !tbaa !9
  %567 = getelementptr inbounds %struct.ImGuiContext, ptr %566, i32 0, i32 71
  %568 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %567, i32 0, i32 2
  %569 = load i32, ptr %568, align 8, !tbaa !110
  %570 = or i32 %569, 8
  store i32 %570, ptr %568, align 8, !tbaa !110
  br label %571

571:                                              ; preds = %565, %557
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  %572 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  store i32 %572, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  store i32 2, ptr %39, align 4, !tbaa !5
  %573 = load i8, ptr %14, align 1, !tbaa !42, !range !40, !noundef !41
  %574 = trunc i8 %573 to i1
  br i1 %574, label %575, label %675

575:                                              ; preds = %571
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  %576 = load i8, ptr %35, align 1, !tbaa !42, !range !40, !noundef !41
  %577 = trunc i8 %576 to i1
  br i1 %577, label %578, label %582

578:                                              ; preds = %575
  %579 = load i8, ptr %34, align 1, !tbaa !42, !range !40, !noundef !41
  %580 = trunc i8 %579 to i1
  br i1 %580, label %581, label %582

581:                                              ; preds = %578
  br label %587

582:                                              ; preds = %578, %575
  %583 = load i8, ptr %34, align 1, !tbaa !42, !range !40, !noundef !41
  %584 = trunc i8 %583 to i1
  %585 = zext i1 %584 to i64
  %586 = select i1 %584, i32 25, i32 24
  br label %587

587:                                              ; preds = %582, %581
  %588 = phi i32 [ 26, %581 ], [ %586, %582 ]
  %589 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %588, float noundef 1.000000e+00)
  store i32 %589, ptr %40, align 4, !tbaa !5
  %590 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %590, i64 8, i1 false), !tbaa.struct !43
  %591 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %591, i64 8, i1 false), !tbaa.struct !43
  %592 = load i32, ptr %40, align 4, !tbaa !5
  %593 = load ptr, ptr %13, align 8, !tbaa !9
  %594 = getelementptr inbounds %struct.ImGuiStyle, ptr %593, i32 0, i32 13
  %595 = load float, ptr %594, align 4, !tbaa !120
  %596 = load <2 x float>, ptr %41, align 4
  %597 = load <2 x float>, ptr %42, align 4
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %596, <2 x float> %597, i32 noundef %592, i1 noundef zeroext true, float noundef %595)
  %598 = load i32, ptr %6, align 4, !tbaa !5
  %599 = load i32, ptr %39, align 4, !tbaa !5
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %18, i32 noundef %598, i32 noundef %599)
  %600 = load i32, ptr %7, align 4, !tbaa !5
  %601 = and i32 %600, 512
  %602 = icmp ne i32 %601, 0
  br i1 %602, label %603, label %620

603:                                              ; preds = %587
  %604 = load ptr, ptr %10, align 8, !tbaa !9
  %605 = getelementptr inbounds %struct.ImGuiWindow, ptr %604, i32 0, i32 72
  %606 = load ptr, ptr %605, align 8, !tbaa !121
  %607 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %608 = load float, ptr %607, align 4, !tbaa !104
  %609 = load float, ptr %19, align 4, !tbaa !44
  %610 = fneg float %609
  %611 = call float @llvm.fmuladd.f32(float %610, float 0x3FE3333340000000, float %608)
  %612 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %613 = load float, ptr %612, align 4, !tbaa !94
  %614 = load ptr, ptr %12, align 8, !tbaa !9
  %615 = getelementptr inbounds %struct.ImGuiContext, ptr %614, i32 0, i32 6
  %616 = load float, ptr %615, align 8, !tbaa !50
  %617 = call float @llvm.fmuladd.f32(float %616, float 5.000000e-01, float %613)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef %611, float noundef %617)
  %618 = load i32, ptr %38, align 4, !tbaa !5
  %619 = load <2 x float>, ptr %43, align 4
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %606, <2 x float> %619, i32 noundef %618)
  br label %648

620:                                              ; preds = %587
  %621 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %622 = trunc i8 %621 to i1
  br i1 %622, label %642, label %623

623:                                              ; preds = %620
  %624 = load ptr, ptr %10, align 8, !tbaa !9
  %625 = getelementptr inbounds %struct.ImGuiWindow, ptr %624, i32 0, i32 72
  %626 = load ptr, ptr %625, align 8, !tbaa !121
  %627 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %628 = load float, ptr %627, align 4, !tbaa !104
  %629 = load float, ptr %19, align 4, !tbaa !44
  %630 = fsub float %628, %629
  %631 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %632 = load float, ptr %631, align 4, !tbaa !104
  %633 = fadd float %630, %632
  %634 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %635 = load float, ptr %634, align 4, !tbaa !94
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef %633, float noundef %635)
  %636 = load i32, ptr %38, align 4, !tbaa !5
  %637 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %638 = trunc i8 %637 to i1
  %639 = zext i1 %638 to i64
  %640 = select i1 %638, i32 3, i32 1
  %641 = load <2 x float>, ptr %44, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %626, <2 x float> %641, i32 noundef %636, i32 noundef %640, float noundef 1.000000e+00)
  br label %647

642:                                              ; preds = %620
  %643 = load float, ptr %19, align 4, !tbaa !44
  %644 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %645 = load float, ptr %644, align 4, !tbaa !104
  %646 = fsub float %645, %643
  store float %646, ptr %644, align 4, !tbaa !104
  br label %647

647:                                              ; preds = %642, %623
  br label %648

648:                                              ; preds = %647, %603
  %649 = load i32, ptr %7, align 4, !tbaa !5
  %650 = and i32 %649, 1048576
  %651 = icmp ne i32 %650, 0
  br i1 %651, label %652, label %665

652:                                              ; preds = %648
  %653 = load ptr, ptr %12, align 8, !tbaa !9
  %654 = getelementptr inbounds %struct.ImGuiContext, ptr %653, i32 0, i32 6
  %655 = load float, ptr %654, align 8, !tbaa !50
  %656 = load ptr, ptr %13, align 8, !tbaa !9
  %657 = getelementptr inbounds %struct.ImGuiStyle, ptr %656, i32 0, i32 12
  %658 = getelementptr inbounds %struct.ImVec2, ptr %657, i32 0, i32 0
  %659 = load float, ptr %658, align 4, !tbaa !45
  %660 = fadd float %655, %659
  %661 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %662 = getelementptr inbounds %struct.ImVec2, ptr %661, i32 0, i32 0
  %663 = load float, ptr %662, align 4, !tbaa !101
  %664 = fsub float %663, %660
  store float %664, ptr %662, align 4, !tbaa !101
  br label %665

665:                                              ; preds = %652, %648
  %666 = load ptr, ptr %12, align 8, !tbaa !9
  %667 = getelementptr inbounds %struct.ImGuiContext, ptr %666, i32 0, i32 208
  %668 = load i8, ptr %667, align 4, !tbaa !122, !range !40, !noundef !41
  %669 = trunc i8 %668 to i1
  br i1 %669, label %670, label %671

670:                                              ; preds = %665
  call void @_ZN5ImGui24LogSetNextTextDecorationEPKcS1_(ptr noundef @.str.144, ptr noundef @.str.144)
  br label %671

671:                                              ; preds = %670, %665
  %672 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %673 = load ptr, ptr %8, align 8, !tbaa !9
  %674 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %45, 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) %672, ptr noundef %673, ptr noundef %674, ptr noundef %16, ptr noundef nonnull align 4 dereferenceable(8) %45, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  br label %761

675:                                              ; preds = %571
  %676 = load i8, ptr %34, align 1, !tbaa !42, !range !40, !noundef !41
  %677 = trunc i8 %676 to i1
  br i1 %677, label %681, label %678

678:                                              ; preds = %675
  %679 = load i8, ptr %32, align 1, !tbaa !42, !range !40, !noundef !41
  %680 = trunc i8 %679 to i1
  br i1 %680, label %681, label %701

681:                                              ; preds = %678, %675
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  %682 = load i8, ptr %35, align 1, !tbaa !42, !range !40, !noundef !41
  %683 = trunc i8 %682 to i1
  br i1 %683, label %684, label %688

684:                                              ; preds = %681
  %685 = load i8, ptr %34, align 1, !tbaa !42, !range !40, !noundef !41
  %686 = trunc i8 %685 to i1
  br i1 %686, label %687, label %688

687:                                              ; preds = %684
  br label %693

688:                                              ; preds = %684, %681
  %689 = load i8, ptr %34, align 1, !tbaa !42, !range !40, !noundef !41
  %690 = trunc i8 %689 to i1
  %691 = zext i1 %690 to i64
  %692 = select i1 %690, i32 25, i32 24
  br label %693

693:                                              ; preds = %688, %687
  %694 = phi i32 [ 26, %687 ], [ %692, %688 ]
  %695 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %694, float noundef 1.000000e+00)
  store i32 %695, ptr %46, align 4, !tbaa !5
  %696 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %696, i64 8, i1 false), !tbaa.struct !43
  %697 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %697, i64 8, i1 false), !tbaa.struct !43
  %698 = load i32, ptr %46, align 4, !tbaa !5
  %699 = load <2 x float>, ptr %47, align 4
  %700 = load <2 x float>, ptr %48, align 4
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %699, <2 x float> %700, i32 noundef %698, i1 noundef zeroext false, float noundef 0.000000e+00)
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  br label %701

701:                                              ; preds = %693, %678
  %702 = load i32, ptr %6, align 4, !tbaa !5
  %703 = load i32, ptr %39, align 4, !tbaa !5
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %18, i32 noundef %702, i32 noundef %703)
  %704 = load i32, ptr %7, align 4, !tbaa !5
  %705 = and i32 %704, 512
  %706 = icmp ne i32 %705, 0
  br i1 %706, label %707, label %724

707:                                              ; preds = %701
  %708 = load ptr, ptr %10, align 8, !tbaa !9
  %709 = getelementptr inbounds %struct.ImGuiWindow, ptr %708, i32 0, i32 72
  %710 = load ptr, ptr %709, align 8, !tbaa !121
  %711 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %712 = load float, ptr %711, align 4, !tbaa !104
  %713 = load float, ptr %19, align 4, !tbaa !44
  %714 = fneg float %713
  %715 = call float @llvm.fmuladd.f32(float %714, float 5.000000e-01, float %712)
  %716 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %717 = load float, ptr %716, align 4, !tbaa !94
  %718 = load ptr, ptr %12, align 8, !tbaa !9
  %719 = getelementptr inbounds %struct.ImGuiContext, ptr %718, i32 0, i32 6
  %720 = load float, ptr %719, align 8, !tbaa !50
  %721 = call float @llvm.fmuladd.f32(float %720, float 5.000000e-01, float %717)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %49, float noundef %715, float noundef %721)
  %722 = load i32, ptr %38, align 4, !tbaa !5
  %723 = load <2 x float>, ptr %49, align 4
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %710, <2 x float> %723, i32 noundef %722)
  br label %751

724:                                              ; preds = %701
  %725 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %726 = trunc i8 %725 to i1
  br i1 %726, label %750, label %727

727:                                              ; preds = %724
  %728 = load ptr, ptr %10, align 8, !tbaa !9
  %729 = getelementptr inbounds %struct.ImGuiWindow, ptr %728, i32 0, i32 72
  %730 = load ptr, ptr %729, align 8, !tbaa !121
  %731 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %732 = load float, ptr %731, align 4, !tbaa !104
  %733 = load float, ptr %19, align 4, !tbaa !44
  %734 = fsub float %732, %733
  %735 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %736 = load float, ptr %735, align 4, !tbaa !104
  %737 = fadd float %734, %736
  %738 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %739 = load float, ptr %738, align 4, !tbaa !94
  %740 = load ptr, ptr %12, align 8, !tbaa !9
  %741 = getelementptr inbounds %struct.ImGuiContext, ptr %740, i32 0, i32 6
  %742 = load float, ptr %741, align 8, !tbaa !50
  %743 = call float @llvm.fmuladd.f32(float %742, float 0x3FC3333340000000, float %739)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %50, float noundef %737, float noundef %743)
  %744 = load i32, ptr %38, align 4, !tbaa !5
  %745 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %746 = trunc i8 %745 to i1
  %747 = zext i1 %746 to i64
  %748 = select i1 %746, i32 3, i32 1
  %749 = load <2 x float>, ptr %50, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %730, <2 x float> %749, i32 noundef %744, i32 noundef %748, float noundef 0x3FE6666660000000)
  br label %750

750:                                              ; preds = %727, %724
  br label %751

751:                                              ; preds = %750, %707
  %752 = load ptr, ptr %12, align 8, !tbaa !9
  %753 = getelementptr inbounds %struct.ImGuiContext, ptr %752, i32 0, i32 208
  %754 = load i8, ptr %753, align 4, !tbaa !122, !range !40, !noundef !41
  %755 = trunc i8 %754 to i1
  br i1 %755, label %756, label %757

756:                                              ; preds = %751
  call void @_ZN5ImGui24LogSetNextTextDecorationEPKcS1_(ptr noundef @.str.145, ptr noundef null)
  br label %757

757:                                              ; preds = %756, %751
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !43
  %758 = load ptr, ptr %8, align 8, !tbaa !9
  %759 = load ptr, ptr %9, align 8, !tbaa !9
  %760 = load <2 x float>, ptr %51, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %760, ptr noundef %758, ptr noundef %759, i1 noundef zeroext false)
  br label %761

761:                                              ; preds = %757, %671
  %762 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %763 = trunc i8 %762 to i1
  br i1 %763, label %764, label %770

764:                                              ; preds = %761
  %765 = load i32, ptr %7, align 4, !tbaa !5
  %766 = and i32 %765, 8
  %767 = icmp ne i32 %766, 0
  br i1 %767, label %770, label %768

768:                                              ; preds = %764
  %769 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN5ImGui18TreePushOverrideIDEj(i32 noundef %769)
  br label %770

770:                                              ; preds = %768, %764, %761
  %771 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %772 = trunc i8 %771 to i1
  store i1 %772, ptr %5, align 1
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  br label %773

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

774:                                              ; preds = %773, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  %775 = load i1, ptr %5, align 1
  ret i1 %775
}

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

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) #8

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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 147}
!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, !13, i64 64, !14, i64 72, !14, i64 76, !6, i64 80, !6, i64 84, !6, i64 88, !13, i64 92, !13, i64 100, !13, i64 108, !13, i64 116, !13, i64 124, !13, i64 132, !15, i64 140, !15, i64 141, !15, i64 142, !15, i64 143, !15, i64 144, !15, i64 145, !15, i64 146, !15, i64 147, !15, i64 148, !15, i64 149, !15, i64 150, !15, i64 151, !7, i64 152, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !6, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !15, i64 171, !6, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !6, i64 180, !6, i64 181, !6, i64 182, !13, i64 184, !13, i64 192, !17, i64 200, !18, i64 216, !24, i64 440, !24, i64 456, !24, i64 472, !24, i64 488, !24, i64 504, !24, i64 520, !24, i64 536, !25, i64 552, !25, i64 556, !6, i64 560, !14, i64 564, !14, i64 568, !26, i64 576, !28, i64 592, !14, i64 608, !6, i64 612, !10, i64 616, !29, i64 624, !10, i64 824, !10, i64 832, !10, i64 840, !10, i64 848, !10, i64 856, !10, i64 864, !7, i64 872, !7, i64 880, !6, i64 912, !6, i64 916, !15, i64 920}
!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, !13, i64 48, !14, i64 56, !14, i64 60, !19, i64 64, !19, i64 68, !19, i64 72, !20, i64 76, !16, i64 80, !16, i64 82, !6, i64 84, !15, i64 88, !15, i64 89, !15, i64 90, !13, i64 92, !21, i64 100, !6, i64 128, !6, i64 132, !22, i64 136, !10, i64 152, !10, i64 160, !6, i64 168, !6, i64 172, !6, i64 176, !6, i64 180, !14, i64 184, !14, i64 188, !23, i64 192, !23, i64 208}
!19 = !{!"_ZTS6ImVec1", !14, i64 0}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS16ImGuiMenuColumns", !6, i64 0, !6, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!24 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!25 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!28 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !6, i64 0, !6, i64 4, !10, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !6, i64 48, !6, i64 52, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !33, i64 88, !34, i64 104, !35, i64 120, !36, i64 136, !38, i64 168, !14, i64 192}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !10, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !10, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !10, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !10, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!36 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !10, i64 16, !6, i64 24}
!37 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!38 = !{!"_ZTS18ImDrawListSplitter", !6, i64 0, !6, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!15, !15, i64 0}
!43 = !{i64 0, i64 4, !44, i64 4, i64 4, !44}
!44 = !{!14, !14, i64 0}
!45 = !{!46, !14, i64 60}
!46 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !14, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !13, i64 24, !13, i64 32, !6, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !13, i64 60, !14, i64 68, !14, i64 72, !13, i64 76, !13, i64 84, !13, i64 92, !13, i64 100, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !6, i64 148, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !14, i64 184, !15, i64 188, !15, i64 189, !15, i64 190, !14, i64 192, !14, i64 196, !7, i64 200}
!47 = !{!12, !14, i64 272}
!48 = !{!46, !14, i64 64}
!49 = !{!12, !14, i64 260}
!50 = !{!51, !14, i64 6528}
!51 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !52, i64 8, !46, i64 5472, !10, i64 6520, !14, i64 6528, !14, i64 6532, !53, i64 6536, !54, i64 7048, !6, i64 7056, !6, i64 7060, !6, i64 7064, !15, i64 7068, !15, i64 7069, !15, i64 7070, !15, i64 7071, !15, i64 7072, !10, i64 7080, !22, i64 7088, !22, i64 7104, !22, i64 7120, !55, i64 7136, !26, i64 7152, !6, i64 7168, !13, i64 7172, !10, i64 7184, !10, i64 7192, !10, i64 7200, !10, i64 7208, !10, i64 7216, !13, i64 7224, !14, i64 7232, !6, i64 7236, !6, i64 7240, !6, i64 7244, !15, i64 7248, !15, i64 7249, !15, i64 7250, !15, i64 7251, !14, i64 7252, !14, i64 7256, !6, i64 7260, !6, i64 7264, !14, i64 7268, !15, i64 7272, !15, i64 7273, !15, i64 7274, !15, i64 7275, !15, i64 7276, !15, i64 7277, !15, i64 7278, !6, i64 7280, !6, i64 7284, !56, i64 7288, !13, i64 7296, !10, i64 7304, !57, i64 7312, !6, i64 7316, !6, i64 7320, !15, i64 7324, !15, i64 7325, !10, i64 7328, !6, i64 7336, !14, i64 7340, !6, i64 7344, !58, i64 7348, !59, i64 7368, !60, i64 7432, !61, i64 7544, !62, i64 7560, !63, i64 7576, !17, i64 7592, !64, i64 7608, !65, i64 7624, !66, i64 7640, !66, i64 7656, !67, i64 7672, !10, i64 7688, !6, i64 7696, !6, i64 7700, !6, i64 7704, !6, i64 7708, !6, i64 7712, !6, i64 7716, !6, i64 7720, !6, i64 7724, !6, i64 7728, !6, i64 7732, !6, i64 7736, !6, i64 7740, !6, i64 7744, !57, i64 7748, !20, i64 7752, !6, i64 7756, !15, i64 7760, !15, i64 7761, !15, i64 7762, !15, i64 7763, !15, i64 7764, !15, i64 7765, !15, i64 7766, !6, i64 7768, !24, i64 7772, !15, i64 7788, !15, i64 7789, !15, i64 7790, !6, i64 7792, !6, i64 7796, !6, i64 7800, !6, i64 7804, !6, i64 7808, !6, i64 7812, !24, i64 7816, !6, i64 7832, !6, i64 7836, !68, i64 7840, !68, i64 7888, !68, i64 7936, !10, i64 7984, !10, i64 7992, !10, i64 8000, !14, i64 8008, !14, i64 8012, !15, i64 8016, !10, i64 8024, !10, i64 8032, !6, i64 8040, !6, i64 8044, !15, i64 8048, !14, i64 8052, !6, i64 8056, !15, i64 8060, !15, i64 8061, !15, i64 8062, !6, i64 8064, !6, i64 8068, !6, i64 8072, !69, i64 8080, !24, i64 8144, !6, i64 8160, !6, i64 8164, !14, i64 8168, !6, i64 8172, !6, i64 8176, !6, i64 8180, !6, i64 8184, !70, i64 8192, !7, i64 8208, !10, i64 8224, !6, i64 8232, !71, i64 8240, !73, i64 8280, !23, i64 8296, !39, i64 8312, !10, i64 8328, !74, i64 8336, !76, i64 8376, !77, i64 8392, !13, i64 8408, !78, i64 8416, !82, i64 12152, !6, i64 12264, !6, i64 12268, !14, i64 12272, !14, i64 12276, !6, i64 12280, !37, i64 12284, !84, i64 12300, !14, i64 12348, !15, i64 12352, !15, i64 12353, !14, i64 12356, !14, i64 12360, !14, i64 12364, !14, i64 12368, !16, i64 12372, !16, i64 12374, !14, i64 12376, !79, i64 12384, !17, i64 12400, !13, i64 12416, !13, i64 12424, !7, i64 12432, !15, i64 12433, !14, i64 12436, !85, i64 12440, !86, i64 12456, !87, i64 12472, !88, i64 12488, !89, i64 12504, !6, i64 12520, !15, i64 12524, !90, i64 12528, !10, i64 12536, !85, i64 12544, !10, i64 12560, !10, i64 12568, !14, i64 12576, !15, i64 12580, !6, i64 12584, !6, i64 12588, !6, i64 12592, !15, i64 12596, !6, i64 12600, !91, i64 12604, !92, i64 12624, !7, i64 12656, !6, i64 13136, !6, i64 13140, !14, i64 13144, !6, i64 13148, !6, i64 13152, !6, i64 13156, !7, i64 13160}
!52 = !{!"_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, !15, i64 197, !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, !13, i64 288, !7, i64 296, !14, i64 304, !14, i64 308, !15, i64 312, !15, i64 313, !15, i64 314, !15, i64 315, !7, i64 316, !7, i64 828, !15, i64 908, !15, i64 909, !15, i64 910, !15, i64 911, !15, i64 912, !15, i64 913, !15, i64 914, !14, i64 916, !6, i64 920, !6, i64 924, !6, i64 928, !6, i64 932, !6, i64 936, !13, i64 940, !15, i64 948, !6, i64 952, !6, i64 956, !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 1073, !7, i64 1080, !7, i64 1100, !7, i64 1120, !7, i64 1160, !7, i64 1180, !7, i64 3228, !7, i64 5276, !7, i64 5356, !14, i64 5436, !15, i64 5440, !16, i64 5442, !31, i64 5448}
!53 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !10, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !37, i64 28, !6, i64 44, !7, i64 48, !14, i64 432, !7, i64 436, !10, i64 504}
!54 = !{!"double", !7, i64 0}
!55 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!56 = !{!"long long", !7, i64 0}
!57 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!58 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !14, i64 4, !6, i64 8, !6, i64 12, !15, i64 16}
!59 = !{!"_ZTS17ImGuiLastItemData", !6, i64 0, !6, i64 4, !6, i64 8, !24, i64 12, !24, i64 28, !24, i64 44}
!60 = !{!"_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, !13, i64 48, !15, i64 56, !24, i64 60, !10, i64 80, !10, i64 88, !14, i64 96, !13, i64 100}
!61 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !10, i64 8}
!62 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!63 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!64 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !10, i64 8}
!65 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!66 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!67 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !10, i64 8}
!68 = !{!"_ZTS16ImGuiNavItemData", !10, i64 0, !6, i64 8, !6, i64 12, !24, i64 16, !6, i64 32, !14, i64 36, !14, i64 40, !14, i64 44}
!69 = !{!"_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}
!70 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!71 = !{!"_ZTS6ImPoolI10ImGuiTableE", !72, i64 0, !26, i64 16, !6, i64 32, !6, i64 36}
!72 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !10, i64 8}
!73 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!74 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !75, i64 0, !26, i64 16, !6, i64 32, !6, i64 36}
!75 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !10, i64 8}
!76 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !10, i64 8}
!77 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !10, i64 8}
!78 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 4, !6, i64 8, !31, i64 16, !79, i64 32, !79, i64 48, !15, i64 64, !6, i64 68, !14, i64 72, !80, i64 76, !14, i64 3704, !15, i64 3708, !15, i64 3709, !15, i64 3710, !6, i64 3712, !10, i64 3720, !10, i64 3728}
!79 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!80 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !6, i64 0, !6, i64 4, !6, i64 8, !7, i64 12, !6, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !14, i64 28, !81, i64 32}
!81 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !6, i64 3588, !6, i64 3592}
!82 = !{!"_ZTS6ImFont", !23, i64 0, !14, i64 16, !14, i64 20, !31, i64 24, !83, i64 40, !10, i64 56, !10, i64 64, !10, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !6, i64 104, !7, i64 108}
!83 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!84 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !6, i64 44}
!85 = !{!"_ZTS15ImGuiTextBuffer", !79, i64 0}
!86 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!87 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !79, i64 0}
!88 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !79, i64 0}
!89 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !10, i64 8}
!90 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!91 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5, !6, i64 8, !6, i64 12}
!92 = !{!"_ZTS14ImGuiStackTool", !6, i64 0, !6, i64 4, !6, i64 8, !93, i64 16}
!93 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !6, i64 0, !6, i64 4, !10, i64 8}
!94 = !{!13, !14, i64 4}
!95 = !{!12, !14, i64 488}
!96 = !{!12, !14, i64 216}
!97 = !{!24, !14, i64 0}
!98 = !{!12, !14, i64 220}
!99 = !{!24, !14, i64 4}
!100 = !{!12, !14, i64 496}
!101 = !{!24, !14, i64 8}
!102 = !{!24, !14, i64 12}
!103 = !{!12, !14, i64 64}
!104 = !{!13, !14, i64 0}
!105 = !{i64 0, i64 4, !44, i64 4, i64 4, !44, i64 8, i64 4, !44, i64 12, i64 4, !44}
!106 = !{!46, !14, i64 76}
!107 = !{!51, !15, i64 7760}
!108 = !{!12, !6, i64 344}
!109 = !{!12, !6, i64 348}
!110 = !{!51, !6, i64 7376}
!111 = !{!46, !14, i64 100}
!112 = !{!51, !14, i64 296}
!113 = !{!51, !10, i64 7192}
!114 = !{!51, !6, i64 8184}
!115 = !{!51, !6, i64 7704}
!116 = !{!51, !15, i64 7763}
!117 = !{!51, !6, i64 7696}
!118 = !{!51, !6, i64 7804}
!119 = !{!12, !10, i64 368}
!120 = !{!46, !14, i64 68}
!121 = !{!12, !10, i64 616}
!122 = !{!51, !15, i64 12524}


; 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
@.str.2 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [54 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_ = external hidden unnamed_addr constant [86 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.145 = 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_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, i32 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

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

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 @_ZN5ImGui24LogSetNextTextDecorationEPKcS1_(ptr noundef, ptr 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 #8 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 @_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 8
  %14 = alloca %struct.ImVec2, align 8
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 8
  %17 = alloca %struct.ImVec2, align 8
  %18 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %19 = getelementptr inbounds i8, ptr %18, i64 147
  %20 = load i8, ptr %19, align 1, !tbaa !5, !range !38, !noundef !39
  %21 = trunc nuw i8 %20 to i1
  br i1 %21, label %322, label %22

22:                                               ; preds = %4
  %23 = load ptr, ptr @GImGui, align 8, !tbaa !40
  %24 = and i32 %1, 2
  %.not = icmp eq i32 %24, 0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %25 = and i32 %1, 1026
  %or.cond = icmp eq i32 %25, 0
  %26 = getelementptr inbounds i8, ptr %23, i64 5532
  br i1 %or.cond, label %29, label %27

27:                                               ; preds = %22
  %28 = load i64, ptr %26, align 4
  store i64 %28, ptr %5, align 8
  br label %36

29:                                               ; preds = %22
  %30 = load float, ptr %26, align 4, !tbaa !41
  %31 = getelementptr inbounds i8, ptr %18, i64 272
  %32 = load float, ptr %31, align 8, !tbaa !43
  %33 = getelementptr inbounds i8, ptr %23, i64 5536
  %34 = load float, ptr %33, align 4, !tbaa !44
  %35 = tail call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %32, float noundef %34)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %30, float noundef %35)
  br label %36

36:                                               ; preds = %29, %27
  %.not179 = icmp eq ptr %3, null
  br i1 %.not179, label %37, label %39

37:                                               ; preds = %36
  %38 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %2, ptr noundef null)
  br label %39

39:                                               ; preds = %37, %36
  %.0167 = phi ptr [ %3, %36 ], [ %38, %37 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %40 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %2, ptr noundef %.0167, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %40, ptr %6, align 8
  %41 = getelementptr inbounds i8, ptr %18, i64 216
  %42 = getelementptr inbounds i8, ptr %18, i64 260
  %43 = load float, ptr %42, align 4, !tbaa !45
  %44 = getelementptr inbounds i8, ptr %23, i64 6528
  %45 = load float, ptr %44, align 8, !tbaa !46
  %46 = getelementptr inbounds i8, ptr %23, i64 5532
  %47 = getelementptr inbounds i8, ptr %23, i64 5536
  %48 = load float, ptr %47, align 4, !tbaa !44
  %49 = call float @llvm.fmuladd.f32(float %48, float 2.000000e+00, float %45)
  %50 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %43, float noundef %49)
  %51 = extractelement <2 x float> %40, i64 1
  %52 = getelementptr inbounds i8, ptr %5, i64 4
  %53 = load float, ptr %52, align 4, !tbaa !90
  %54 = call float @llvm.fmuladd.f32(float %53, float 2.000000e+00, float %51)
  %55 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %50, float noundef %54)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #9
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %56 = and i32 %1, 4096
  %.not180 = icmp eq i32 %56, 0
  %57 = getelementptr inbounds i8, ptr %18, i64 488
  %.in = select i1 %.not180, ptr %41, ptr %57
  %58 = load float, ptr %.in, align 8, !tbaa !91
  store float %58, ptr %7, align 8, !tbaa !92
  %59 = getelementptr inbounds i8, ptr %18, i64 220
  %60 = load float, ptr %59, align 4, !tbaa !93
  %61 = getelementptr inbounds i8, ptr %7, i64 4
  store float %60, ptr %61, align 4, !tbaa !94
  %62 = getelementptr inbounds i8, ptr %18, i64 496
  %63 = load float, ptr %62, align 8, !tbaa !95
  %64 = getelementptr inbounds i8, ptr %7, i64 8
  store float %63, ptr %64, align 8, !tbaa !96
  %65 = fadd float %55, %60
  %66 = getelementptr inbounds i8, ptr %7, i64 12
  store float %65, ptr %66, align 4, !tbaa !97
  %67 = extractelement <2 x float> %40, i64 0
  br i1 %.not, label %79, label %68

68:                                               ; preds = %39
  %69 = getelementptr inbounds i8, ptr %18, i64 64
  %70 = load float, ptr %69, align 8, !tbaa !98
  %71 = call float @llvm.fmuladd.f32(float %70, float 5.000000e-01, float -1.000000e+00)
  %72 = fptosi float %71 to i32
  %73 = sitofp i32 %72 to float
  %74 = fsub float %58, %73
  store float %74, ptr %7, align 8, !tbaa !92
  %75 = fmul float %70, 5.000000e-01
  %76 = fptosi float %75 to i32
  %77 = sitofp i32 %76 to float
  %78 = fadd float %63, %77
  store float %78, ptr %64, align 8, !tbaa !96
  br label %79

79:                                               ; preds = %68, %39
  %.v = phi float [ 3.000000e+00, %68 ], [ 2.000000e+00, %39 ]
  %80 = load float, ptr %44, align 8, !tbaa !46
  %81 = load float, ptr %5, align 8
  %82 = fmul float %.v, %81
  %83 = fadd float %80, %82
  %84 = load float, ptr %52, align 4, !tbaa !90
  %85 = getelementptr inbounds i8, ptr %18, i64 272
  %86 = load float, ptr %85, align 8, !tbaa !43
  %87 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %84, float noundef %86)
  %88 = load float, ptr %44, align 8, !tbaa !46
  %89 = fcmp ogt float %67, 0.000000e+00
  %90 = load float, ptr %5, align 8
  %91 = call float @llvm.fmuladd.f32(float %90, float 2.000000e+00, float %67)
  %92 = select i1 %89, float %91, float 0.000000e+00
  %93 = fadd float %88, %92
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %94 = load float, ptr %41, align 8, !tbaa !99
  %95 = fadd float %83, %94
  %96 = load float, ptr %59, align 4, !tbaa !93
  %97 = fadd float %87, %96
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %95, float noundef %97)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %93, float noundef %55)
  %98 = load float, ptr %52, align 4, !tbaa !90
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %98)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  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 !100
  %99 = and i32 %1, 6146
  %or.cond198 = icmp eq i32 %99, 0
  br i1 %or.cond198, label %100, label %107

100:                                              ; preds = %79
  %101 = load float, ptr %7, align 8, !tbaa !92
  %102 = fadd float %93, %101
  %103 = getelementptr inbounds i8, ptr %23, i64 5548
  %104 = load float, ptr %103, align 4, !tbaa !101
  %105 = call float @llvm.fmuladd.f32(float %104, float 2.000000e+00, float %102)
  %106 = getelementptr inbounds i8, ptr %10, i64 8
  store float %105, ptr %106, align 4, !tbaa !96
  br label %107

107:                                              ; preds = %100, %79
  %108 = and i32 %1, 256
  %.not181 = icmp eq i32 %108, 0
  %109 = call noundef zeroext i1 @_ZN5ImGui22TreeNodeBehaviorIsOpenEji(i32 noundef %0, i32 noundef %1)
  br i1 %109, label %110, label %123

110:                                              ; preds = %107
  %111 = getelementptr inbounds i8, ptr %23, i64 7760
  %112 = load i8, ptr %111, align 8, !tbaa !102, !range !38, !noundef !39
  %113 = trunc nuw i8 %112 to i1
  %114 = and i32 %1, 8200
  %115 = icmp ne i32 %114, 8192
  %or.cond200.not = or i1 %115, %113
  br i1 %or.cond200.not, label %123, label %116

116:                                              ; preds = %110
  %117 = getelementptr inbounds i8, ptr %18, i64 344
  %118 = load i32, ptr %117, align 8, !tbaa !103
  %119 = shl nuw i32 1, %118
  %120 = getelementptr inbounds i8, ptr %18, i64 348
  %121 = load i32, ptr %120, align 4, !tbaa !104
  %122 = or i32 %121, %119
  store i32 %122, ptr %120, align 4, !tbaa !104
  br label %123

123:                                              ; preds = %116, %110, %107
  %124 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef %0, ptr noundef null, i32 noundef 0)
  %125 = getelementptr inbounds i8, ptr %23, i64 7376
  %126 = load i32, ptr %125, align 8, !tbaa !105
  %127 = or i32 %126, 2
  store i32 %127, ptr %125, align 8, !tbaa !105
  %128 = getelementptr inbounds i8, ptr %23, i64 7412
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %128, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !100
  br i1 %124, label %132, label %129

129:                                              ; preds = %123
  %130 = and i32 %1, 8
  %.not184 = icmp eq i32 %130, 0
  %or.cond201 = and i1 %.not184, %109
  br i1 %or.cond201, label %131, label %321

131:                                              ; preds = %129
  call void @_ZN5ImGui18TreePushOverrideIDEj(i32 noundef %0)
  br label %321

132:                                              ; preds = %123
  %133 = and i32 %1, 4
  %.not185 = icmp eq i32 %133, 0
  %spec.select = shl nuw nsw i32 %133, 10
  %134 = or disjoint i32 %spec.select, 512
  %.1170 = select i1 %.not181, i32 %134, i32 %spec.select
  %135 = load float, ptr %8, align 8, !tbaa !106
  %136 = fsub float %135, %83
  %137 = getelementptr inbounds i8, ptr %23, i64 5572
  %138 = load float, ptr %137, align 4, !tbaa !107
  %139 = fsub float %136, %138
  %140 = getelementptr inbounds i8, ptr %23, i64 296
  %141 = load float, ptr %140, align 8, !tbaa !108
  %142 = fcmp ult float %141, %139
  br i1 %142, label %.thread222, label %144

.thread222:                                       ; preds = %132
  %143 = or disjoint i32 %.1170, 65536
  br label %156

144:                                              ; preds = %132
  %145 = load float, ptr %5, align 8, !tbaa !106
  %146 = load float, ptr %44, align 8, !tbaa !46
  %147 = call float @llvm.fmuladd.f32(float %145, float 2.000000e+00, float %146)
  %148 = fadd float %136, %147
  %149 = fadd float %138, %148
  %150 = fcmp olt float %141, %149
  %151 = or disjoint i32 %.1170, 65536
  br i1 %150, label %152, label %156

152:                                              ; preds = %144
  %153 = getelementptr inbounds i8, ptr %23, i64 7192
  %154 = load ptr, ptr %153, align 8, !tbaa !109
  %.not186 = icmp eq ptr %18, %154
  %.2 = select i1 %.not186, i32 %.1170, i32 %151
  %155 = or disjoint i32 %.2, 16
  br label %162

156:                                              ; preds = %.thread222, %144
  %.2226 = phi i32 [ %143, %.thread222 ], [ %151, %144 ]
  %157 = and i32 %1, 64
  %.not187 = icmp eq i32 %157, 0
  br i1 %.not187, label %160, label %158

158:                                              ; preds = %156
  %159 = or disjoint i32 %.2226, 288
  br label %162

160:                                              ; preds = %156
  %161 = or disjoint i32 %.2226, 32
  br label %162

162:                                              ; preds = %158, %160, %152
  %163 = phi i1 [ true, %152 ], [ false, %158 ], [ false, %160 ]
  %.3 = phi i32 [ %155, %152 ], [ %159, %158 ], [ %161, %160 ]
  %164 = and i32 %1, 1
  %.not188 = icmp ne i32 %164, 0
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #9
  %165 = 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 %.3)
  br i1 %.not181, label %166, label %221

166:                                              ; preds = %162
  br i1 %165, label %167, label %.critedge

167:                                              ; preds = %166
  %168 = getelementptr inbounds i8, ptr %23, i64 8184
  %169 = load i32, ptr %168, align 8, !tbaa !110
  %.not189 = icmp eq i32 %169, %0
  br i1 %.not189, label %194, label %170

170:                                              ; preds = %167
  %171 = and i32 %1, 192
  %172 = icmp eq i32 %171, 0
  br i1 %172, label %177, label %173

173:                                              ; preds = %170
  %174 = getelementptr inbounds i8, ptr %23, i64 7704
  %175 = load i32, ptr %174, align 8, !tbaa !111
  %176 = icmp eq i32 %175, %0
  br i1 %176, label %177, label %178

177:                                              ; preds = %173, %170
  br label %178

178:                                              ; preds = %177, %173
  %.0171 = phi i8 [ 1, %177 ], [ 0, %173 ]
  %179 = and i32 %1, 128
  %.not191 = icmp eq i32 %179, 0
  br i1 %.not191, label %188, label %180

180:                                              ; preds = %178
  br i1 %163, label %181, label %185

181:                                              ; preds = %180
  %182 = getelementptr inbounds i8, ptr %23, i64 7763
  %183 = load i8, ptr %182, align 1, !tbaa !112, !range !38, !noundef !39
  %184 = xor i8 %183, 1
  br label %185

185:                                              ; preds = %181, %180
  %186 = phi i8 [ 0, %180 ], [ %184, %181 ]
  %187 = or i8 %186, %.0171
  br label %188

188:                                              ; preds = %185, %178
  %.1172 = phi i8 [ %187, %185 ], [ %.0171, %178 ]
  %189 = and i32 %1, 64
  %.not192 = icmp eq i32 %189, 0
  br i1 %.not192, label %.critedge, label %190

190:                                              ; preds = %188
  %191 = getelementptr inbounds i8, ptr %23, i64 1061
  %192 = load i8, ptr %191, align 1, !tbaa !113, !range !38, !noundef !39
  %193 = trunc nuw i8 %192 to i1
  %spec.select203 = select i1 %193, i8 1, i8 %.1172
  br label %.critedge

194:                                              ; preds = %167
  %195 = and i32 %.3, 512
  %.not190 = icmp eq i32 %195, 0
  br i1 %.not190, label %196, label %197

196:                                              ; preds = %194
  call void @__assert_fail(ptr noundef nonnull @.str.143, ptr noundef nonnull @.str.2, i32 noundef 5927, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_) #10
  unreachable

197:                                              ; preds = %194
  %not. = xor i1 %109, true
  %spec.select204 = zext i1 %not. to i8
  br label %.critedge

.critedge:                                        ; preds = %197, %190, %166, %188
  %.2173 = phi i8 [ %.1172, %188 ], [ %spec.select203, %190 ], [ %spec.select204, %197 ], [ 0, %166 ]
  %198 = getelementptr inbounds i8, ptr %23, i64 7696
  %199 = load i32, ptr %198, align 8, !tbaa !114
  %200 = icmp eq i32 %199, %0
  br i1 %200, label %201, label %206

201:                                              ; preds = %.critedge
  %202 = getelementptr inbounds i8, ptr %23, i64 7804
  %203 = load i32, ptr %202, align 4, !tbaa !115
  %204 = icmp eq i32 %203, 0
  %brmerge207.not = and i1 %109, %204
  br i1 %brmerge207.not, label %205, label %.thread227

205:                                              ; preds = %201
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  %.pre = load i32, ptr %198, align 8, !tbaa !114
  br label %206

206:                                              ; preds = %205, %.critedge
  %207 = phi i32 [ %.pre, %205 ], [ %199, %.critedge ]
  %.3174 = phi i8 [ 1, %205 ], [ %.2173, %.critedge ]
  %208 = icmp eq i32 %207, %0
  br i1 %208, label %.thread227, label %212

.thread227:                                       ; preds = %201, %206
  %.3174230 = phi i8 [ %.3174, %206 ], [ %.2173, %201 ]
  %209 = getelementptr inbounds i8, ptr %23, i64 7804
  %210 = load i32, ptr %209, align 4, !tbaa !115
  %211 = icmp ne i32 %210, 1
  %brmerge209 = or i1 %109, %211
  br i1 %brmerge209, label %212, label %.thread

.thread:                                          ; preds = %.thread227
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %214

212:                                              ; preds = %.thread227, %206
  %.3174229 = phi i8 [ %.3174230, %.thread227 ], [ %.3174, %206 ]
  %213 = trunc nuw i8 %.3174229 to i1
  br i1 %213, label %214, label %221

214:                                              ; preds = %.thread, %212
  %215 = xor i1 %109, true
  %216 = getelementptr inbounds i8, ptr %18, i64 368
  %217 = load ptr, ptr %216, align 8, !tbaa !116
  %218 = zext i1 %215 to i32
  call void @_ZN12ImGuiStorage6SetIntEji(ptr noundef nonnull align 8 dereferenceable(16) %217, i32 noundef %0, i32 noundef %218)
  %219 = load i32, ptr %125, align 8, !tbaa !105
  %220 = or i32 %219, 16
  store i32 %220, ptr %125, align 8, !tbaa !105
  br label %221

221:                                              ; preds = %212, %214, %162
  %.0168.in = phi i1 [ %109, %162 ], [ %215, %214 ], [ %109, %212 ]
  br i1 %.not185, label %223, label %222

222:                                              ; preds = %221
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %223

223:                                              ; preds = %221, %222
  %224 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  br i1 %.not, label %276, label %225

225:                                              ; preds = %223
  %226 = load i8, ptr %12, align 1, !tbaa !113, !range !38, !noundef !39
  %227 = trunc nuw i8 %226 to i1
  %.pre218 = load i8, ptr %11, align 1, !tbaa !113, !range !38
  %228 = trunc nuw i8 %.pre218 to i1
  %.not231 = xor i1 %227, true
  %229 = select i1 %227, i1 %228, i1 false
  %.mux = select i1 %.not231, i1 %228, i1 false
  %230 = select i1 %.mux, i32 25, i32 24
  %231 = select i1 %229, i32 26, i32 %230
  %232 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %231, 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 %64, align 8
  %233 = getelementptr inbounds i8, ptr %23, i64 5540
  %234 = load float, ptr %233, align 4, !tbaa !117
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %.sroa.04.0.copyload, <2 x float> %.sroa.03.0.copyload, i32 noundef %232, i1 noundef zeroext true, float noundef %234)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %0, i32 noundef 2)
  %235 = and i32 %1, 512
  %.not194 = icmp eq i32 %235, 0
  br i1 %.not194, label %247, label %236

236:                                              ; preds = %225
  %237 = getelementptr inbounds i8, ptr %18, i64 616
  %238 = load ptr, ptr %237, align 8, !tbaa !118
  %239 = load float, ptr %8, align 8, !tbaa !106
  %240 = fneg float %83
  %241 = call float @llvm.fmuladd.f32(float %240, float 0x3FE3333340000000, float %239)
  %242 = getelementptr inbounds i8, ptr %8, i64 4
  %243 = load float, ptr %242, align 4, !tbaa !90
  %244 = load float, ptr %44, align 8, !tbaa !46
  %245 = call float @llvm.fmuladd.f32(float %244, float 5.000000e-01, float %243)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %241, float noundef %245)
  %246 = load <2 x float>, ptr %13, align 8
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %238, <2 x float> %246, i32 noundef %224)
  br label %262

247:                                              ; preds = %225
  br i1 %.not181, label %248, label %259

248:                                              ; preds = %247
  %249 = getelementptr inbounds i8, ptr %18, i64 616
  %250 = load ptr, ptr %249, align 8, !tbaa !118
  %251 = load float, ptr %8, align 8, !tbaa !106
  %252 = fsub float %251, %83
  %253 = load float, ptr %5, align 8, !tbaa !106
  %254 = fadd float %252, %253
  %255 = getelementptr inbounds i8, ptr %8, i64 4
  %256 = load float, ptr %255, align 4, !tbaa !90
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %254, float noundef %256)
  %257 = select i1 %.0168.in, i32 3, i32 1
  %258 = load <2 x float>, ptr %14, align 8
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %250, <2 x float> %258, i32 noundef %224, i32 noundef %257, float noundef 1.000000e+00)
  br label %262

259:                                              ; preds = %247
  %260 = load float, ptr %8, align 8, !tbaa !106
  %261 = fsub float %260, %83
  store float %261, ptr %8, align 8, !tbaa !106
  br label %262

262:                                              ; preds = %248, %259, %236
  %263 = and i32 %1, 1048576
  %.not195 = icmp eq i32 %263, 0
  br i1 %.not195, label %270, label %264

264:                                              ; preds = %262
  %265 = load float, ptr %44, align 8, !tbaa !46
  %266 = load float, ptr %46, align 4, !tbaa !41
  %267 = fadd float %265, %266
  %268 = load float, ptr %64, align 8, !tbaa !96
  %269 = fsub float %268, %267
  store float %269, ptr %64, align 8, !tbaa !96
  br label %270

270:                                              ; preds = %264, %262
  %271 = getelementptr inbounds i8, ptr %23, i64 12524
  %272 = load i8, ptr %271, align 4, !tbaa !119, !range !38, !noundef !39
  %273 = trunc nuw i8 %272 to i1
  br i1 %273, label %274, label %275

274:                                              ; preds = %270
  call void @_ZN5ImGui24LogSetNextTextDecorationEPKcS1_(ptr noundef nonnull @.str.144, ptr noundef nonnull @.str.144)
  br label %275

275:                                              ; preds = %274, %270
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, 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) %64, ptr noundef %2, ptr noundef %.0167, ptr noundef nonnull %6, ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  br label %317

276:                                              ; preds = %223
  %277 = load i8, ptr %11, align 1, !tbaa !113, !range !38, !noundef !39
  %278 = trunc nuw i8 %277 to i1
  %brmerge210 = or i1 %.not188, %278
  br i1 %brmerge210, label %279, label %284

279:                                              ; preds = %276
  %280 = load i8, ptr %12, align 1, !tbaa !113, !range !38, !noundef !39
  %brmerge215.demorgan217 = and i8 %280, %277
  %brmerge215.demorgan = trunc nuw i8 %brmerge215.demorgan217 to i1
  %281 = select i1 %278, i32 25, i32 24
  %282 = select i1 %brmerge215.demorgan, i32 26, i32 %281
  %283 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %282, 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 %64, align 8
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %.sroa.02.0.copyload, <2 x float> %.sroa.01.0.copyload, i32 noundef %283, i1 noundef zeroext false, float noundef 0.000000e+00)
  br label %284

284:                                              ; preds = %276, %279
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %0, i32 noundef 2)
  %285 = and i32 %1, 512
  %.not193 = icmp eq i32 %285, 0
  br i1 %.not193, label %297, label %286

286:                                              ; preds = %284
  %287 = getelementptr inbounds i8, ptr %18, i64 616
  %288 = load ptr, ptr %287, align 8, !tbaa !118
  %289 = load float, ptr %8, align 8, !tbaa !106
  %290 = fneg float %83
  %291 = call float @llvm.fmuladd.f32(float %290, float 5.000000e-01, float %289)
  %292 = getelementptr inbounds i8, ptr %8, i64 4
  %293 = load float, ptr %292, align 4, !tbaa !90
  %294 = load float, ptr %44, align 8, !tbaa !46
  %295 = call float @llvm.fmuladd.f32(float %294, float 5.000000e-01, float %293)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %291, float noundef %295)
  %296 = load <2 x float>, ptr %16, align 8
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %288, <2 x float> %296, i32 noundef %224)
  br label %311

297:                                              ; preds = %284
  br i1 %.not181, label %298, label %311

298:                                              ; preds = %297
  %299 = getelementptr inbounds i8, ptr %18, i64 616
  %300 = load ptr, ptr %299, align 8, !tbaa !118
  %301 = load float, ptr %8, align 8, !tbaa !106
  %302 = fsub float %301, %83
  %303 = load float, ptr %5, align 8, !tbaa !106
  %304 = fadd float %302, %303
  %305 = getelementptr inbounds i8, ptr %8, i64 4
  %306 = load float, ptr %305, align 4, !tbaa !90
  %307 = load float, ptr %44, align 8, !tbaa !46
  %308 = call float @llvm.fmuladd.f32(float %307, float 0x3FC3333340000000, float %306)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %304, float noundef %308)
  %309 = select i1 %.0168.in, i32 3, i32 1
  %310 = load <2 x float>, ptr %17, align 8
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %300, <2 x float> %310, i32 noundef %224, i32 noundef %309, float noundef 0x3FE6666660000000)
  br label %311

311:                                              ; preds = %297, %298, %286
  %312 = getelementptr inbounds i8, ptr %23, i64 12524
  %313 = load i8, ptr %312, align 4, !tbaa !119, !range !38, !noundef !39
  %314 = trunc nuw i8 %313 to i1
  br i1 %314, label %315, label %316

315:                                              ; preds = %311
  call void @_ZN5ImGui24LogSetNextTextDecorationEPKcS1_(ptr noundef nonnull @.str.145, ptr noundef null)
  br label %316

316:                                              ; preds = %315, %311
  %.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 %.0167, i1 noundef zeroext false)
  br label %317

317:                                              ; preds = %316, %275
  %318 = and i32 %1, 8
  %.not196 = icmp eq i32 %318, 0
  %or.cond211 = and i1 %.not196, %.0168.in
  br i1 %or.cond211, label %319, label %320

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

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

321:                                              ; preds = %129, %131, %320
  %.0 = phi i1 [ %.0168.in, %320 ], [ true, %131 ], [ %109, %129 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br label %322

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

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

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 #8

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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !13, i64 147}
!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, !11, i64 64, !12, i64 72, !12, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !11, i64 124, !11, i64 132, !13, i64 140, !13, i64 141, !13, i64 142, !13, i64 143, !13, i64 144, !13, i64 145, !13, i64 146, !13, i64 147, !13, i64 148, !13, i64 149, !13, i64 150, !13, i64 151, !8, i64 152, !14, i64 154, !14, i64 156, !14, i64 158, !14, i64 160, !10, i64 164, !8, i64 168, !8, i64 169, !8, i64 170, !13, i64 171, !10, i64 172, !8, i64 176, !8, i64 177, !8, i64 178, !8, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !11, i64 184, !11, i64 192, !15, i64 200, !16, i64 216, !22, i64 440, !22, i64 456, !22, i64 472, !22, i64 488, !22, i64 504, !22, i64 520, !22, i64 536, !23, i64 552, !23, i64 556, !10, i64 560, !12, i64 564, !12, i64 568, !24, i64 576, !26, i64 592, !12, i64 608, !10, i64 612, !7, i64 616, !27, i64 624, !7, i64 824, !7, i64 832, !7, i64 840, !7, i64 848, !7, i64 856, !7, i64 864, !8, i64 872, !8, i64 880, !10, i64 912, !10, i64 916, !13, i64 920}
!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, !11, i64 48, !12, i64 56, !12, i64 60, !17, i64 64, !17, i64 68, !17, i64 72, !18, i64 76, !14, i64 80, !14, i64 82, !10, i64 84, !13, i64 88, !13, i64 89, !13, i64 90, !11, i64 92, !19, i64 100, !10, i64 128, !10, i64 132, !20, i64 136, !7, i64 152, !7, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !12, i64 184, !12, i64 188, !21, i64 192, !21, i64 208}
!17 = !{!"_ZTS6ImVec1", !12, i64 0}
!18 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!19 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !14, i64 8, !14, i64 10, !14, i64 12, !14, i64 14, !14, i64 16, !8, i64 18}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!23 = !{!"_ZTS8ImVec2ih", !14, i64 0, !14, i64 2}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!26 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS10ImDrawList", !28, i64 0, !29, i64 16, !30, i64 32, !10, i64 48, !10, i64 52, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !31, i64 88, !32, i64 104, !33, i64 120, !34, i64 136, !36, i64 168, !12, i64 192}
!28 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!29 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS15ImDrawCmdHeader", !35, i64 0, !7, i64 16, !10, i64 24}
!35 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!36 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !37, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!7, !7, i64 0}
!41 = !{!42, !12, i64 60}
!42 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !12, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !11, i64 24, !11, i64 32, !10, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !11, i64 60, !12, i64 68, !12, i64 72, !11, i64 76, !11, i64 84, !11, i64 92, !11, i64 100, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !10, i64 148, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !12, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !12, i64 192, !12, i64 196, !8, i64 200}
!43 = !{!6, !12, i64 272}
!44 = !{!42, !12, i64 64}
!45 = !{!6, !12, i64 260}
!46 = !{!47, !12, i64 6528}
!47 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !48, i64 8, !42, i64 5472, !7, i64 6520, !12, i64 6528, !12, i64 6532, !49, i64 6536, !50, i64 7048, !10, i64 7056, !10, i64 7060, !10, i64 7064, !13, i64 7068, !13, i64 7069, !13, i64 7070, !13, i64 7071, !13, i64 7072, !7, i64 7080, !20, i64 7088, !20, i64 7104, !20, i64 7120, !51, i64 7136, !24, i64 7152, !10, i64 7168, !11, i64 7172, !7, i64 7184, !7, i64 7192, !7, i64 7200, !7, i64 7208, !7, i64 7216, !11, i64 7224, !12, i64 7232, !10, i64 7236, !10, i64 7240, !10, i64 7244, !13, i64 7248, !13, i64 7249, !13, i64 7250, !13, i64 7251, !12, i64 7252, !12, i64 7256, !10, i64 7260, !10, i64 7264, !12, i64 7268, !13, i64 7272, !13, i64 7273, !13, i64 7274, !13, i64 7275, !13, i64 7276, !13, i64 7277, !13, i64 7278, !10, i64 7280, !10, i64 7284, !52, i64 7288, !11, i64 7296, !7, i64 7304, !53, i64 7312, !10, i64 7316, !10, i64 7320, !13, i64 7324, !13, i64 7325, !7, i64 7328, !10, i64 7336, !12, i64 7340, !10, i64 7344, !54, i64 7348, !55, i64 7368, !56, i64 7432, !57, i64 7544, !58, i64 7560, !59, i64 7576, !15, i64 7592, !60, i64 7608, !61, i64 7624, !62, i64 7640, !62, i64 7656, !63, i64 7672, !7, i64 7688, !10, i64 7696, !10, i64 7700, !10, i64 7704, !10, i64 7708, !10, i64 7712, !10, i64 7716, !10, i64 7720, !10, i64 7724, !10, i64 7728, !10, i64 7732, !10, i64 7736, !10, i64 7740, !10, i64 7744, !53, i64 7748, !18, i64 7752, !10, i64 7756, !13, i64 7760, !13, i64 7761, !13, i64 7762, !13, i64 7763, !13, i64 7764, !13, i64 7765, !13, i64 7766, !10, i64 7768, !22, i64 7772, !13, i64 7788, !13, i64 7789, !13, i64 7790, !10, i64 7792, !10, i64 7796, !10, i64 7800, !10, i64 7804, !10, i64 7808, !10, i64 7812, !22, i64 7816, !10, i64 7832, !10, i64 7836, !64, i64 7840, !64, i64 7888, !64, i64 7936, !7, i64 7984, !7, i64 7992, !7, i64 8000, !12, i64 8008, !12, i64 8012, !13, i64 8016, !7, i64 8024, !7, i64 8032, !10, i64 8040, !10, i64 8044, !13, i64 8048, !12, i64 8052, !10, i64 8056, !13, i64 8060, !13, i64 8061, !13, i64 8062, !10, i64 8064, !10, i64 8068, !10, i64 8072, !65, i64 8080, !22, i64 8144, !10, i64 8160, !10, i64 8164, !12, i64 8168, !10, i64 8172, !10, i64 8176, !10, i64 8180, !10, i64 8184, !66, i64 8192, !8, i64 8208, !7, i64 8224, !10, i64 8232, !67, i64 8240, !69, i64 8280, !21, i64 8296, !37, i64 8312, !7, i64 8328, !70, i64 8336, !72, i64 8376, !73, i64 8392, !11, i64 8408, !74, i64 8416, !78, i64 12152, !10, i64 12264, !10, i64 12268, !12, i64 12272, !12, i64 12276, !10, i64 12280, !35, i64 12284, !80, i64 12300, !12, i64 12348, !13, i64 12352, !13, i64 12353, !12, i64 12356, !12, i64 12360, !12, i64 12364, !12, i64 12368, !14, i64 12372, !14, i64 12374, !12, i64 12376, !75, i64 12384, !15, i64 12400, !11, i64 12416, !11, i64 12424, !8, i64 12432, !13, i64 12433, !12, i64 12436, !81, i64 12440, !82, i64 12456, !83, i64 12472, !84, i64 12488, !85, i64 12504, !10, i64 12520, !13, i64 12524, !86, i64 12528, !7, i64 12536, !81, i64 12544, !7, i64 12560, !7, i64 12568, !12, i64 12576, !13, i64 12580, !10, i64 12584, !10, i64 12588, !10, i64 12592, !13, i64 12596, !10, i64 12600, !87, i64 12604, !88, i64 12624, !8, i64 12656, !10, i64 13136, !10, i64 13140, !12, i64 13144, !10, i64 13148, !10, i64 13152, !10, i64 13156, !8, i64 13160}
!48 = !{!"_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, !13, i64 197, !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, !11, i64 288, !8, i64 296, !12, i64 304, !12, i64 308, !13, i64 312, !13, i64 313, !13, i64 314, !13, i64 315, !8, i64 316, !8, i64 828, !13, i64 908, !13, i64 909, !13, i64 910, !13, i64 911, !13, i64 912, !13, i64 913, !13, i64 914, !12, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !11, i64 940, !13, i64 948, !10, i64 952, !10, i64 956, !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 1073, !8, i64 1080, !8, i64 1100, !8, i64 1120, !8, i64 1160, !8, i64 1180, !8, i64 3228, !8, i64 5276, !8, i64 5356, !12, i64 5436, !13, i64 5440, !14, i64 5442, !29, i64 5448}
!49 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !35, i64 28, !10, i64 44, !8, i64 48, !12, i64 432, !8, i64 436, !7, i64 504}
!50 = !{!"double", !8, i64 0}
!51 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!52 = !{!"long long", !8, i64 0}
!53 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!54 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!55 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !22, i64 12, !22, i64 28, !22, i64 44}
!56 = !{!"_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, !11, i64 48, !13, i64 56, !22, i64 60, !7, i64 80, !7, i64 88, !12, i64 96, !11, i64 100}
!57 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!58 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!59 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!60 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!61 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!62 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!63 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !7, i64 8}
!64 = !{!"_ZTS16ImGuiNavItemData", !7, i64 0, !10, i64 8, !10, i64 12, !22, i64 16, !10, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!65 = !{!"_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}
!66 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!67 = !{!"_ZTS6ImPoolI10ImGuiTableE", !68, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!68 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !7, i64 8}
!69 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!70 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !71, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!71 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!72 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!73 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!74 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !29, i64 16, !75, i64 32, !75, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !76, i64 76, !12, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712, !7, i64 3720, !7, i64 3728}
!75 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!76 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !10, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !12, i64 28, !77, i64 32}
!77 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!78 = !{!"_ZTS6ImFont", !21, i64 0, !12, i64 16, !12, i64 20, !29, i64 24, !79, i64 40, !7, i64 56, !7, i64 64, !7, i64 72, !14, i64 80, !14, i64 82, !14, i64 84, !14, i64 86, !13, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !10, i64 104, !8, i64 108}
!79 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!80 = !{!"_ZTS21ImGuiComboPreviewData", !22, i64 0, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !10, i64 44}
!81 = !{!"_ZTS15ImGuiTextBuffer", !75, i64 0}
!82 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!83 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !75, i64 0}
!84 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !75, i64 0}
!85 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !7, i64 8}
!86 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!87 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !10, i64 8, !10, i64 12}
!88 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !89, i64 16}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !7, i64 8}
!90 = !{!11, !12, i64 4}
!91 = !{!12, !12, i64 0}
!92 = !{!22, !12, i64 0}
!93 = !{!6, !12, i64 220}
!94 = !{!22, !12, i64 4}
!95 = !{!6, !12, i64 496}
!96 = !{!22, !12, i64 8}
!97 = !{!22, !12, i64 12}
!98 = !{!6, !12, i64 64}
!99 = !{!6, !12, i64 216}
!100 = !{i64 0, i64 4, !91, i64 4, i64 4, !91, i64 8, i64 4, !91, i64 12, i64 4, !91}
!101 = !{!42, !12, i64 76}
!102 = !{!47, !13, i64 7760}
!103 = !{!6, !10, i64 344}
!104 = !{!6, !10, i64 348}
!105 = !{!47, !10, i64 7376}
!106 = !{!11, !12, i64 0}
!107 = !{!42, !12, i64 100}
!108 = !{!47, !12, i64 296}
!109 = !{!47, !7, i64 7192}
!110 = !{!47, !10, i64 8184}
!111 = !{!47, !10, i64 7704}
!112 = !{!47, !13, i64 7763}
!113 = !{!13, !13, i64 0}
!114 = !{!47, !10, i64 7696}
!115 = !{!47, !10, i64 7804}
!116 = !{!6, !7, i64 368}
!117 = !{!42, !12, i64 68}
!118 = !{!6, !7, i64 616}
!119 = !{!47, !13, i64 12524}


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