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

@GImGui = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [54 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_ = external hidden unnamed_addr constant [86 x i8], align 1
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix = external hidden unnamed_addr constant [4 x i8], align 1
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix = external hidden unnamed_addr constant [3 x i8], align 1
@.str.131 = 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #3 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) #4

; 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) #5

; 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) #6

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

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

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

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

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

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

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

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

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

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

; 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 @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef, ptr noundef, ptr noundef) #5

declare void @_ZN5ImGui19SetItemAllowOverlapEv() #5

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui16TreeNodeBehaviorEjiPKcS1_(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #7 {
  %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 [4 x i8], align 1
  %46 = alloca [3 x i8], align 1
  %47 = alloca %struct.ImVec2, align 4
  %48 = alloca %struct.ImVec2, align 4
  %49 = alloca i32, align 4
  %50 = alloca %struct.ImVec2, align 4
  %51 = alloca %struct.ImVec2, align 4
  %52 = alloca %struct.ImVec2, align 4
  %53 = alloca %struct.ImVec2, align 4
  %54 = alloca %struct.ImVec2, align 4
  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
  %55 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %55, ptr %10, align 8, !tbaa !9
  %56 = load ptr, ptr %10, align 8, !tbaa !9
  %57 = getelementptr inbounds %struct.ImGuiWindow, ptr %56, i32 0, i32 26
  %58 = load i8, ptr %57, align 1, !tbaa !11, !range !39, !noundef !40
  %59 = trunc i8 %58 to i1
  br i1 %59, label %60, label %61

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

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

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

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

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

92:                                               ; preds = %78, %75
  %93 = load ptr, ptr %9, align 8, !tbaa !9
  %94 = icmp ne ptr %93, null
  br i1 %94, label %98, label %95

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

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

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

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

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

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

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

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

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

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

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

225:                                              ; preds = %203
  br label %226

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

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

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

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

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

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

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

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

301:                                              ; preds = %290, %286, %282, %277, %266
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #9
  %302 = load i32, ptr %6, align 4, !tbaa !5
  %303 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %24, i32 noundef %302, ptr noundef null)
  %304 = zext i1 %303 to i8
  store i8 %304, ptr %27, align 1, !tbaa !41
  %305 = load ptr, ptr %10, align 8, !tbaa !9
  %306 = getelementptr inbounds %struct.ImGuiWindow, ptr %305, i32 0, i32 50
  %307 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %306, i32 0, i32 12
  %308 = load i32, ptr %307, align 8, !tbaa !99
  %309 = or i32 %308, 2
  store i32 %309, ptr %307, align 8, !tbaa !99
  %310 = load ptr, ptr %10, align 8, !tbaa !9
  %311 = getelementptr inbounds %struct.ImGuiWindow, ptr %310, i32 0, i32 50
  %312 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %311, i32 0, i32 14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %312, ptr align 4 %18, i64 16, i1 false), !tbaa.struct !94
  %313 = load i8, ptr %27, align 1, !tbaa !41, !range !39, !noundef !40
  %314 = trunc i8 %313 to i1
  br i1 %314, label %330, label %315

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

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

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

324:                                              ; preds = %322, %318, %315
  br label %325

325:                                              ; preds = %324
  br label %326

326:                                              ; preds = %325
  br label %327

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

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

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

337:                                              ; preds = %334, %330
  %338 = load i8, ptr %25, align 1, !tbaa !41, !range !39, !noundef !40
  %339 = trunc i8 %338 to i1
  br i1 %339, label %343, label %340

340:                                              ; preds = %337
  %341 = load i32, ptr %28, align 4, !tbaa !5
  %342 = or i32 %341, 64
  store i32 %342, ptr %28, align 4, !tbaa !5
  br label %343

343:                                              ; preds = %340, %337
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %344 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %345 = load float, ptr %344, align 4, !tbaa !93
  %346 = load float, ptr %19, align 4, !tbaa !43
  %347 = fsub float %345, %346
  %348 = load ptr, ptr %13, align 8, !tbaa !9
  %349 = getelementptr inbounds %struct.ImGuiStyle, ptr %348, i32 0, i32 16
  %350 = getelementptr inbounds %struct.ImVec2, ptr %349, i32 0, i32 0
  %351 = load float, ptr %350, align 4, !tbaa !100
  %352 = fsub float %347, %351
  store float %352, ptr %29, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  %353 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %354 = load float, ptr %353, align 4, !tbaa !93
  %355 = load float, ptr %19, align 4, !tbaa !43
  %356 = fsub float %354, %355
  %357 = load ptr, ptr %12, align 8, !tbaa !9
  %358 = getelementptr inbounds %struct.ImGuiContext, ptr %357, i32 0, i32 6
  %359 = load float, ptr %358, align 8, !tbaa !49
  %360 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %361 = load float, ptr %360, align 4, !tbaa !93
  %362 = call float @llvm.fmuladd.f32(float %361, float 2.000000e+00, float %359)
  %363 = fadd float %356, %362
  %364 = load ptr, ptr %13, align 8, !tbaa !9
  %365 = getelementptr inbounds %struct.ImGuiStyle, ptr %364, i32 0, i32 16
  %366 = getelementptr inbounds %struct.ImVec2, ptr %365, i32 0, i32 0
  %367 = load float, ptr %366, align 4, !tbaa !100
  %368 = fadd float %363, %367
  store float %368, ptr %30, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #9
  %369 = load ptr, ptr %12, align 8, !tbaa !9
  %370 = getelementptr inbounds %struct.ImGuiContext, ptr %369, i32 0, i32 3
  %371 = getelementptr inbounds %struct.ImGuiIO, ptr %370, i32 0, i32 36
  %372 = getelementptr inbounds %struct.ImVec2, ptr %371, i32 0, i32 0
  %373 = load float, ptr %372, align 8, !tbaa !101
  %374 = load float, ptr %29, align 4, !tbaa !43
  %375 = fcmp oge float %373, %374
  br i1 %375, label %376, label %384

376:                                              ; preds = %343
  %377 = load ptr, ptr %12, align 8, !tbaa !9
  %378 = getelementptr inbounds %struct.ImGuiContext, ptr %377, i32 0, i32 3
  %379 = getelementptr inbounds %struct.ImGuiIO, ptr %378, i32 0, i32 36
  %380 = getelementptr inbounds %struct.ImVec2, ptr %379, i32 0, i32 0
  %381 = load float, ptr %380, align 8, !tbaa !101
  %382 = load float, ptr %30, align 4, !tbaa !43
  %383 = fcmp olt float %381, %382
  br label %384

384:                                              ; preds = %376, %343
  %385 = phi i1 [ false, %343 ], [ %383, %376 ]
  %386 = zext i1 %385 to i8
  store i8 %386, ptr %31, align 1, !tbaa !41
  %387 = load ptr, ptr %10, align 8, !tbaa !9
  %388 = load ptr, ptr %12, align 8, !tbaa !9
  %389 = getelementptr inbounds %struct.ImGuiContext, ptr %388, i32 0, i32 28
  %390 = load ptr, ptr %389, align 8, !tbaa !102
  %391 = icmp ne ptr %387, %390
  br i1 %391, label %395, label %392

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

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

398:                                              ; preds = %395, %392
  %399 = load i8, ptr %31, align 1, !tbaa !41, !range !39, !noundef !40
  %400 = trunc i8 %399 to i1
  br i1 %400, label %401, label %408

401:                                              ; preds = %398
  %402 = load i32, ptr %7, align 4, !tbaa !5
  %403 = and i32 %402, 128
  %404 = icmp ne i32 %403, 0
  br i1 %404, label %405, label %408

405:                                              ; preds = %401
  %406 = load i32, ptr %28, align 4, !tbaa !5
  %407 = or i32 %406, 2
  store i32 %407, ptr %28, align 4, !tbaa !5
  br label %419

408:                                              ; preds = %401, %398
  %409 = load i32, ptr %7, align 4, !tbaa !5
  %410 = and i32 %409, 64
  %411 = icmp ne i32 %410, 0
  br i1 %411, label %412, label %415

412:                                              ; preds = %408
  %413 = load i32, ptr %28, align 4, !tbaa !5
  %414 = or i32 %413, 36
  store i32 %414, ptr %28, align 4, !tbaa !5
  br label %418

415:                                              ; preds = %408
  %416 = load i32, ptr %28, align 4, !tbaa !5
  %417 = or i32 %416, 4
  store i32 %417, ptr %28, align 4, !tbaa !5
  br label %418

418:                                              ; preds = %415, %412
  br label %419

419:                                              ; preds = %418, %405
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #9
  %420 = load i32, ptr %7, align 4, !tbaa !5
  %421 = and i32 %420, 1
  %422 = icmp ne i32 %421, 0
  %423 = zext i1 %422 to i8
  store i8 %423, ptr %32, align 1, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #9
  %424 = load i8, ptr %32, align 1, !tbaa !41, !range !39, !noundef !40
  %425 = trunc i8 %424 to i1
  %426 = zext i1 %425 to i8
  store i8 %426, ptr %33, align 1, !tbaa !41
  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
  %427 = load i32, ptr %6, align 4, !tbaa !5
  %428 = load i32, ptr %28, align 4, !tbaa !5
  %429 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %24, i32 noundef %427, ptr noundef %34, ptr noundef %35, i32 noundef %428)
  %430 = zext i1 %429 to i8
  store i8 %430, ptr %36, align 1, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #9
  store i8 0, ptr %37, align 1, !tbaa !41
  %431 = load i8, ptr %25, align 1, !tbaa !41, !range !39, !noundef !40
  %432 = trunc i8 %431 to i1
  br i1 %432, label %572, label %433

433:                                              ; preds = %419
  %434 = load i8, ptr %36, align 1, !tbaa !41, !range !39, !noundef !40
  %435 = trunc i8 %434 to i1
  br i1 %435, label %436, label %488

436:                                              ; preds = %433
  %437 = load ptr, ptr %12, align 8, !tbaa !9
  %438 = getelementptr inbounds %struct.ImGuiContext, ptr %437, i32 0, i32 153
  %439 = load i32, ptr %438, align 8, !tbaa !103
  %440 = load i32, ptr %6, align 4, !tbaa !5
  %441 = icmp ne i32 %439, %440
  br i1 %441, label %442, label %488

442:                                              ; preds = %436
  %443 = load i32, ptr %7, align 4, !tbaa !5
  %444 = and i32 %443, 192
  %445 = icmp eq i32 %444, 0
  br i1 %445, label %452, label %446

446:                                              ; preds = %442
  %447 = load ptr, ptr %12, align 8, !tbaa !9
  %448 = getelementptr inbounds %struct.ImGuiContext, ptr %447, i32 0, i32 75
  %449 = load i32, ptr %448, align 8, !tbaa !104
  %450 = load i32, ptr %6, align 4, !tbaa !5
  %451 = icmp eq i32 %449, %450
  br i1 %451, label %452, label %453

452:                                              ; preds = %446, %442
  store i8 1, ptr %37, align 1, !tbaa !41
  br label %453

453:                                              ; preds = %452, %446
  %454 = load i32, ptr %7, align 4, !tbaa !5
  %455 = and i32 %454, 128
  %456 = icmp ne i32 %455, 0
  br i1 %456, label %457, label %475

457:                                              ; preds = %453
  %458 = load i8, ptr %31, align 1, !tbaa !41, !range !39, !noundef !40
  %459 = trunc i8 %458 to i1
  br i1 %459, label %460, label %466

460:                                              ; preds = %457
  %461 = load ptr, ptr %12, align 8, !tbaa !9
  %462 = getelementptr inbounds %struct.ImGuiContext, ptr %461, i32 0, i32 92
  %463 = load i8, ptr %462, align 1, !tbaa !105, !range !39, !noundef !40
  %464 = trunc i8 %463 to i1
  %465 = xor i1 %464, true
  br label %466

466:                                              ; preds = %460, %457
  %467 = phi i1 [ false, %457 ], [ %465, %460 ]
  %468 = zext i1 %467 to i32
  %469 = load i8, ptr %37, align 1, !tbaa !41, !range !39, !noundef !40
  %470 = trunc i8 %469 to i1
  %471 = zext i1 %470 to i32
  %472 = or i32 %471, %468
  %473 = icmp ne i32 %472, 0
  %474 = zext i1 %473 to i8
  store i8 %474, ptr %37, align 1, !tbaa !41
  br label %475

475:                                              ; preds = %466, %453
  %476 = load i32, ptr %7, align 4, !tbaa !5
  %477 = and i32 %476, 64
  %478 = icmp ne i32 %477, 0
  br i1 %478, label %479, label %487

479:                                              ; preds = %475
  %480 = load ptr, ptr %12, align 8, !tbaa !9
  %481 = getelementptr inbounds %struct.ImGuiContext, ptr %480, i32 0, i32 3
  %482 = getelementptr inbounds %struct.ImGuiIO, ptr %481, i32 0, i32 65
  %483 = getelementptr inbounds [5 x i8], ptr %482, i64 0, i64 0
  %484 = load i8, ptr %483, align 1, !tbaa !41, !range !39, !noundef !40
  %485 = trunc i8 %484 to i1
  br i1 %485, label %486, label %487

486:                                              ; preds = %479
  store i8 1, ptr %37, align 1, !tbaa !41
  br label %487

487:                                              ; preds = %486, %479, %475
  br label %510

488:                                              ; preds = %436, %433
  %489 = load i8, ptr %36, align 1, !tbaa !41, !range !39, !noundef !40
  %490 = trunc i8 %489 to i1
  br i1 %490, label %491, label %509

491:                                              ; preds = %488
  %492 = load ptr, ptr %12, align 8, !tbaa !9
  %493 = getelementptr inbounds %struct.ImGuiContext, ptr %492, i32 0, i32 153
  %494 = load i32, ptr %493, align 8, !tbaa !103
  %495 = load i32, ptr %6, align 4, !tbaa !5
  %496 = icmp eq i32 %494, %495
  br i1 %496, label %497, label %509

497:                                              ; preds = %491
  %498 = load i32, ptr %28, align 4, !tbaa !5
  %499 = and i32 %498, 64
  %500 = icmp ne i32 %499, 0
  br i1 %500, label %501, label %502

501:                                              ; preds = %497
  br label %504

502:                                              ; preds = %497
  call void @__assert_fail(ptr noundef @.str.130, ptr noundef @.str.1, i32 noundef 5450, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_) #10
  unreachable

503:                                              ; No predecessors!
  br label %504

504:                                              ; preds = %503, %501
  %505 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %506 = trunc i8 %505 to i1
  br i1 %506, label %508, label %507

507:                                              ; preds = %504
  store i8 1, ptr %37, align 1, !tbaa !41
  br label %508

508:                                              ; preds = %507, %504
  br label %509

509:                                              ; preds = %508, %491, %488
  br label %510

510:                                              ; preds = %509, %487
  %511 = load ptr, ptr %12, align 8, !tbaa !9
  %512 = getelementptr inbounds %struct.ImGuiContext, ptr %511, i32 0, i32 73
  %513 = load i32, ptr %512, align 8, !tbaa !106
  %514 = load i32, ptr %6, align 4, !tbaa !5
  %515 = icmp eq i32 %513, %514
  br i1 %515, label %516, label %530

516:                                              ; preds = %510
  %517 = load ptr, ptr %12, align 8, !tbaa !9
  %518 = getelementptr inbounds %struct.ImGuiContext, ptr %517, i32 0, i32 100
  %519 = load i8, ptr %518, align 1, !tbaa !107, !range !39, !noundef !40
  %520 = trunc i8 %519 to i1
  br i1 %520, label %521, label %530

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

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

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

530:                                              ; preds = %529, %526, %521, %516, %510
  %531 = load ptr, ptr %12, align 8, !tbaa !9
  %532 = getelementptr inbounds %struct.ImGuiContext, ptr %531, i32 0, i32 73
  %533 = load i32, ptr %532, align 8, !tbaa !106
  %534 = load i32, ptr %6, align 4, !tbaa !5
  %535 = icmp eq i32 %533, %534
  br i1 %535, label %536, label %550

536:                                              ; preds = %530
  %537 = load ptr, ptr %12, align 8, !tbaa !9
  %538 = getelementptr inbounds %struct.ImGuiContext, ptr %537, i32 0, i32 100
  %539 = load i8, ptr %538, align 1, !tbaa !107, !range !39, !noundef !40
  %540 = trunc i8 %539 to i1
  br i1 %540, label %541, label %550

541:                                              ; preds = %536
  %542 = load ptr, ptr %12, align 8, !tbaa !9
  %543 = getelementptr inbounds %struct.ImGuiContext, ptr %542, i32 0, i32 105
  %544 = load i32, ptr %543, align 8, !tbaa !108
  %545 = icmp eq i32 %544, 1
  br i1 %545, label %546, label %550

546:                                              ; preds = %541
  %547 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %548 = trunc i8 %547 to i1
  br i1 %548, label %550, label %549

549:                                              ; preds = %546
  store i8 1, ptr %37, align 1, !tbaa !41
  call void @_ZN5ImGui20NavMoveRequestCancelEv()
  br label %550

550:                                              ; preds = %549, %546, %541, %536, %530
  %551 = load i8, ptr %37, align 1, !tbaa !41, !range !39, !noundef !40
  %552 = trunc i8 %551 to i1
  br i1 %552, label %553, label %571

553:                                              ; preds = %550
  %554 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %555 = trunc i8 %554 to i1
  %556 = xor i1 %555, true
  %557 = zext i1 %556 to i8
  store i8 %557, ptr %26, align 1, !tbaa !41
  %558 = load ptr, ptr %10, align 8, !tbaa !9
  %559 = getelementptr inbounds %struct.ImGuiWindow, ptr %558, i32 0, i32 50
  %560 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %559, i32 0, i32 29
  %561 = load ptr, ptr %560, align 8, !tbaa !109
  %562 = load i32, ptr %6, align 4, !tbaa !5
  %563 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %564 = trunc i8 %563 to i1
  %565 = zext i1 %564 to i32
  call void @_ZN12ImGuiStorage6SetIntEji(ptr noundef nonnull align 8 dereferenceable(16) %561, i32 noundef %562, i32 noundef %565)
  %566 = load ptr, ptr %10, align 8, !tbaa !9
  %567 = getelementptr inbounds %struct.ImGuiWindow, ptr %566, i32 0, i32 50
  %568 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %567, i32 0, i32 12
  %569 = load i32, ptr %568, align 8, !tbaa !99
  %570 = or i32 %569, 16
  store i32 %570, ptr %568, align 8, !tbaa !99
  br label %571

571:                                              ; preds = %553, %550
  br label %572

572:                                              ; preds = %571, %419
  %573 = load i32, ptr %7, align 4, !tbaa !5
  %574 = and i32 %573, 4
  %575 = icmp ne i32 %574, 0
  br i1 %575, label %576, label %577

576:                                              ; preds = %572
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %577

577:                                              ; preds = %576, %572
  %578 = load i8, ptr %32, align 1, !tbaa !41, !range !39, !noundef !40
  %579 = trunc i8 %578 to i1
  %580 = zext i1 %579 to i32
  %581 = load i8, ptr %33, align 1, !tbaa !41, !range !39, !noundef !40
  %582 = trunc i8 %581 to i1
  %583 = zext i1 %582 to i32
  %584 = icmp ne i32 %580, %583
  br i1 %584, label %585, label %591

585:                                              ; preds = %577
  %586 = load ptr, ptr %10, align 8, !tbaa !9
  %587 = getelementptr inbounds %struct.ImGuiWindow, ptr %586, i32 0, i32 50
  %588 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %587, i32 0, i32 12
  %589 = load i32, ptr %588, align 8, !tbaa !99
  %590 = or i32 %589, 8
  store i32 %590, ptr %588, align 8, !tbaa !99
  br label %591

591:                                              ; preds = %585, %577
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  %592 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  store i32 %592, 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
  %593 = load i8, ptr %14, align 1, !tbaa !41, !range !39, !noundef !40
  %594 = trunc i8 %593 to i1
  br i1 %594, label %595, label %705

595:                                              ; preds = %591
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  %596 = load i8, ptr %35, align 1, !tbaa !41, !range !39, !noundef !40
  %597 = trunc i8 %596 to i1
  br i1 %597, label %598, label %602

598:                                              ; preds = %595
  %599 = load i8, ptr %34, align 1, !tbaa !41, !range !39, !noundef !40
  %600 = trunc i8 %599 to i1
  br i1 %600, label %601, label %602

601:                                              ; preds = %598
  br label %607

602:                                              ; preds = %598, %595
  %603 = load i8, ptr %34, align 1, !tbaa !41, !range !39, !noundef !40
  %604 = trunc i8 %603 to i1
  %605 = zext i1 %604 to i64
  %606 = select i1 %604, i32 25, i32 24
  br label %607

607:                                              ; preds = %602, %601
  %608 = phi i32 [ 26, %601 ], [ %606, %602 ]
  %609 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %608, float noundef 1.000000e+00)
  store i32 %609, ptr %40, align 4, !tbaa !5
  %610 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %610, i64 8, i1 false), !tbaa.struct !42
  %611 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %611, i64 8, i1 false), !tbaa.struct !42
  %612 = load i32, ptr %40, align 4, !tbaa !5
  %613 = load ptr, ptr %13, align 8, !tbaa !9
  %614 = getelementptr inbounds %struct.ImGuiStyle, ptr %613, i32 0, i32 12
  %615 = load float, ptr %614, align 4, !tbaa !110
  %616 = load <2 x float>, ptr %41, align 4
  %617 = load <2 x float>, ptr %42, align 4
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %616, <2 x float> %617, i32 noundef %612, i1 noundef zeroext true, float noundef %615)
  %618 = load i32, ptr %6, align 4, !tbaa !5
  %619 = load i32, ptr %39, align 4, !tbaa !5
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %18, i32 noundef %618, i32 noundef %619)
  %620 = load i32, ptr %7, align 4, !tbaa !5
  %621 = and i32 %620, 512
  %622 = icmp ne i32 %621, 0
  br i1 %622, label %623, label %640

623:                                              ; preds = %607
  %624 = load ptr, ptr %10, align 8, !tbaa !9
  %625 = getelementptr inbounds %struct.ImGuiWindow, ptr %624, i32 0, i32 65
  %626 = load ptr, ptr %625, align 8, !tbaa !111
  %627 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %628 = load float, ptr %627, align 4, !tbaa !93
  %629 = load float, ptr %19, align 4, !tbaa !43
  %630 = fneg float %629
  %631 = call float @llvm.fmuladd.f32(float %630, float 0x3FE3333340000000, float %628)
  %632 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %633 = load float, ptr %632, align 4, !tbaa !83
  %634 = load ptr, ptr %12, align 8, !tbaa !9
  %635 = getelementptr inbounds %struct.ImGuiContext, ptr %634, i32 0, i32 6
  %636 = load float, ptr %635, align 8, !tbaa !49
  %637 = call float @llvm.fmuladd.f32(float %636, float 5.000000e-01, float %633)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef %631, float noundef %637)
  %638 = load i32, ptr %38, align 4, !tbaa !5
  %639 = load <2 x float>, ptr %43, align 4
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %626, <2 x float> %639, i32 noundef %638)
  br label %668

640:                                              ; preds = %607
  %641 = load i8, ptr %25, align 1, !tbaa !41, !range !39, !noundef !40
  %642 = trunc i8 %641 to i1
  br i1 %642, label %662, label %643

643:                                              ; preds = %640
  %644 = load ptr, ptr %10, align 8, !tbaa !9
  %645 = getelementptr inbounds %struct.ImGuiWindow, ptr %644, i32 0, i32 65
  %646 = load ptr, ptr %645, align 8, !tbaa !111
  %647 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %648 = load float, ptr %647, align 4, !tbaa !93
  %649 = load float, ptr %19, align 4, !tbaa !43
  %650 = fsub float %648, %649
  %651 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %652 = load float, ptr %651, align 4, !tbaa !93
  %653 = fadd float %650, %652
  %654 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %655 = load float, ptr %654, align 4, !tbaa !83
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef %653, float noundef %655)
  %656 = load i32, ptr %38, align 4, !tbaa !5
  %657 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %658 = trunc i8 %657 to i1
  %659 = zext i1 %658 to i64
  %660 = select i1 %658, i32 3, i32 1
  %661 = load <2 x float>, ptr %44, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %646, <2 x float> %661, i32 noundef %656, i32 noundef %660, float noundef 1.000000e+00)
  br label %667

662:                                              ; preds = %640
  %663 = load float, ptr %19, align 4, !tbaa !43
  %664 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %665 = load float, ptr %664, align 4, !tbaa !93
  %666 = fsub float %665, %663
  store float %666, ptr %664, align 4, !tbaa !93
  br label %667

667:                                              ; preds = %662, %643
  br label %668

668:                                              ; preds = %667, %623
  %669 = load i32, ptr %7, align 4, !tbaa !5
  %670 = and i32 %669, 1048576
  %671 = icmp ne i32 %670, 0
  br i1 %671, label %672, label %685

672:                                              ; preds = %668
  %673 = load ptr, ptr %12, align 8, !tbaa !9
  %674 = getelementptr inbounds %struct.ImGuiContext, ptr %673, i32 0, i32 6
  %675 = load float, ptr %674, align 8, !tbaa !49
  %676 = load ptr, ptr %13, align 8, !tbaa !9
  %677 = getelementptr inbounds %struct.ImGuiStyle, ptr %676, i32 0, i32 11
  %678 = getelementptr inbounds %struct.ImVec2, ptr %677, i32 0, i32 0
  %679 = load float, ptr %678, align 4, !tbaa !44
  %680 = fadd float %675, %679
  %681 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %682 = getelementptr inbounds %struct.ImVec2, ptr %681, i32 0, i32 0
  %683 = load float, ptr %682, align 4, !tbaa !90
  %684 = fsub float %683, %680
  store float %684, ptr %682, align 4, !tbaa !90
  br label %685

685:                                              ; preds = %672, %668
  %686 = load ptr, ptr %12, align 8, !tbaa !9
  %687 = getelementptr inbounds %struct.ImGuiContext, ptr %686, i32 0, i32 186
  %688 = load i8, ptr %687, align 8, !tbaa !112, !range !39, !noundef !40
  %689 = trunc i8 %688 to i1
  br i1 %689, label %690, label %700

690:                                              ; preds = %685
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %45, ptr align 1 @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 3, ptr %46) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %46, ptr align 1 @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix, i64 3, i1 false)
  %691 = getelementptr inbounds [4 x i8], ptr %45, i64 0, i64 0
  %692 = getelementptr inbounds [4 x i8], ptr %45, i64 0, i64 0
  %693 = getelementptr inbounds i8, ptr %692, i64 3
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %22, ptr noundef %691, ptr noundef %693)
  %694 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %695 = load ptr, ptr %8, align 8, !tbaa !9
  %696 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %47, 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) %694, ptr noundef %695, ptr noundef %696, ptr noundef %16, ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  %697 = getelementptr inbounds [3 x i8], ptr %46, i64 0, i64 0
  %698 = getelementptr inbounds [3 x i8], ptr %46, i64 0, i64 0
  %699 = getelementptr inbounds i8, ptr %698, i64 2
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %22, ptr noundef %697, ptr noundef %699)
  call void @llvm.lifetime.end.p0(i64 3, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  br label %704

700:                                              ; preds = %685
  %701 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  %702 = load ptr, ptr %8, align 8, !tbaa !9
  %703 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %48, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui17RenderTextClippedERK6ImVec2S2_PKcS4_PS1_S2_PK6ImRect(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %701, ptr noundef %702, ptr noundef %703, ptr noundef %16, ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #9
  br label %704

704:                                              ; preds = %700, %690
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  br label %791

705:                                              ; preds = %591
  %706 = load i8, ptr %34, align 1, !tbaa !41, !range !39, !noundef !40
  %707 = trunc i8 %706 to i1
  br i1 %707, label %711, label %708

708:                                              ; preds = %705
  %709 = load i8, ptr %32, align 1, !tbaa !41, !range !39, !noundef !40
  %710 = trunc i8 %709 to i1
  br i1 %710, label %711, label %733

711:                                              ; preds = %708, %705
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #9
  %712 = load i8, ptr %35, align 1, !tbaa !41, !range !39, !noundef !40
  %713 = trunc i8 %712 to i1
  br i1 %713, label %714, label %718

714:                                              ; preds = %711
  %715 = load i8, ptr %34, align 1, !tbaa !41, !range !39, !noundef !40
  %716 = trunc i8 %715 to i1
  br i1 %716, label %717, label %718

717:                                              ; preds = %714
  br label %723

718:                                              ; preds = %714, %711
  %719 = load i8, ptr %34, align 1, !tbaa !41, !range !39, !noundef !40
  %720 = trunc i8 %719 to i1
  %721 = zext i1 %720 to i64
  %722 = select i1 %720, i32 25, i32 24
  br label %723

723:                                              ; preds = %718, %717
  %724 = phi i32 [ 26, %717 ], [ %722, %718 ]
  %725 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %724, float noundef 1.000000e+00)
  store i32 %725, ptr %49, align 4, !tbaa !5
  %726 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %726, i64 8, i1 false), !tbaa.struct !42
  %727 = getelementptr inbounds %struct.ImRect, ptr %18, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %727, i64 8, i1 false), !tbaa.struct !42
  %728 = load i32, ptr %49, align 4, !tbaa !5
  %729 = load <2 x float>, ptr %50, align 4
  %730 = load <2 x float>, ptr %51, align 4
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %729, <2 x float> %730, i32 noundef %728, i1 noundef zeroext false, float noundef 0.000000e+00)
  %731 = load i32, ptr %6, align 4, !tbaa !5
  %732 = load i32, ptr %39, align 4, !tbaa !5
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %18, i32 noundef %731, i32 noundef %732)
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #9
  br label %733

733:                                              ; preds = %723, %708
  %734 = load i32, ptr %7, align 4, !tbaa !5
  %735 = and i32 %734, 512
  %736 = icmp ne i32 %735, 0
  br i1 %736, label %737, label %754

737:                                              ; preds = %733
  %738 = load ptr, ptr %10, align 8, !tbaa !9
  %739 = getelementptr inbounds %struct.ImGuiWindow, ptr %738, i32 0, i32 65
  %740 = load ptr, ptr %739, align 8, !tbaa !111
  %741 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %742 = load float, ptr %741, align 4, !tbaa !93
  %743 = load float, ptr %19, align 4, !tbaa !43
  %744 = fneg float %743
  %745 = call float @llvm.fmuladd.f32(float %744, float 5.000000e-01, float %742)
  %746 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %747 = load float, ptr %746, align 4, !tbaa !83
  %748 = load ptr, ptr %12, align 8, !tbaa !9
  %749 = getelementptr inbounds %struct.ImGuiContext, ptr %748, i32 0, i32 6
  %750 = load float, ptr %749, align 8, !tbaa !49
  %751 = call float @llvm.fmuladd.f32(float %750, float 5.000000e-01, float %747)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %52, float noundef %745, float noundef %751)
  %752 = load i32, ptr %38, align 4, !tbaa !5
  %753 = load <2 x float>, ptr %52, align 4
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %740, <2 x float> %753, i32 noundef %752)
  br label %781

754:                                              ; preds = %733
  %755 = load i8, ptr %25, align 1, !tbaa !41, !range !39, !noundef !40
  %756 = trunc i8 %755 to i1
  br i1 %756, label %780, label %757

757:                                              ; preds = %754
  %758 = load ptr, ptr %10, align 8, !tbaa !9
  %759 = getelementptr inbounds %struct.ImGuiWindow, ptr %758, i32 0, i32 65
  %760 = load ptr, ptr %759, align 8, !tbaa !111
  %761 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %762 = load float, ptr %761, align 4, !tbaa !93
  %763 = load float, ptr %19, align 4, !tbaa !43
  %764 = fsub float %762, %763
  %765 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %766 = load float, ptr %765, align 4, !tbaa !93
  %767 = fadd float %764, %766
  %768 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 1
  %769 = load float, ptr %768, align 4, !tbaa !83
  %770 = load ptr, ptr %12, align 8, !tbaa !9
  %771 = getelementptr inbounds %struct.ImGuiContext, ptr %770, i32 0, i32 6
  %772 = load float, ptr %771, align 8, !tbaa !49
  %773 = call float @llvm.fmuladd.f32(float %772, float 0x3FC3333340000000, float %769)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %53, float noundef %767, float noundef %773)
  %774 = load i32, ptr %38, align 4, !tbaa !5
  %775 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %776 = trunc i8 %775 to i1
  %777 = zext i1 %776 to i64
  %778 = select i1 %776, i32 3, i32 1
  %779 = load <2 x float>, ptr %53, align 4
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %760, <2 x float> %779, i32 noundef %774, i32 noundef %778, float noundef 0x3FE6666660000000)
  br label %780

780:                                              ; preds = %757, %754
  br label %781

781:                                              ; preds = %780, %737
  %782 = load ptr, ptr %12, align 8, !tbaa !9
  %783 = getelementptr inbounds %struct.ImGuiContext, ptr %782, i32 0, i32 186
  %784 = load i8, ptr %783, align 8, !tbaa !112, !range !39, !noundef !40
  %785 = trunc i8 %784 to i1
  br i1 %785, label %786, label %787

786:                                              ; preds = %781
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %22, ptr noundef @.str.131, ptr noundef null)
  br label %787

787:                                              ; preds = %786, %781
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !42
  %788 = load ptr, ptr %8, align 8, !tbaa !9
  %789 = load ptr, ptr %9, align 8, !tbaa !9
  %790 = load <2 x float>, ptr %54, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %790, ptr noundef %788, ptr noundef %789, i1 noundef zeroext false)
  br label %791

791:                                              ; preds = %787, %704
  %792 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %793 = trunc i8 %792 to i1
  br i1 %793, label %794, label %800

794:                                              ; preds = %791
  %795 = load i32, ptr %7, align 4, !tbaa !5
  %796 = and i32 %795, 8
  %797 = icmp ne i32 %796, 0
  br i1 %797, label %800, label %798

798:                                              ; preds = %794
  %799 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN5ImGui18TreePushOverrideIDEj(i32 noundef %799)
  br label %800

800:                                              ; preds = %798, %794, %791
  br label %801

801:                                              ; preds = %800
  br label %802

802:                                              ; preds = %801
  br label %803

803:                                              ; preds = %802
  %804 = load i8, ptr %26, align 1, !tbaa !41, !range !39, !noundef !40
  %805 = trunc i8 %804 to i1
  store i1 %805, 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 %806

806:                                              ; preds = %803, %327
  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 %807

807:                                              ; preds = %806, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  %808 = load i1, ptr %5, align 1
  ret i1 %808
}

; 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) #5

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

declare void @_ZN5ImGui20NavMoveRequestCancelEv() #5

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


; 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.1 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [54 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_ = external hidden unnamed_addr constant [86 x i8], align 1
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix = external hidden unnamed_addr constant [4 x i8], align 1
@__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix = external hidden unnamed_addr constant [3 x i8], align 1
@.str.131 = 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #3 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) #4

; 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 #5

; 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) #6

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

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

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

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

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

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

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

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

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

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

; 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 @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN5ImGui19SetItemAllowOverlapEv() local_unnamed_addr #5

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

; 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 #7 {
  %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 [4 x i8], align 4
  %16 = alloca [3 x i8], align 1
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 8
  %20 = alloca %struct.ImVec2, align 8
  %21 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %22 = getelementptr inbounds i8, ptr %21, i64 131
  %23 = load i8, ptr %22, align 1, !tbaa !5, !range !37, !noundef !38
  %24 = trunc nuw i8 %23 to i1
  br i1 %24, label %329, label %25

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

30:                                               ; preds = %25
  %31 = load i64, ptr %29, align 4
  store i64 %31, ptr %5, align 8
  br label %39

32:                                               ; preds = %25
  %33 = load float, ptr %29, align 4, !tbaa !40
  %34 = getelementptr inbounds i8, ptr %21, i64 256
  %35 = load float, ptr %34, align 8, !tbaa !42
  %36 = getelementptr inbounds i8, ptr %26, i64 5540
  %37 = load float, ptr %36, align 4, !tbaa !43
  %38 = tail call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %35, float noundef %37)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %33, float noundef %38)
  br label %39

39:                                               ; preds = %32, %30
  %.not184 = icmp eq ptr %3, null
  br i1 %.not184, label %40, label %42

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

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

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

82:                                               ; preds = %71, %42
  %.v = phi float [ 3.000000e+00, %71 ], [ 2.000000e+00, %42 ]
  %83 = load float, ptr %47, align 8, !tbaa !45
  %84 = load float, ptr %5, align 8
  %85 = fmul float %.v, %84
  %86 = fadd float %83, %85
  %87 = load float, ptr %55, align 4, !tbaa !79
  %88 = getelementptr inbounds i8, ptr %21, i64 256
  %89 = load float, ptr %88, align 8, !tbaa !42
  %90 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %87, float noundef %89)
  %91 = load float, ptr %47, align 8, !tbaa !45
  %92 = fcmp ogt float %70, 0.000000e+00
  %93 = load float, ptr %5, align 8
  %94 = call float @llvm.fmuladd.f32(float %93, float 2.000000e+00, float %70)
  %95 = select i1 %92, float %94, float 0.000000e+00
  %96 = fadd float %91, %95
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %97 = load float, ptr %44, align 8, !tbaa !88
  %98 = fadd float %86, %97
  %99 = load float, ptr %62, align 4, !tbaa !82
  %100 = fadd float %90, %99
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %98, float noundef %100)
  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 %96, float noundef %58)
  %101 = load float, ptr %55, align 4, !tbaa !79
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %101)
  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 !89
  %102 = and i32 %1, 6146
  %or.cond204 = icmp eq i32 %102, 0
  br i1 %or.cond204, label %103, label %110

103:                                              ; preds = %82
  %104 = load float, ptr %7, align 8, !tbaa !81
  %105 = fadd float %96, %104
  %106 = getelementptr inbounds i8, ptr %26, i64 5552
  %107 = load float, ptr %106, align 4, !tbaa !90
  %108 = call float @llvm.fmuladd.f32(float %107, float 2.000000e+00, float %105)
  %109 = getelementptr inbounds i8, ptr %10, i64 8
  store float %108, ptr %109, align 4, !tbaa !85
  br label %110

110:                                              ; preds = %103, %82
  %111 = and i32 %1, 256
  %.not186 = icmp eq i32 %111, 0
  %112 = call noundef zeroext i1 @_ZN5ImGui22TreeNodeBehaviorIsOpenEji(i32 noundef %0, i32 noundef %1)
  br i1 %112, label %113, label %126

113:                                              ; preds = %110
  %114 = getelementptr inbounds i8, ptr %26, i64 7244
  %115 = load i8, ptr %114, align 4, !tbaa !91, !range !37, !noundef !38
  %116 = trunc nuw i8 %115 to i1
  %117 = and i32 %1, 8200
  %118 = icmp ne i32 %117, 8192
  %or.cond206.not = or i1 %118, %116
  br i1 %or.cond206.not, label %126, label %119

119:                                              ; preds = %113
  %120 = getelementptr inbounds i8, ptr %21, i64 384
  %121 = load i32, ptr %120, align 8, !tbaa !92
  %122 = shl nuw i32 1, %121
  %123 = getelementptr inbounds i8, ptr %21, i64 388
  %124 = load i32, ptr %123, align 4, !tbaa !93
  %125 = or i32 %124, %122
  store i32 %125, ptr %123, align 4, !tbaa !93
  br label %126

126:                                              ; preds = %119, %113, %110
  %127 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef %0, ptr noundef null)
  %128 = getelementptr inbounds i8, ptr %21, i64 280
  %129 = load i32, ptr %128, align 8, !tbaa !94
  %130 = or i32 %129, 2
  store i32 %130, ptr %128, align 8, !tbaa !94
  %131 = getelementptr inbounds i8, ptr %21, i64 300
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %131, ptr noundef nonnull align 8 dereferenceable(16) %7, i64 16, i1 false), !tbaa.struct !89
  br i1 %127, label %135, label %132

132:                                              ; preds = %126
  %133 = and i32 %1, 8
  %.not189 = icmp eq i32 %133, 0
  %or.cond207 = and i1 %.not189, %112
  br i1 %or.cond207, label %134, label %328

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

135:                                              ; preds = %126
  %136 = and i32 %1, 4
  %.not190 = icmp eq i32 %136, 0
  %spec.select = shl nuw nsw i32 %136, 6
  %137 = or disjoint i32 %spec.select, 64
  %.1175 = select i1 %.not186, i32 %137, i32 %spec.select
  %138 = load float, ptr %8, align 8, !tbaa !95
  %139 = fsub float %138, %86
  %140 = getelementptr inbounds i8, ptr %26, i64 5568
  %141 = load float, ptr %140, align 4, !tbaa !96
  %142 = fsub float %139, %141
  %143 = getelementptr inbounds i8, ptr %26, i64 304
  %144 = load float, ptr %143, align 8, !tbaa !97
  %145 = fcmp ult float %144, %142
  br i1 %145, label %153, label %146

146:                                              ; preds = %135
  %147 = load float, ptr %5, align 8, !tbaa !95
  %148 = load float, ptr %47, align 8, !tbaa !45
  %149 = call float @llvm.fmuladd.f32(float %147, float 2.000000e+00, float %148)
  %150 = fadd float %139, %149
  %151 = fadd float %141, %150
  %152 = fcmp olt float %144, %151
  br label %153

153:                                              ; preds = %146, %135
  %154 = phi i1 [ false, %135 ], [ %152, %146 ]
  %155 = getelementptr inbounds i8, ptr %26, i64 6792
  %156 = load ptr, ptr %155, align 8, !tbaa !98
  %.not191 = icmp eq ptr %21, %156
  %brmerge.not = and i1 %154, %.not191
  %157 = or disjoint i32 %.1175, 4096
  %.2 = select i1 %brmerge.not, i32 %.1175, i32 %157
  %158 = and i32 %1, 128
  %.not192 = icmp ne i32 %158, 0
  %or.cond210.not = and i1 %.not192, %154
  %159 = and i32 %1, 64
  %.not193 = icmp eq i32 %159, 0
  %. = select i1 %.not193, i32 4, i32 36
  %.sink = select i1 %or.cond210.not, i32 2, i32 %.
  %160 = or disjoint i32 %.2, %.sink
  %161 = and i32 %1, 1
  %.not194 = icmp ne i32 %161, 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
  %162 = 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 %160)
  br i1 %.not186, label %163, label %225

163:                                              ; preds = %153
  br i1 %162, label %164, label %.critedge

164:                                              ; preds = %163
  %165 = getelementptr inbounds i8, ptr %26, i64 8104
  %166 = load i32, ptr %165, align 8, !tbaa !99
  %.not195 = icmp eq i32 %166, %0
  br i1 %.not195, label %190, label %167

167:                                              ; preds = %164
  %168 = and i32 %1, 192
  %169 = icmp eq i32 %168, 0
  br i1 %169, label %174, label %170

170:                                              ; preds = %167
  %171 = getelementptr inbounds i8, ptr %26, i64 7176
  %172 = load i32, ptr %171, align 8, !tbaa !100
  %173 = icmp eq i32 %172, %0
  br i1 %173, label %174, label %175

174:                                              ; preds = %170, %167
  br label %175

175:                                              ; preds = %174, %170
  %.0176 = phi i8 [ 1, %174 ], [ 0, %170 ]
  br i1 %.not192, label %176, label %184

176:                                              ; preds = %175
  br i1 %154, label %177, label %181

177:                                              ; preds = %176
  %178 = getelementptr inbounds i8, ptr %26, i64 7247
  %179 = load i8, ptr %178, align 1, !tbaa !101, !range !37, !noundef !38
  %180 = xor i8 %179, 1
  br label %181

181:                                              ; preds = %177, %176
  %182 = phi i8 [ 0, %176 ], [ %180, %177 ]
  %183 = or i8 %182, %.0176
  br label %184

184:                                              ; preds = %181, %175
  %.1177 = phi i8 [ %183, %181 ], [ %.0176, %175 ]
  %185 = and i32 %1, 64
  %.not198 = icmp eq i32 %185, 0
  br i1 %.not198, label %.critedge, label %186

186:                                              ; preds = %184
  %187 = getelementptr inbounds i8, ptr %26, i64 1069
  %188 = load i8, ptr %187, align 1, !tbaa !102, !range !37, !noundef !38
  %189 = trunc nuw i8 %188 to i1
  %spec.select211 = select i1 %189, i8 1, i8 %.1177
  br label %.critedge

190:                                              ; preds = %164
  %191 = and i32 %.2, 64
  %.not196 = icmp eq i32 %191, 0
  br i1 %.not196, label %192, label %193

192:                                              ; preds = %190
  call void @__assert_fail(ptr noundef nonnull @.str.130, ptr noundef nonnull @.str.1, i32 noundef 5450, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_) #10
  unreachable

193:                                              ; preds = %190
  %not. = xor i1 %112, true
  %spec.select212 = zext i1 %not. to i8
  br label %.critedge

.critedge:                                        ; preds = %193, %186, %163, %184
  %.2178 = phi i8 [ %.1177, %184 ], [ %spec.select211, %186 ], [ %spec.select212, %193 ], [ 0, %163 ]
  %194 = getelementptr inbounds i8, ptr %26, i64 7168
  %195 = load i32, ptr %194, align 8, !tbaa !103
  %196 = icmp eq i32 %195, %0
  br i1 %196, label %197, label %206

197:                                              ; preds = %.critedge
  %198 = getelementptr inbounds i8, ptr %26, i64 7273
  %199 = load i8, ptr %198, align 1, !tbaa !104, !range !37, !noundef !38
  %200 = trunc nuw i8 %199 to i1
  br i1 %200, label %201, label %.thread230

201:                                              ; preds = %197
  %202 = getelementptr inbounds i8, ptr %26, i64 7288
  %203 = load i32, ptr %202, align 8, !tbaa !105
  %204 = icmp eq i32 %203, 0
  %brmerge215.not = and i1 %112, %204
  br i1 %brmerge215.not, label %205, label %.thread230

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

206:                                              ; preds = %205, %.critedge
  %207 = phi i32 [ %.pre, %205 ], [ %195, %.critedge ]
  %.3179 = phi i8 [ 1, %205 ], [ %.2178, %.critedge ]
  %208 = icmp eq i32 %207, %0
  br i1 %208, label %.thread230, label %216

.thread230:                                       ; preds = %197, %201, %206
  %.3179233 = phi i8 [ %.3179, %206 ], [ %.2178, %201 ], [ %.2178, %197 ]
  %209 = getelementptr inbounds i8, ptr %26, i64 7273
  %210 = load i8, ptr %209, align 1, !tbaa !104, !range !37, !noundef !38
  %211 = trunc nuw i8 %210 to i1
  br i1 %211, label %212, label %216

212:                                              ; preds = %.thread230
  %213 = getelementptr inbounds i8, ptr %26, i64 7288
  %214 = load i32, ptr %213, align 8, !tbaa !105
  %215 = icmp ne i32 %214, 1
  %brmerge217 = or i1 %112, %215
  br i1 %brmerge217, label %216, label %.thread

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

216:                                              ; preds = %212, %.thread230, %206
  %.3179232 = phi i8 [ %.3179233, %212 ], [ %.3179233, %.thread230 ], [ %.3179, %206 ]
  %217 = trunc nuw i8 %.3179232 to i1
  br i1 %217, label %218, label %225

218:                                              ; preds = %.thread, %216
  %219 = xor i1 %112, true
  %220 = getelementptr inbounds i8, ptr %21, i64 408
  %221 = load ptr, ptr %220, align 8, !tbaa !106
  %222 = zext i1 %219 to i32
  call void @_ZN12ImGuiStorage6SetIntEji(ptr noundef nonnull align 8 dereferenceable(16) %221, i32 noundef %0, i32 noundef %222)
  %223 = load i32, ptr %128, align 8, !tbaa !94
  %224 = or i32 %223, 16
  store i32 %224, ptr %128, align 8, !tbaa !94
  br label %225

225:                                              ; preds = %216, %218, %153
  %.0173.in = phi i1 [ %112, %153 ], [ %219, %218 ], [ %112, %216 ]
  br i1 %.not190, label %227, label %226

226:                                              ; preds = %225
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %227

227:                                              ; preds = %225, %226
  %228 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  br i1 %.not, label %283, label %229

229:                                              ; preds = %227
  %230 = load i8, ptr %12, align 1, !tbaa !102, !range !37, !noundef !38
  %231 = trunc nuw i8 %230 to i1
  %.pre226 = load i8, ptr %11, align 1, !tbaa !102, !range !37
  %232 = trunc nuw i8 %.pre226 to i1
  %.not234 = xor i1 %231, true
  %233 = select i1 %231, i1 %232, i1 false
  %.mux = select i1 %.not234, i1 %232, i1 false
  %234 = select i1 %.mux, i32 25, i32 24
  %235 = select i1 %233, i32 26, i32 %234
  %236 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %235, 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 %67, align 8
  %237 = getelementptr inbounds i8, ptr %26, i64 5544
  %238 = load float, ptr %237, align 4, !tbaa !107
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %.sroa.04.0.copyload, <2 x float> %.sroa.03.0.copyload, i32 noundef %236, i1 noundef zeroext true, float noundef %238)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %0, i32 noundef 2)
  %239 = and i32 %1, 512
  %.not200 = icmp eq i32 %239, 0
  br i1 %.not200, label %251, label %240

240:                                              ; preds = %229
  %241 = getelementptr inbounds i8, ptr %21, i64 688
  %242 = load ptr, ptr %241, align 8, !tbaa !108
  %243 = load float, ptr %8, align 8, !tbaa !95
  %244 = fneg float %86
  %245 = call float @llvm.fmuladd.f32(float %244, float 0x3FE3333340000000, float %243)
  %246 = getelementptr inbounds i8, ptr %8, i64 4
  %247 = load float, ptr %246, align 4, !tbaa !79
  %248 = load float, ptr %47, align 8, !tbaa !45
  %249 = call float @llvm.fmuladd.f32(float %248, float 5.000000e-01, float %247)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %245, float noundef %249)
  %250 = load <2 x float>, ptr %13, align 8
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %242, <2 x float> %250, i32 noundef %228)
  br label %266

251:                                              ; preds = %229
  br i1 %.not186, label %252, label %263

252:                                              ; preds = %251
  %253 = getelementptr inbounds i8, ptr %21, i64 688
  %254 = load ptr, ptr %253, align 8, !tbaa !108
  %255 = load float, ptr %8, align 8, !tbaa !95
  %256 = fsub float %255, %86
  %257 = load float, ptr %5, align 8, !tbaa !95
  %258 = fadd float %256, %257
  %259 = getelementptr inbounds i8, ptr %8, i64 4
  %260 = load float, ptr %259, align 4, !tbaa !79
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %258, float noundef %260)
  %261 = select i1 %.0173.in, i32 3, i32 1
  %262 = load <2 x float>, ptr %14, align 8
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %254, <2 x float> %262, i32 noundef %228, i32 noundef %261, float noundef 1.000000e+00)
  br label %266

263:                                              ; preds = %251
  %264 = load float, ptr %8, align 8, !tbaa !95
  %265 = fsub float %264, %86
  store float %265, ptr %8, align 8, !tbaa !95
  br label %266

266:                                              ; preds = %252, %263, %240
  %267 = and i32 %1, 1048576
  %.not201 = icmp eq i32 %267, 0
  br i1 %.not201, label %274, label %268

268:                                              ; preds = %266
  %269 = load float, ptr %47, align 8, !tbaa !45
  %270 = load float, ptr %49, align 4, !tbaa !40
  %271 = fadd float %269, %270
  %272 = load float, ptr %67, align 8, !tbaa !85
  %273 = fsub float %272, %271
  store float %273, ptr %67, align 8, !tbaa !85
  br label %274

274:                                              ; preds = %268, %266
  %275 = getelementptr inbounds i8, ptr %26, i64 12248
  %276 = load i8, ptr %275, align 8, !tbaa !109, !range !37, !noundef !38
  %277 = trunc nuw i8 %276 to i1
  br i1 %277, label %278, label %282

278:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #9
  %279 = load i32, ptr @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_prefix, align 1
  store i32 %279, ptr %15, align 4
  call void @llvm.lifetime.start.p0(i64 3, ptr nonnull %16) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %16, ptr noundef nonnull align 1 dereferenceable(3) @__const._ZN5ImGui16TreeNodeBehaviorEjiPKcS1_.log_suffix, i64 3, i1 false)
  %280 = getelementptr inbounds i8, ptr %15, i64 3
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %8, ptr noundef nonnull %15, ptr noundef nonnull %280)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, 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) %67, ptr noundef %2, ptr noundef %.0172, ptr noundef nonnull %6, ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  %281 = getelementptr inbounds i8, ptr %16, i64 2
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %8, ptr noundef nonnull %16, ptr noundef nonnull %281)
  call void @llvm.lifetime.end.p0(i64 3, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #9
  br label %324

282:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, 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) %67, ptr noundef %2, ptr noundef %.0172, ptr noundef nonnull %6, ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %324

283:                                              ; preds = %227
  %284 = load i8, ptr %11, align 1, !tbaa !102, !range !37, !noundef !38
  %285 = trunc nuw i8 %284 to i1
  %brmerge218 = or i1 %.not194, %285
  br i1 %brmerge218, label %286, label %291

286:                                              ; preds = %283
  %287 = load i8, ptr %12, align 1, !tbaa !102, !range !37, !noundef !38
  %brmerge223.demorgan225 = and i8 %287, %284
  %brmerge223.demorgan = trunc nuw i8 %brmerge223.demorgan225 to i1
  %288 = select i1 %285, i32 25, i32 24
  %289 = select i1 %brmerge223.demorgan, i32 26, i32 %288
  %290 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %289, 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 %67, align 8
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %.sroa.02.0.copyload, <2 x float> %.sroa.01.0.copyload, i32 noundef %290, i1 noundef zeroext false, float noundef 0.000000e+00)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %0, i32 noundef 2)
  br label %291

291:                                              ; preds = %283, %286
  %292 = and i32 %1, 512
  %.not199 = icmp eq i32 %292, 0
  br i1 %.not199, label %304, label %293

293:                                              ; preds = %291
  %294 = getelementptr inbounds i8, ptr %21, i64 688
  %295 = load ptr, ptr %294, align 8, !tbaa !108
  %296 = load float, ptr %8, align 8, !tbaa !95
  %297 = fneg float %86
  %298 = call float @llvm.fmuladd.f32(float %297, float 5.000000e-01, float %296)
  %299 = getelementptr inbounds i8, ptr %8, i64 4
  %300 = load float, ptr %299, align 4, !tbaa !79
  %301 = load float, ptr %47, align 8, !tbaa !45
  %302 = call float @llvm.fmuladd.f32(float %301, float 5.000000e-01, float %300)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %298, float noundef %302)
  %303 = load <2 x float>, ptr %19, align 8
  call void @_ZN5ImGui12RenderBulletEP10ImDrawList6ImVec2j(ptr noundef %295, <2 x float> %303, i32 noundef %228)
  br label %318

304:                                              ; preds = %291
  br i1 %.not186, label %305, label %318

305:                                              ; preds = %304
  %306 = getelementptr inbounds i8, ptr %21, i64 688
  %307 = load ptr, ptr %306, align 8, !tbaa !108
  %308 = load float, ptr %8, align 8, !tbaa !95
  %309 = fsub float %308, %86
  %310 = load float, ptr %5, align 8, !tbaa !95
  %311 = fadd float %309, %310
  %312 = getelementptr inbounds i8, ptr %8, i64 4
  %313 = load float, ptr %312, align 4, !tbaa !79
  %314 = load float, ptr %47, align 8, !tbaa !45
  %315 = call float @llvm.fmuladd.f32(float %314, float 0x3FC3333340000000, float %313)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %311, float noundef %315)
  %316 = select i1 %.0173.in, i32 3, i32 1
  %317 = load <2 x float>, ptr %20, align 8
  call void @_ZN5ImGui11RenderArrowEP10ImDrawList6ImVec2jif(ptr noundef %307, <2 x float> %317, i32 noundef %228, i32 noundef %316, float noundef 0x3FE6666660000000)
  br label %318

318:                                              ; preds = %304, %305, %293
  %319 = getelementptr inbounds i8, ptr %26, i64 12248
  %320 = load i8, ptr %319, align 8, !tbaa !109, !range !37, !noundef !38
  %321 = trunc nuw i8 %320 to i1
  br i1 %321, label %322, label %323

322:                                              ; preds = %318
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %8, ptr noundef nonnull @.str.131, ptr noundef null)
  br label %323

323:                                              ; preds = %322, %318
  %.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 %.0172, i1 noundef zeroext false)
  br label %324

324:                                              ; preds = %278, %282, %323
  %325 = and i32 %1, 8
  %.not202 = icmp eq i32 %325, 0
  %or.cond219 = and i1 %.not202, %.0173.in
  br i1 %or.cond219, label %326, label %327

326:                                              ; preds = %324
  call void @_ZN5ImGui18TreePushOverrideIDEj(i32 noundef %0)
  br label %327

327:                                              ; preds = %324, %326
  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 %328

328:                                              ; preds = %134, %132, %327
  %.0 = phi i1 [ %.0173.in, %327 ], [ %112, %132 ], [ true, %134 ]
  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 %329

329:                                              ; preds = %4, %328
  %.1 = phi i1 [ %.0, %328 ], [ 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 #5

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

declare void @_ZN5ImGui20NavMoveRequestCancelEv() local_unnamed_addr #5

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


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