; LLVM IR from DarrenSweeney/3D-Physics-Engine :: Physics Engine/Imgui/imgui.ll (ZN5ImGui5ComboEPKcPiPFbPviPS1_ES3_ii)

; 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.ImGuiAabb = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiWindow = type { ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, i8, i8, i32, i8, i32, i32, i32, %struct.ImGuiDrawContext, %class.ImVector.11, %class.ImVector.12, %struct.ImGuiAabb, i32, float, %struct.ImGuiStorage, float, ptr, ptr, i32, i32, i32, i32, i32, i32 }
%struct.ImGuiDrawContext = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, i32, i32, %struct.ImGuiAabb, i8, %class.ImVector.1, %class.ImVector.9, %class.ImVector.10, %class.ImVector.10, i32, ptr, float, float, i32, i32, %struct.ImVec2, float, float, i8, i32, %class.ImVector.10 }
%class.ImVector.1 = type { i64, i64, ptr }
%class.ImVector.9 = type { i64, i64, ptr }
%class.ImVector.10 = type { i64, i64, ptr }
%class.ImVector.11 = type { i64, i64, ptr }
%class.ImVector.12 = type { i64, i64, ptr }
%struct.ImGuiStorage = type { %class.ImVector.6 }
%class.ImVector.6 = type { i64, i64, ptr }
%struct.ImGuiState = type { i8, [7 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, %struct.ImVec2, float, i32, i32, %class.ImVector.1, ptr, %class.ImVector.1, ptr, ptr, ptr, i32, i32, i32, i8, i8, ptr, float, %class.ImVector.2, %class.ImVector.3, %class.ImVector.4, %class.ImVector, %struct.ImVec2, i32, %struct.ImVec2, i32, i8, i32, i8, i8, i32, %class.ImVector.5, %class.ImVector.1, %struct.ImGuiTextEditState, i32, %struct.ImGuiStorage, i32, [1024 x i8], ptr, i8, ptr, ptr, i32, i32, [120 x float], i32, float }
%struct.ImGuiIO = type <{ %struct.ImVec2, float, float, ptr, ptr, float, float, [17 x i32], [4 x i8], ptr, ptr, float, i8, [3 x i8], %struct.ImVec2, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], [3 x i8], float, i8, i8, i8, [512 x i8], i8, [17 x i16], i8, i8, float, %struct.ImVec2, %struct.ImVec2, [5 x i8], [3 x i8], [5 x %struct.ImVec2], [5 x float], [5 x i8], [5 x i8], [2 x i8], [5 x float], [512 x float], [4 x i8] }>
%struct.ImGuiStyle = type { float, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, [39 x %struct.ImVec4] }
%struct.ImVec4 = type { float, float, float, float }
%class.ImVector.2 = type { i64, i64, ptr }
%class.ImVector.3 = type { i64, i64, ptr }
%class.ImVector.4 = type { i64, i64, ptr }
%class.ImVector = type { i64, i64, ptr }
%class.ImVector.5 = type { i64, i64, ptr }
%struct.ImGuiTextEditState = type <{ i32, [1024 x i16], [3073 x i8], [3 x i8], i64, float, float, %struct.STB_TexteditState, float, %struct.ImVec2, i8, [7 x i8], ptr, float, [4 x i8] }>
%struct.STB_TexteditState = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %struct.StbUndoState }
%struct.StbUndoState = type { [99 x %struct.StbUndoRecord], [999 x i16], i16, i16, i16, i16 }
%struct.StbUndoRecord = type { i32, i16, i16, i16 }

@_ZL6GImGui = external hidden global ptr, align 8
@.str.34 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [15 x i8], align 1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11ImGuiWindow5GetIDEPKc(ptr noundef nonnull align 8 dereferenceable(480), ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL16GetCurrentWindowv() #5

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL11SetActiveIdj(i32 noundef) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK11ImGuiWindow8FontSizeEv(ptr noundef nonnull align 8 dereferenceable(480)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui12IsItemActiveEv() #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui10BeginChildEPKcRK6ImVec2bi(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext, i32 noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12GetCursorPosEv() #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8EndChildEv() #7

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11FocusWindowP11ImGuiWindow(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui6PushIDEPKv(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK11ImGuiWindow5ColorEif(ptr noundef nonnull align 8 dereferenceable(480), i32 noundef, float noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL22RenderCollapseTriangle6ImVec2bfb(<2 x float>, i1 noundef zeroext, float noundef, i1 noundef zeroext) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui13CalcItemWidthEv() #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12SetCursorPosERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui16SetScrollPosHereEv() #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10RenderText6ImVec2PKcS1_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL8ItemSizeRK9ImGuiAabbP6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11RenderFrame6ImVec2S_jbf(<2 x float>, <2 x float>, i32 noundef, i1 noundef zeroext, float noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui5PopIDEv() #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui6PushIDEi(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL9IsHoveredRK9ImGuiAabbRKj(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL5ImMinii(i32 noundef, i32 noundef) #5

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

65:                                               ; preds = %6
  store i1 false, ptr %7, align 1
  store i32 1, ptr %16, align 4
  br label %373

66:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiState, ptr %67, i32 0, i32 3
  store ptr %68, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %69 = load ptr, ptr %15, align 8, !tbaa !5
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKc(ptr noundef nonnull align 8 dereferenceable(480) %69, ptr noundef %70)
  store i32 %71, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %72 = call noundef float @_ZN5ImGui13CalcItemWidthEv()
  store float %72, ptr %19, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %73, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %74, ptr %20, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %75 = load ptr, ptr %15, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ImGuiWindow, ptr %75, i32 0, i32 20
  %77 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %76, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %78 = load ptr, ptr %15, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ImGuiWindow, ptr %78, i32 0, i32 20
  %80 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %79, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %81 = load float, ptr %19, align 4, !tbaa !28
  %82 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 1
  %83 = load float, ptr %82, align 4, !tbaa !29
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %81, float noundef %83)
  %84 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %80, ptr noundef nonnull align 4 dereferenceable(8) %24)
  store <2 x float> %84, ptr %23, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %85 = load ptr, ptr %17, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ImGuiStyle, ptr %85, i32 0, i32 5
  %87 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %86, float noundef 2.000000e+00)
  store <2 x float> %87, ptr %25, align 4
  %88 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %88, ptr %22, align 4
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(8) %77, ptr noundef nonnull align 4 dereferenceable(8) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #8
  %89 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %90 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %91 = load ptr, ptr %17, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.ImGuiStyle, ptr %91, i32 0, i32 8
  %93 = getelementptr inbounds %struct.ImVec2, ptr %92, i32 0, i32 0
  %94 = load float, ptr %93, align 4, !tbaa !30
  %95 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  %96 = load float, ptr %95, align 4, !tbaa !32
  %97 = fadd float %94, %96
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef %97, float noundef 0.000000e+00)
  %98 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %90, ptr noundef nonnull align 4 dereferenceable(8) %28)
  store <2 x float> %98, ptr %27, align 4
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(8) %89, ptr noundef nonnull align 4 dereferenceable(8) %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @_ZL8ItemSizeRK9ImGuiAabbP6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %26, ptr noundef null)
  %99 = call noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16) %21, ptr noundef %18)
  br i1 %99, label %101, label %100

100:                                              ; preds = %66
  store i1 false, ptr %7, align 1
  store i32 1, ptr %16, align 4
  br label %372

101:                                              ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  %102 = load ptr, ptr %15, align 8, !tbaa !5
  %103 = call noundef float @_ZNK11ImGuiWindow8FontSizeEv(ptr noundef nonnull align 8 dereferenceable(480) %102)
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ImGuiStyle, ptr %104, i32 0, i32 5
  %106 = getelementptr inbounds %struct.ImVec2, ptr %105, i32 0, i32 0
  %107 = load float, ptr %106, align 4, !tbaa !33
  %108 = call float @llvm.fmuladd.f32(float %107, float 2.000000e+00, float %103)
  store float %108, ptr %29, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  %109 = call noundef zeroext i1 @_ZL9IsHoveredRK9ImGuiAabbRKj(ptr noundef nonnull align 4 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %110 = zext i1 %109 to i8
  store i8 %110, ptr %30, align 1, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  store i8 0, ptr %31, align 1, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #8
  %111 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %112 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %113 = load float, ptr %29, align 4, !tbaa !28
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef %113, float noundef 0.000000e+00)
  %114 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %112, ptr noundef nonnull align 4 dereferenceable(8) %34)
  store <2 x float> %114, ptr %33, align 4
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(8) %111, ptr noundef nonnull align 4 dereferenceable(8) %33)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  %115 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %115, i64 8, i1 false), !tbaa.struct !35
  %116 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %116, i64 8, i1 false), !tbaa.struct !35
  %117 = load ptr, ptr %15, align 8, !tbaa !5
  %118 = call noundef i32 @_ZNK11ImGuiWindow5ColorEif(ptr noundef nonnull align 8 dereferenceable(480) %117, i32 noundef 5, float noundef 1.000000e+00)
  %119 = load ptr, ptr %17, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImGuiStyle, ptr %119, i32 0, i32 6
  %121 = load float, ptr %120, align 4, !tbaa !36
  %122 = load <2 x float>, ptr %35, align 4
  %123 = load <2 x float>, ptr %36, align 4
  call void @_ZL11RenderFrame6ImVec2S_jbf(<2 x float> %122, <2 x float> %123, i32 noundef %118, i1 noundef zeroext true, float noundef %121)
  %124 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 1
  %125 = getelementptr inbounds %struct.ImVec2, ptr %124, i32 0, i32 0
  %126 = load float, ptr %125, align 4, !tbaa !37
  %127 = load float, ptr %29, align 4, !tbaa !28
  %128 = fsub float %126, %127
  %129 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 0
  %130 = getelementptr inbounds %struct.ImVec2, ptr %129, i32 0, i32 1
  %131 = load float, ptr %130, align 4, !tbaa !38
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %128, float noundef %131)
  %132 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %132, i64 8, i1 false), !tbaa.struct !35
  %133 = load ptr, ptr %15, align 8, !tbaa !5
  %134 = load i8, ptr %30, align 1, !tbaa !34, !range !26, !noundef !27
  %135 = trunc i8 %134 to i1
  %136 = zext i1 %135 to i64
  %137 = select i1 %135, i32 19, i32 18
  %138 = call noundef i32 @_ZNK11ImGuiWindow5ColorEif(ptr noundef nonnull align 8 dereferenceable(480) %133, i32 noundef %137, float noundef 1.000000e+00)
  %139 = load ptr, ptr %17, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ImGuiStyle, ptr %139, i32 0, i32 6
  %141 = load float, ptr %140, align 4, !tbaa !36
  %142 = load <2 x float>, ptr %37, align 4
  %143 = load <2 x float>, ptr %38, align 4
  call void @_ZL11RenderFrame6ImVec2S_jbf(<2 x float> %142, <2 x float> %143, i32 noundef %138, i1 noundef zeroext true, float noundef %141)
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %144 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 1
  %145 = getelementptr inbounds %struct.ImVec2, ptr %144, i32 0, i32 0
  %146 = load float, ptr %145, align 4, !tbaa !37
  %147 = load float, ptr %29, align 4, !tbaa !28
  %148 = fsub float %146, %147
  %149 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 0
  %150 = getelementptr inbounds %struct.ImVec2, ptr %149, i32 0, i32 1
  %151 = load float, ptr %150, align 4, !tbaa !38
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef %148, float noundef %151)
  %152 = load ptr, ptr %17, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.ImGuiStyle, ptr %152, i32 0, i32 5
  %154 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %153)
  store <2 x float> %154, ptr %39, align 4
  %155 = load <2 x float>, ptr %39, align 4
  call void @_ZL22RenderCollapseTriangle6ImVec2bfb(<2 x float> %155, i1 noundef zeroext true, float noundef 1.000000e+00, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  %156 = load ptr, ptr %9, align 8, !tbaa !5
  %157 = load i32, ptr %156, align 4, !tbaa !9
  %158 = icmp sge i32 %157, 0
  br i1 %158, label %159, label %179

159:                                              ; preds = %101
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = load i32, ptr %160, align 4, !tbaa !9
  %162 = load i32, ptr %12, align 4, !tbaa !9
  %163 = icmp slt i32 %161, %162
  br i1 %163, label %164, label %179

164:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %165 = load ptr, ptr %10, align 8, !tbaa !5
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = load i32, ptr %167, align 4, !tbaa !9
  %169 = call noundef zeroext i1 %165(ptr noundef %166, i32 noundef %168, ptr noundef %41)
  br i1 %169, label %170, label %178

170:                                              ; preds = %164
  %171 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 0
  %172 = load ptr, ptr %17, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ImGuiStyle, ptr %172, i32 0, i32 5
  %174 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %171, ptr noundef nonnull align 4 dereferenceable(8) %173)
  store <2 x float> %174, ptr %42, align 4
  %175 = load ptr, ptr %41, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.ImGuiAabb, ptr %32, i32 0, i32 1
  %177 = load <2 x float>, ptr %42, align 4
  call void @_ZL17RenderTextClipped6ImVec2PKcS1_PKS_RS2_(<2 x float> %177, ptr noundef %175, ptr noundef null, ptr noundef null, ptr noundef nonnull align 4 dereferenceable(8) %176)
  br label %178

178:                                              ; preds = %170, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %179

179:                                              ; preds = %178, %159, %101
  %180 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  %181 = load float, ptr %180, align 4, !tbaa !32
  %182 = fcmp ogt float %181, 0.000000e+00
  br i1 %182, label %183, label %202

183:                                              ; preds = %179
  %184 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 1
  %185 = getelementptr inbounds %struct.ImVec2, ptr %184, i32 0, i32 0
  %186 = load float, ptr %185, align 4, !tbaa !37
  %187 = load ptr, ptr %17, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.ImGuiStyle, ptr %187, i32 0, i32 8
  %189 = getelementptr inbounds %struct.ImVec2, ptr %188, i32 0, i32 0
  %190 = load float, ptr %189, align 4, !tbaa !30
  %191 = fadd float %186, %190
  %192 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 0
  %193 = getelementptr inbounds %struct.ImVec2, ptr %192, i32 0, i32 1
  %194 = load float, ptr %193, align 4, !tbaa !38
  %195 = load ptr, ptr %17, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiStyle, ptr %195, i32 0, i32 5
  %197 = getelementptr inbounds %struct.ImVec2, ptr %196, i32 0, i32 1
  %198 = load float, ptr %197, align 4, !tbaa !39
  %199 = fadd float %194, %198
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef %191, float noundef %199)
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = load <2 x float>, ptr %43, align 4
  call void @_ZL10RenderText6ImVec2PKcS1_b(<2 x float> %201, ptr noundef %200, ptr noundef null, i1 noundef zeroext true)
  br label %202

202:                                              ; preds = %183, %179
  %203 = load i32, ptr %18, align 4, !tbaa !9
  call void @_ZN5ImGui6PushIDEi(i32 noundef %203)
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #8
  store i8 0, ptr %44, align 1, !tbaa !34
  %204 = load i8, ptr %30, align 1, !tbaa !34, !range !26, !noundef !27
  %205 = trunc i8 %204 to i1
  br i1 %205, label %206, label %237

206:                                              ; preds = %202
  %207 = load i32, ptr %18, align 4, !tbaa !9
  %208 = load ptr, ptr %14, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.ImGuiState, ptr %208, i32 0, i32 16
  store i32 %207, ptr %209, align 8, !tbaa !40
  %210 = load ptr, ptr %14, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.ImGuiState, ptr %210, i32 0, i32 2
  %212 = getelementptr inbounds %struct.ImGuiIO, ptr %211, i32 0, i32 38
  %213 = getelementptr inbounds [5 x i8], ptr %212, i64 0, i64 0
  %214 = load i8, ptr %213, align 8, !tbaa !34, !range !26, !noundef !27
  %215 = trunc i8 %214 to i1
  br i1 %215, label %216, label %236

216:                                              ; preds = %206
  store i8 1, ptr %44, align 1, !tbaa !34
  %217 = load ptr, ptr %14, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.ImGuiState, ptr %217, i32 0, i32 41
  %219 = load i32, ptr %218, align 8, !tbaa !52
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = icmp eq i32 %219, %220
  br i1 %221, label %222, label %223

222:                                              ; preds = %216
  br label %225

223:                                              ; preds = %216
  %224 = load i32, ptr %18, align 4, !tbaa !9
  br label %225

225:                                              ; preds = %223, %222
  %226 = phi i32 [ 0, %222 ], [ %224, %223 ]
  %227 = load ptr, ptr %14, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.ImGuiState, ptr %227, i32 0, i32 41
  store i32 %226, ptr %228, align 8, !tbaa !52
  %229 = load ptr, ptr %14, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.ImGuiState, ptr %229, i32 0, i32 41
  %231 = load i32, ptr %230, align 8, !tbaa !52
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %233, label %235

233:                                              ; preds = %225
  %234 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZL11FocusWindowP11ImGuiWindow(ptr noundef %234)
  br label %235

235:                                              ; preds = %233, %225
  br label %236

236:                                              ; preds = %235, %206
  br label %237

237:                                              ; preds = %236, %202
  %238 = load ptr, ptr %14, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.ImGuiState, ptr %238, i32 0, i32 41
  %240 = load i32, ptr %239, align 8, !tbaa !52
  %241 = load i32, ptr %18, align 4, !tbaa !9
  %242 = icmp eq i32 %240, %241
  br i1 %242, label %243, label %369

243:                                              ; preds = %237
  %244 = load i32, ptr %13, align 4, !tbaa !9
  %245 = icmp slt i32 %244, 0
  br i1 %245, label %246, label %247

246:                                              ; preds = %243
  store i32 7, ptr %13, align 4, !tbaa !9
  br label %247

247:                                              ; preds = %246, %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %248 = call <2 x float> @_ZN5ImGui12GetCursorPosEv()
  store <2 x float> %248, ptr %45, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  store float 0.000000e+00, ptr %46, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #8
  %249 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 1
  %250 = load float, ptr %249, align 4, !tbaa !29
  %251 = load ptr, ptr %17, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImGuiStyle, ptr %251, i32 0, i32 7
  %253 = getelementptr inbounds %struct.ImVec2, ptr %252, i32 0, i32 1
  %254 = load float, ptr %253, align 4, !tbaa !53
  %255 = fadd float %250, %254
  %256 = load i32, ptr %12, align 4, !tbaa !9
  %257 = load i32, ptr %13, align 4, !tbaa !9
  %258 = call noundef i32 @_ZL5ImMinii(i32 noundef %256, i32 noundef %257)
  %259 = sitofp i32 %258 to float
  %260 = load ptr, ptr %17, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.ImGuiStyle, ptr %260, i32 0, i32 1
  %262 = getelementptr inbounds %struct.ImVec2, ptr %261, i32 0, i32 1
  %263 = load float, ptr %262, align 4, !tbaa !54
  %264 = call float @llvm.fmuladd.f32(float %255, float %259, float %263)
  store float %264, ptr %47, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %265 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 0
  %266 = getelementptr inbounds %struct.ImVec2, ptr %265, i32 0, i32 0
  %267 = load float, ptr %266, align 4, !tbaa !55
  %268 = fadd float %267, 0.000000e+00
  %269 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 1
  %270 = getelementptr inbounds %struct.ImVec2, ptr %269, i32 0, i32 1
  %271 = load float, ptr %270, align 4, !tbaa !56
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %49, float noundef %268, float noundef %271)
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %272 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 1
  %273 = getelementptr inbounds %struct.ImVec2, ptr %272, i32 0, i32 0
  %274 = load float, ptr %273, align 4, !tbaa !37
  %275 = fadd float %274, 0.000000e+00
  %276 = getelementptr inbounds %struct.ImGuiAabb, ptr %21, i32 0, i32 1
  %277 = getelementptr inbounds %struct.ImVec2, ptr %276, i32 0, i32 1
  %278 = load float, ptr %277, align 4, !tbaa !56
  %279 = load float, ptr %47, align 4, !tbaa !28
  %280 = fadd float %278, %279
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %50, float noundef %275, float noundef %280)
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %48, ptr noundef nonnull align 4 dereferenceable(8) %49, ptr noundef nonnull align 4 dereferenceable(8) %50)
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  %281 = getelementptr inbounds %struct.ImGuiAabb, ptr %48, i32 0, i32 0
  %282 = load ptr, ptr %15, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.ImGuiWindow, ptr %282, i32 0, i32 4
  %284 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %281, ptr noundef nonnull align 4 dereferenceable(8) %283)
  store <2 x float> %284, ptr %51, align 4
  call void @_ZN5ImGui12SetCursorPosERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %51)
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #8
  %285 = load ptr, ptr %15, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.ImGuiWindow, ptr %285, i32 0, i32 2
  %287 = load i32, ptr %286, align 4, !tbaa !57
  %288 = and i32 %287, 128
  %289 = icmp ne i32 %288, 0
  %290 = zext i1 %289 to i64
  %291 = select i1 %289, i32 128, i32 0
  %292 = or i32 4096, %291
  store i32 %292, ptr %52, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  %293 = call <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %48)
  store <2 x float> %293, ptr %53, align 4
  %294 = load i32, ptr %52, align 4, !tbaa !9
  %295 = call noundef zeroext i1 @_ZN5ImGui10BeginChildEPKcRK6ImVec2bi(ptr noundef @.str.107, ptr noundef nonnull align 4 dereferenceable(8) %53, i1 noundef zeroext false, i32 noundef %294)
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  call void @_ZN5ImGui7SpacingEv()
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #8
  store i8 0, ptr %54, align 1, !tbaa !34
  %296 = load ptr, ptr %14, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.ImGuiState, ptr %296, i32 0, i32 17
  %298 = load i32, ptr %297, align 4, !tbaa !58
  %299 = call noundef ptr @_ZL16GetCurrentWindowv()
  %300 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKc(ptr noundef nonnull align 8 dereferenceable(480) %299, ptr noundef @.str.34)
  %301 = icmp eq i32 %298, %300
  %302 = zext i1 %301 to i32
  %303 = load i8, ptr %54, align 1, !tbaa !34, !range !26, !noundef !27
  %304 = trunc i8 %303 to i1
  %305 = zext i1 %304 to i32
  %306 = or i32 %305, %302
  %307 = icmp ne i32 %306, 0
  %308 = zext i1 %307 to i8
  store i8 %308, ptr %54, align 1, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #8
  store i32 0, ptr %55, align 4, !tbaa !9
  br label %309

309:                                              ; preds = %354, %247
  %310 = load i32, ptr %55, align 4, !tbaa !9
  %311 = load i32, ptr %12, align 4, !tbaa !9
  %312 = icmp slt i32 %310, %311
  br i1 %312, label %314, label %313

313:                                              ; preds = %309
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #8
  br label %357

314:                                              ; preds = %309
  %315 = load i32, ptr %55, align 4, !tbaa !9
  %316 = sext i32 %315 to i64
  %317 = inttoptr i64 %316 to ptr
  call void @_ZN5ImGui6PushIDEPKv(ptr noundef %317)
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #8
  %318 = load i32, ptr %55, align 4, !tbaa !9
  %319 = load ptr, ptr %9, align 8, !tbaa !5
  %320 = load i32, ptr %319, align 4, !tbaa !9
  %321 = icmp eq i32 %318, %320
  %322 = zext i1 %321 to i8
  store i8 %322, ptr %56, align 1, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #8
  %323 = load ptr, ptr %10, align 8, !tbaa !5
  %324 = load ptr, ptr %11, align 8, !tbaa !5
  %325 = load i32, ptr %55, align 4, !tbaa !9
  %326 = call noundef zeroext i1 %323(ptr noundef %324, i32 noundef %325, ptr noundef %57)
  br i1 %326, label %328, label %327

327:                                              ; preds = %314
  store ptr @.str.108, ptr %57, align 8, !tbaa !5
  br label %328

328:                                              ; preds = %327, %314
  %329 = load ptr, ptr %57, align 8, !tbaa !5
  %330 = load i8, ptr %56, align 1, !tbaa !34, !range !26, !noundef !27
  %331 = trunc i8 %330 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %58, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %332 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbRK6ImVec2(ptr noundef %329, i1 noundef zeroext %331, ptr noundef nonnull align 4 dereferenceable(8) %58)
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  br i1 %332, label %333, label %338

333:                                              ; preds = %328
  call void @_ZL11SetActiveIdj(i32 noundef 0)
  %334 = load ptr, ptr %14, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ImGuiState, ptr %334, i32 0, i32 41
  store i32 0, ptr %335, align 8, !tbaa !52
  store i8 1, ptr %31, align 1, !tbaa !34
  %336 = load i32, ptr %55, align 4, !tbaa !9
  %337 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 %336, ptr %337, align 4, !tbaa !9
  br label %338

338:                                              ; preds = %333, %328
  %339 = load i8, ptr %56, align 1, !tbaa !34, !range !26, !noundef !27
  %340 = trunc i8 %339 to i1
  br i1 %340, label %341, label %345

341:                                              ; preds = %338
  %342 = load i8, ptr %44, align 1, !tbaa !34, !range !26, !noundef !27
  %343 = trunc i8 %342 to i1
  br i1 %343, label %344, label %345

344:                                              ; preds = %341
  call void @_ZN5ImGui16SetScrollPosHereEv()
  br label %345

345:                                              ; preds = %344, %341, %338
  %346 = call noundef zeroext i1 @_ZN5ImGui12IsItemActiveEv()
  %347 = zext i1 %346 to i32
  %348 = load i8, ptr %54, align 1, !tbaa !34, !range !26, !noundef !27
  %349 = trunc i8 %348 to i1
  %350 = zext i1 %349 to i32
  %351 = or i32 %350, %347
  %352 = icmp ne i32 %351, 0
  %353 = zext i1 %352 to i8
  store i8 %353, ptr %54, align 1, !tbaa !34
  call void @_ZN5ImGui5PopIDEv()
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #8
  br label %354

354:                                              ; preds = %345
  %355 = load i32, ptr %55, align 4, !tbaa !9
  %356 = add nsw i32 %355, 1
  store i32 %356, ptr %55, align 4, !tbaa !9
  br label %309, !llvm.loop !59

357:                                              ; preds = %313
  call void @_ZN5ImGui8EndChildEv()
  call void @_ZN5ImGui12SetCursorPosERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %45)
  %358 = load i8, ptr %54, align 1, !tbaa !34, !range !26, !noundef !27
  %359 = trunc i8 %358 to i1
  br i1 %359, label %368, label %360

360:                                              ; preds = %357
  %361 = load ptr, ptr %14, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.ImGuiState, ptr %361, i32 0, i32 17
  %363 = load i32, ptr %362, align 4, !tbaa !58
  %364 = icmp ne i32 %363, 0
  br i1 %364, label %365, label %368

365:                                              ; preds = %360
  %366 = load ptr, ptr %14, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.ImGuiState, ptr %366, i32 0, i32 41
  store i32 0, ptr %367, align 8, !tbaa !52
  br label %368

368:                                              ; preds = %365, %360, %357
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %369

369:                                              ; preds = %368, %237
  call void @_ZN5ImGui5PopIDEv()
  %370 = load i8, ptr %31, align 1, !tbaa !34, !range !26, !noundef !27
  %371 = trunc i8 %370 to i1
  store i1 %371, ptr %7, align 1
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %372

372:                                              ; preds = %369, %100
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %373

373:                                              ; preds = %372, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  %374 = load i1, ptr %7, align 1
  ret i1 %374
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui7SpacingEv() #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbRK6ImVec2(ptr noundef, i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(8)) #7

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !15, i64 68}
!12 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !15, i64 64, !15, i64 65, !15, i64 66, !15, i64 67, !15, i64 68, !10, i64 72, !15, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !16, i64 96, !22, i64 336, !23, i64 360, !17, i64 384, !10, i64 400, !14, i64 404, !24, i64 408, !14, i64 432, !6, i64 440, !6, i64 448, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS16ImGuiDrawContext", !13, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 28, !14, i64 32, !10, i64 36, !10, i64 40, !17, i64 44, !15, i64 60, !18, i64 64, !20, i64 88, !21, i64 112, !21, i64 136, !10, i64 160, !6, i64 168, !14, i64 176, !14, i64 180, !10, i64 184, !10, i64 188, !13, i64 192, !14, i64 200, !14, i64 204, !15, i64 208, !10, i64 212, !21, i64 216}
!17 = !{!"_ZTS9ImGuiAabb", !13, i64 0, !13, i64 8}
!18 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !19, i64 0, !19, i64 8, !6, i64 16}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTS8ImVectorIbE", !19, i64 0, !19, i64 8, !6, i64 16}
!21 = !{!"_ZTS8ImVectorIfE", !19, i64 0, !19, i64 8, !6, i64 16}
!22 = !{!"_ZTS8ImVectorIjE", !19, i64 0, !19, i64 8, !6, i64 16}
!23 = !{!"_ZTS8ImVectorI6ImVec4E", !19, i64 0, !19, i64 8, !6, i64 16}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !19, i64 0, !19, i64 8, !6, i64 16}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!14, !14, i64 0}
!29 = !{!13, !14, i64 4}
!30 = !{!31, !14, i64 48}
!31 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !13, i64 4, !13, i64 12, !14, i64 20, !14, i64 24, !13, i64 28, !14, i64 36, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !14, i64 72, !14, i64 76, !14, i64 80, !14, i64 84, !7, i64 88}
!32 = !{!13, !14, i64 0}
!33 = !{!31, !14, i64 28}
!34 = !{!15, !15, i64 0}
!35 = !{i64 0, i64 4, !28, i64 4, i64 4, !28}
!36 = !{!31, !14, i64 36}
!37 = !{!17, !14, i64 8}
!38 = !{!17, !14, i64 4}
!39 = !{!31, !14, i64 32}
!40 = !{!41, !10, i64 3784}
!41 = !{!"_ZTS10ImGuiState", !15, i64 0, !42, i64 8, !31, i64 2960, !6, i64 3672, !14, i64 3680, !13, i64 3684, !14, i64 3692, !10, i64 3696, !10, i64 3700, !18, i64 3704, !6, i64 3728, !18, i64 3736, !6, i64 3760, !6, i64 3768, !6, i64 3776, !10, i64 3784, !10, i64 3788, !10, i64 3792, !15, i64 3796, !15, i64 3797, !6, i64 3800, !14, i64 3808, !43, i64 3816, !44, i64 3840, !45, i64 3864, !46, i64 3888, !13, i64 3912, !10, i64 3920, !13, i64 3924, !10, i64 3932, !15, i64 3936, !10, i64 3940, !15, i64 3944, !15, i64 3945, !10, i64 3948, !47, i64 3952, !18, i64 3976, !48, i64 4000, !10, i64 12400, !24, i64 12408, !10, i64 12432, !7, i64 12436, !6, i64 13464, !15, i64 13472, !6, i64 13480, !6, i64 13488, !10, i64 13496, !10, i64 13500, !7, i64 13504, !10, i64 13984, !14, i64 13988}
!42 = !{!"_ZTS7ImGuiIO", !13, i64 0, !14, i64 8, !14, i64 12, !6, i64 16, !6, i64 24, !14, i64 32, !14, i64 36, !7, i64 40, !6, i64 112, !6, i64 120, !14, i64 128, !15, i64 132, !13, i64 136, !13, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !13, i64 208, !7, i64 216, !14, i64 224, !15, i64 228, !15, i64 229, !15, i64 230, !7, i64 231, !7, i64 744, !15, i64 778, !15, i64 779, !14, i64 780, !13, i64 784, !13, i64 792, !7, i64 800, !7, i64 808, !7, i64 848, !7, i64 868, !7, i64 873, !7, i64 880, !7, i64 900}
!43 = !{!"_ZTS8ImVectorIP12ImGuiIniDataE", !19, i64 0, !19, i64 8, !6, i64 16}
!44 = !{!"_ZTS8ImVectorI11ImGuiColModE", !19, i64 0, !19, i64 8, !6, i64 16}
!45 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !19, i64 0, !19, i64 8, !6, i64 16}
!46 = !{!"_ZTS8ImVectorIP6ImFontE", !19, i64 0, !19, i64 8, !6, i64 16}
!47 = !{!"_ZTS8ImVectorIP10ImDrawListE", !19, i64 0, !19, i64 8, !6, i64 16}
!48 = !{!"_ZTS18ImGuiTextEditState", !10, i64 0, !7, i64 4, !7, i64 2052, !19, i64 5128, !14, i64 5136, !14, i64 5140, !49, i64 5144, !14, i64 8364, !13, i64 8368, !15, i64 8376, !6, i64 8384, !14, i64 8392}
!49 = !{!"_ZTS17STB_TexteditState", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !14, i64 20, !50, i64 24}
!50 = !{!"_ZTS12StbUndoState", !7, i64 0, !7, i64 1188, !51, i64 3186, !51, i64 3188, !51, i64 3190, !51, i64 3192}
!51 = !{!"short", !7, i64 0}
!52 = !{!41, !10, i64 12432}
!53 = !{!31, !14, i64 44}
!54 = !{!31, !14, i64 8}
!55 = !{!17, !14, i64 0}
!56 = !{!17, !14, i64 12}
!57 = !{!12, !10, i64 12}
!58 = !{!41, !10, i64 3788}
!59 = distinct !{!59, !60}
!60 = !{!"llvm.loop.mustprogress"}


; 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.ImGuiAabb = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }

@_ZL6GImGui = external hidden local_unnamed_addr global ptr, align 8
@.str.34 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [15 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN11ImGuiWindow5GetIDEPKc(ptr noundef nonnull align 8 dereferenceable(480), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL16GetCurrentWindowv() local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL11SetActiveIdj(i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK11ImGuiWindow8FontSizeEv(ptr noundef nonnull align 8 dereferenceable(480)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui12IsItemActiveEv() local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12GetCursorPosEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8EndChildEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11FocusWindowP11ImGuiWindow(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui6PushIDEPKv(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK11ImGuiWindow5ColorEif(ptr noundef nonnull align 8 dereferenceable(480), i32 noundef, float noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL22RenderCollapseTriangle6ImVec2bfb(<2 x float>, i1 noundef zeroext, float noundef, i1 noundef zeroext) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui13CalcItemWidthEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12SetCursorPosERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui16SetScrollPosHereEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10RenderText6ImVec2PKcS1_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL8ItemSizeRK9ImGuiAabbP6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11RenderFrame6ImVec2S_jbf(<2 x float>, <2 x float>, i32 noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui5PopIDEv() local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL9IsHoveredRK9ImGuiAabbRKj(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL5ImMinii(i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui5ComboEPKcPiPFbPviPS1_ES3_ii(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #6 {
  %7 = alloca i32, align 4
  %8 = alloca %struct.ImGuiAabb, align 8
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImGuiAabb, align 4
  %14 = alloca %struct.ImVec2, align 8
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImGuiAabb, align 4
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 8
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca ptr, align 8
  %22 = alloca %struct.ImVec2, align 8
  %23 = alloca %struct.ImVec2, align 8
  %24 = alloca %struct.ImGuiAabb, align 4
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 8
  %28 = alloca %struct.ImVec2, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %struct.ImVec2, align 4
  %31 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  %32 = tail call noundef ptr @_ZL16GetCurrentWindowv()
  %33 = getelementptr inbounds i8, ptr %32, i64 68
  %34 = load i8, ptr %33, align 4, !tbaa !9, !range !25, !noundef !26
  %35 = trunc nuw i8 %34 to i1
  br i1 %35, label %180, label %36

36:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %37 = tail call noundef i32 @_ZN11ImGuiWindow5GetIDEPKc(ptr noundef nonnull align 8 dereferenceable(480) %32, ptr noundef %0)
  store i32 %37, ptr %7, align 4, !tbaa !27
  %38 = tail call noundef float @_ZN5ImGui13CalcItemWidthEv()
  %39 = tail call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %0, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %40 = getelementptr inbounds i8, ptr %32, i64 96
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %.sroa.023.4.vec.extract = extractelement <2 x float> %39, i64 1
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %38, float noundef %.sroa.023.4.vec.extract)
  %41 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %41, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %42 = getelementptr inbounds i8, ptr %31, i64 2988
  %43 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %42, float noundef 2.000000e+00)
  store <2 x float> %43, ptr %12, align 8
  %44 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %44, ptr %9, align 8
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %45 = getelementptr inbounds i8, ptr %8, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %46 = getelementptr inbounds i8, ptr %31, i64 3008
  %47 = load float, ptr %46, align 4, !tbaa !28
  %.sroa.023.0.vec.extract = extractelement <2 x float> %39, i64 0
  %48 = fadd float %.sroa.023.0.vec.extract, %47
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %48, float noundef 0.000000e+00)
  %49 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %45, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %49, ptr %14, align 8
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @_ZL8ItemSizeRK9ImGuiAabbP6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef null)
  %50 = call noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull %7)
  br i1 %50, label %51, label %179

51:                                               ; preds = %36
  %52 = call noundef float @_ZNK11ImGuiWindow8FontSizeEv(ptr noundef nonnull align 8 dereferenceable(480) %32)
  %53 = load float, ptr %42, align 4, !tbaa !30
  %54 = call float @llvm.fmuladd.f32(float %53, float 2.000000e+00, float %52)
  %55 = call noundef zeroext i1 @_ZL9IsHoveredRK9ImGuiAabbRKj(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %54, float noundef 0.000000e+00)
  %56 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %45, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %56, ptr %17, align 8
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  %.sroa.016.0.copyload = load <2 x float>, ptr %8, align 8
  %.sroa.015.0.copyload = load <2 x float>, ptr %45, align 8
  %57 = call noundef i32 @_ZNK11ImGuiWindow5ColorEif(ptr noundef nonnull align 8 dereferenceable(480) %32, i32 noundef 5, float noundef 1.000000e+00)
  %58 = getelementptr inbounds i8, ptr %31, i64 2996
  %59 = load float, ptr %58, align 4, !tbaa !31
  call void @_ZL11RenderFrame6ImVec2S_jbf(<2 x float> %.sroa.016.0.copyload, <2 x float> %.sroa.015.0.copyload, i32 noundef %57, i1 noundef zeroext true, float noundef %59)
  %60 = load float, ptr %45, align 8, !tbaa !32
  %61 = fsub float %60, %54
  %62 = getelementptr inbounds i8, ptr %8, i64 4
  %63 = load float, ptr %62, align 4, !tbaa !33
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %61, float noundef %63)
  %.sroa.014.0.copyload = load <2 x float>, ptr %45, align 8
  %64 = select i1 %55, i32 19, i32 18
  %65 = call noundef i32 @_ZNK11ImGuiWindow5ColorEif(ptr noundef nonnull align 8 dereferenceable(480) %32, i32 noundef %64, float noundef 1.000000e+00)
  %66 = load float, ptr %58, align 4, !tbaa !31
  %67 = load <2 x float>, ptr %19, align 8
  call void @_ZL11RenderFrame6ImVec2S_jbf(<2 x float> %67, <2 x float> %.sroa.014.0.copyload, i32 noundef %65, i1 noundef zeroext true, float noundef %66)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %68 = load float, ptr %45, align 8, !tbaa !32
  %69 = fsub float %68, %54
  %70 = load float, ptr %62, align 4, !tbaa !33
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %69, float noundef %70)
  %71 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %42)
  call void @_ZL22RenderCollapseTriangle6ImVec2bfb(<2 x float> %71, i1 noundef zeroext true, float noundef 1.000000e+00, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  %72 = load i32, ptr %1, align 4, !tbaa !27
  %73 = icmp sgt i32 %72, -1
  %74 = icmp slt i32 %72, %4
  %or.cond = and i1 %73, %74
  br i1 %or.cond, label %75, label %82

75:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %76 = call noundef zeroext i1 %2(ptr noundef %3, i32 noundef %72, ptr noundef nonnull %21)
  br i1 %76, label %77, label %81

77:                                               ; preds = %75
  %78 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %42)
  %79 = load ptr, ptr %21, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %16, i64 8
  call void @_ZL17RenderTextClipped6ImVec2PKcS1_PKS_RS2_(<2 x float> %78, ptr noundef %79, ptr noundef null, ptr noundef null, ptr noundef nonnull align 4 dereferenceable(8) %80)
  br label %81

81:                                               ; preds = %77, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %82

82:                                               ; preds = %81, %51
  %83 = fcmp ogt float %.sroa.023.0.vec.extract, 0.000000e+00
  br i1 %83, label %84, label %93

84:                                               ; preds = %82
  %85 = load float, ptr %45, align 8, !tbaa !32
  %86 = load float, ptr %46, align 4, !tbaa !28
  %87 = fadd float %85, %86
  %88 = load float, ptr %62, align 4, !tbaa !33
  %89 = getelementptr inbounds i8, ptr %31, i64 2992
  %90 = load float, ptr %89, align 4, !tbaa !34
  %91 = fadd float %88, %90
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %87, float noundef %91)
  %92 = load <2 x float>, ptr %22, align 8
  call void @_ZL10RenderText6ImVec2PKcS1_b(<2 x float> %92, ptr noundef %0, ptr noundef null, i1 noundef zeroext true)
  br label %93

93:                                               ; preds = %84, %82
  %94 = load i32, ptr %7, align 4, !tbaa !27
  call void @_ZN5ImGui6PushIDEi(i32 noundef %94)
  %.pre99 = load i32, ptr %7, align 4
  br i1 %55, label %95, label %106

95:                                               ; preds = %93
  %96 = getelementptr inbounds i8, ptr %31, i64 3784
  store i32 %.pre99, ptr %96, align 8, !tbaa !35
  %97 = getelementptr inbounds i8, ptr %31, i64 808
  %98 = load i8, ptr %97, align 8, !tbaa !47, !range !25, !noundef !26
  %99 = trunc nuw i8 %98 to i1
  br i1 %99, label %100, label %106

100:                                              ; preds = %95
  %101 = getelementptr inbounds i8, ptr %31, i64 12432
  %102 = load i32, ptr %101, align 8, !tbaa !48
  %103 = icmp eq i32 %102, %.pre99
  %104 = select i1 %103, i32 0, i32 %.pre99
  store i32 %104, ptr %101, align 8, !tbaa !48
  %.not = icmp eq i32 %104, 0
  br i1 %.not, label %106, label %105

105:                                              ; preds = %100
  call void @_ZL11FocusWindowP11ImGuiWindow(ptr noundef nonnull %32)
  %.pre = load i32, ptr %7, align 4, !tbaa !27
  br label %106

106:                                              ; preds = %95, %105, %100, %93
  %107 = phi i32 [ %.pre, %105 ], [ %.pre99, %100 ], [ %.pre99, %95 ], [ %.pre99, %93 ]
  %.083.not.not = phi i1 [ true, %105 ], [ true, %100 ], [ false, %95 ], [ false, %93 ]
  %108 = getelementptr inbounds i8, ptr %31, i64 12432
  %109 = load i32, ptr %108, align 8, !tbaa !48
  %110 = icmp eq i32 %109, %107
  br i1 %110, label %111, label %178

111:                                              ; preds = %106
  %112 = icmp slt i32 %5, 0
  %spec.store.select = select i1 %112, i32 7, i32 %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  %113 = call <2 x float> @_ZN5ImGui12GetCursorPosEv()
  store <2 x float> %113, ptr %23, align 8
  %114 = getelementptr inbounds i8, ptr %31, i64 3004
  %115 = load float, ptr %114, align 4, !tbaa !49
  %116 = fadd float %.sroa.023.4.vec.extract, %115
  %117 = call noundef i32 @_ZL5ImMinii(i32 noundef %4, i32 noundef %spec.store.select)
  %118 = sitofp i32 %117 to float
  %119 = getelementptr inbounds i8, ptr %31, i64 2968
  %120 = load float, ptr %119, align 4, !tbaa !50
  %121 = call float @llvm.fmuladd.f32(float %116, float %118, float %120)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  %122 = load float, ptr %8, align 8, !tbaa !51
  %123 = fadd float %122, 0.000000e+00
  %124 = getelementptr inbounds i8, ptr %8, i64 12
  %125 = load float, ptr %124, align 4, !tbaa !52
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef %123, float noundef %125)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  %126 = load float, ptr %45, align 8, !tbaa !32
  %127 = fadd float %126, 0.000000e+00
  %128 = load float, ptr %124, align 4, !tbaa !52
  %129 = fadd float %121, %128
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %127, float noundef %129)
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  %130 = getelementptr inbounds i8, ptr %32, i64 24
  %131 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(8) %130)
  store <2 x float> %131, ptr %27, align 8
  call void @_ZN5ImGui12SetCursorPosERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  %132 = getelementptr inbounds i8, ptr %32, i64 12
  %133 = load i32, ptr %132, align 4, !tbaa !53
  %134 = and i32 %133, 128
  %135 = or disjoint i32 %134, 4096
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  %136 = call <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %24)
  store <2 x float> %136, ptr %28, align 8
  %137 = call noundef zeroext i1 @_ZN5ImGui10BeginChildEPKcRK6ImVec2bi(ptr noundef nonnull @.str.107, ptr noundef nonnull align 4 dereferenceable(8) %28, i1 noundef zeroext false, i32 noundef %135)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @_ZN5ImGui7SpacingEv()
  %138 = getelementptr inbounds i8, ptr %31, i64 3788
  %139 = load i32, ptr %138, align 4, !tbaa !54
  %140 = call noundef ptr @_ZL16GetCurrentWindowv()
  %141 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKc(ptr noundef nonnull align 8 dereferenceable(480) %140, ptr noundef nonnull @.str.34)
  %142 = icmp eq i32 %139, %141
  %143 = icmp sgt i32 %4, 0
  br i1 %143, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %111
  %wide.trip.count97 = zext nneg i32 %4 to i64
  br i1 %.083.not.not, label %.lr.ph.split, label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph, %155
  %indvars.iv = phi i64 [ %indvars.iv.next, %155 ], [ 0, %.lr.ph ]
  %.080.in89.us = phi i1 [ %157, %155 ], [ %142, %.lr.ph ]
  %.08188.us = phi i1 [ %.182.us, %155 ], [ false, %.lr.ph ]
  %144 = inttoptr i64 %indvars.iv to ptr
  call void @_ZN5ImGui6PushIDEPKv(ptr noundef %144)
  %145 = load i32, ptr %1, align 4, !tbaa !27
  %146 = zext i32 %145 to i64
  %147 = icmp eq i64 %indvars.iv, %146
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #7
  %148 = trunc nuw nsw i64 %indvars.iv to i32
  %149 = call noundef zeroext i1 %2(ptr noundef %3, i32 noundef %148, ptr noundef nonnull %29)
  br i1 %149, label %.lr.ph.split.us._crit_edge, label %150

.lr.ph.split.us._crit_edge:                       ; preds = %.lr.ph.split.us
  %.pre100 = load ptr, ptr %29, align 8, !tbaa !5
  br label %151

150:                                              ; preds = %.lr.ph.split.us
  store ptr @.str.108, ptr %29, align 8, !tbaa !5
  br label %151

151:                                              ; preds = %.lr.ph.split.us._crit_edge, %150
  %152 = phi ptr [ %.pre100, %.lr.ph.split.us._crit_edge ], [ @.str.108, %150 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %153 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbRK6ImVec2(ptr noundef %152, i1 noundef zeroext %147, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #7
  br i1 %153, label %154, label %155

154:                                              ; preds = %151
  call void @_ZL11SetActiveIdj(i32 noundef 0)
  store i32 0, ptr %108, align 8, !tbaa !48
  store i32 %148, ptr %1, align 4, !tbaa !27
  br label %155

155:                                              ; preds = %154, %151
  %.182.us = phi i1 [ true, %154 ], [ %.08188.us, %151 ]
  %156 = call noundef zeroext i1 @_ZN5ImGui12IsItemActiveEv()
  %157 = or i1 %.080.in89.us, %156
  call void @_ZN5ImGui5PopIDEv()
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count97
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.split.us, !llvm.loop !55

._crit_edge:                                      ; preds = %155, %171, %111
  %.081.lcssa = phi i1 [ false, %111 ], [ %.182, %171 ], [ %.182.us, %155 ]
  %.080.in.lcssa = phi i1 [ %142, %111 ], [ %173, %171 ], [ %157, %155 ]
  call void @_ZN5ImGui8EndChildEv()
  call void @_ZN5ImGui12SetCursorPosERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %23)
  br i1 %.080.in.lcssa, label %177, label %174

.lr.ph.split:                                     ; preds = %.lr.ph, %171
  %indvars.iv95 = phi i64 [ %indvars.iv.next96, %171 ], [ 0, %.lr.ph ]
  %.080.in89 = phi i1 [ %173, %171 ], [ %142, %.lr.ph ]
  %.08188 = phi i1 [ %.182, %171 ], [ false, %.lr.ph ]
  %158 = inttoptr i64 %indvars.iv95 to ptr
  call void @_ZN5ImGui6PushIDEPKv(ptr noundef %158)
  %159 = load i32, ptr %1, align 4, !tbaa !27
  %160 = zext i32 %159 to i64
  %161 = icmp eq i64 %indvars.iv95, %160
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #7
  %162 = trunc nuw nsw i64 %indvars.iv95 to i32
  %163 = call noundef zeroext i1 %2(ptr noundef %3, i32 noundef %162, ptr noundef nonnull %29)
  br i1 %163, label %.lr.ph.split._crit_edge, label %164

.lr.ph.split._crit_edge:                          ; preds = %.lr.ph.split
  %.pre101 = load ptr, ptr %29, align 8, !tbaa !5
  br label %165

164:                                              ; preds = %.lr.ph.split
  store ptr @.str.108, ptr %29, align 8, !tbaa !5
  br label %165

165:                                              ; preds = %.lr.ph.split._crit_edge, %164
  %166 = phi ptr [ %.pre101, %.lr.ph.split._crit_edge ], [ @.str.108, %164 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %167 = call noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbRK6ImVec2(ptr noundef %166, i1 noundef zeroext %161, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #7
  br i1 %167, label %168, label %169

168:                                              ; preds = %165
  call void @_ZL11SetActiveIdj(i32 noundef 0)
  store i32 0, ptr %108, align 8, !tbaa !48
  store i32 %162, ptr %1, align 4, !tbaa !27
  br label %169

169:                                              ; preds = %168, %165
  %.182 = phi i1 [ true, %168 ], [ %.08188, %165 ]
  br i1 %161, label %170, label %171

170:                                              ; preds = %169
  call void @_ZN5ImGui16SetScrollPosHereEv()
  br label %171

171:                                              ; preds = %169, %170
  %172 = call noundef zeroext i1 @_ZN5ImGui12IsItemActiveEv()
  %173 = or i1 %.080.in89, %172
  call void @_ZN5ImGui5PopIDEv()
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #7
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %exitcond98.not = icmp eq i64 %indvars.iv.next96, %wide.trip.count97
  br i1 %exitcond98.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !55

174:                                              ; preds = %._crit_edge
  %175 = load i32, ptr %138, align 4, !tbaa !54
  %.not86 = icmp eq i32 %175, 0
  br i1 %.not86, label %177, label %176

176:                                              ; preds = %174
  store i32 0, ptr %108, align 8, !tbaa !48
  br label %177

177:                                              ; preds = %176, %174, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  br label %178

178:                                              ; preds = %177, %106
  %.2 = phi i1 [ %.081.lcssa, %177 ], [ false, %106 ]
  call void @_ZN5ImGui5PopIDEv()
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %179

179:                                              ; preds = %36, %178
  %.0 = phi i1 [ %.2, %178 ], [ false, %36 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  br label %180

180:                                              ; preds = %6, %179
  %.1 = phi i1 [ %.0, %179 ], [ false, %6 ]
  ret i1 %.1
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui7SpacingEv() local_unnamed_addr #6

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !14, i64 68}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !14, i64 64, !14, i64 65, !14, i64 66, !14, i64 67, !14, i64 68, !11, i64 72, !14, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !15, i64 96, !21, i64 336, !22, i64 360, !16, i64 384, !11, i64 400, !13, i64 404, !23, i64 408, !13, i64 432, !6, i64 440, !6, i64 448, !11, i64 456, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS16ImGuiDrawContext", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !11, i64 40, !16, i64 44, !14, i64 60, !17, i64 64, !19, i64 88, !20, i64 112, !20, i64 136, !11, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !11, i64 184, !11, i64 188, !12, i64 192, !13, i64 200, !13, i64 204, !14, i64 208, !11, i64 212, !20, i64 216}
!16 = !{!"_ZTS9ImGuiAabb", !12, i64 0, !12, i64 8}
!17 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !18, i64 0, !18, i64 8, !6, i64 16}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTS8ImVectorIbE", !18, i64 0, !18, i64 8, !6, i64 16}
!20 = !{!"_ZTS8ImVectorIfE", !18, i64 0, !18, i64 8, !6, i64 16}
!21 = !{!"_ZTS8ImVectorIjE", !18, i64 0, !18, i64 8, !6, i64 16}
!22 = !{!"_ZTS8ImVectorI6ImVec4E", !18, i64 0, !18, i64 8, !6, i64 16}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !18, i64 0, !18, i64 8, !6, i64 16}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!11, !11, i64 0}
!28 = !{!29, !13, i64 48}
!29 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !12, i64 4, !12, i64 12, !13, i64 20, !13, i64 24, !12, i64 28, !13, i64 36, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !7, i64 88}
!30 = !{!29, !13, i64 28}
!31 = !{!29, !13, i64 36}
!32 = !{!16, !13, i64 8}
!33 = !{!16, !13, i64 4}
!34 = !{!29, !13, i64 32}
!35 = !{!36, !11, i64 3784}
!36 = !{!"_ZTS10ImGuiState", !14, i64 0, !37, i64 8, !29, i64 2960, !6, i64 3672, !13, i64 3680, !12, i64 3684, !13, i64 3692, !11, i64 3696, !11, i64 3700, !17, i64 3704, !6, i64 3728, !17, i64 3736, !6, i64 3760, !6, i64 3768, !6, i64 3776, !11, i64 3784, !11, i64 3788, !11, i64 3792, !14, i64 3796, !14, i64 3797, !6, i64 3800, !13, i64 3808, !38, i64 3816, !39, i64 3840, !40, i64 3864, !41, i64 3888, !12, i64 3912, !11, i64 3920, !12, i64 3924, !11, i64 3932, !14, i64 3936, !11, i64 3940, !14, i64 3944, !14, i64 3945, !11, i64 3948, !42, i64 3952, !17, i64 3976, !43, i64 4000, !11, i64 12400, !23, i64 12408, !11, i64 12432, !7, i64 12436, !6, i64 13464, !14, i64 13472, !6, i64 13480, !6, i64 13488, !11, i64 13496, !11, i64 13500, !7, i64 13504, !11, i64 13984, !13, i64 13988}
!37 = !{!"_ZTS7ImGuiIO", !12, i64 0, !13, i64 8, !13, i64 12, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !7, i64 40, !6, i64 112, !6, i64 120, !13, i64 128, !14, i64 132, !12, i64 136, !12, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !12, i64 208, !7, i64 216, !13, i64 224, !14, i64 228, !14, i64 229, !14, i64 230, !7, i64 231, !7, i64 744, !14, i64 778, !14, i64 779, !13, i64 780, !12, i64 784, !12, i64 792, !7, i64 800, !7, i64 808, !7, i64 848, !7, i64 868, !7, i64 873, !7, i64 880, !7, i64 900}
!38 = !{!"_ZTS8ImVectorIP12ImGuiIniDataE", !18, i64 0, !18, i64 8, !6, i64 16}
!39 = !{!"_ZTS8ImVectorI11ImGuiColModE", !18, i64 0, !18, i64 8, !6, i64 16}
!40 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !18, i64 0, !18, i64 8, !6, i64 16}
!41 = !{!"_ZTS8ImVectorIP6ImFontE", !18, i64 0, !18, i64 8, !6, i64 16}
!42 = !{!"_ZTS8ImVectorIP10ImDrawListE", !18, i64 0, !18, i64 8, !6, i64 16}
!43 = !{!"_ZTS18ImGuiTextEditState", !11, i64 0, !7, i64 4, !7, i64 2052, !18, i64 5128, !13, i64 5136, !13, i64 5140, !44, i64 5144, !13, i64 8364, !12, i64 8368, !14, i64 8376, !6, i64 8384, !13, i64 8392}
!44 = !{!"_ZTS17STB_TexteditState", !11, i64 0, !11, i64 4, !11, 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, !13, i64 20, !45, i64 24}
!45 = !{!"_ZTS12StbUndoState", !7, i64 0, !7, i64 1188, !46, i64 3186, !46, i64 3188, !46, i64 3190, !46, i64 3192}
!46 = !{!"short", !7, i64 0}
!47 = !{!14, !14, i64 0}
!48 = !{!36, !11, i64 12432}
!49 = !{!29, !13, i64 44}
!50 = !{!29, !13, i64 8}
!51 = !{!16, !13, i64 0}
!52 = !{!16, !13, i64 12}
!53 = !{!10, !11, i64 12}
!54 = !{!36, !11, i64 3788}
!55 = distinct !{!55, !56}
!56 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass