; LLVM IR from Eukky/TRender :: lib/imgui/imgui.ll (ZN5ImGui8EndFrameEv)

; 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.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, float, i32, i32, i32, %class.ImVector, %class.ImVector, %class.ImVector, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, i32, i8, [3 x i8], i32, float, i32, i32, float, i8, i8, i8, i8, i8, i8, [2 x i8], i32, %struct.ImVec2, ptr, ptr, i32, i32, float, [4 x i8], ptr, %class.ImVector.1, %class.ImVector.2, %class.ImVector.3, %class.ImVector.4, %class.ImVector.4, %struct.ImGuiNextWindowData, i8, [3 x i8], i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, 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, %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, i32, i8, [3 x i8], i32, i32, %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %class.ImVector.13, [8 x i8], %struct.ImGuiTextEditState, %struct.ImFont, i32, i32, %struct.ImVec4, i8, [3 x i8], float, float, %struct.ImVec2, i32, %class.ImVector.14, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %class.ImVector.17, %class.ImVector.18, i8, [7 x i8], ptr, %struct.ImGuiTextBuffer, i32, i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [3 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [21 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, i8, [512 x i8], [17 x i16], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], [5 x float], [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.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, [42 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, %struct.ImVec4, [12 x %struct.ImVec2] }
%class.ImVector = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %class.ImVector.0 }
%class.ImVector.0 = type { i32, i32, ptr }
%class.ImVector.1 = type { i32, i32, ptr }
%class.ImVector.2 = type { i32, i32, ptr }
%class.ImVector.3 = type { i32, i32, ptr }
%class.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNavMoveResult = type <{ i32, [4 x i8], ptr, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %class.ImVector.5] }
%class.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawList = type { %class.ImVector.6, %class.ImVector.7, %class.ImVector.8, i32, ptr, ptr, i32, ptr, ptr, %class.ImVector.9, %class.ImVector.10, %class.ImVector.11, i32, i32, %class.ImVector.12 }
%class.ImVector.6 = type { i32, i32, ptr }
%class.ImVector.7 = type { i32, i32, ptr }
%class.ImVector.8 = type { i32, i32, ptr }
%class.ImVector.9 = type { i32, i32, ptr }
%class.ImVector.10 = type { i32, i32, ptr }
%class.ImVector.11 = type { i32, i32, ptr }
%class.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 }
%class.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiTextEditState = type <{ i32, [4 x i8], %class.ImVector.7, %class.ImVector.14, %class.ImVector.14, i32, i32, i32, float, %"struct.ImGuiStb::STB_TexteditState", float, i8, i8, [6 x i8] }>
%"struct.ImGuiStb::STB_TexteditState" = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImGuiStb::StbUndoState" }
%"struct.ImGuiStb::StbUndoState" = type { [99 x %"struct.ImGuiStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImGuiStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type { float, float, %struct.ImVec2, %class.ImVector.15, %class.ImVector.16, %class.ImVector.7, ptr, float, i16, i16, ptr, ptr, float, float, i8, i32 }
%class.ImVector.15 = type { i32, i32, ptr }
%class.ImVector.16 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%class.ImVector.14 = type { i32, i32, ptr }
%class.ImVector.17 = type { i32, i32, ptr }
%class.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %class.ImVector.14 }
%struct.ImGuiWindow = type { ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImGuiWindowTempData, %class.ImVector.22, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32, float, %struct.ImGuiMenuColumns, %struct.ImGuiStorage, %class.ImVector.23, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i32, i32, i32, i32 }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i8, i8, i32, i32, i32, i32, i8, %struct.ImVec2, %class.ImVector, ptr, i32, i32, i32, float, float, %class.ImVector.20, %class.ImVector.16, %class.ImVector.16, %class.ImVector.21, [6 x i32], float, float, float, ptr }
%class.ImVector.20 = type { i32, i32, ptr }
%class.ImVector.21 = type { i32, i32, ptr }
%class.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiMenuColumns = type { i32, float, float, float, [4 x float], [4 x float] }
%class.ImVector.23 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv = external hidden unnamed_addr constant [23 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [43 x i8], align 1

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

; Function Attrs: 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) #1

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef, ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv() #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindow(ptr noundef) #7

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8EndFrameEv() #9 {
  %1 = alloca ptr, align 8
  %2 = alloca i32, align 4
  %3 = alloca %struct.ImVec2, align 4
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #10
  %11 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %11, ptr %1, align 8, !tbaa !5
  %12 = load ptr, ptr %1, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.ImGuiContext, ptr %12, i32 0, i32 0
  %14 = load i8, ptr %13, align 8, !tbaa !9, !range !54, !noundef !55
  %15 = trunc i8 %14 to i1
  br i1 %15, label %16, label %17

16:                                               ; preds = %0
  br label %19

17:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str.3, i32 noundef 4270, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #11
  unreachable

18:                                               ; No predecessors!
  br label %19

19:                                               ; preds = %18, %16
  %20 = load ptr, ptr %1, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImGuiContext, ptr %20, i32 0, i32 11
  %22 = load i32, ptr %21, align 8, !tbaa !56
  %23 = load ptr, ptr %1, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ImGuiContext, ptr %23, i32 0, i32 10
  %25 = load i32, ptr %24, align 4, !tbaa !57
  %26 = icmp eq i32 %22, %25
  br i1 %26, label %27, label %28

27:                                               ; preds = %19
  store i32 1, ptr %2, align 4
  br label %328

28:                                               ; preds = %19
  %29 = load ptr, ptr %1, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ImGuiContext, ptr %29, i32 0, i32 3
  %31 = getelementptr inbounds %struct.ImGuiIO, ptr %30, i32 0, i32 26
  %32 = load ptr, ptr %31, align 8, !tbaa !58
  %33 = icmp ne ptr %32, null
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  br i1 %33, label %34, label %42

34:                                               ; preds = %28
  %35 = load ptr, ptr %1, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiContext, ptr %35, i32 0, i32 128
  %37 = load ptr, ptr %1, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImGuiContext, ptr %37, i32 0, i32 127
  %39 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %38)
  store <2 x float> %39, ptr %3, align 4
  %40 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %41 = fcmp ogt float %40, 0x3F1A36E2E0000000
  br label %42

42:                                               ; preds = %34, %28
  %43 = phi i1 [ false, %28 ], [ %41, %34 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br i1 %43, label %44, label %63

44:                                               ; preds = %42
  %45 = load ptr, ptr %1, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiContext, ptr %45, i32 0, i32 3
  %47 = getelementptr inbounds %struct.ImGuiIO, ptr %46, i32 0, i32 26
  %48 = load ptr, ptr %47, align 8, !tbaa !58
  %49 = load ptr, ptr %1, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ImGuiContext, ptr %49, i32 0, i32 127
  %51 = getelementptr inbounds %struct.ImVec2, ptr %50, i32 0, i32 0
  %52 = load float, ptr %51, align 8, !tbaa !59
  %53 = fptosi float %52 to i32
  %54 = load ptr, ptr %1, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ImGuiContext, ptr %54, i32 0, i32 127
  %56 = getelementptr inbounds %struct.ImVec2, ptr %55, i32 0, i32 1
  %57 = load float, ptr %56, align 4, !tbaa !60
  %58 = fptosi float %57 to i32
  call void %48(i32 noundef %53, i32 noundef %58)
  %59 = load ptr, ptr %1, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiContext, ptr %59, i32 0, i32 127
  %61 = load ptr, ptr %1, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiContext, ptr %61, i32 0, i32 128
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %62, ptr align 8 %60, i64 8, i1 false), !tbaa.struct !61
  br label %63

63:                                               ; preds = %44, %42
  %64 = load ptr, ptr %1, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImGuiContext, ptr %64, i32 0, i32 15
  %66 = getelementptr inbounds %class.ImVector, ptr %65, i32 0, i32 0
  %67 = load i32, ptr %66, align 8, !tbaa !63
  %68 = icmp eq i32 %67, 1
  br i1 %68, label %69, label %70

69:                                               ; preds = %63
  br label %72

70:                                               ; preds = %63
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str.3, i32 noundef 4282, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #11
  unreachable

71:                                               ; No predecessors!
  br label %72

72:                                               ; preds = %71, %69
  %73 = load ptr, ptr %1, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.ImGuiContext, ptr %73, i32 0, i32 19
  %75 = load ptr, ptr %74, align 8, !tbaa !64
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %89

77:                                               ; preds = %72
  %78 = load ptr, ptr %1, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ImGuiContext, ptr %78, i32 0, i32 19
  %80 = load ptr, ptr %79, align 8, !tbaa !64
  %81 = getelementptr inbounds %struct.ImGuiWindow, ptr %80, i32 0, i32 22
  %82 = load i8, ptr %81, align 4, !tbaa !65, !range !54, !noundef !55
  %83 = trunc i8 %82 to i1
  br i1 %83, label %89, label %84

84:                                               ; preds = %77
  %85 = load ptr, ptr %1, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ImGuiContext, ptr %85, i32 0, i32 19
  %87 = load ptr, ptr %86, align 8, !tbaa !64
  %88 = getelementptr inbounds %struct.ImGuiWindow, ptr %87, i32 0, i32 20
  store i8 0, ptr %88, align 2, !tbaa !73
  br label %89

89:                                               ; preds = %84, %77, %72
  call void @_ZN5ImGui3EndEv()
  %90 = load ptr, ptr %1, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiContext, ptr %90, i32 0, i32 27
  %92 = load i32, ptr %91, align 8, !tbaa !74
  %93 = icmp eq i32 %92, 0
  br i1 %93, label %94, label %247

94:                                               ; preds = %89
  %95 = load ptr, ptr %1, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImGuiContext, ptr %95, i32 0, i32 22
  %97 = load i32, ptr %96, align 8, !tbaa !75
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %99, label %247

99:                                               ; preds = %94
  %100 = load ptr, ptr %1, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiContext, ptr %100, i32 0, i32 55
  %102 = load ptr, ptr %101, align 8, !tbaa !76
  %103 = icmp ne ptr %102, null
  br i1 %103, label %104, label %111

104:                                              ; preds = %99
  %105 = load ptr, ptr %1, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImGuiContext, ptr %105, i32 0, i32 55
  %107 = load ptr, ptr %106, align 8, !tbaa !76
  %108 = getelementptr inbounds %struct.ImGuiWindow, ptr %107, i32 0, i32 26
  %109 = load i8, ptr %108, align 8, !tbaa !77, !range !54, !noundef !55
  %110 = trunc i8 %109 to i1
  br i1 %110, label %246, label %111

111:                                              ; preds = %104, %99
  %112 = load ptr, ptr %1, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiContext, ptr %112, i32 0, i32 3
  %114 = getelementptr inbounds %struct.ImGuiIO, ptr %113, i32 0, i32 56
  %115 = getelementptr inbounds [5 x i8], ptr %114, i64 0, i64 0
  %116 = load i8, ptr %115, align 8, !tbaa !78, !range !54, !noundef !55
  %117 = trunc i8 %116 to i1
  br i1 %117, label %118, label %180

118:                                              ; preds = %111
  %119 = load ptr, ptr %1, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImGuiContext, ptr %119, i32 0, i32 21
  %121 = load ptr, ptr %120, align 8, !tbaa !79
  %122 = icmp ne ptr %121, null
  br i1 %122, label %123, label %169

123:                                              ; preds = %118
  %124 = load ptr, ptr %1, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGuiContext, ptr %124, i32 0, i32 20
  %126 = load ptr, ptr %125, align 8, !tbaa !80
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %126)
  %127 = load ptr, ptr %1, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiContext, ptr %127, i32 0, i32 20
  %129 = load ptr, ptr %128, align 8, !tbaa !80
  %130 = getelementptr inbounds %struct.ImGuiWindow, ptr %129, i32 0, i32 12
  %131 = load i32, ptr %130, align 8, !tbaa !81
  %132 = load ptr, ptr %1, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImGuiContext, ptr %132, i32 0, i32 20
  %134 = load ptr, ptr %133, align 8, !tbaa !80
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %131, ptr noundef %134)
  %135 = load ptr, ptr %1, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImGuiContext, ptr %135, i32 0, i32 76
  store i8 1, ptr %136, align 2, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #10
  %137 = load ptr, ptr %1, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImGuiContext, ptr %137, i32 0, i32 3
  %139 = getelementptr inbounds %struct.ImGuiIO, ptr %138, i32 0, i32 29
  %140 = load ptr, ptr %1, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.ImGuiContext, ptr %140, i32 0, i32 21
  %142 = load ptr, ptr %141, align 8, !tbaa !79
  %143 = getelementptr inbounds %struct.ImGuiWindow, ptr %142, i32 0, i32 3
  %144 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %139, ptr noundef nonnull align 4 dereferenceable(8) %143)
  store <2 x float> %144, ptr %4, align 4
  %145 = load ptr, ptr %1, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiContext, ptr %145, i32 0, i32 38
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %146, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !61
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #10
  %147 = load ptr, ptr %1, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiContext, ptr %147, i32 0, i32 20
  %149 = load ptr, ptr %148, align 8, !tbaa !80
  %150 = getelementptr inbounds %struct.ImGuiWindow, ptr %149, i32 0, i32 2
  %151 = load i32, ptr %150, align 4, !tbaa !83
  %152 = and i32 %151, 4
  %153 = icmp ne i32 %152, 0
  br i1 %153, label %168, label %154

154:                                              ; preds = %123
  %155 = load ptr, ptr %1, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ImGuiContext, ptr %155, i32 0, i32 21
  %157 = load ptr, ptr %156, align 8, !tbaa !79
  %158 = getelementptr inbounds %struct.ImGuiWindow, ptr %157, i32 0, i32 2
  %159 = load i32, ptr %158, align 4, !tbaa !83
  %160 = and i32 %159, 4
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %168, label %162

162:                                              ; preds = %154
  %163 = load ptr, ptr %1, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.ImGuiContext, ptr %163, i32 0, i32 20
  %165 = load ptr, ptr %164, align 8, !tbaa !80
  %166 = load ptr, ptr %1, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.ImGuiContext, ptr %166, i32 0, i32 45
  store ptr %165, ptr %167, align 8, !tbaa !84
  br label %168

168:                                              ; preds = %162, %154, %123
  br label %179

169:                                              ; preds = %118
  %170 = load ptr, ptr %1, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.ImGuiContext, ptr %170, i32 0, i32 55
  %172 = load ptr, ptr %171, align 8, !tbaa !76
  %173 = icmp ne ptr %172, null
  br i1 %173, label %174, label %178

174:                                              ; preds = %169
  %175 = call noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv()
  %176 = icmp eq ptr %175, null
  br i1 %176, label %177, label %178

177:                                              ; preds = %174
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef null)
  br label %178

178:                                              ; preds = %177, %174, %169
  br label %179

179:                                              ; preds = %178, %168
  br label %180

180:                                              ; preds = %179, %111
  %181 = load ptr, ptr %1, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGuiContext, ptr %181, i32 0, i32 3
  %183 = getelementptr inbounds %struct.ImGuiIO, ptr %182, i32 0, i32 56
  %184 = getelementptr inbounds [5 x i8], ptr %183, i64 0, i64 1
  %185 = load i8, ptr %184, align 1, !tbaa !78, !range !54, !noundef !55
  %186 = trunc i8 %185 to i1
  br i1 %186, label %187, label %245

187:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  %188 = call noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv()
  store ptr %188, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #10
  store i8 0, ptr %6, align 1, !tbaa !78
  %189 = load ptr, ptr %5, align 8, !tbaa !5
  %190 = icmp eq ptr %189, null
  br i1 %190, label %191, label %192

191:                                              ; preds = %187
  store i8 1, ptr %6, align 1, !tbaa !78
  br label %192

192:                                              ; preds = %191, %187
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  %193 = load ptr, ptr %1, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiContext, ptr %193, i32 0, i32 13
  %195 = getelementptr inbounds %class.ImVector, ptr %194, i32 0, i32 0
  %196 = load i32, ptr %195, align 8, !tbaa !85
  %197 = sub nsw i32 %196, 1
  store i32 %197, ptr %7, align 4, !tbaa !86
  br label %198

198:                                              ; preds = %230, %192
  %199 = load i32, ptr %7, align 4, !tbaa !86
  %200 = icmp sge i32 %199, 0
  br i1 %200, label %201, label %206

201:                                              ; preds = %198
  %202 = load i8, ptr %6, align 1, !tbaa !78, !range !54, !noundef !55
  %203 = trunc i8 %202 to i1
  %204 = zext i1 %203 to i32
  %205 = icmp eq i32 %204, 0
  br label %206

206:                                              ; preds = %201, %198
  %207 = phi i1 [ false, %198 ], [ %205, %201 ]
  br i1 %207, label %209, label %208

208:                                              ; preds = %206
  store i32 2, ptr %2, align 4
  br label %233

209:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  %210 = load ptr, ptr %1, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.ImGuiContext, ptr %210, i32 0, i32 13
  %212 = load i32, ptr %7, align 4, !tbaa !86
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %211, i32 noundef %212)
  %214 = load ptr, ptr %213, align 8, !tbaa !5
  store ptr %214, ptr %8, align 8, !tbaa !5
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = load ptr, ptr %5, align 8, !tbaa !5
  %217 = icmp eq ptr %215, %216
  br i1 %217, label %218, label %219

218:                                              ; preds = %209
  store i32 2, ptr %2, align 4
  br label %227

219:                                              ; preds = %209
  %220 = load ptr, ptr %8, align 8, !tbaa !5
  %221 = load ptr, ptr %1, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImGuiContext, ptr %221, i32 0, i32 20
  %223 = load ptr, ptr %222, align 8, !tbaa !80
  %224 = icmp eq ptr %220, %223
  br i1 %224, label %225, label %226

225:                                              ; preds = %219
  store i8 1, ptr %6, align 1, !tbaa !78
  br label %226

226:                                              ; preds = %225, %219
  store i32 0, ptr %2, align 4
  br label %227

227:                                              ; preds = %226, %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  %228 = load i32, ptr %2, align 4
  switch i32 %228, label %233 [
    i32 0, label %229
  ]

229:                                              ; preds = %227
  br label %230

230:                                              ; preds = %229
  %231 = load i32, ptr %7, align 4, !tbaa !86
  %232 = add nsw i32 %231, -1
  store i32 %232, ptr %7, align 4, !tbaa !86
  br label %198, !llvm.loop !87

233:                                              ; preds = %227, %208
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #10
  br label %234

234:                                              ; preds = %233
  %235 = load i8, ptr %6, align 1, !tbaa !78, !range !54, !noundef !55
  %236 = trunc i8 %235 to i1
  br i1 %236, label %237, label %241

237:                                              ; preds = %234
  %238 = load ptr, ptr %1, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.ImGuiContext, ptr %238, i32 0, i32 20
  %240 = load ptr, ptr %239, align 8, !tbaa !80
  br label %243

241:                                              ; preds = %234
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  br label %243

243:                                              ; preds = %241, %237
  %244 = phi ptr [ %240, %237 ], [ %242, %241 ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindow(ptr noundef %244)
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  br label %245

245:                                              ; preds = %243, %180
  br label %246

246:                                              ; preds = %245, %104
  br label %247

247:                                              ; preds = %246, %94, %89
  %248 = load ptr, ptr %1, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.ImGuiContext, ptr %248, i32 0, i32 14
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %249, i32 noundef 0)
  %250 = load ptr, ptr %1, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.ImGuiContext, ptr %250, i32 0, i32 14
  %252 = load ptr, ptr %1, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.ImGuiContext, ptr %252, i32 0, i32 13
  %254 = getelementptr inbounds %class.ImVector, ptr %253, i32 0, i32 0
  %255 = load i32, ptr %254, align 8, !tbaa !85
  call void @_ZN8ImVectorIP11ImGuiWindowE7reserveEi(ptr noundef nonnull align 8 dereferenceable(16) %251, i32 noundef %255)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  store i32 0, ptr %9, align 4, !tbaa !86
  br label %256

256:                                              ; preds = %288, %247
  %257 = load i32, ptr %9, align 4, !tbaa !86
  %258 = load ptr, ptr %1, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.ImGuiContext, ptr %258, i32 0, i32 13
  %260 = getelementptr inbounds %class.ImVector, ptr %259, i32 0, i32 0
  %261 = load i32, ptr %260, align 8, !tbaa !85
  %262 = icmp ne i32 %257, %261
  br i1 %262, label %264, label %263

263:                                              ; preds = %256
  store i32 5, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  br label %291

264:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %265 = load ptr, ptr %1, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.ImGuiContext, ptr %265, i32 0, i32 13
  %267 = load i32, ptr %9, align 4, !tbaa !86
  %268 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %266, i32 noundef %267)
  %269 = load ptr, ptr %268, align 8, !tbaa !5
  store ptr %269, ptr %10, align 8, !tbaa !5
  %270 = load ptr, ptr %10, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.ImGuiWindow, ptr %270, i32 0, i32 20
  %272 = load i8, ptr %271, align 2, !tbaa !73, !range !54, !noundef !55
  %273 = trunc i8 %272 to i1
  br i1 %273, label %274, label %281

274:                                              ; preds = %264
  %275 = load ptr, ptr %10, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.ImGuiWindow, ptr %275, i32 0, i32 2
  %277 = load i32, ptr %276, align 4, !tbaa !83
  %278 = and i32 %277, 16777216
  %279 = icmp ne i32 %278, 0
  br i1 %279, label %280, label %281

280:                                              ; preds = %274
  store i32 7, ptr %2, align 4
  br label %285

281:                                              ; preds = %274, %264
  %282 = load ptr, ptr %1, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.ImGuiContext, ptr %282, i32 0, i32 14
  %284 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZL23AddWindowToSortedBufferP8ImVectorIP11ImGuiWindowES1_(ptr noundef %283, ptr noundef %284)
  store i32 0, ptr %2, align 4
  br label %285

285:                                              ; preds = %281, %280
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  %286 = load i32, ptr %2, align 4
  switch i32 %286, label %331 [
    i32 0, label %287
    i32 7, label %288
  ]

287:                                              ; preds = %285
  br label %288

288:                                              ; preds = %287, %285
  %289 = load i32, ptr %9, align 4, !tbaa !86
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %9, align 4, !tbaa !86
  br label %256, !llvm.loop !89

291:                                              ; preds = %263
  %292 = load ptr, ptr %1, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.ImGuiContext, ptr %292, i32 0, i32 13
  %294 = getelementptr inbounds %class.ImVector, ptr %293, i32 0, i32 0
  %295 = load i32, ptr %294, align 8, !tbaa !85
  %296 = load ptr, ptr %1, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.ImGuiContext, ptr %296, i32 0, i32 14
  %298 = getelementptr inbounds %class.ImVector, ptr %297, i32 0, i32 0
  %299 = load i32, ptr %298, align 8, !tbaa !90
  %300 = icmp eq i32 %295, %299
  br i1 %300, label %301, label %302

301:                                              ; preds = %291
  br label %304

302:                                              ; preds = %291
  call void @__assert_fail(ptr noundef @.str.53, ptr noundef @.str.3, i32 noundef 4346, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #11
  unreachable

303:                                              ; No predecessors!
  br label %304

304:                                              ; preds = %303, %301
  %305 = load ptr, ptr %1, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImGuiContext, ptr %305, i32 0, i32 13
  %307 = load ptr, ptr %1, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.ImGuiContext, ptr %307, i32 0, i32 14
  call void @_ZN8ImVectorIP11ImGuiWindowE4swapERS2_(ptr noundef nonnull align 8 dereferenceable(16) %306, ptr noundef nonnull align 8 dereferenceable(16) %308)
  %309 = load ptr, ptr %1, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.ImGuiContext, ptr %309, i32 0, i32 3
  %311 = getelementptr inbounds %struct.ImGuiIO, ptr %310, i32 0, i32 32
  store float 0.000000e+00, ptr %311, align 4, !tbaa !91
  %312 = load ptr, ptr %1, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.ImGuiContext, ptr %312, i32 0, i32 3
  %314 = getelementptr inbounds %struct.ImGuiIO, ptr %313, i32 0, i32 31
  store float 0.000000e+00, ptr %314, align 8, !tbaa !92
  %315 = load ptr, ptr %1, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.ImGuiContext, ptr %315, i32 0, i32 3
  %317 = getelementptr inbounds %struct.ImGuiIO, ptr %316, i32 0, i32 39
  %318 = getelementptr inbounds [17 x i16], ptr %317, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 2 %318, i8 0, i64 34, i1 false)
  %319 = load ptr, ptr %1, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.ImGuiContext, ptr %319, i32 0, i32 3
  %321 = getelementptr inbounds %struct.ImGuiIO, ptr %320, i32 0, i32 40
  %322 = getelementptr inbounds [21 x float], ptr %321, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 8 %322, i8 0, i64 84, i1 false)
  %323 = load ptr, ptr %1, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.ImGuiContext, ptr %323, i32 0, i32 10
  %325 = load i32, ptr %324, align 4, !tbaa !57
  %326 = load ptr, ptr %1, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImGuiContext, ptr %326, i32 0, i32 11
  store i32 %325, ptr %327, align 8, !tbaa !56
  store i32 0, ptr %2, align 4
  br label %328

328:                                              ; preds = %304, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #10
  %329 = load i32, ptr %2, align 4
  switch i32 %329, label %331 [
    i32 0, label %330
    i32 1, label %330
  ]

330:                                              ; preds = %328, %328
  ret void

331:                                              ; preds = %328, %285
  unreachable
}

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23AddWindowToSortedBufferP8ImVectorIP11ImGuiWindowES1_(ptr noundef, ptr noundef) #7

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !16, i64 5408, !6, i64 6232, !15, i64 6240, !15, i64 6244, !17, i64 6248, !15, i64 6384, !13, i64 6388, !13, i64 6392, !13, i64 6396, !19, i64 6400, !19, i64 6416, !19, i64 6432, !20, i64 6448, !13, i64 6464, !6, i64 6472, !6, i64 6480, !6, i64 6488, !13, i64 6496, !11, i64 6500, !13, i64 6504, !15, i64 6508, !13, i64 6512, !13, i64 6516, !15, i64 6520, !11, i64 6524, !11, i64 6525, !11, i64 6526, !11, i64 6527, !11, i64 6528, !11, i64 6529, !13, i64 6532, !14, i64 6536, !6, i64 6544, !6, i64 6552, !22, i64 6560, !13, i64 6564, !15, i64 6568, !6, i64 6576, !23, i64 6584, !24, i64 6600, !25, i64 6616, !26, i64 6632, !26, i64 6648, !27, i64 6664, !11, i64 6776, !13, i64 6780, !6, i64 6784, !13, i64 6792, !13, i64 6796, !13, i64 6800, !13, i64 6804, !13, i64 6808, !13, i64 6812, !13, i64 6816, !13, i64 6820, !22, i64 6824, !28, i64 6828, !13, i64 6844, !6, i64 6848, !15, i64 6856, !15, i64 6860, !11, i64 6864, !13, i64 6868, !13, i64 6872, !11, i64 6876, !11, i64 6877, !11, i64 6878, !11, i64 6879, !11, i64 6880, !11, i64 6881, !11, i64 6882, !13, i64 6884, !28, i64 6888, !11, i64 6904, !11, i64 6905, !13, i64 6908, !29, i64 6912, !13, i64 6916, !13, i64 6920, !13, i64 6924, !30, i64 6928, !30, i64 6976, !30, i64 7024, !31, i64 7072, !32, i64 7120, !15, i64 7152, !33, i64 7160, !13, i64 7328, !11, i64 7332, !13, i64 7336, !13, i64 7340, !41, i64 7344, !28, i64 7408, !13, i64 7424, !13, i64 7428, !15, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !42, i64 7448, !7, i64 7464, !43, i64 7472, !48, i64 11176, !13, i64 11288, !13, i64 11292, !18, i64 11296, !11, i64 11312, !15, i64 11316, !15, i64 11320, !14, i64 11324, !13, i64 11332, !44, i64 11336, !14, i64 11352, !14, i64 11360, !11, i64 11368, !15, i64 11372, !51, i64 11376, !52, i64 11392, !53, i64 11408, !11, i64 11424, !6, i64 11432, !51, i64 11440, !13, i64 11456, !13, i64 11460, !7, i64 11464, !13, i64 11944, !15, i64 11948, !13, i64 11952, !13, i64 11956, !13, i64 11960, !7, i64 11964}
!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 136, !15, i64 140, !6, i64 144, !6, i64 152, !15, i64 160, !11, i64 164, !6, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !14, i64 256, !7, i64 264, !15, i64 272, !15, i64 276, !11, i64 280, !11, i64 281, !11, i64 282, !11, i64 283, !11, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !14, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !14, i64 52, !15, i64 60, !15, i64 64, !14, i64 68, !14, i64 76, !14, i64 84, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !14, i64 116, !14, i64 124, !14, i64 132, !15, i64 140, !11, i64 144, !11, i64 145, !15, i64 148, !7, i64 152}
!17 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !18, i64 24, !7, i64 40}
!18 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!19 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS12ImGuiStorage", !21, i64 0}
!21 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!23 = !{!"_ZTS8ImVectorI11ImGuiColModE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !28, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!30 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!31 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36}
!32 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!33 = !{!"_ZTS10ImDrawList", !34, i64 0, !35, i64 16, !36, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !37, i64 96, !38, i64 112, !39, i64 128, !13, i64 144, !13, i64 148, !40, i64 152}
!34 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_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}
!42 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS18ImGuiTextEditState", !13, i64 0, !35, i64 8, !44, i64 24, !44, i64 40, !13, i64 56, !13, i64 60, !13, i64 64, !15, i64 68, !45, i64 72, !15, i64 3692, !11, i64 3696, !11, i64 3697}
!44 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTSN8ImGuiStb17STB_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, !46, i64 24}
!46 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !47, i64 3582, !47, i64 3584, !13, i64 3588, !13, i64 3592}
!47 = !{!"short", !7, i64 0}
!48 = !{!"_ZTS6ImFont", !15, i64 0, !15, i64 4, !14, i64 8, !49, i64 16, !50, i64 32, !35, i64 48, !6, i64 64, !15, i64 72, !47, i64 76, !47, i64 78, !6, i64 80, !6, i64 88, !15, i64 96, !15, i64 100, !11, i64 104, !13, i64 108}
!49 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS15ImGuiTextBuffer", !44, i64 0}
!52 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{i8 0, i8 2}
!55 = !{}
!56 = !{!10, !13, i64 6392}
!57 = !{!10, !13, i64 6388}
!58 = !{!10, !6, i64 240}
!59 = !{!10, !15, i64 11352}
!60 = !{!10, !15, i64 11356}
!61 = !{i64 0, i64 4, !62, i64 4, i64 4, !62}
!62 = !{!15, !15, i64 0}
!63 = !{!10, !13, i64 6432}
!64 = !{!10, !6, i64 6472}
!65 = !{!66, !11, i64 124}
!66 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !11, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !14, i64 184, !14, i64 192, !67, i64 200, !70, i64 496, !28, i64 512, !28, i64 528, !28, i64 544, !28, i64 560, !28, i64 576, !13, i64 592, !15, i64 596, !71, i64 600, !20, i64 648, !72, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !33, i64 696, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !7, i64 912, !7, i64 920, !13, i64 952, !13, i64 956, !13, i64 960, !13, i64 964, !13, i64 968, !13, i64 972}
!67 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !28, i64 68, !28, i64 84, !11, i64 100, !11, i64 101, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !11, i64 120, !14, i64 124, !19, i64 136, !6, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !15, i64 172, !15, i64 176, !68, i64 184, !50, i64 200, !50, i64 216, !69, i64 232, !7, i64 248, !15, i64 272, !15, i64 276, !15, i64 280, !6, i64 288}
!68 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !7, i64 16, !7, i64 32}
!72 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !13, i64 0, !13, i64 4, !6, i64 8}
!73 = !{!66, !11, i64 122}
!74 = !{!10, !13, i64 6512}
!75 = !{!10, !13, i64 6496}
!76 = !{!10, !6, i64 6784}
!77 = !{!66, !11, i64 128}
!78 = !{!11, !11, i64 0}
!79 = !{!10, !6, i64 6488}
!80 = !{!10, !6, i64 6480}
!81 = !{!66, !13, i64 80}
!82 = !{!10, !11, i64 6878}
!83 = !{!66, !13, i64 12}
!84 = !{!10, !6, i64 6576}
!85 = !{!10, !13, i64 6400}
!86 = !{!13, !13, i64 0}
!87 = distinct !{!87, !88}
!88 = !{!"llvm.loop.mustprogress"}
!89 = distinct !{!89, !88}
!90 = !{!10, !13, i64 6416}
!91 = !{!10, !15, i64 284}
!92 = !{!10, !15, i64 280}


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

%struct.ImVec2 = type { float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv = external hidden unnamed_addr constant [23 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [43 x i8], align 1

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef, ptr noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv() local_unnamed_addr #5

; 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 #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8EndFrameEv() local_unnamed_addr #8 {
  %1 = alloca %struct.ImVec2, align 8
  %2 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %3 = load i8, ptr %2, align 8, !tbaa !9, !range !54, !noundef !55
  %4 = trunc nuw i8 %3 to i1
  br i1 %4, label %6, label %5

5:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.3, i32 noundef 4270, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #9
  unreachable

6:                                                ; preds = %0
  %7 = getelementptr inbounds i8, ptr %2, i64 6392
  %8 = load i32, ptr %7, align 8, !tbaa !56
  %9 = getelementptr inbounds i8, ptr %2, i64 6388
  %10 = load i32, ptr %9, align 4, !tbaa !57
  %11 = icmp eq i32 %8, %10
  br i1 %11, label %145, label %12

12:                                               ; preds = %6
  %13 = getelementptr inbounds i8, ptr %2, i64 240
  %14 = load ptr, ptr %13, align 8, !tbaa !58
  %.not = icmp eq ptr %14, null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #10
  br i1 %.not, label %.critedge, label %15

15:                                               ; preds = %12
  %16 = getelementptr inbounds i8, ptr %2, i64 11360
  %17 = getelementptr inbounds i8, ptr %2, i64 11352
  %18 = tail call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %18, ptr %1, align 8
  %19 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %1)
  %20 = fcmp ogt float %19, 0x3F1A36E2E0000000
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #10
  br i1 %20, label %21, label %29

21:                                               ; preds = %15
  %22 = load ptr, ptr %13, align 8, !tbaa !58
  %23 = load float, ptr %17, align 8, !tbaa !59
  %24 = fptosi float %23 to i32
  %25 = getelementptr inbounds i8, ptr %2, i64 11356
  %26 = load float, ptr %25, align 4, !tbaa !60
  %27 = fptosi float %26 to i32
  call void %22(i32 noundef %24, i32 noundef %27)
  %28 = load i64, ptr %17, align 8
  store i64 %28, ptr %16, align 8
  br label %29

.critedge:                                        ; preds = %12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #10
  br label %29

29:                                               ; preds = %.critedge, %21, %15
  %30 = getelementptr inbounds i8, ptr %2, i64 6432
  %31 = load i32, ptr %30, align 8, !tbaa !61
  %32 = icmp eq i32 %31, 1
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  call void @__assert_fail(ptr noundef nonnull @.str.52, ptr noundef nonnull @.str.3, i32 noundef 4282, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #9
  unreachable

34:                                               ; preds = %29
  %35 = getelementptr inbounds i8, ptr %2, i64 6472
  %36 = load ptr, ptr %35, align 8, !tbaa !62
  %.not77 = icmp eq ptr %36, null
  br i1 %.not77, label %43, label %37

37:                                               ; preds = %34
  %38 = getelementptr inbounds i8, ptr %36, i64 124
  %39 = load i8, ptr %38, align 4, !tbaa !63, !range !54, !noundef !55
  %40 = trunc nuw i8 %39 to i1
  br i1 %40, label %43, label %41

41:                                               ; preds = %37
  %42 = getelementptr inbounds i8, ptr %36, i64 122
  store i8 0, ptr %42, align 2, !tbaa !71
  br label %43

43:                                               ; preds = %41, %37, %34
  call void @_ZN5ImGui3EndEv()
  %44 = getelementptr inbounds i8, ptr %2, i64 6512
  %45 = load i32, ptr %44, align 8, !tbaa !72
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %47, label %120

47:                                               ; preds = %43
  %48 = getelementptr inbounds i8, ptr %2, i64 6496
  %49 = load i32, ptr %48, align 8, !tbaa !73
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %120

51:                                               ; preds = %47
  %52 = getelementptr inbounds i8, ptr %2, i64 6784
  %53 = load ptr, ptr %52, align 8, !tbaa !74
  %.not78 = icmp eq ptr %53, null
  br i1 %.not78, label %58, label %54

54:                                               ; preds = %51
  %55 = getelementptr inbounds i8, ptr %53, i64 128
  %56 = load i8, ptr %55, align 8, !tbaa !75, !range !54, !noundef !55
  %57 = trunc nuw i8 %56 to i1
  br i1 %57, label %120, label %58

58:                                               ; preds = %54, %51
  %59 = getelementptr inbounds i8, ptr %2, i64 1024
  %60 = load i8, ptr %59, align 8, !tbaa !76, !range !54, !noundef !55
  %61 = trunc nuw i8 %60 to i1
  br i1 %61, label %62, label %93

62:                                               ; preds = %58
  %63 = getelementptr inbounds i8, ptr %2, i64 6488
  %64 = load ptr, ptr %63, align 8, !tbaa !77
  %.not79 = icmp eq ptr %64, null
  br i1 %.not79, label %88, label %65

65:                                               ; preds = %62
  %66 = getelementptr inbounds i8, ptr %2, i64 6480
  %67 = load ptr, ptr %66, align 8, !tbaa !78
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %67)
  %68 = load ptr, ptr %66, align 8, !tbaa !78
  %69 = getelementptr inbounds i8, ptr %68, i64 80
  %70 = load i32, ptr %69, align 8, !tbaa !79
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %70, ptr noundef %68)
  %71 = getelementptr inbounds i8, ptr %2, i64 6878
  store i8 1, ptr %71, align 2, !tbaa !80
  %72 = getelementptr inbounds i8, ptr %2, i64 264
  %73 = load ptr, ptr %63, align 8, !tbaa !77
  %74 = getelementptr inbounds i8, ptr %73, i64 16
  %75 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %72, ptr noundef nonnull align 4 dereferenceable(8) %74)
  %76 = getelementptr inbounds i8, ptr %2, i64 6536
  store <2 x float> %75, ptr %76, align 8
  %77 = load ptr, ptr %66, align 8, !tbaa !78
  %78 = getelementptr inbounds i8, ptr %77, i64 12
  %79 = load i32, ptr %78, align 4, !tbaa !81
  %80 = and i32 %79, 4
  %.not81 = icmp eq i32 %80, 0
  br i1 %.not81, label %81, label %93

81:                                               ; preds = %65
  %82 = load ptr, ptr %63, align 8, !tbaa !77
  %83 = getelementptr inbounds i8, ptr %82, i64 12
  %84 = load i32, ptr %83, align 4, !tbaa !81
  %85 = and i32 %84, 4
  %.not82 = icmp eq i32 %85, 0
  br i1 %.not82, label %86, label %93

86:                                               ; preds = %81
  %87 = getelementptr inbounds i8, ptr %2, i64 6576
  store ptr %77, ptr %87, align 8, !tbaa !82
  br label %93

88:                                               ; preds = %62
  br i1 %.not78, label %93, label %89

89:                                               ; preds = %88
  %90 = call noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv()
  %91 = icmp eq ptr %90, null
  br i1 %91, label %92, label %93

92:                                               ; preds = %89
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef null)
  br label %93

93:                                               ; preds = %86, %81, %65, %92, %89, %88, %58
  %94 = getelementptr inbounds i8, ptr %2, i64 1025
  %95 = load i8, ptr %94, align 1, !tbaa !76, !range !54, !noundef !55
  %96 = trunc nuw i8 %95 to i1
  br i1 %96, label %97, label %120

97:                                               ; preds = %93
  %98 = call noundef ptr @_ZN5ImGui22GetFrontMostPopupModalEv()
  %99 = icmp eq ptr %98, null
  %100 = getelementptr inbounds i8, ptr %2, i64 6400
  %101 = load i32, ptr %100, align 8, !tbaa !83
  %102 = icmp slt i32 %101, 1
  %.not97 = or i1 %102, %99
  br i1 %.not97, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %97
  %spec.store.select = zext i1 %99 to i8
  %103 = getelementptr inbounds i8, ptr %2, i64 6480
  br label %104

104:                                              ; preds = %.lr.ph, %107
  %.07289.in = phi i32 [ %101, %.lr.ph ], [ %.07289, %107 ]
  %.07188 = phi i8 [ %spec.store.select, %.lr.ph ], [ %spec.select, %107 ]
  %.07289 = add nsw i32 %.07289.in, -1
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %100, i32 noundef %.07289)
  %106 = load ptr, ptr %105, align 8, !tbaa !5
  %.not83 = icmp eq ptr %106, %98
  br i1 %.not83, label %.thread.loopexit, label %107

107:                                              ; preds = %104
  %108 = load ptr, ptr %103, align 8, !tbaa !78
  %109 = icmp eq ptr %106, %108
  %spec.select = select i1 %109, i8 1, i8 %.07188
  %110 = icmp ugt i32 %.07289.in, 1
  %111 = and i8 %spec.select, 1
  %112 = icmp eq i8 %111, 0
  %113 = select i1 %110, i1 %112, i1 false
  br i1 %113, label %104, label %.thread.loopexit

.thread.loopexit:                                 ; preds = %104, %107
  %.071.lcssa.ph = phi i8 [ %spec.select, %107 ], [ %.07188, %104 ]
  %114 = trunc nuw i8 %.071.lcssa.ph to i1
  br i1 %114, label %115, label %118

.thread:                                          ; preds = %97
  br i1 %99, label %115, label %118

115:                                              ; preds = %.thread.loopexit, %.thread
  %116 = getelementptr inbounds i8, ptr %2, i64 6480
  %117 = load ptr, ptr %116, align 8, !tbaa !78
  br label %118

118:                                              ; preds = %.thread.loopexit, %.thread, %115
  %119 = phi ptr [ %117, %115 ], [ %98, %.thread ], [ %98, %.thread.loopexit ]
  call void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindow(ptr noundef %119)
  br label %120

120:                                              ; preds = %54, %118, %93, %47, %43
  %121 = getelementptr inbounds i8, ptr %2, i64 6416
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %121, i32 noundef 0)
  %122 = getelementptr inbounds i8, ptr %2, i64 6400
  %123 = load i32, ptr %122, align 8, !tbaa !83
  call void @_ZN8ImVectorIP11ImGuiWindowE7reserveEi(ptr noundef nonnull align 8 dereferenceable(16) %121, i32 noundef %123)
  %124 = load i32, ptr %122, align 8, !tbaa !83
  %.not8492 = icmp eq i32 %124, 0
  br i1 %.not8492, label %._crit_edge, label %.lr.ph94

._crit_edge:                                      ; preds = %137, %120
  %.lcssa = phi i32 [ 0, %120 ], [ %138, %137 ]
  %125 = load i32, ptr %121, align 8, !tbaa !84
  %126 = icmp eq i32 %.lcssa, %125
  br i1 %126, label %141, label %140

.lr.ph94:                                         ; preds = %120, %137
  %.07093 = phi i32 [ %138, %137 ], [ 0, %120 ]
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %122, i32 noundef %.07093)
  %128 = load ptr, ptr %127, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %128, i64 122
  %130 = load i8, ptr %129, align 2, !tbaa !71, !range !54, !noundef !55
  %131 = trunc nuw i8 %130 to i1
  br i1 %131, label %132, label %136

132:                                              ; preds = %.lr.ph94
  %133 = getelementptr inbounds i8, ptr %128, i64 12
  %134 = load i32, ptr %133, align 4, !tbaa !81
  %135 = and i32 %134, 16777216
  %.not85 = icmp eq i32 %135, 0
  br i1 %.not85, label %136, label %137

136:                                              ; preds = %132, %.lr.ph94
  call void @_ZL23AddWindowToSortedBufferP8ImVectorIP11ImGuiWindowES1_(ptr noundef nonnull %121, ptr noundef nonnull %128)
  br label %137

137:                                              ; preds = %132, %136
  %138 = add nuw nsw i32 %.07093, 1
  %139 = load i32, ptr %122, align 8, !tbaa !83
  %.not84 = icmp eq i32 %138, %139
  br i1 %.not84, label %._crit_edge, label %.lr.ph94, !llvm.loop !85

140:                                              ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.3, i32 noundef 4346, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8EndFrameEv) #9
  unreachable

141:                                              ; preds = %._crit_edge
  call void @_ZN8ImVectorIP11ImGuiWindowE4swapERS2_(ptr noundef nonnull align 8 dereferenceable(16) %122, ptr noundef nonnull align 8 dereferenceable(16) %121)
  %142 = getelementptr inbounds i8, ptr %2, i64 280
  store <2 x float> zeroinitializer, ptr %142, align 8, !tbaa !87
  %143 = getelementptr inbounds i8, ptr %2, i64 806
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 2 dereferenceable(118) %143, i8 0, i64 118, i1 false)
  %144 = load i32, ptr %9, align 4, !tbaa !57
  store i32 %144, ptr %7, align 8, !tbaa !56
  br label %145

145:                                              ; preds = %6, %141
  ret void
}

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23AddWindowToSortedBufferP8ImVectorIP11ImGuiWindowES1_(ptr noundef, ptr noundef) local_unnamed_addr #6

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #3 = { 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 #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { 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 #7 = { 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 #8 = { 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 #9 = { noreturn nounwind }
attributes #10 = { 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, !11, i64 0}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !16, i64 5408, !6, i64 6232, !15, i64 6240, !15, i64 6244, !17, i64 6248, !15, i64 6384, !13, i64 6388, !13, i64 6392, !13, i64 6396, !19, i64 6400, !19, i64 6416, !19, i64 6432, !20, i64 6448, !13, i64 6464, !6, i64 6472, !6, i64 6480, !6, i64 6488, !13, i64 6496, !11, i64 6500, !13, i64 6504, !15, i64 6508, !13, i64 6512, !13, i64 6516, !15, i64 6520, !11, i64 6524, !11, i64 6525, !11, i64 6526, !11, i64 6527, !11, i64 6528, !11, i64 6529, !13, i64 6532, !14, i64 6536, !6, i64 6544, !6, i64 6552, !22, i64 6560, !13, i64 6564, !15, i64 6568, !6, i64 6576, !23, i64 6584, !24, i64 6600, !25, i64 6616, !26, i64 6632, !26, i64 6648, !27, i64 6664, !11, i64 6776, !13, i64 6780, !6, i64 6784, !13, i64 6792, !13, i64 6796, !13, i64 6800, !13, i64 6804, !13, i64 6808, !13, i64 6812, !13, i64 6816, !13, i64 6820, !22, i64 6824, !28, i64 6828, !13, i64 6844, !6, i64 6848, !15, i64 6856, !15, i64 6860, !11, i64 6864, !13, i64 6868, !13, i64 6872, !11, i64 6876, !11, i64 6877, !11, i64 6878, !11, i64 6879, !11, i64 6880, !11, i64 6881, !11, i64 6882, !13, i64 6884, !28, i64 6888, !11, i64 6904, !11, i64 6905, !13, i64 6908, !29, i64 6912, !13, i64 6916, !13, i64 6920, !13, i64 6924, !30, i64 6928, !30, i64 6976, !30, i64 7024, !31, i64 7072, !32, i64 7120, !15, i64 7152, !33, i64 7160, !13, i64 7328, !11, i64 7332, !13, i64 7336, !13, i64 7340, !41, i64 7344, !28, i64 7408, !13, i64 7424, !13, i64 7428, !15, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !42, i64 7448, !7, i64 7464, !43, i64 7472, !48, i64 11176, !13, i64 11288, !13, i64 11292, !18, i64 11296, !11, i64 11312, !15, i64 11316, !15, i64 11320, !14, i64 11324, !13, i64 11332, !44, i64 11336, !14, i64 11352, !14, i64 11360, !11, i64 11368, !15, i64 11372, !51, i64 11376, !52, i64 11392, !53, i64 11408, !11, i64 11424, !6, i64 11432, !51, i64 11440, !13, i64 11456, !13, i64 11460, !7, i64 11464, !13, i64 11944, !15, i64 11948, !13, i64 11952, !13, i64 11956, !13, i64 11960, !7, i64 11964}
!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 136, !15, i64 140, !6, i64 144, !6, i64 152, !15, i64 160, !11, i64 164, !6, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !14, i64 256, !7, i64 264, !15, i64 272, !15, i64 276, !11, i64 280, !11, i64 281, !11, i64 282, !11, i64 283, !11, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !14, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !14, i64 52, !15, i64 60, !15, i64 64, !14, i64 68, !14, i64 76, !14, i64 84, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !14, i64 116, !14, i64 124, !14, i64 132, !15, i64 140, !11, i64 144, !11, i64 145, !15, i64 148, !7, i64 152}
!17 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !18, i64 24, !7, i64 40}
!18 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!19 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS12ImGuiStorage", !21, i64 0}
!21 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!23 = !{!"_ZTS8ImVectorI11ImGuiColModE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !28, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!30 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!31 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36}
!32 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!33 = !{!"_ZTS10ImDrawList", !34, i64 0, !35, i64 16, !36, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !37, i64 96, !38, i64 112, !39, i64 128, !13, i64 144, !13, i64 148, !40, i64 152}
!34 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_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}
!42 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS18ImGuiTextEditState", !13, i64 0, !35, i64 8, !44, i64 24, !44, i64 40, !13, i64 56, !13, i64 60, !13, i64 64, !15, i64 68, !45, i64 72, !15, i64 3692, !11, i64 3696, !11, i64 3697}
!44 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTSN8ImGuiStb17STB_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, !46, i64 24}
!46 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !47, i64 3582, !47, i64 3584, !13, i64 3588, !13, i64 3592}
!47 = !{!"short", !7, i64 0}
!48 = !{!"_ZTS6ImFont", !15, i64 0, !15, i64 4, !14, i64 8, !49, i64 16, !50, i64 32, !35, i64 48, !6, i64 64, !15, i64 72, !47, i64 76, !47, i64 78, !6, i64 80, !6, i64 88, !15, i64 96, !15, i64 100, !11, i64 104, !13, i64 108}
!49 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS15ImGuiTextBuffer", !44, i64 0}
!52 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{i8 0, i8 2}
!55 = !{}
!56 = !{!10, !13, i64 6392}
!57 = !{!10, !13, i64 6388}
!58 = !{!10, !6, i64 240}
!59 = !{!10, !15, i64 11352}
!60 = !{!10, !15, i64 11356}
!61 = !{!10, !13, i64 6432}
!62 = !{!10, !6, i64 6472}
!63 = !{!64, !11, i64 124}
!64 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !11, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !14, i64 184, !14, i64 192, !65, i64 200, !68, i64 496, !28, i64 512, !28, i64 528, !28, i64 544, !28, i64 560, !28, i64 576, !13, i64 592, !15, i64 596, !69, i64 600, !20, i64 648, !70, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !33, i64 696, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !7, i64 912, !7, i64 920, !13, i64 952, !13, i64 956, !13, i64 960, !13, i64 964, !13, i64 968, !13, i64 972}
!65 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !28, i64 68, !28, i64 84, !11, i64 100, !11, i64 101, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !11, i64 120, !14, i64 124, !19, i64 136, !6, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !15, i64 172, !15, i64 176, !66, i64 184, !50, i64 200, !50, i64 216, !67, i64 232, !7, i64 248, !15, i64 272, !15, i64 276, !15, i64 280, !6, i64 288}
!66 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !7, i64 16, !7, i64 32}
!70 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!64, !11, i64 122}
!72 = !{!10, !13, i64 6512}
!73 = !{!10, !13, i64 6496}
!74 = !{!10, !6, i64 6784}
!75 = !{!64, !11, i64 128}
!76 = !{!11, !11, i64 0}
!77 = !{!10, !6, i64 6488}
!78 = !{!10, !6, i64 6480}
!79 = !{!64, !13, i64 80}
!80 = !{!10, !11, i64 6878}
!81 = !{!64, !13, i64 12}
!82 = !{!10, !6, i64 6576}
!83 = !{!10, !13, i64 6400}
!84 = !{!10, !13, i64 6416}
!85 = distinct !{!85, !86}
!86 = !{!"llvm.loop.mustprogress"}
!87 = !{!15, !15, i64 0}


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