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

; 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.ImGuiContext = type <{ i8, i8, i8, i8, [4 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, [4 x i8], %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i8, [3 x i8], i32, float, float, i32, i32, float, i8, i8, i8, i8, i8, [3 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i8, i8, [6 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, %struct.ImVector.2, %struct.ImVector.3, %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.5, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [3 x i8], i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, i32, i8, i8, [2 x i8], i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %struct.ImVector.13, [8 x i8], ptr, %struct.ImPool, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, [3 x float], %struct.ImVec4, i8, [3 x i8], float, float, float, i32, [4 x i8], %struct.ImVector.17, i32, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, [4 x i8], %struct.ImGuiTextBuffer, %struct.ImVector.20, %struct.ImVector.21, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, [48 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [4 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.1 }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNextItemData = type { i32, float, i8, i32 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ i32, i32, ptr, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.6] }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.7, %struct.ImVector, %struct.ImVector.8, i32, ptr, ptr, i32, i32, ptr, ptr, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImDrawListSplitter }
%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.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.14, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector, %struct.ImVector.17, %struct.ImVector.17, 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.18, float, float, %struct.ImVector, %struct.ImVector.19, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, [2 x i8], float, float, float, i32, i8, [7 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.17 }
%struct.ImFontAtlas = type <{ i8, [3 x i8], i32, ptr, i32, i32, ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.4, %struct.ImVector.28, %struct.ImVector.29, [1 x i32], [4 x i8] }>
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiWindowSettings = type <{ ptr, i32, %struct.ImVec2ih, %struct.ImVec2ih, i8, [3 x i8] }>
%struct.ImVec2ih = type { i16, i16 }

@GImGui = external dso_local global ptr, align 8
@stdout = external global ptr, align 8

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

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

declare i32 @fclose(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9IM_DELETEIcEvPT_(ptr noundef) #2

declare void @_ZN10ImDrawList15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(168)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8ShutdownEP12ImGuiContext(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %8, ptr %3, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.ImGuiContext, ptr %9, i32 0, i32 5
  %11 = getelementptr inbounds %struct.ImGuiIO, ptr %10, i32 0, i32 14
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = icmp ne ptr %12, null
  br i1 %13, label %14, label %29

14:                                               ; preds = %1
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.ImGuiContext, ptr %15, i32 0, i32 3
  %17 = load i8, ptr %16, align 1, !tbaa !64, !range !65, !noundef !66
  %18 = trunc i8 %17 to i1
  br i1 %18, label %19, label %29

19:                                               ; preds = %14
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImGuiContext, ptr %20, i32 0, i32 5
  %22 = getelementptr inbounds %struct.ImGuiIO, ptr %21, i32 0, i32 14
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct.ImFontAtlas, ptr %23, i32 0, i32 0
  store i8 0, ptr %24, align 8, !tbaa !67
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ImGuiContext, ptr %25, i32 0, i32 5
  %27 = getelementptr inbounds %struct.ImGuiIO, ptr %26, i32 0, i32 14
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  call void @_Z9IM_DELETEI11ImFontAtlasEvPT_(ptr noundef %28)
  br label %29

29:                                               ; preds = %19, %14, %1
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImGuiContext, ptr %30, i32 0, i32 5
  %32 = getelementptr inbounds %struct.ImGuiIO, ptr %31, i32 0, i32 14
  store ptr null, ptr %32, align 8, !tbaa !9
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImGuiContext, ptr %33, i32 0, i32 0
  %35 = load i8, ptr %34, align 8, !tbaa !71, !range !65, !noundef !66
  %36 = trunc i8 %35 to i1
  br i1 %36, label %38, label %37

37:                                               ; preds = %29
  store i32 1, ptr %4, align 4
  br label %171

38:                                               ; preds = %29
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImGuiContext, ptr %39, i32 0, i32 165
  %41 = load i8, ptr %40, align 4, !tbaa !72, !range !65, !noundef !66
  %42 = trunc i8 %41 to i1
  br i1 %42, label %43, label %57

43:                                               ; preds = %38
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ImGuiContext, ptr %44, i32 0, i32 5
  %46 = getelementptr inbounds %struct.ImGuiIO, ptr %45, i32 0, i32 5
  %47 = load ptr, ptr %46, align 8, !tbaa !73
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %57

49:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %50 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %50, ptr %5, align 8, !tbaa !5
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN5ImGui17SetCurrentContextEP12ImGuiContext(ptr noundef %51)
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ImGuiContext, ptr %52, i32 0, i32 5
  %54 = getelementptr inbounds %struct.ImGuiIO, ptr %53, i32 0, i32 5
  %55 = load ptr, ptr %54, align 8, !tbaa !73
  call void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef %55)
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui17SetCurrentContextEP12ImGuiContext(ptr noundef %56)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %57

57:                                               ; preds = %49, %43, %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !74
  br label %58

58:                                               ; preds = %72, %57
  %59 = load i32, ptr %6, align 4, !tbaa !74
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiContext, ptr %60, i32 0, i32 16
  %62 = getelementptr inbounds %struct.ImVector.0, ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 8, !tbaa !75
  %64 = icmp slt i32 %59, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %58
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %75

66:                                               ; preds = %58
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiContext, ptr %67, i32 0, i32 16
  %69 = load i32, ptr %6, align 4, !tbaa !74
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %68, i32 noundef %69)
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  call void @_Z9IM_DELETEI11ImGuiWindowEvPT_(ptr noundef %71)
  br label %72

72:                                               ; preds = %66
  %73 = load i32, ptr %6, align 4, !tbaa !74
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %6, align 4, !tbaa !74
  br label %58, !llvm.loop !76

75:                                               ; preds = %65
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiContext, ptr %76, i32 0, i32 16
  call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %77)
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ImGuiContext, ptr %78, i32 0, i32 17
  call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %79)
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImGuiContext, ptr %80, i32 0, i32 18
  call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %81)
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.ImGuiContext, ptr %82, i32 0, i32 23
  store ptr null, ptr %83, align 8, !tbaa !78
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImGuiContext, ptr %84, i32 0, i32 19
  call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %85)
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiContext, ptr %86, i32 0, i32 20
  call void @_ZN12ImGuiStorage5ClearEv(ptr noundef nonnull align 8 dereferenceable(16) %87)
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiContext, ptr %88, i32 0, i32 66
  store ptr null, ptr %89, align 8, !tbaa !79
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiContext, ptr %90, i32 0, i32 25
  store ptr null, ptr %91, align 8, !tbaa !80
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGuiContext, ptr %92, i32 0, i32 24
  store ptr null, ptr %93, align 8, !tbaa !81
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ImGuiContext, ptr %94, i32 0, i32 56
  store ptr null, ptr %95, align 8, !tbaa !82
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 50
  store ptr null, ptr %97, align 8, !tbaa !83
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImGuiContext, ptr %98, i32 0, i32 26
  store ptr null, ptr %99, align 8, !tbaa !84
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiContext, ptr %100, i32 0, i32 61
  call void @_ZN8ImVectorI13ImGuiColorModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %101)
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiContext, ptr %102, i32 0, i32 62
  call void @_ZN8ImVectorI13ImGuiStyleModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %103)
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ImGuiContext, ptr %104, i32 0, i32 63
  call void @_ZN8ImVectorIP6ImFontE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %105)
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImGuiContext, ptr %106, i32 0, i32 64
  call void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %107)
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImGuiContext, ptr %108, i32 0, i32 65
  call void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %109)
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiContext, ptr %110, i32 0, i32 119
  call void @_ZN17ImDrawDataBuilder15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(32) %111)
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiContext, ptr %112, i32 0, i32 122
  call void @_ZN10ImDrawList15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(168) %113)
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiContext, ptr %114, i32 0, i32 123
  call void @_ZN10ImDrawList15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(168) %115)
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImGuiContext, ptr %116, i32 0, i32 143
  call void @_ZN6ImPoolI11ImGuiTabBarE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36) %117)
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiContext, ptr %118, i32 0, i32 144
  call void @_ZN8ImVectorI15ImGuiPtrOrIndexE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %119)
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImGuiContext, ptr %120, i32 0, i32 145
  call void @_ZN8ImVectorI20ImGuiShrinkWidthItemE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %121)
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImGuiContext, ptr %122, i32 0, i32 161
  call void @_ZN8ImVectorIcE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %123)
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGuiContext, ptr %124, i32 0, i32 147
  call void @_ZN19ImGuiInputTextState15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(3728) %125)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !74
  br label %126

126:                                              ; preds = %141, %75
  %127 = load i32, ptr %7, align 4, !tbaa !74
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiContext, ptr %128, i32 0, i32 171
  %130 = getelementptr inbounds %struct.ImVector.21, ptr %129, i32 0, i32 0
  %131 = load i32, ptr %130, align 8, !tbaa !85
  %132 = icmp slt i32 %127, %131
  br i1 %132, label %134, label %133

133:                                              ; preds = %126
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %144

134:                                              ; preds = %126
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImGuiContext, ptr %135, i32 0, i32 171
  %137 = load i32, ptr %7, align 4, !tbaa !74
  %138 = call noundef nonnull align 8 dereferenceable(21) ptr @_ZN8ImVectorI19ImGuiWindowSettingsEixEi(ptr noundef nonnull align 8 dereferenceable(16) %136, i32 noundef %137)
  %139 = getelementptr inbounds %struct.ImGuiWindowSettings, ptr %138, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8, !tbaa !86
  call void @_Z9IM_DELETEIcEvPT_(ptr noundef %140)
  br label %141

141:                                              ; preds = %134
  %142 = load i32, ptr %7, align 4, !tbaa !74
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %7, align 4, !tbaa !74
  br label %126, !llvm.loop !89

144:                                              ; preds = %133
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiContext, ptr %145, i32 0, i32 171
  call void @_ZN8ImVectorI19ImGuiWindowSettingsE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %146)
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiContext, ptr %147, i32 0, i32 170
  call void @_ZN8ImVectorI20ImGuiSettingsHandlerE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %148)
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.ImGuiContext, ptr %149, i32 0, i32 175
  %151 = load ptr, ptr %150, align 8, !tbaa !90
  %152 = icmp ne ptr %151, null
  br i1 %152, label %153, label %166

153:                                              ; preds = %144
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.ImGuiContext, ptr %154, i32 0, i32 175
  %156 = load ptr, ptr %155, align 8, !tbaa !90
  %157 = load ptr, ptr @stdout, align 8, !tbaa !5
  %158 = icmp ne ptr %156, %157
  br i1 %158, label %159, label %166

159:                                              ; preds = %153
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGuiContext, ptr %160, i32 0, i32 175
  %162 = load ptr, ptr %161, align 8, !tbaa !90
  %163 = call i32 @fclose(ptr noundef %162)
  %164 = load ptr, ptr %3, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImGuiContext, ptr %164, i32 0, i32 175
  store ptr null, ptr %165, align 8, !tbaa !90
  br label %166

166:                                              ; preds = %159, %153, %144
  %167 = load ptr, ptr %3, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ImGuiContext, ptr %167, i32 0, i32 176
  call void @_ZN15ImGuiTextBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %168)
  %169 = load ptr, ptr %3, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.ImGuiContext, ptr %169, i32 0, i32 0
  store i8 0, ptr %170, align 8, !tbaa !71
  store i32 0, ptr %4, align 4
  br label %171

171:                                              ; preds = %166, %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  %172 = load i32, ptr %4, align 4
  switch i32 %172, label %174 [
    i32 0, label %173
    i32 1, label %173
  ]

173:                                              ; preds = %171, %171
  ret void

174:                                              ; preds = %171
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9IM_DELETEI11ImFontAtlasEvPT_(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9IM_DELETEI11ImGuiWindowEvPT_(ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI13ImGuiColorModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI13ImGuiStyleModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP6ImFontE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17ImDrawDataBuilder15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPoolI11ImGuiTabBarE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI15ImGuiPtrOrIndexE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI20ImGuiShrinkWidthItemE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIcE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19ImGuiInputTextState15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(3728)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(21) ptr @_ZN8ImVectorI19ImGuiWindowSettingsEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI19ImGuiWindowSettingsE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI20ImGuiSettingsHandlerE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 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 = { 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, !6, i64 168}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !12, i64 8, !17, i64 5464, !6, i64 6408, !15, i64 6416, !15, i64 6420, !18, i64 6424, !20, i64 6568, !13, i64 6576, !13, i64 6580, !13, i64 6584, !21, i64 6592, !21, i64 6608, !21, i64 6624, !21, i64 6640, !22, i64 6656, !13, i64 6672, !6, i64 6680, !6, i64 6688, !6, i64 6696, !6, i64 6704, !6, i64 6712, !14, i64 6720, !15, i64 6728, !13, i64 6732, !11, i64 6736, !13, i64 6740, !15, i64 6744, !15, i64 6748, !13, i64 6752, !13, i64 6756, !15, i64 6760, !11, i64 6764, !11, i64 6765, !11, i64 6766, !11, i64 6767, !11, i64 6768, !13, i64 6772, !13, i64 6776, !24, i64 6784, !14, i64 6792, !6, i64 6800, !25, i64 6808, !13, i64 6812, !11, i64 6816, !11, i64 6817, !6, i64 6824, !13, i64 6832, !15, i64 6836, !26, i64 6840, !28, i64 6944, !29, i64 6960, !30, i64 6976, !31, i64 6992, !32, i64 7008, !32, i64 7024, !6, i64 7040, !13, i64 7048, !13, i64 7052, !13, i64 7056, !13, i64 7060, !13, i64 7064, !13, i64 7068, !13, i64 7072, !13, i64 7076, !13, i64 7080, !25, i64 7084, !27, i64 7088, !13, i64 7104, !6, i64 7112, !6, i64 7120, !6, i64 7128, !15, i64 7136, !15, i64 7140, !11, i64 7144, !33, i64 7148, !13, i64 7152, !11, i64 7156, !11, i64 7157, !11, i64 7158, !11, i64 7159, !11, i64 7160, !11, i64 7161, !11, i64 7162, !13, i64 7164, !27, i64 7168, !11, i64 7184, !11, i64 7185, !13, i64 7188, !34, i64 7192, !13, i64 7196, !13, i64 7200, !13, i64 7204, !35, i64 7208, !35, i64 7256, !35, i64 7304, !6, i64 7352, !6, i64 7360, !13, i64 7368, !13, i64 7372, !13, i64 7376, !13, i64 7380, !11, i64 7384, !36, i64 7392, !37, i64 7448, !15, i64 7480, !38, i64 7488, !38, i64 7656, !13, i64 7824, !11, i64 7828, !11, i64 7829, !13, i64 7832, !13, i64 7836, !13, i64 7840, !46, i64 7848, !27, i64 7912, !13, i64 7928, !13, i64 7932, !15, i64 7936, !13, i64 7940, !13, i64 7944, !13, i64 7948, !47, i64 7952, !7, i64 7968, !6, i64 7976, !48, i64 7984, !50, i64 8024, !51, i64 8040, !14, i64 8056, !52, i64 8064, !57, i64 11792, !13, i64 11912, !13, i64 11916, !15, i64 11920, !7, i64 11924, !19, i64 11936, !11, i64 11952, !15, i64 11956, !15, i64 11960, !15, i64 11964, !13, i64 11968, !53, i64 11976, !13, i64 11992, !14, i64 11996, !14, i64 12004, !11, i64 12012, !15, i64 12016, !60, i64 12024, !61, i64 12040, !62, i64 12056, !11, i64 12072, !63, i64 12076, !6, i64 12080, !60, i64 12088, !15, i64 12104, !11, i64 12108, !13, i64 12112, !13, i64 12116, !13, i64 12120, !11, i64 12124, !13, i64 12128, !7, i64 12132, !13, i64 12612, !15, i64 12616, !13, i64 12620, !13, i64 12624, !13, i64 12628, !7, i64 12632}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !6, i64 152, !6, i64 160, !15, i64 168, !11, i64 172, !6, i64 176, !14, i64 184, !11, i64 192, !11, i64 193, !11, i64 194, !11, i64 195, !11, i64 196, !15, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !14, i64 296, !7, i64 304, !15, i64 312, !15, i64 316, !11, i64 320, !11, i64 321, !11, i64 322, !11, i64 323, !7, i64 324, !7, i64 836, !11, i64 920, !11, i64 921, !11, i64 922, !11, i64 923, !11, i64 924, !11, i64 925, !11, i64 926, !15, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !13, i64 948, !14, i64 952, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !16, i64 5440}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!17 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !13, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !14, i64 56, !15, i64 64, !15, i64 68, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !13, i64 128, !14, i64 132, !14, i64 140, !14, i64 148, !14, i64 156, !15, i64 164, !11, i64 168, !11, i64 169, !15, i64 172, !7, i64 176}
!18 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !19, i64 24, !13, i64 40, !7, i64 44}
!19 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS12ImGuiStorage", !23, i64 0}
!23 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"long long", !7, i64 0}
!25 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!26 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !11, i64 48, !27, i64 52, !6, i64 72, !6, i64 80, !15, i64 88, !14, i64 92}
!27 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!28 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !11, i64 8, !13, i64 12}
!29 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!34 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!35 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !13, i64 4, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !27, i64 28}
!36 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44}
!37 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!38 = !{!"_ZTS10ImDrawList", !39, i64 0, !16, i64 16, !40, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !13, i64 76, !6, i64 80, !6, i64 88, !41, i64 96, !42, i64 112, !43, i64 128, !44, i64 144}
!39 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !45, i64 8}
!45 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!47 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !49, i64 0, !22, i64 16, !13, i64 32}
!49 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !16, i64 16, !53, i64 32, !53, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !54, i64 76, !15, i64 3696, !11, i64 3700, !11, i64 3701, !13, i64 3704, !6, i64 3712, !6, i64 3720}
!53 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, 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, !15, i64 20, !55, i64 24}
!55 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !56, i64 3582, !56, i64 3584, !13, i64 3588, !13, i64 3592}
!56 = !{!"short", !7, i64 0}
!57 = !{!"_ZTS6ImFont", !58, i64 0, !15, i64 16, !15, i64 20, !16, i64 24, !59, i64 40, !6, i64 56, !14, i64 64, !6, i64 72, !6, i64 80, !56, i64 88, !56, i64 90, !56, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !13, i64 108, !11, i64 112}
!58 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS15ImGuiTextBuffer", !53, i64 0}
!61 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!64 = !{!10, !11, i64 3}
!65 = !{i8 0, i8 2}
!66 = !{}
!67 = !{!68, !11, i64 0}
!68 = !{!"_ZTS11ImFontAtlas", !11, i64 0, !13, i64 4, !6, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !14, i64 48, !14, i64 56, !31, i64 64, !69, i64 80, !70, i64 96, !7, i64 112}
!69 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorI12ImFontConfigE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!10, !11, i64 0}
!72 = !{!10, !11, i64 12012}
!73 = !{!10, !6, i64 32}
!74 = !{!13, !13, i64 0}
!75 = !{!10, !13, i64 6592}
!76 = distinct !{!76, !77}
!77 = !{!"llvm.loop.mustprogress"}
!78 = !{!10, !6, i64 6680}
!79 = !{!10, !6, i64 7040}
!80 = !{!10, !6, i64 6696}
!81 = !{!10, !6, i64 6688}
!82 = !{!10, !6, i64 6824}
!83 = !{!10, !6, i64 6800}
!84 = !{!10, !6, i64 6704}
!85 = !{!10, !13, i64 12056}
!86 = !{!87, !6, i64 0}
!87 = !{!"_ZTS19ImGuiWindowSettings", !6, i64 0, !13, i64 8, !88, i64 12, !88, i64 16, !11, i64 20}
!88 = !{!"_ZTS8ImVec2ih", !56, i64 0, !56, i64 2}
!89 = distinct !{!89, !77}
!90 = !{!10, !6, i64 12080}


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@stdout = external local_unnamed_addr global ptr, align 8

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #0

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

declare void @_ZN10ImDrawList15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8ShutdownEP12ImGuiContext(ptr noundef %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 168
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %9, label %4

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 3
  %6 = load i8, ptr %5, align 1, !tbaa !63, !range !64, !noundef !65
  %7 = trunc nuw i8 %6 to i1
  br i1 %7, label %8, label %9

8:                                                ; preds = %4
  store i8 0, ptr %3, align 8, !tbaa !66
  tail call void @_Z9IM_DELETEI11ImFontAtlasEvPT_(ptr noundef nonnull %3)
  br label %9

9:                                                ; preds = %8, %4, %1
  store ptr null, ptr %2, align 8, !tbaa !5
  %10 = load i8, ptr %0, align 8, !tbaa !70, !range !64, !noundef !65
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %12, label %69

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %0, i64 12012
  %14 = load i8, ptr %13, align 4, !tbaa !71, !range !64, !noundef !65
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %16, label %22

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %0, i64 32
  %18 = load ptr, ptr %17, align 8, !tbaa !72
  %.not57 = icmp eq ptr %18, null
  br i1 %.not57, label %22, label %19

19:                                               ; preds = %16
  %20 = load ptr, ptr @GImGui, align 8, !tbaa !73
  tail call void @_ZN5ImGui17SetCurrentContextEP12ImGuiContext(ptr noundef nonnull %0)
  %21 = load ptr, ptr %17, align 8, !tbaa !72
  tail call void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef %21)
  tail call void @_ZN5ImGui17SetCurrentContextEP12ImGuiContext(ptr noundef %20)
  br label %22

22:                                               ; preds = %19, %16, %12
  %23 = getelementptr inbounds i8, ptr %0, i64 6592
  %24 = load i32, ptr %23, align 8, !tbaa !74
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %22
  tail call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  %26 = getelementptr inbounds i8, ptr %0, i64 6608
  tail call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
  %27 = getelementptr inbounds i8, ptr %0, i64 6624
  tail call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
  %28 = getelementptr inbounds i8, ptr %0, i64 6680
  store ptr null, ptr %28, align 8, !tbaa !75
  %29 = getelementptr inbounds i8, ptr %0, i64 6640
  tail call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
  %30 = getelementptr inbounds i8, ptr %0, i64 6656
  tail call void @_ZN12ImGuiStorage5ClearEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
  %31 = getelementptr inbounds i8, ptr %0, i64 7040
  store ptr null, ptr %31, align 8, !tbaa !76
  %32 = getelementptr inbounds i8, ptr %0, i64 6688
  %33 = getelementptr inbounds i8, ptr %0, i64 6824
  store ptr null, ptr %33, align 8, !tbaa !77
  %34 = getelementptr inbounds i8, ptr %0, i64 6800
  store ptr null, ptr %34, align 8, !tbaa !78
  %35 = getelementptr inbounds i8, ptr %0, i64 6960
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %32, i8 0, i64 24, i1 false)
  tail call void @_ZN8ImVectorI13ImGuiColorModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %36 = getelementptr inbounds i8, ptr %0, i64 6976
  tail call void @_ZN8ImVectorI13ImGuiStyleModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %36)
  %37 = getelementptr inbounds i8, ptr %0, i64 6992
  tail call void @_ZN8ImVectorIP6ImFontE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %37)
  %38 = getelementptr inbounds i8, ptr %0, i64 7008
  tail call void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
  %39 = getelementptr inbounds i8, ptr %0, i64 7024
  tail call void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %39)
  %40 = getelementptr inbounds i8, ptr %0, i64 7448
  tail call void @_ZN17ImDrawDataBuilder15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(32) %40)
  %41 = getelementptr inbounds i8, ptr %0, i64 7488
  tail call void @_ZN10ImDrawList15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(168) %41)
  %42 = getelementptr inbounds i8, ptr %0, i64 7656
  tail call void @_ZN10ImDrawList15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(168) %42)
  %43 = getelementptr inbounds i8, ptr %0, i64 7984
  tail call void @_ZN6ImPoolI11ImGuiTabBarE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36) %43)
  %44 = getelementptr inbounds i8, ptr %0, i64 8024
  tail call void @_ZN8ImVectorI15ImGuiPtrOrIndexE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %44)
  %45 = getelementptr inbounds i8, ptr %0, i64 8040
  tail call void @_ZN8ImVectorI20ImGuiShrinkWidthItemE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %45)
  %46 = getelementptr inbounds i8, ptr %0, i64 11976
  tail call void @_ZN8ImVectorIcE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %46)
  %47 = getelementptr inbounds i8, ptr %0, i64 8064
  tail call void @_ZN19ImGuiInputTextState15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(3728) %47)
  %48 = getelementptr inbounds i8, ptr %0, i64 12056
  %49 = load i32, ptr %48, align 8, !tbaa !79
  %50 = icmp sgt i32 %49, 0
  br i1 %50, label %.lr.ph64, label %._crit_edge65

.lr.ph:                                           ; preds = %22, %.lr.ph
  %.05461 = phi i32 [ %53, %.lr.ph ], [ 0, %22 ]
  %51 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %23, i32 noundef %.05461)
  %52 = load ptr, ptr %51, align 8, !tbaa !73
  tail call void @_Z9IM_DELETEI11ImGuiWindowEvPT_(ptr noundef %52)
  %53 = add nuw nsw i32 %.05461, 1
  %54 = load i32, ptr %23, align 8, !tbaa !74
  %55 = icmp slt i32 %53, %54
  br i1 %55, label %.lr.ph, label %._crit_edge, !llvm.loop !80

._crit_edge65:                                    ; preds = %.lr.ph64, %._crit_edge
  tail call void @_ZN8ImVectorI19ImGuiWindowSettingsE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %48)
  %56 = getelementptr inbounds i8, ptr %0, i64 12040
  tail call void @_ZN8ImVectorI20ImGuiSettingsHandlerE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %56)
  %57 = getelementptr inbounds i8, ptr %0, i64 12080
  %58 = load ptr, ptr %57, align 8, !tbaa !82
  %.not58 = icmp eq ptr %58, null
  %59 = load ptr, ptr @stdout, align 8
  %.not59 = icmp eq ptr %58, %59
  %or.cond = select i1 %.not58, i1 true, i1 %.not59
  br i1 %or.cond, label %67, label %65

.lr.ph64:                                         ; preds = %._crit_edge, %.lr.ph64
  %.062 = phi i32 [ %62, %.lr.ph64 ], [ 0, %._crit_edge ]
  %60 = tail call noundef nonnull align 8 dereferenceable(21) ptr @_ZN8ImVectorI19ImGuiWindowSettingsEixEi(ptr noundef nonnull align 8 dereferenceable(16) %48, i32 noundef %.062)
  %61 = load ptr, ptr %60, align 8, !tbaa !83
  tail call void @_Z9IM_DELETEIcEvPT_(ptr noundef %61)
  %62 = add nuw nsw i32 %.062, 1
  %63 = load i32, ptr %48, align 8, !tbaa !79
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %.lr.ph64, label %._crit_edge65, !llvm.loop !86

65:                                               ; preds = %._crit_edge65
  %66 = tail call i32 @fclose(ptr noundef nonnull %58)
  store ptr null, ptr %57, align 8, !tbaa !82
  br label %67

67:                                               ; preds = %65, %._crit_edge65
  %68 = getelementptr inbounds i8, ptr %0, i64 12088
  tail call void @_ZN15ImGuiTextBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %68)
  store i8 0, ptr %0, align 8, !tbaa !70
  br label %69

69:                                               ; preds = %9, %67
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12ImGuiStorage5ClearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI13ImGuiColorModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI13ImGuiStyleModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP6ImFontE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17ImDrawDataBuilder15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPoolI11ImGuiTabBarE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI15ImGuiPtrOrIndexE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI20ImGuiShrinkWidthItemE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIcE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19ImGuiInputTextState15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(3728)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(21) ptr @_ZN8ImVectorI19ImGuiWindowSettingsEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI19ImGuiWindowSettingsE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI20ImGuiSettingsHandlerE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15ImGuiTextBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass