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

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

@_ZL6GImGui = external hidden global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [96 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv = external hidden unnamed_addr constant [23 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL15IsKeyPressedMapib(i32 noundef, i1 noundef zeroext) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK8ImVectorIP11ImGuiWindowE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8NewFrameEv() #6 {
  %1 = alloca ptr, align 8
  %2 = alloca %struct.ImVec2, align 4
  %3 = alloca %struct.ImVec2, align 4
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca i64, align 8
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca i64, align 8
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %struct.ImVec2, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #10
  %25 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  store ptr %25, ptr %1, align 8, !tbaa !5
  %26 = load ptr, ptr %1, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ImGuiState, ptr %26, i32 0, i32 2
  %28 = getelementptr inbounds %struct.ImGuiIO, ptr %27, i32 0, i32 1
  %29 = load float, ptr %28, align 8, !tbaa !9
  %30 = fcmp ogt float %29, 0.000000e+00
  br i1 %30, label %31, label %32

31:                                               ; preds = %0
  br label %34

32:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 1732, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #11
  unreachable

33:                                               ; No predecessors!
  br label %34

34:                                               ; preds = %33, %31
  %35 = load ptr, ptr %1, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiState, ptr %35, i32 0, i32 2
  %37 = getelementptr inbounds %struct.ImGuiIO, ptr %36, i32 0, i32 0
  %38 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %39 = load float, ptr %38, align 8, !tbaa !30
  %40 = fcmp oge float %39, 0.000000e+00
  br i1 %40, label %41, label %48

41:                                               ; preds = %34
  %42 = load ptr, ptr %1, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiState, ptr %42, i32 0, i32 2
  %44 = getelementptr inbounds %struct.ImGuiIO, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds %struct.ImVec2, ptr %44, i32 0, i32 1
  %46 = load float, ptr %45, align 4, !tbaa !31
  %47 = fcmp oge float %46, 0.000000e+00
  br label %48

48:                                               ; preds = %41, %34
  %49 = phi i1 [ false, %34 ], [ %47, %41 ]
  br i1 %49, label %50, label %51

50:                                               ; preds = %48
  br label %53

51:                                               ; preds = %48
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.10, i32 noundef 1733, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #11
  unreachable

52:                                               ; No predecessors!
  br label %53

53:                                               ; preds = %52, %50
  %54 = load ptr, ptr %1, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ImGuiState, ptr %54, i32 0, i32 2
  %56 = getelementptr inbounds %struct.ImGuiIO, ptr %55, i32 0, i32 16
  %57 = load ptr, ptr %56, align 8, !tbaa !32
  %58 = icmp ne ptr %57, null
  br i1 %58, label %59, label %60

59:                                               ; preds = %53
  br label %62

60:                                               ; preds = %53
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.10, i32 noundef 1734, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #11
  unreachable

61:                                               ; No predecessors!
  br label %62

62:                                               ; preds = %61, %59
  %63 = load ptr, ptr %1, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGuiState, ptr %63, i32 0, i32 2
  %65 = getelementptr inbounds %struct.ImGuiIO, ptr %64, i32 0, i32 10
  %66 = load ptr, ptr %65, align 8, !tbaa !33
  %67 = getelementptr inbounds %struct.ImFontAtlas, ptr %66, i32 0, i32 7
  %68 = call noundef i64 @_ZNK8ImVectorIP6ImFontE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %67)
  %69 = icmp ugt i64 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %62
  br label %73

71:                                               ; preds = %62
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.10, i32 noundef 1735, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #11
  unreachable

72:                                               ; No predecessors!
  br label %73

73:                                               ; preds = %72, %70
  %74 = load ptr, ptr %1, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGuiState, ptr %74, i32 0, i32 2
  %76 = getelementptr inbounds %struct.ImGuiIO, ptr %75, i32 0, i32 10
  %77 = load ptr, ptr %76, align 8, !tbaa !33
  %78 = getelementptr inbounds %struct.ImFontAtlas, ptr %77, i32 0, i32 7
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP6ImFontEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef 0)
  %80 = load ptr, ptr %79, align 8, !tbaa !5
  %81 = call noundef zeroext i1 @_ZNK6ImFont8IsLoadedEv(ptr noundef nonnull align 8 dereferenceable(120) %80)
  br i1 %81, label %82, label %83

82:                                               ; preds = %73
  br label %85

83:                                               ; preds = %73
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.10, i32 noundef 1736, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #11
  unreachable

84:                                               ; No predecessors!
  br label %85

85:                                               ; preds = %84, %82
  %86 = load ptr, ptr %1, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiState, ptr %86, i32 0, i32 0
  %88 = load i8, ptr %87, align 8, !tbaa !34, !range !35, !noundef !36
  %89 = trunc i8 %88 to i1
  br i1 %89, label %106, label %90

90:                                               ; preds = %85
  %91 = call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef 24)
  %92 = load ptr, ptr %1, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGuiState, ptr %92, i32 0, i32 46
  store ptr %91, ptr %93, align 8, !tbaa !37
  %94 = load ptr, ptr %1, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ImGuiState, ptr %94, i32 0, i32 46
  %96 = load ptr, ptr %95, align 8, !tbaa !37
  call void @_ZN15ImGuiTextBufferC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %96)
  %97 = load ptr, ptr %1, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ImGuiState, ptr %97, i32 0, i32 23
  %99 = call noundef zeroext i1 @_ZNK8ImVectorIP12ImGuiIniDataE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %98)
  br i1 %99, label %100, label %101

100:                                              ; preds = %90
  br label %103

101:                                              ; preds = %90
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.10, i32 noundef 1744, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #11
  unreachable

102:                                              ; No predecessors!
  br label %103

103:                                              ; preds = %102, %100
  call void @_ZL12LoadSettingsv()
  %104 = load ptr, ptr %1, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ImGuiState, ptr %104, i32 0, i32 0
  store i8 1, ptr %105, align 8, !tbaa !34
  br label %106

106:                                              ; preds = %103, %85
  %107 = load ptr, ptr %1, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.ImGuiState, ptr %107, i32 0, i32 2
  %109 = getelementptr inbounds %struct.ImGuiIO, ptr %108, i32 0, i32 10
  %110 = load ptr, ptr %109, align 8, !tbaa !33
  %111 = getelementptr inbounds %struct.ImFontAtlas, ptr %110, i32 0, i32 7
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP6ImFontEixEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef 0)
  %113 = load ptr, ptr %112, align 8, !tbaa !5
  call void @_ZL7SetFontP6ImFont(ptr noundef %113)
  %114 = load ptr, ptr %1, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiState, ptr %114, i32 0, i32 2
  %116 = getelementptr inbounds %struct.ImGuiIO, ptr %115, i32 0, i32 1
  %117 = load float, ptr %116, align 8, !tbaa !9
  %118 = load ptr, ptr %1, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiState, ptr %118, i32 0, i32 7
  %120 = load float, ptr %119, align 4, !tbaa !38
  %121 = fadd float %120, %117
  store float %121, ptr %119, align 4, !tbaa !38
  %122 = load ptr, ptr %1, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImGuiState, ptr %122, i32 0, i32 8
  %124 = load i32, ptr %123, align 8, !tbaa !39
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %123, align 8, !tbaa !39
  %126 = load ptr, ptr %1, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ImGuiState, ptr %126, i32 0, i32 42
  %128 = getelementptr inbounds [1024 x i8], ptr %127, i64 0, i64 0
  store i8 0, ptr %128, align 4, !tbaa !40
  %129 = load ptr, ptr %1, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiState, ptr %129, i32 0, i32 2
  %131 = getelementptr inbounds %struct.ImGuiIO, ptr %130, i32 0, i32 23
  %132 = getelementptr inbounds %struct.ImVec2, ptr %131, i32 0, i32 0
  %133 = load float, ptr %132, align 8, !tbaa !41
  %134 = fcmp olt float %133, 0.000000e+00
  br i1 %134, label %135, label %146

135:                                              ; preds = %106
  %136 = load ptr, ptr %1, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiState, ptr %136, i32 0, i32 2
  %138 = getelementptr inbounds %struct.ImGuiIO, ptr %137, i32 0, i32 23
  %139 = getelementptr inbounds %struct.ImVec2, ptr %138, i32 0, i32 1
  %140 = load float, ptr %139, align 4, !tbaa !42
  %141 = fcmp olt float %140, 0.000000e+00
  br i1 %141, label %142, label %146

142:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef -9.999000e+03, float noundef -9.999000e+03)
  %143 = load ptr, ptr %1, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ImGuiState, ptr %143, i32 0, i32 2
  %145 = getelementptr inbounds %struct.ImGuiIO, ptr %144, i32 0, i32 23
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %145, ptr align 4 %2, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #10
  br label %146

146:                                              ; preds = %142, %135, %106
  %147 = load ptr, ptr %1, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiState, ptr %147, i32 0, i32 2
  %149 = getelementptr inbounds %struct.ImGuiIO, ptr %148, i32 0, i32 23
  %150 = getelementptr inbounds %struct.ImVec2, ptr %149, i32 0, i32 0
  %151 = load float, ptr %150, align 8, !tbaa !41
  %152 = fcmp olt float %151, 0.000000e+00
  br i1 %152, label %153, label %160

153:                                              ; preds = %146
  %154 = load ptr, ptr %1, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.ImGuiState, ptr %154, i32 0, i32 2
  %156 = getelementptr inbounds %struct.ImGuiIO, ptr %155, i32 0, i32 23
  %157 = getelementptr inbounds %struct.ImVec2, ptr %156, i32 0, i32 1
  %158 = load float, ptr %157, align 4, !tbaa !42
  %159 = fcmp olt float %158, 0.000000e+00
  br i1 %159, label %174, label %160

160:                                              ; preds = %153, %146
  %161 = load ptr, ptr %1, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.ImGuiState, ptr %161, i32 0, i32 2
  %163 = getelementptr inbounds %struct.ImGuiIO, ptr %162, i32 0, i32 36
  %164 = getelementptr inbounds %struct.ImVec2, ptr %163, i32 0, i32 0
  %165 = load float, ptr %164, align 8, !tbaa !45
  %166 = fcmp olt float %165, 0.000000e+00
  br i1 %166, label %167, label %178

167:                                              ; preds = %160
  %168 = load ptr, ptr %1, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ImGuiState, ptr %168, i32 0, i32 2
  %170 = getelementptr inbounds %struct.ImGuiIO, ptr %169, i32 0, i32 36
  %171 = getelementptr inbounds %struct.ImVec2, ptr %170, i32 0, i32 1
  %172 = load float, ptr %171, align 4, !tbaa !46
  %173 = fcmp olt float %172, 0.000000e+00
  br i1 %173, label %174, label %178

174:                                              ; preds = %167, %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %175 = load ptr, ptr %1, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.ImGuiState, ptr %175, i32 0, i32 2
  %177 = getelementptr inbounds %struct.ImGuiIO, ptr %176, i32 0, i32 37
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %177, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  br label %189

178:                                              ; preds = %167, %160
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #10
  %179 = load ptr, ptr %1, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGuiState, ptr %179, i32 0, i32 2
  %181 = getelementptr inbounds %struct.ImGuiIO, ptr %180, i32 0, i32 23
  %182 = load ptr, ptr %1, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.ImGuiState, ptr %182, i32 0, i32 2
  %184 = getelementptr inbounds %struct.ImGuiIO, ptr %183, i32 0, i32 36
  %185 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %181, ptr noundef nonnull align 4 dereferenceable(8) %184)
  store <2 x float> %185, ptr %4, align 4
  %186 = load ptr, ptr %1, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImGuiState, ptr %186, i32 0, i32 2
  %188 = getelementptr inbounds %struct.ImGuiIO, ptr %187, i32 0, i32 37
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %188, ptr align 4 %4, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #10
  br label %189

189:                                              ; preds = %178, %174
  %190 = load ptr, ptr %1, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImGuiState, ptr %190, i32 0, i32 2
  %192 = getelementptr inbounds %struct.ImGuiIO, ptr %191, i32 0, i32 23
  %193 = load ptr, ptr %1, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiState, ptr %193, i32 0, i32 2
  %195 = getelementptr inbounds %struct.ImGuiIO, ptr %194, i32 0, i32 36
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %195, ptr align 8 %192, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  store i64 0, ptr %5, align 8, !tbaa !47
  br label %196

196:                                              ; preds = %332, %189
  %197 = load i64, ptr %5, align 8, !tbaa !47
  %198 = icmp ult i64 %197, 5
  br i1 %198, label %200, label %199

199:                                              ; preds = %196
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  br label %335

200:                                              ; preds = %196
  %201 = load ptr, ptr %1, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImGuiState, ptr %201, i32 0, i32 2
  %203 = getelementptr inbounds %struct.ImGuiIO, ptr %202, i32 0, i32 24
  %204 = load i64, ptr %5, align 8, !tbaa !47
  %205 = getelementptr inbounds [5 x i8], ptr %203, i64 0, i64 %204
  %206 = load i8, ptr %205, align 1, !tbaa !48, !range !35, !noundef !36
  %207 = trunc i8 %206 to i1
  br i1 %207, label %208, label %231

208:                                              ; preds = %200
  %209 = load ptr, ptr %1, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImGuiState, ptr %209, i32 0, i32 2
  %211 = getelementptr inbounds %struct.ImGuiIO, ptr %210, i32 0, i32 45
  %212 = load i64, ptr %5, align 8, !tbaa !47
  %213 = getelementptr inbounds [5 x float], ptr %211, i64 0, i64 %212
  %214 = load float, ptr %213, align 4, !tbaa !44
  %215 = fcmp olt float %214, 0.000000e+00
  br i1 %215, label %216, label %217

216:                                              ; preds = %208
  br label %229

217:                                              ; preds = %208
  %218 = load ptr, ptr %1, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.ImGuiState, ptr %218, i32 0, i32 2
  %220 = getelementptr inbounds %struct.ImGuiIO, ptr %219, i32 0, i32 45
  %221 = load i64, ptr %5, align 8, !tbaa !47
  %222 = getelementptr inbounds [5 x float], ptr %220, i64 0, i64 %221
  %223 = load float, ptr %222, align 4, !tbaa !44
  %224 = load ptr, ptr %1, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.ImGuiState, ptr %224, i32 0, i32 2
  %226 = getelementptr inbounds %struct.ImGuiIO, ptr %225, i32 0, i32 1
  %227 = load float, ptr %226, align 8, !tbaa !9
  %228 = fadd float %223, %227
  br label %229

229:                                              ; preds = %217, %216
  %230 = phi float [ 0.000000e+00, %216 ], [ %228, %217 ]
  br label %232

231:                                              ; preds = %200
  br label %232

232:                                              ; preds = %231, %229
  %233 = phi float [ %230, %229 ], [ -1.000000e+00, %231 ]
  %234 = load ptr, ptr %1, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.ImGuiState, ptr %234, i32 0, i32 2
  %236 = getelementptr inbounds %struct.ImGuiIO, ptr %235, i32 0, i32 45
  %237 = load i64, ptr %5, align 8, !tbaa !47
  %238 = getelementptr inbounds [5 x float], ptr %236, i64 0, i64 %237
  store float %233, ptr %238, align 4, !tbaa !44
  %239 = load ptr, ptr %1, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.ImGuiState, ptr %239, i32 0, i32 2
  %241 = getelementptr inbounds %struct.ImGuiIO, ptr %240, i32 0, i32 45
  %242 = load i64, ptr %5, align 8, !tbaa !47
  %243 = getelementptr inbounds [5 x float], ptr %241, i64 0, i64 %242
  %244 = load float, ptr %243, align 4, !tbaa !44
  %245 = fcmp oeq float %244, 0.000000e+00
  %246 = load ptr, ptr %1, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.ImGuiState, ptr %246, i32 0, i32 2
  %248 = getelementptr inbounds %struct.ImGuiIO, ptr %247, i32 0, i32 38
  %249 = load i64, ptr %5, align 8, !tbaa !47
  %250 = getelementptr inbounds [5 x i8], ptr %248, i64 0, i64 %249
  %251 = zext i1 %245 to i8
  store i8 %251, ptr %250, align 1, !tbaa !48
  %252 = load ptr, ptr %1, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.ImGuiState, ptr %252, i32 0, i32 2
  %254 = getelementptr inbounds %struct.ImGuiIO, ptr %253, i32 0, i32 42
  %255 = load i64, ptr %5, align 8, !tbaa !47
  %256 = getelementptr inbounds [5 x i8], ptr %254, i64 0, i64 %255
  store i8 0, ptr %256, align 1, !tbaa !48
  %257 = load ptr, ptr %1, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.ImGuiState, ptr %257, i32 0, i32 2
  %259 = getelementptr inbounds %struct.ImGuiIO, ptr %258, i32 0, i32 38
  %260 = load i64, ptr %5, align 8, !tbaa !47
  %261 = getelementptr inbounds [5 x i8], ptr %259, i64 0, i64 %260
  %262 = load i8, ptr %261, align 1, !tbaa !48, !range !35, !noundef !36
  %263 = trunc i8 %262 to i1
  br i1 %263, label %264, label %331

264:                                              ; preds = %232
  %265 = load ptr, ptr %1, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.ImGuiState, ptr %265, i32 0, i32 7
  %267 = load float, ptr %266, align 4, !tbaa !38
  %268 = load ptr, ptr %1, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.ImGuiState, ptr %268, i32 0, i32 2
  %270 = getelementptr inbounds %struct.ImGuiIO, ptr %269, i32 0, i32 41
  %271 = load i64, ptr %5, align 8, !tbaa !47
  %272 = getelementptr inbounds [5 x float], ptr %270, i64 0, i64 %271
  %273 = load float, ptr %272, align 4, !tbaa !44
  %274 = fsub float %267, %273
  %275 = load ptr, ptr %1, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.ImGuiState, ptr %275, i32 0, i32 2
  %277 = getelementptr inbounds %struct.ImGuiIO, ptr %276, i32 0, i32 5
  %278 = load float, ptr %277, align 8, !tbaa !49
  %279 = fcmp olt float %274, %278
  br i1 %279, label %280, label %313

280:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  %281 = load ptr, ptr %1, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.ImGuiState, ptr %281, i32 0, i32 2
  %283 = getelementptr inbounds %struct.ImGuiIO, ptr %282, i32 0, i32 23
  %284 = load ptr, ptr %1, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.ImGuiState, ptr %284, i32 0, i32 2
  %286 = getelementptr inbounds %struct.ImGuiIO, ptr %285, i32 0, i32 40
  %287 = load i64, ptr %5, align 8, !tbaa !47
  %288 = getelementptr inbounds [5 x %struct.ImVec2], ptr %286, i64 0, i64 %287
  %289 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %283, ptr noundef nonnull align 4 dereferenceable(8) %288)
  store <2 x float> %289, ptr %6, align 4
  %290 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %6)
  %291 = load ptr, ptr %1, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.ImGuiState, ptr %291, i32 0, i32 2
  %293 = getelementptr inbounds %struct.ImGuiIO, ptr %292, i32 0, i32 6
  %294 = load float, ptr %293, align 4, !tbaa !50
  %295 = load ptr, ptr %1, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.ImGuiState, ptr %295, i32 0, i32 2
  %297 = getelementptr inbounds %struct.ImGuiIO, ptr %296, i32 0, i32 6
  %298 = load float, ptr %297, align 4, !tbaa !50
  %299 = fmul float %294, %298
  %300 = fcmp olt float %290, %299
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  br i1 %300, label %301, label %307

301:                                              ; preds = %280
  %302 = load ptr, ptr %1, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.ImGuiState, ptr %302, i32 0, i32 2
  %304 = getelementptr inbounds %struct.ImGuiIO, ptr %303, i32 0, i32 42
  %305 = load i64, ptr %5, align 8, !tbaa !47
  %306 = getelementptr inbounds [5 x i8], ptr %304, i64 0, i64 %305
  store i8 1, ptr %306, align 1, !tbaa !48
  br label %307

307:                                              ; preds = %301, %280
  %308 = load ptr, ptr %1, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.ImGuiState, ptr %308, i32 0, i32 2
  %310 = getelementptr inbounds %struct.ImGuiIO, ptr %309, i32 0, i32 41
  %311 = load i64, ptr %5, align 8, !tbaa !47
  %312 = getelementptr inbounds [5 x float], ptr %310, i64 0, i64 %311
  store float 0xC7EFFFFFE0000000, ptr %312, align 4, !tbaa !44
  br label %330

313:                                              ; preds = %264
  %314 = load ptr, ptr %1, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiState, ptr %314, i32 0, i32 7
  %316 = load float, ptr %315, align 4, !tbaa !38
  %317 = load ptr, ptr %1, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.ImGuiState, ptr %317, i32 0, i32 2
  %319 = getelementptr inbounds %struct.ImGuiIO, ptr %318, i32 0, i32 41
  %320 = load i64, ptr %5, align 8, !tbaa !47
  %321 = getelementptr inbounds [5 x float], ptr %319, i64 0, i64 %320
  store float %316, ptr %321, align 4, !tbaa !44
  %322 = load ptr, ptr %1, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.ImGuiState, ptr %322, i32 0, i32 2
  %324 = getelementptr inbounds %struct.ImGuiIO, ptr %323, i32 0, i32 23
  %325 = load ptr, ptr %1, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.ImGuiState, ptr %325, i32 0, i32 2
  %327 = getelementptr inbounds %struct.ImGuiIO, ptr %326, i32 0, i32 40
  %328 = load i64, ptr %5, align 8, !tbaa !47
  %329 = getelementptr inbounds [5 x %struct.ImVec2], ptr %327, i64 0, i64 %328
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %329, ptr align 8 %324, i64 8, i1 false), !tbaa.struct !43
  br label %330

330:                                              ; preds = %313, %307
  br label %331

331:                                              ; preds = %330, %232
  br label %332

332:                                              ; preds = %331
  %333 = load i64, ptr %5, align 8, !tbaa !47
  %334 = add i64 %333, 1
  store i64 %334, ptr %5, align 8, !tbaa !47
  br label %196, !llvm.loop !51

335:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  store i64 0, ptr %7, align 8, !tbaa !47
  br label %336

336:                                              ; preds = %379, %335
  %337 = load i64, ptr %7, align 8, !tbaa !47
  %338 = icmp ult i64 %337, 512
  br i1 %338, label %340, label %339

339:                                              ; preds = %336
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  br label %382

340:                                              ; preds = %336
  %341 = load ptr, ptr %1, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.ImGuiState, ptr %341, i32 0, i32 2
  %343 = getelementptr inbounds %struct.ImGuiIO, ptr %342, i32 0, i32 30
  %344 = load i64, ptr %7, align 8, !tbaa !47
  %345 = getelementptr inbounds [512 x i8], ptr %343, i64 0, i64 %344
  %346 = load i8, ptr %345, align 1, !tbaa !48, !range !35, !noundef !36
  %347 = trunc i8 %346 to i1
  br i1 %347, label %348, label %371

348:                                              ; preds = %340
  %349 = load ptr, ptr %1, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.ImGuiState, ptr %349, i32 0, i32 2
  %351 = getelementptr inbounds %struct.ImGuiIO, ptr %350, i32 0, i32 46
  %352 = load i64, ptr %7, align 8, !tbaa !47
  %353 = getelementptr inbounds [512 x float], ptr %351, i64 0, i64 %352
  %354 = load float, ptr %353, align 4, !tbaa !44
  %355 = fcmp olt float %354, 0.000000e+00
  br i1 %355, label %356, label %357

356:                                              ; preds = %348
  br label %369

357:                                              ; preds = %348
  %358 = load ptr, ptr %1, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.ImGuiState, ptr %358, i32 0, i32 2
  %360 = getelementptr inbounds %struct.ImGuiIO, ptr %359, i32 0, i32 46
  %361 = load i64, ptr %7, align 8, !tbaa !47
  %362 = getelementptr inbounds [512 x float], ptr %360, i64 0, i64 %361
  %363 = load float, ptr %362, align 4, !tbaa !44
  %364 = load ptr, ptr %1, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.ImGuiState, ptr %364, i32 0, i32 2
  %366 = getelementptr inbounds %struct.ImGuiIO, ptr %365, i32 0, i32 1
  %367 = load float, ptr %366, align 8, !tbaa !9
  %368 = fadd float %363, %367
  br label %369

369:                                              ; preds = %357, %356
  %370 = phi float [ 0.000000e+00, %356 ], [ %368, %357 ]
  br label %372

371:                                              ; preds = %340
  br label %372

372:                                              ; preds = %371, %369
  %373 = phi float [ %370, %369 ], [ -1.000000e+00, %371 ]
  %374 = load ptr, ptr %1, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.ImGuiState, ptr %374, i32 0, i32 2
  %376 = getelementptr inbounds %struct.ImGuiIO, ptr %375, i32 0, i32 46
  %377 = load i64, ptr %7, align 8, !tbaa !47
  %378 = getelementptr inbounds [512 x float], ptr %376, i64 0, i64 %377
  store float %373, ptr %378, align 4, !tbaa !44
  br label %379

379:                                              ; preds = %372
  %380 = load i64, ptr %7, align 8, !tbaa !47
  %381 = add i64 %380, 1
  store i64 %381, ptr %7, align 8, !tbaa !47
  br label %336, !llvm.loop !53

382:                                              ; preds = %339
  %383 = load ptr, ptr %1, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.ImGuiState, ptr %383, i32 0, i32 2
  %385 = getelementptr inbounds %struct.ImGuiIO, ptr %384, i32 0, i32 1
  %386 = load float, ptr %385, align 8, !tbaa !9
  %387 = load ptr, ptr %1, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.ImGuiState, ptr %387, i32 0, i32 49
  %389 = load ptr, ptr %1, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.ImGuiState, ptr %389, i32 0, i32 50
  %391 = load i32, ptr %390, align 8, !tbaa !54
  %392 = sext i32 %391 to i64
  %393 = getelementptr inbounds [120 x float], ptr %388, i64 0, i64 %392
  %394 = load float, ptr %393, align 4, !tbaa !44
  %395 = fsub float %386, %394
  %396 = load ptr, ptr %1, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.ImGuiState, ptr %396, i32 0, i32 51
  %398 = load float, ptr %397, align 4, !tbaa !55
  %399 = fadd float %398, %395
  store float %399, ptr %397, align 4, !tbaa !55
  %400 = load ptr, ptr %1, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.ImGuiState, ptr %400, i32 0, i32 2
  %402 = getelementptr inbounds %struct.ImGuiIO, ptr %401, i32 0, i32 1
  %403 = load float, ptr %402, align 8, !tbaa !9
  %404 = load ptr, ptr %1, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.ImGuiState, ptr %404, i32 0, i32 49
  %406 = load ptr, ptr %1, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.ImGuiState, ptr %406, i32 0, i32 50
  %408 = load i32, ptr %407, align 8, !tbaa !54
  %409 = sext i32 %408 to i64
  %410 = getelementptr inbounds [120 x float], ptr %405, i64 0, i64 %409
  store float %403, ptr %410, align 4, !tbaa !44
  %411 = load ptr, ptr %1, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.ImGuiState, ptr %411, i32 0, i32 50
  %413 = load i32, ptr %412, align 8, !tbaa !54
  %414 = add nsw i32 %413, 1
  %415 = srem i32 %414, 120
  %416 = load ptr, ptr %1, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.ImGuiState, ptr %416, i32 0, i32 50
  store i32 %415, ptr %417, align 8, !tbaa !54
  %418 = load ptr, ptr %1, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.ImGuiState, ptr %418, i32 0, i32 51
  %420 = load float, ptr %419, align 4, !tbaa !55
  %421 = fdiv float %420, 1.200000e+02
  %422 = fdiv float 1.000000e+00, %421
  %423 = load ptr, ptr %1, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.ImGuiState, ptr %423, i32 0, i32 2
  %425 = getelementptr inbounds %struct.ImGuiIO, ptr %424, i32 0, i32 35
  store float %422, ptr %425, align 4, !tbaa !56
  %426 = load ptr, ptr %1, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.ImGuiState, ptr %426, i32 0, i32 16
  store i32 0, ptr %427, align 8, !tbaa !57
  %428 = load ptr, ptr %1, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.ImGuiState, ptr %428, i32 0, i32 19
  %430 = load i8, ptr %429, align 4, !tbaa !58, !range !35, !noundef !36
  %431 = trunc i8 %430 to i1
  br i1 %431, label %446, label %432

432:                                              ; preds = %382
  %433 = load ptr, ptr %1, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.ImGuiState, ptr %433, i32 0, i32 18
  %435 = load i32, ptr %434, align 8, !tbaa !59
  %436 = load ptr, ptr %1, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.ImGuiState, ptr %436, i32 0, i32 17
  %438 = load i32, ptr %437, align 4, !tbaa !60
  %439 = icmp eq i32 %435, %438
  br i1 %439, label %440, label %446

440:                                              ; preds = %432
  %441 = load ptr, ptr %1, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.ImGuiState, ptr %441, i32 0, i32 17
  %443 = load i32, ptr %442, align 4, !tbaa !60
  %444 = icmp ne i32 %443, 0
  br i1 %444, label %445, label %446

445:                                              ; preds = %440
  call void @_ZL11SetActiveIdj(i32 noundef 0)
  br label %446

446:                                              ; preds = %445, %440, %432, %382
  %447 = load ptr, ptr %1, align 8, !tbaa !5
  %448 = getelementptr inbounds %struct.ImGuiState, ptr %447, i32 0, i32 17
  %449 = load i32, ptr %448, align 4, !tbaa !60
  %450 = load ptr, ptr %1, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.ImGuiState, ptr %450, i32 0, i32 18
  store i32 %449, ptr %451, align 8, !tbaa !59
  %452 = load ptr, ptr %1, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.ImGuiState, ptr %452, i32 0, i32 19
  store i8 0, ptr %453, align 4, !tbaa !58
  %454 = load ptr, ptr %1, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.ImGuiState, ptr %454, i32 0, i32 17
  %456 = load i32, ptr %455, align 4, !tbaa !60
  %457 = icmp ne i32 %456, 0
  br i1 %457, label %461, label %458

458:                                              ; preds = %446
  %459 = load ptr, ptr %1, align 8, !tbaa !5
  %460 = getelementptr inbounds %struct.ImGuiState, ptr %459, i32 0, i32 21
  store ptr null, ptr %460, align 8, !tbaa !61
  br label %461

461:                                              ; preds = %458, %446
  %462 = load ptr, ptr %1, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.ImGuiState, ptr %462, i32 0, i32 22
  %464 = load float, ptr %463, align 8, !tbaa !62
  %465 = fcmp ogt float %464, 0.000000e+00
  br i1 %465, label %466, label %481

466:                                              ; preds = %461
  %467 = load ptr, ptr %1, align 8, !tbaa !5
  %468 = getelementptr inbounds %struct.ImGuiState, ptr %467, i32 0, i32 2
  %469 = getelementptr inbounds %struct.ImGuiIO, ptr %468, i32 0, i32 1
  %470 = load float, ptr %469, align 8, !tbaa !9
  %471 = load ptr, ptr %1, align 8, !tbaa !5
  %472 = getelementptr inbounds %struct.ImGuiState, ptr %471, i32 0, i32 22
  %473 = load float, ptr %472, align 8, !tbaa !62
  %474 = fsub float %473, %470
  store float %474, ptr %472, align 8, !tbaa !62
  %475 = load ptr, ptr %1, align 8, !tbaa !5
  %476 = getelementptr inbounds %struct.ImGuiState, ptr %475, i32 0, i32 22
  %477 = load float, ptr %476, align 8, !tbaa !62
  %478 = fcmp ole float %477, 0.000000e+00
  br i1 %478, label %479, label %480

479:                                              ; preds = %466
  call void @_ZL12SaveSettingsv()
  br label %480

480:                                              ; preds = %479, %466
  br label %481

481:                                              ; preds = %480, %461
  %482 = load ptr, ptr %1, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct.ImGuiState, ptr %482, i32 0, i32 2
  %484 = getelementptr inbounds %struct.ImGuiIO, ptr %483, i32 0, i32 23
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 8 %484, i64 8, i1 false), !tbaa.struct !43
  %485 = load <2 x float>, ptr %8, align 4
  %486 = call noundef ptr @_ZL17FindHoveredWindow6ImVec2b(<2 x float> %485, i1 noundef zeroext false)
  %487 = load ptr, ptr %1, align 8, !tbaa !5
  %488 = getelementptr inbounds %struct.ImGuiState, ptr %487, i32 0, i32 14
  store ptr %486, ptr %488, align 8, !tbaa !63
  %489 = load ptr, ptr %1, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.ImGuiState, ptr %489, i32 0, i32 14
  %491 = load ptr, ptr %490, align 8, !tbaa !63
  %492 = icmp ne ptr %491, null
  br i1 %492, label %493, label %509

493:                                              ; preds = %481
  %494 = load ptr, ptr %1, align 8, !tbaa !5
  %495 = getelementptr inbounds %struct.ImGuiState, ptr %494, i32 0, i32 14
  %496 = load ptr, ptr %495, align 8, !tbaa !63
  %497 = getelementptr inbounds %struct.ImGuiWindow, ptr %496, i32 0, i32 2
  %498 = load i32, ptr %497, align 4, !tbaa !64
  %499 = and i32 %498, 512
  %500 = icmp ne i32 %499, 0
  br i1 %500, label %501, label %509

501:                                              ; preds = %493
  %502 = load ptr, ptr %1, align 8, !tbaa !5
  %503 = getelementptr inbounds %struct.ImGuiState, ptr %502, i32 0, i32 14
  %504 = load ptr, ptr %503, align 8, !tbaa !63
  %505 = getelementptr inbounds %struct.ImGuiWindow, ptr %504, i32 0, i32 29
  %506 = load ptr, ptr %505, align 8, !tbaa !72
  %507 = load ptr, ptr %1, align 8, !tbaa !5
  %508 = getelementptr inbounds %struct.ImGuiState, ptr %507, i32 0, i32 15
  store ptr %506, ptr %508, align 8, !tbaa !73
  br label %517

509:                                              ; preds = %493, %481
  %510 = load ptr, ptr %1, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.ImGuiState, ptr %510, i32 0, i32 2
  %512 = getelementptr inbounds %struct.ImGuiIO, ptr %511, i32 0, i32 23
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 8 %512, i64 8, i1 false), !tbaa.struct !43
  %513 = load <2 x float>, ptr %9, align 4
  %514 = call noundef ptr @_ZL17FindHoveredWindow6ImVec2b(<2 x float> %513, i1 noundef zeroext true)
  %515 = load ptr, ptr %1, align 8, !tbaa !5
  %516 = getelementptr inbounds %struct.ImGuiState, ptr %515, i32 0, i32 15
  store ptr %514, ptr %516, align 8, !tbaa !73
  br label %517

517:                                              ; preds = %509, %501
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  store i32 -1, ptr %10, align 4, !tbaa !74
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  store i64 0, ptr %11, align 8, !tbaa !47
  br label %518

518:                                              ; preds = %572, %517
  %519 = load i64, ptr %11, align 8, !tbaa !47
  %520 = icmp ult i64 %519, 5
  br i1 %520, label %522, label %521

521:                                              ; preds = %518
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  br label %575

522:                                              ; preds = %518
  %523 = load ptr, ptr %1, align 8, !tbaa !5
  %524 = getelementptr inbounds %struct.ImGuiState, ptr %523, i32 0, i32 2
  %525 = getelementptr inbounds %struct.ImGuiIO, ptr %524, i32 0, i32 38
  %526 = load i64, ptr %11, align 8, !tbaa !47
  %527 = getelementptr inbounds [5 x i8], ptr %525, i64 0, i64 %526
  %528 = load i8, ptr %527, align 1, !tbaa !48, !range !35, !noundef !36
  %529 = trunc i8 %528 to i1
  br i1 %529, label %530, label %541

530:                                              ; preds = %522
  %531 = load ptr, ptr %1, align 8, !tbaa !5
  %532 = getelementptr inbounds %struct.ImGuiState, ptr %531, i32 0, i32 14
  %533 = load ptr, ptr %532, align 8, !tbaa !63
  %534 = icmp ne ptr %533, null
  %535 = load ptr, ptr %1, align 8, !tbaa !5
  %536 = getelementptr inbounds %struct.ImGuiState, ptr %535, i32 0, i32 2
  %537 = getelementptr inbounds %struct.ImGuiIO, ptr %536, i32 0, i32 43
  %538 = load i64, ptr %11, align 8, !tbaa !47
  %539 = getelementptr inbounds [5 x i8], ptr %537, i64 0, i64 %538
  %540 = zext i1 %534 to i8
  store i8 %540, ptr %539, align 1, !tbaa !48
  br label %541

541:                                              ; preds = %530, %522
  %542 = load ptr, ptr %1, align 8, !tbaa !5
  %543 = getelementptr inbounds %struct.ImGuiState, ptr %542, i32 0, i32 2
  %544 = getelementptr inbounds %struct.ImGuiIO, ptr %543, i32 0, i32 24
  %545 = load i64, ptr %11, align 8, !tbaa !47
  %546 = getelementptr inbounds [5 x i8], ptr %544, i64 0, i64 %545
  %547 = load i8, ptr %546, align 1, !tbaa !48, !range !35, !noundef !36
  %548 = trunc i8 %547 to i1
  br i1 %548, label %549, label %571

549:                                              ; preds = %541
  %550 = load i32, ptr %10, align 4, !tbaa !74
  %551 = icmp eq i32 %550, -1
  br i1 %551, label %567, label %552

552:                                              ; preds = %549
  %553 = load ptr, ptr %1, align 8, !tbaa !5
  %554 = getelementptr inbounds %struct.ImGuiState, ptr %553, i32 0, i32 2
  %555 = getelementptr inbounds %struct.ImGuiIO, ptr %554, i32 0, i32 41
  %556 = load i32, ptr %10, align 4, !tbaa !74
  %557 = sext i32 %556 to i64
  %558 = getelementptr inbounds [5 x float], ptr %555, i64 0, i64 %557
  %559 = load float, ptr %558, align 4, !tbaa !44
  %560 = load ptr, ptr %1, align 8, !tbaa !5
  %561 = getelementptr inbounds %struct.ImGuiState, ptr %560, i32 0, i32 2
  %562 = getelementptr inbounds %struct.ImGuiIO, ptr %561, i32 0, i32 41
  %563 = load i64, ptr %11, align 8, !tbaa !47
  %564 = getelementptr inbounds [5 x float], ptr %562, i64 0, i64 %563
  %565 = load float, ptr %564, align 4, !tbaa !44
  %566 = fcmp ogt float %559, %565
  br i1 %566, label %567, label %570

567:                                              ; preds = %552, %549
  %568 = load i64, ptr %11, align 8, !tbaa !47
  %569 = trunc i64 %568 to i32
  store i32 %569, ptr %10, align 4, !tbaa !74
  br label %570

570:                                              ; preds = %567, %552
  br label %571

571:                                              ; preds = %570, %541
  br label %572

572:                                              ; preds = %571
  %573 = load i64, ptr %11, align 8, !tbaa !47
  %574 = add i64 %573, 1
  store i64 %574, ptr %11, align 8, !tbaa !47
  br label %518, !llvm.loop !75

575:                                              ; preds = %521
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #10
  %576 = load i32, ptr %10, align 4, !tbaa !74
  %577 = icmp ne i32 %576, -1
  br i1 %577, label %578, label %588

578:                                              ; preds = %575
  %579 = load ptr, ptr %1, align 8, !tbaa !5
  %580 = getelementptr inbounds %struct.ImGuiState, ptr %579, i32 0, i32 2
  %581 = getelementptr inbounds %struct.ImGuiIO, ptr %580, i32 0, i32 43
  %582 = load i32, ptr %10, align 4, !tbaa !74
  %583 = sext i32 %582 to i64
  %584 = getelementptr inbounds [5 x i8], ptr %581, i64 0, i64 %583
  %585 = load i8, ptr %584, align 1, !tbaa !48, !range !35, !noundef !36
  %586 = trunc i8 %585 to i1
  %587 = xor i1 %586, true
  br label %588

588:                                              ; preds = %578, %575
  %589 = phi i1 [ false, %575 ], [ %587, %578 ]
  %590 = zext i1 %589 to i8
  store i8 %590, ptr %12, align 1, !tbaa !48
  %591 = load i8, ptr %12, align 1, !tbaa !48, !range !35, !noundef !36
  %592 = trunc i8 %591 to i1
  br i1 %592, label %598, label %593

593:                                              ; preds = %588
  %594 = load ptr, ptr %1, align 8, !tbaa !5
  %595 = getelementptr inbounds %struct.ImGuiState, ptr %594, i32 0, i32 14
  %596 = load ptr, ptr %595, align 8, !tbaa !63
  %597 = icmp ne ptr %596, null
  br i1 %597, label %603, label %598

598:                                              ; preds = %593, %588
  %599 = load ptr, ptr %1, align 8, !tbaa !5
  %600 = getelementptr inbounds %struct.ImGuiState, ptr %599, i32 0, i32 17
  %601 = load i32, ptr %600, align 4, !tbaa !60
  %602 = icmp ne i32 %601, 0
  br label %603

603:                                              ; preds = %598, %593
  %604 = phi i1 [ true, %593 ], [ %602, %598 ]
  %605 = load ptr, ptr %1, align 8, !tbaa !5
  %606 = getelementptr inbounds %struct.ImGuiState, ptr %605, i32 0, i32 2
  %607 = getelementptr inbounds %struct.ImGuiIO, ptr %606, i32 0, i32 33
  %608 = zext i1 %604 to i8
  store i8 %608, ptr %607, align 2, !tbaa !76
  %609 = load ptr, ptr %1, align 8, !tbaa !5
  %610 = getelementptr inbounds %struct.ImGuiState, ptr %609, i32 0, i32 17
  %611 = load i32, ptr %610, align 4, !tbaa !60
  %612 = icmp ne i32 %611, 0
  %613 = load ptr, ptr %1, align 8, !tbaa !5
  %614 = getelementptr inbounds %struct.ImGuiState, ptr %613, i32 0, i32 2
  %615 = getelementptr inbounds %struct.ImGuiIO, ptr %614, i32 0, i32 34
  %616 = zext i1 %612 to i8
  store i8 %616, ptr %615, align 1, !tbaa !77
  %617 = load i8, ptr %12, align 1, !tbaa !48, !range !35, !noundef !36
  %618 = trunc i8 %617 to i1
  br i1 %618, label %619, label %624

619:                                              ; preds = %603
  %620 = load ptr, ptr %1, align 8, !tbaa !5
  %621 = getelementptr inbounds %struct.ImGuiState, ptr %620, i32 0, i32 15
  store ptr null, ptr %621, align 8, !tbaa !73
  %622 = load ptr, ptr %1, align 8, !tbaa !5
  %623 = getelementptr inbounds %struct.ImGuiState, ptr %622, i32 0, i32 14
  store ptr null, ptr %623, align 8, !tbaa !63
  br label %624

624:                                              ; preds = %619, %603
  %625 = load ptr, ptr %1, align 8, !tbaa !5
  %626 = getelementptr inbounds %struct.ImGuiState, ptr %625, i32 0, i32 14
  %627 = load ptr, ptr %626, align 8, !tbaa !63
  %628 = icmp ne ptr %627, null
  br i1 %628, label %629, label %730

629:                                              ; preds = %624
  %630 = load ptr, ptr %1, align 8, !tbaa !5
  %631 = getelementptr inbounds %struct.ImGuiState, ptr %630, i32 0, i32 2
  %632 = getelementptr inbounds %struct.ImGuiIO, ptr %631, i32 0, i32 26
  %633 = load float, ptr %632, align 8, !tbaa !78
  %634 = fcmp une float %633, 0.000000e+00
  br i1 %634, label %635, label %730

635:                                              ; preds = %629
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %636 = load ptr, ptr %1, align 8, !tbaa !5
  %637 = getelementptr inbounds %struct.ImGuiState, ptr %636, i32 0, i32 14
  %638 = load ptr, ptr %637, align 8, !tbaa !63
  store ptr %638, ptr %13, align 8, !tbaa !5
  %639 = load ptr, ptr %1, align 8, !tbaa !5
  %640 = getelementptr inbounds %struct.ImGuiState, ptr %639, i32 0, i32 2
  %641 = getelementptr inbounds %struct.ImGuiIO, ptr %640, i32 0, i32 28
  %642 = load i8, ptr %641, align 1, !tbaa !79, !range !35, !noundef !36
  %643 = trunc i8 %642 to i1
  br i1 %643, label %644, label %700

644:                                              ; preds = %635
  %645 = load ptr, ptr %1, align 8, !tbaa !5
  %646 = getelementptr inbounds %struct.ImGuiState, ptr %645, i32 0, i32 2
  %647 = getelementptr inbounds %struct.ImGuiIO, ptr %646, i32 0, i32 12
  %648 = load i8, ptr %647, align 4, !tbaa !80, !range !35, !noundef !36
  %649 = trunc i8 %648 to i1
  br i1 %649, label %650, label %699

650:                                              ; preds = %644
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %651 = load ptr, ptr %13, align 8, !tbaa !5
  %652 = getelementptr inbounds %struct.ImGuiWindow, ptr %651, i32 0, i32 27
  %653 = load float, ptr %652, align 8, !tbaa !81
  %654 = load ptr, ptr %1, align 8, !tbaa !5
  %655 = getelementptr inbounds %struct.ImGuiState, ptr %654, i32 0, i32 2
  %656 = getelementptr inbounds %struct.ImGuiIO, ptr %655, i32 0, i32 26
  %657 = load float, ptr %656, align 8, !tbaa !78
  %658 = call float @llvm.fmuladd.f32(float %657, float 0x3FB99999A0000000, float %653)
  %659 = call noundef float @_ZL7ImClampfff(float noundef %658, float noundef 5.000000e-01, float noundef 2.500000e+00)
  store float %659, ptr %14, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  %660 = load float, ptr %14, align 4, !tbaa !44
  %661 = load ptr, ptr %13, align 8, !tbaa !5
  %662 = getelementptr inbounds %struct.ImGuiWindow, ptr %661, i32 0, i32 27
  %663 = load float, ptr %662, align 8, !tbaa !81
  %664 = fdiv float %660, %663
  store float %664, ptr %15, align 4, !tbaa !44
  %665 = load float, ptr %14, align 4, !tbaa !44
  %666 = load ptr, ptr %13, align 8, !tbaa !5
  %667 = getelementptr inbounds %struct.ImGuiWindow, ptr %666, i32 0, i32 27
  store float %665, ptr %667, align 8, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %668 = load ptr, ptr %13, align 8, !tbaa !5
  %669 = getelementptr inbounds %struct.ImGuiWindow, ptr %668, i32 0, i32 5
  %670 = load float, ptr %15, align 4, !tbaa !44
  %671 = fsub float 1.000000e+00, %670
  %672 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %669, float noundef %671)
  store <2 x float> %672, ptr %18, align 4
  %673 = load ptr, ptr %1, align 8, !tbaa !5
  %674 = getelementptr inbounds %struct.ImGuiState, ptr %673, i32 0, i32 2
  %675 = getelementptr inbounds %struct.ImGuiIO, ptr %674, i32 0, i32 23
  %676 = load ptr, ptr %13, align 8, !tbaa !5
  %677 = getelementptr inbounds %struct.ImGuiWindow, ptr %676, i32 0, i32 4
  %678 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %675, ptr noundef nonnull align 4 dereferenceable(8) %677)
  store <2 x float> %678, ptr %19, align 4
  %679 = load <2 x float>, ptr %19, align 4
  %680 = call <2 x float> @_ZmlRK6ImVec2S_(ptr noundef nonnull align 4 dereferenceable(8) %18, <2 x float> %679)
  store <2 x float> %680, ptr %17, align 4
  %681 = load ptr, ptr %13, align 8, !tbaa !5
  %682 = getelementptr inbounds %struct.ImGuiWindow, ptr %681, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 8 %682, i64 8, i1 false), !tbaa.struct !43
  %683 = load <2 x float>, ptr %20, align 4
  %684 = call <2 x float> @_ZdvRK6ImVec2S_(ptr noundef nonnull align 4 dereferenceable(8) %17, <2 x float> %683)
  store <2 x float> %684, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  %685 = load ptr, ptr %13, align 8, !tbaa !5
  %686 = getelementptr inbounds %struct.ImGuiWindow, ptr %685, i32 0, i32 4
  %687 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %686, ptr noundef nonnull align 4 dereferenceable(8) %16)
  %688 = load ptr, ptr %13, align 8, !tbaa !5
  %689 = getelementptr inbounds %struct.ImGuiWindow, ptr %688, i32 0, i32 3
  %690 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %689, ptr noundef nonnull align 4 dereferenceable(8) %16)
  %691 = load float, ptr %15, align 4, !tbaa !44
  %692 = load ptr, ptr %13, align 8, !tbaa !5
  %693 = getelementptr inbounds %struct.ImGuiWindow, ptr %692, i32 0, i32 5
  %694 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmLR6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %693, float noundef %691)
  %695 = load float, ptr %15, align 4, !tbaa !44
  %696 = load ptr, ptr %13, align 8, !tbaa !5
  %697 = getelementptr inbounds %struct.ImGuiWindow, ptr %696, i32 0, i32 6
  %698 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmLR6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %697, float noundef %695)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  br label %699

699:                                              ; preds = %650, %644
  br label %729

700:                                              ; preds = %635
  %701 = load ptr, ptr %13, align 8, !tbaa !5
  %702 = getelementptr inbounds %struct.ImGuiWindow, ptr %701, i32 0, i32 2
  %703 = load i32, ptr %702, align 4, !tbaa !64
  %704 = and i32 %703, 16
  %705 = icmp ne i32 %704, 0
  br i1 %705, label %728, label %706

706:                                              ; preds = %700
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  %707 = load ptr, ptr %13, align 8, !tbaa !5
  %708 = getelementptr inbounds %struct.ImGuiWindow, ptr %707, i32 0, i32 2
  %709 = load i32, ptr %708, align 4, !tbaa !64
  %710 = and i32 %709, 4096
  %711 = icmp ne i32 %710, 0
  %712 = zext i1 %711 to i64
  %713 = select i1 %711, i32 3, i32 5
  store i32 %713, ptr %21, align 4, !tbaa !74
  %714 = load ptr, ptr %1, align 8, !tbaa !5
  %715 = getelementptr inbounds %struct.ImGuiState, ptr %714, i32 0, i32 2
  %716 = getelementptr inbounds %struct.ImGuiIO, ptr %715, i32 0, i32 26
  %717 = load float, ptr %716, align 8, !tbaa !78
  %718 = load ptr, ptr %13, align 8, !tbaa !5
  %719 = call noundef float @_ZNK11ImGuiWindow8FontSizeEv(ptr noundef nonnull align 8 dereferenceable(480) %718)
  %720 = fmul float %717, %719
  %721 = load i32, ptr %21, align 4, !tbaa !74
  %722 = sitofp i32 %721 to float
  %723 = load ptr, ptr %13, align 8, !tbaa !5
  %724 = getelementptr inbounds %struct.ImGuiWindow, ptr %723, i32 0, i32 9
  %725 = load float, ptr %724, align 4, !tbaa !82
  %726 = fneg float %720
  %727 = call float @llvm.fmuladd.f32(float %726, float %722, float %725)
  store float %727, ptr %724, align 4, !tbaa !82
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  br label %728

728:                                              ; preds = %706, %700
  br label %729

729:                                              ; preds = %728, %699
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %730

730:                                              ; preds = %729, %629, %624
  %731 = load ptr, ptr %1, align 8, !tbaa !5
  %732 = getelementptr inbounds %struct.ImGuiState, ptr %731, i32 0, i32 17
  %733 = load i32, ptr %732, align 4, !tbaa !60
  %734 = icmp eq i32 %733, 0
  br i1 %734, label %735, label %754

735:                                              ; preds = %730
  %736 = load ptr, ptr %1, align 8, !tbaa !5
  %737 = getelementptr inbounds %struct.ImGuiState, ptr %736, i32 0, i32 13
  %738 = load ptr, ptr %737, align 8, !tbaa !83
  %739 = icmp ne ptr %738, null
  br i1 %739, label %740, label %754

740:                                              ; preds = %735
  %741 = load ptr, ptr %1, align 8, !tbaa !5
  %742 = getelementptr inbounds %struct.ImGuiState, ptr %741, i32 0, i32 13
  %743 = load ptr, ptr %742, align 8, !tbaa !83
  %744 = getelementptr inbounds %struct.ImGuiWindow, ptr %743, i32 0, i32 11
  %745 = load i8, ptr %744, align 1, !tbaa !84, !range !35, !noundef !36
  %746 = trunc i8 %745 to i1
  br i1 %746, label %747, label %754

747:                                              ; preds = %740
  %748 = call noundef zeroext i1 @_ZL15IsKeyPressedMapib(i32 noundef 0, i1 noundef zeroext false)
  br i1 %748, label %749, label %754

749:                                              ; preds = %747
  %750 = load ptr, ptr %1, align 8, !tbaa !5
  %751 = getelementptr inbounds %struct.ImGuiState, ptr %750, i32 0, i32 13
  %752 = load ptr, ptr %751, align 8, !tbaa !83
  %753 = getelementptr inbounds %struct.ImGuiWindow, ptr %752, i32 0, i32 35
  store i32 0, ptr %753, align 4, !tbaa !85
  br label %754

754:                                              ; preds = %749, %747, %740, %735, %730
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  store i64 0, ptr %22, align 8, !tbaa !47
  br label %755

755:                                              ; preds = %772, %754
  %756 = load i64, ptr %22, align 8, !tbaa !47
  %757 = load ptr, ptr %1, align 8, !tbaa !5
  %758 = getelementptr inbounds %struct.ImGuiState, ptr %757, i32 0, i32 10
  %759 = call noundef i64 @_ZNK8ImVectorIP11ImGuiWindowE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %758)
  %760 = icmp ne i64 %756, %759
  br i1 %760, label %762, label %761

761:                                              ; preds = %755
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %775

762:                                              ; preds = %755
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %763 = load ptr, ptr %1, align 8, !tbaa !5
  %764 = getelementptr inbounds %struct.ImGuiState, ptr %763, i32 0, i32 10
  %765 = load i64, ptr %22, align 8, !tbaa !47
  %766 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEm(ptr noundef nonnull align 8 dereferenceable(24) %764, i64 noundef %765)
  %767 = load ptr, ptr %766, align 8, !tbaa !5
  store ptr %767, ptr %23, align 8, !tbaa !5
  %768 = load ptr, ptr %23, align 8, !tbaa !5
  %769 = getelementptr inbounds %struct.ImGuiWindow, ptr %768, i32 0, i32 11
  store i8 0, ptr %769, align 1, !tbaa !84
  %770 = load ptr, ptr %23, align 8, !tbaa !5
  %771 = getelementptr inbounds %struct.ImGuiWindow, ptr %770, i32 0, i32 12
  store i8 0, ptr %771, align 2, !tbaa !86
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %772

772:                                              ; preds = %762
  %773 = load i64, ptr %22, align 8, !tbaa !47
  %774 = add i64 %773, 1
  store i64 %774, ptr %22, align 8, !tbaa !47
  br label %755, !llvm.loop !87

775:                                              ; preds = %761
  %776 = load ptr, ptr %1, align 8, !tbaa !5
  %777 = getelementptr inbounds %struct.ImGuiState, ptr %776, i32 0, i32 12
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %777, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef 4.000000e+02, float noundef 4.000000e+02)
  %778 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbRK6ImVec2fi(ptr noundef @.str.16, ptr noundef null, ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef -1.000000e+00, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #10
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK8ImVectorIP6ImFontE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP6ImFontEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImFont8IsLoadedEv(ptr noundef nonnull align 8 dereferenceable(120)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15ImGuiTextBufferC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8ImVectorIP12ImGuiIniDataE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL12LoadSettingsv() #6

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL12SaveSettingsv() #5

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP11ImGuiWindowE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #9 align 2

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = { 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 #6 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { 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 #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, !14, i64 16}
!10 = !{!"_ZTS10ImGuiState", !11, i64 0, !12, i64 8, !15, i64 2960, !6, i64 3672, !14, i64 3680, !13, i64 3684, !14, i64 3692, !16, i64 3696, !16, i64 3700, !17, i64 3704, !6, i64 3728, !17, i64 3736, !6, i64 3760, !6, i64 3768, !6, i64 3776, !16, i64 3784, !16, i64 3788, !16, i64 3792, !11, i64 3796, !11, i64 3797, !6, i64 3800, !14, i64 3808, !19, i64 3816, !20, i64 3840, !21, i64 3864, !22, i64 3888, !13, i64 3912, !16, i64 3920, !13, i64 3924, !16, i64 3932, !11, i64 3936, !16, i64 3940, !11, i64 3944, !11, i64 3945, !16, i64 3948, !23, i64 3952, !17, i64 3976, !24, i64 4000, !16, i64 12400, !28, i64 12408, !16, i64 12432, !7, i64 12436, !6, i64 13464, !11, i64 13472, !6, i64 13480, !6, i64 13488, !16, i64 13496, !16, i64 13500, !7, i64 13504, !16, i64 13984, !14, i64 13988}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !14, i64 8, !14, i64 12, !6, i64 16, !6, i64 24, !14, i64 32, !14, i64 36, !7, i64 40, !6, i64 112, !6, i64 120, !14, i64 128, !11, i64 132, !13, i64 136, !13, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !13, i64 208, !7, i64 216, !14, i64 224, !11, i64 228, !11, i64 229, !11, i64 230, !7, i64 231, !7, i64 744, !11, i64 778, !11, i64 779, !14, i64 780, !13, i64 784, !13, i64 792, !7, i64 800, !7, i64 808, !7, i64 848, !7, i64 868, !7, i64 873, !7, i64 880, !7, i64 900}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !13, i64 4, !13, i64 12, !14, i64 20, !14, i64 24, !13, i64 28, !14, i64 36, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !14, i64 72, !14, i64 76, !14, i64 80, !14, i64 84, !7, i64 88}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !18, i64 0, !18, i64 8, !6, i64 16}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTS8ImVectorIP12ImGuiIniDataE", !18, i64 0, !18, i64 8, !6, i64 16}
!20 = !{!"_ZTS8ImVectorI11ImGuiColModE", !18, i64 0, !18, i64 8, !6, i64 16}
!21 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !18, i64 0, !18, i64 8, !6, i64 16}
!22 = !{!"_ZTS8ImVectorIP6ImFontE", !18, i64 0, !18, i64 8, !6, i64 16}
!23 = !{!"_ZTS8ImVectorIP10ImDrawListE", !18, i64 0, !18, i64 8, !6, i64 16}
!24 = !{!"_ZTS18ImGuiTextEditState", !16, i64 0, !7, i64 4, !7, i64 2052, !18, i64 5128, !14, i64 5136, !14, i64 5140, !25, i64 5144, !14, i64 8364, !13, i64 8368, !11, i64 8376, !6, i64 8384, !14, i64 8392}
!25 = !{!"_ZTS17STB_TexteditState", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !14, i64 20, !26, i64 24}
!26 = !{!"_ZTS12StbUndoState", !7, i64 0, !7, i64 1188, !27, i64 3186, !27, i64 3188, !27, i64 3190, !27, i64 3192}
!27 = !{!"short", !7, i64 0}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !18, i64 0, !18, i64 8, !6, i64 16}
!30 = !{!10, !14, i64 8}
!31 = !{!10, !14, i64 12}
!32 = !{!10, !6, i64 160}
!33 = !{!10, !6, i64 128}
!34 = !{!10, !11, i64 0}
!35 = !{i8 0, i8 2}
!36 = !{}
!37 = !{!10, !6, i64 13488}
!38 = !{!10, !14, i64 3692}
!39 = !{!10, !16, i64 3696}
!40 = !{!7, !7, i64 0}
!41 = !{!10, !14, i64 216}
!42 = !{!10, !14, i64 220}
!43 = !{i64 0, i64 4, !44, i64 4, i64 4, !44}
!44 = !{!14, !14, i64 0}
!45 = !{!10, !14, i64 792}
!46 = !{!10, !14, i64 796}
!47 = !{!18, !18, i64 0}
!48 = !{!11, !11, i64 0}
!49 = !{!10, !14, i64 40}
!50 = !{!10, !14, i64 44}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.mustprogress"}
!53 = distinct !{!53, !52}
!54 = !{!10, !16, i64 13984}
!55 = !{!10, !14, i64 13988}
!56 = !{!10, !14, i64 788}
!57 = !{!10, !16, i64 3784}
!58 = !{!10, !11, i64 3796}
!59 = !{!10, !16, i64 3792}
!60 = !{!10, !16, i64 3788}
!61 = !{!10, !6, i64 3800}
!62 = !{!10, !14, i64 3808}
!63 = !{!10, !6, i64 3768}
!64 = !{!65, !16, i64 12}
!65 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !16, i64 8, !16, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !11, i64 64, !11, i64 65, !11, i64 66, !11, i64 67, !11, i64 68, !16, i64 72, !11, i64 76, !16, i64 80, !16, i64 84, !16, i64 88, !66, i64 96, !70, i64 336, !71, i64 360, !67, i64 384, !16, i64 400, !14, i64 404, !28, i64 408, !14, i64 432, !6, i64 440, !6, i64 448, !16, i64 456, !16, i64 460, !16, i64 464, !16, i64 468, !16, i64 472, !16, i64 476}
!66 = !{!"_ZTS16ImGuiDrawContext", !13, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 28, !14, i64 32, !16, i64 36, !16, i64 40, !67, i64 44, !11, i64 60, !17, i64 64, !68, i64 88, !69, i64 112, !69, i64 136, !16, i64 160, !6, i64 168, !14, i64 176, !14, i64 180, !16, i64 184, !16, i64 188, !13, i64 192, !14, i64 200, !14, i64 204, !11, i64 208, !16, i64 212, !69, i64 216}
!67 = !{!"_ZTS9ImGuiAabb", !13, i64 0, !13, i64 8}
!68 = !{!"_ZTS8ImVectorIbE", !18, i64 0, !18, i64 8, !6, i64 16}
!69 = !{!"_ZTS8ImVectorIfE", !18, i64 0, !18, i64 8, !6, i64 16}
!70 = !{!"_ZTS8ImVectorIjE", !18, i64 0, !18, i64 8, !6, i64 16}
!71 = !{!"_ZTS8ImVectorI6ImVec4E", !18, i64 0, !18, i64 8, !6, i64 16}
!72 = !{!65, !6, i64 448}
!73 = !{!10, !6, i64 3776}
!74 = !{!16, !16, i64 0}
!75 = distinct !{!75, !52}
!76 = !{!10, !11, i64 786}
!77 = !{!10, !11, i64 787}
!78 = !{!10, !14, i64 232}
!79 = !{!10, !11, i64 237}
!80 = !{!10, !11, i64 140}
!81 = !{!65, !14, i64 432}
!82 = !{!65, !14, i64 60}
!83 = !{!10, !6, i64 3760}
!84 = !{!65, !11, i64 65}
!85 = !{!65, !16, i64 476}
!86 = !{!65, !11, i64 66}
!87 = distinct !{!87, !52}


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

@_ZL6GImGui = external hidden local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [96 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv = external hidden unnamed_addr constant [23 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL15IsKeyPressedMapib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK8ImVectorIP11ImGuiWindowE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8NewFrameEv() local_unnamed_addr #5 {
  %1 = alloca %struct.ImVec2, align 8
  %2 = alloca %struct.ImVec2, align 8
  %3 = alloca %struct.ImVec2, align 8
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImVec2, align 4
  %8 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 16
  %10 = load float, ptr %9, align 8, !tbaa !9
  %11 = fcmp ogt float %10, 0.000000e+00
  br i1 %11, label %13, label %12

12:                                               ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10, i32 noundef 1732, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

13:                                               ; preds = %0
  %14 = getelementptr inbounds i8, ptr %8, i64 8
  %15 = load float, ptr %14, align 8, !tbaa !30
  %16 = fcmp ult float %15, 0.000000e+00
  br i1 %16, label %.critedge, label %17

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %8, i64 12
  %19 = load float, ptr %18, align 4, !tbaa !31
  %20 = fcmp ult float %19, 0.000000e+00
  br i1 %20, label %.critedge, label %21

.critedge:                                        ; preds = %13, %17
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.10, i32 noundef 1733, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %8, i64 160
  %23 = load ptr, ptr %22, align 8, !tbaa !32
  %.not = icmp eq ptr %23, null
  br i1 %.not, label %24, label %25

24:                                               ; preds = %21
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.10, i32 noundef 1734, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

25:                                               ; preds = %21
  %26 = getelementptr inbounds i8, ptr %8, i64 128
  %27 = load ptr, ptr %26, align 8, !tbaa !33
  %28 = getelementptr inbounds i8, ptr %27, i64 48
  %29 = tail call noundef i64 @_ZNK8ImVectorIP6ImFontE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28)
  %.not193 = icmp eq i64 %29, 0
  br i1 %.not193, label %30, label %31

30:                                               ; preds = %25
  tail call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.10, i32 noundef 1735, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

31:                                               ; preds = %25
  %32 = load ptr, ptr %26, align 8, !tbaa !33
  %33 = getelementptr inbounds i8, ptr %32, i64 48
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP6ImFontEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef 0)
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = tail call noundef zeroext i1 @_ZNK6ImFont8IsLoadedEv(ptr noundef nonnull align 8 dereferenceable(120) %35)
  br i1 %36, label %38, label %37

37:                                               ; preds = %31
  tail call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.10, i32 noundef 1736, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

38:                                               ; preds = %31
  %39 = load i8, ptr %8, align 8, !tbaa !34, !range !35, !noundef !36
  %40 = trunc nuw i8 %39 to i1
  br i1 %40, label %48, label %41

41:                                               ; preds = %38
  %42 = tail call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef 24)
  %43 = getelementptr inbounds i8, ptr %8, i64 13488
  store ptr %42, ptr %43, align 8, !tbaa !37
  tail call void @_ZN15ImGuiTextBufferC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42)
  %44 = getelementptr inbounds i8, ptr %8, i64 3816
  %45 = tail call noundef zeroext i1 @_ZNK8ImVectorIP12ImGuiIniDataE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %44)
  br i1 %45, label %47, label %46

46:                                               ; preds = %41
  tail call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.10, i32 noundef 1744, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui8NewFrameEv) #10
  unreachable

47:                                               ; preds = %41
  tail call void @_ZL12LoadSettingsv()
  store i8 1, ptr %8, align 8, !tbaa !34
  br label %48

48:                                               ; preds = %47, %38
  %49 = load ptr, ptr %26, align 8, !tbaa !33
  %50 = getelementptr inbounds i8, ptr %49, i64 48
  %51 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP6ImFontEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef 0)
  %52 = load ptr, ptr %51, align 8, !tbaa !5
  tail call void @_ZL7SetFontP6ImFont(ptr noundef %52)
  %53 = load float, ptr %9, align 8, !tbaa !9
  %54 = getelementptr inbounds i8, ptr %8, i64 3692
  %55 = load float, ptr %54, align 4, !tbaa !38
  %56 = fadd float %53, %55
  store float %56, ptr %54, align 4, !tbaa !38
  %57 = getelementptr inbounds i8, ptr %8, i64 3696
  %58 = load i32, ptr %57, align 8, !tbaa !39
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %57, align 8, !tbaa !39
  %60 = getelementptr inbounds i8, ptr %8, i64 12436
  store i8 0, ptr %60, align 4, !tbaa !40
  %61 = getelementptr inbounds i8, ptr %8, i64 216
  %62 = load float, ptr %61, align 8, !tbaa !41
  %63 = fcmp olt float %62, 0.000000e+00
  br i1 %63, label %64, label %thread-pre-split

64:                                               ; preds = %48
  %65 = getelementptr inbounds i8, ptr %8, i64 220
  %66 = load float, ptr %65, align 4, !tbaa !42
  %67 = fcmp olt float %66, 0.000000e+00
  br i1 %67, label %68, label %thread-pre-split

68:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %1, float noundef -9.999000e+03, float noundef -9.999000e+03)
  %69 = load i64, ptr %1, align 8
  store i64 %69, ptr %61, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #11
  %70 = trunc i64 %69 to i32
  %71 = bitcast i32 %70 to float
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %68, %64, %48
  %72 = phi float [ %62, %48 ], [ %62, %64 ], [ %71, %68 ]
  %73 = fcmp olt float %72, 0.000000e+00
  br i1 %73, label %74, label %78

74:                                               ; preds = %thread-pre-split
  %75 = getelementptr inbounds i8, ptr %8, i64 220
  %76 = load float, ptr %75, align 4, !tbaa !42
  %77 = fcmp olt float %76, 0.000000e+00
  br i1 %77, label %86, label %78

78:                                               ; preds = %74, %thread-pre-split
  %79 = getelementptr inbounds i8, ptr %8, i64 792
  %80 = load float, ptr %79, align 8, !tbaa !43
  %81 = fcmp olt float %80, 0.000000e+00
  br i1 %81, label %82, label %89

82:                                               ; preds = %78
  %83 = getelementptr inbounds i8, ptr %8, i64 796
  %84 = load float, ptr %83, align 4, !tbaa !44
  %85 = fcmp olt float %84, 0.000000e+00
  br i1 %85, label %86, label %89

86:                                               ; preds = %82, %74
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %87 = getelementptr inbounds i8, ptr %8, i64 800
  %88 = load i64, ptr %2, align 8
  store i64 %88, ptr %87, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #11
  br label %92

89:                                               ; preds = %82, %78
  %90 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(8) %79)
  %91 = getelementptr inbounds i8, ptr %8, i64 800
  store <2 x float> %90, ptr %91, align 8
  br label %92

92:                                               ; preds = %89, %86
  %93 = getelementptr inbounds i8, ptr %8, i64 792
  %94 = load i64, ptr %61, align 8
  store i64 %94, ptr %93, align 8
  %95 = getelementptr inbounds i8, ptr %8, i64 224
  %96 = getelementptr inbounds i8, ptr %8, i64 888
  %97 = getelementptr inbounds i8, ptr %8, i64 808
  %98 = getelementptr inbounds i8, ptr %8, i64 876
  %99 = getelementptr inbounds i8, ptr %8, i64 856
  %100 = getelementptr inbounds i8, ptr %8, i64 40
  %101 = getelementptr inbounds i8, ptr %8, i64 816
  %102 = getelementptr inbounds i8, ptr %8, i64 44
  %103 = load i8, ptr %95, align 1, !tbaa !45, !range !35, !noundef !36
  %104 = trunc nuw i8 %103 to i1
  br i1 %104, label %105, label %.thread205

.thread205:                                       ; preds = %92
  store float -1.000000e+00, ptr %96, align 4, !tbaa !46
  store i8 0, ptr %97, align 1, !tbaa !45
  store i8 0, ptr %98, align 1, !tbaa !45
  br label %128

105:                                              ; preds = %92
  %106 = load float, ptr %96, align 4, !tbaa !46
  %107 = fcmp olt float %106, 0.000000e+00
  br i1 %107, label %.thread, label %108

.thread:                                          ; preds = %105
  store float 0.000000e+00, ptr %96, align 4, !tbaa !46
  store i8 1, ptr %97, align 1, !tbaa !45
  store i8 0, ptr %98, align 1, !tbaa !45
  br label %113

108:                                              ; preds = %105
  %109 = load float, ptr %9, align 8, !tbaa !9
  %110 = fadd float %106, %109
  store float %110, ptr %96, align 4, !tbaa !46
  %111 = fcmp oeq float %110, 0.000000e+00
  %112 = zext i1 %111 to i8
  store i8 %112, ptr %97, align 1, !tbaa !45
  store i8 0, ptr %98, align 1, !tbaa !45
  br i1 %111, label %113, label %128

113:                                              ; preds = %.thread, %108
  %114 = load float, ptr %54, align 4, !tbaa !38
  %115 = load float, ptr %99, align 4, !tbaa !46
  %116 = fsub float %114, %115
  %117 = load float, ptr %100, align 8, !tbaa !47
  %118 = fcmp olt float %116, %117
  br i1 %118, label %119, label %127

119:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  %120 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(8) %101)
  store <2 x float> %120, ptr %3, align 8
  %121 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %122 = load float, ptr %102, align 4, !tbaa !48
  %123 = fmul float %122, %122
  %124 = fcmp olt float %121, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  br i1 %124, label %125, label %126

125:                                              ; preds = %119
  store i8 1, ptr %98, align 1, !tbaa !45
  br label %126

126:                                              ; preds = %125, %119
  store float 0xC7EFFFFFE0000000, ptr %99, align 4, !tbaa !46
  br label %128

127:                                              ; preds = %113
  store float %114, ptr %99, align 4, !tbaa !46
  store i64 %94, ptr %101, align 8
  br label %128

128:                                              ; preds = %.thread205, %108, %127, %126
  %129 = getelementptr inbounds i8, ptr %8, i64 225
  %130 = load i8, ptr %129, align 1, !tbaa !45, !range !35, !noundef !36
  %131 = trunc nuw i8 %130 to i1
  %132 = getelementptr inbounds i8, ptr %8, i64 892
  br i1 %131, label %135, label %.thread205.1

.thread205.1:                                     ; preds = %128
  store float -1.000000e+00, ptr %132, align 4, !tbaa !46
  %133 = getelementptr inbounds i8, ptr %8, i64 809
  store i8 0, ptr %133, align 1, !tbaa !45
  %134 = getelementptr inbounds i8, ptr %8, i64 877
  store i8 0, ptr %134, align 1, !tbaa !45
  br label %166

135:                                              ; preds = %128
  %136 = load float, ptr %132, align 4, !tbaa !46
  %137 = fcmp olt float %136, 0.000000e+00
  br i1 %137, label %.thread.1, label %138

138:                                              ; preds = %135
  %139 = load float, ptr %9, align 8, !tbaa !9
  %140 = fadd float %136, %139
  store float %140, ptr %132, align 4, !tbaa !46
  %141 = fcmp oeq float %140, 0.000000e+00
  %142 = getelementptr inbounds i8, ptr %8, i64 809
  %143 = zext i1 %141 to i8
  store i8 %143, ptr %142, align 1, !tbaa !45
  %144 = getelementptr inbounds i8, ptr %8, i64 877
  store i8 0, ptr %144, align 1, !tbaa !45
  br i1 %141, label %147, label %166

.thread.1:                                        ; preds = %135
  store float 0.000000e+00, ptr %132, align 4, !tbaa !46
  %145 = getelementptr inbounds i8, ptr %8, i64 809
  store i8 1, ptr %145, align 1, !tbaa !45
  %146 = getelementptr inbounds i8, ptr %8, i64 877
  store i8 0, ptr %146, align 1, !tbaa !45
  br label %147

147:                                              ; preds = %.thread.1, %138
  %148 = phi ptr [ %146, %.thread.1 ], [ %144, %138 ]
  %149 = load float, ptr %54, align 4, !tbaa !38
  %150 = getelementptr inbounds i8, ptr %8, i64 860
  %151 = load float, ptr %150, align 4, !tbaa !46
  %152 = fsub float %149, %151
  %153 = load float, ptr %100, align 8, !tbaa !47
  %154 = fcmp olt float %152, %153
  %155 = getelementptr inbounds i8, ptr %8, i64 824
  br i1 %154, label %158, label %156

156:                                              ; preds = %147
  store float %149, ptr %150, align 4, !tbaa !46
  %157 = load i64, ptr %61, align 8
  store i64 %157, ptr %155, align 8
  br label %166

158:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  %159 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(8) %155)
  store <2 x float> %159, ptr %3, align 8
  %160 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %161 = load float, ptr %102, align 4, !tbaa !48
  %162 = fmul float %161, %161
  %163 = fcmp olt float %160, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  br i1 %163, label %164, label %165

164:                                              ; preds = %158
  store i8 1, ptr %148, align 1, !tbaa !45
  br label %165

165:                                              ; preds = %164, %158
  store float 0xC7EFFFFFE0000000, ptr %150, align 4, !tbaa !46
  br label %166

166:                                              ; preds = %165, %156, %138, %.thread205.1
  %167 = getelementptr inbounds i8, ptr %8, i64 226
  %168 = load i8, ptr %167, align 1, !tbaa !45, !range !35, !noundef !36
  %169 = trunc nuw i8 %168 to i1
  %170 = getelementptr inbounds i8, ptr %8, i64 896
  br i1 %169, label %173, label %.thread205.2

.thread205.2:                                     ; preds = %166
  store float -1.000000e+00, ptr %170, align 4, !tbaa !46
  %171 = getelementptr inbounds i8, ptr %8, i64 810
  store i8 0, ptr %171, align 1, !tbaa !45
  %172 = getelementptr inbounds i8, ptr %8, i64 878
  store i8 0, ptr %172, align 1, !tbaa !45
  br label %204

173:                                              ; preds = %166
  %174 = load float, ptr %170, align 4, !tbaa !46
  %175 = fcmp olt float %174, 0.000000e+00
  br i1 %175, label %.thread.2, label %176

176:                                              ; preds = %173
  %177 = load float, ptr %9, align 8, !tbaa !9
  %178 = fadd float %174, %177
  store float %178, ptr %170, align 4, !tbaa !46
  %179 = fcmp oeq float %178, 0.000000e+00
  %180 = getelementptr inbounds i8, ptr %8, i64 810
  %181 = zext i1 %179 to i8
  store i8 %181, ptr %180, align 1, !tbaa !45
  %182 = getelementptr inbounds i8, ptr %8, i64 878
  store i8 0, ptr %182, align 1, !tbaa !45
  br i1 %179, label %185, label %204

.thread.2:                                        ; preds = %173
  store float 0.000000e+00, ptr %170, align 4, !tbaa !46
  %183 = getelementptr inbounds i8, ptr %8, i64 810
  store i8 1, ptr %183, align 1, !tbaa !45
  %184 = getelementptr inbounds i8, ptr %8, i64 878
  store i8 0, ptr %184, align 1, !tbaa !45
  br label %185

185:                                              ; preds = %.thread.2, %176
  %186 = phi ptr [ %184, %.thread.2 ], [ %182, %176 ]
  %187 = load float, ptr %54, align 4, !tbaa !38
  %188 = getelementptr inbounds i8, ptr %8, i64 864
  %189 = load float, ptr %188, align 4, !tbaa !46
  %190 = fsub float %187, %189
  %191 = load float, ptr %100, align 8, !tbaa !47
  %192 = fcmp olt float %190, %191
  %193 = getelementptr inbounds i8, ptr %8, i64 832
  br i1 %192, label %196, label %194

194:                                              ; preds = %185
  store float %187, ptr %188, align 4, !tbaa !46
  %195 = load i64, ptr %61, align 8
  store i64 %195, ptr %193, align 8
  br label %204

196:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  %197 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(8) %193)
  store <2 x float> %197, ptr %3, align 8
  %198 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %199 = load float, ptr %102, align 4, !tbaa !48
  %200 = fmul float %199, %199
  %201 = fcmp olt float %198, %200
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  br i1 %201, label %202, label %203

202:                                              ; preds = %196
  store i8 1, ptr %186, align 1, !tbaa !45
  br label %203

203:                                              ; preds = %202, %196
  store float 0xC7EFFFFFE0000000, ptr %188, align 4, !tbaa !46
  br label %204

204:                                              ; preds = %203, %194, %176, %.thread205.2
  %205 = getelementptr inbounds i8, ptr %8, i64 227
  %206 = load i8, ptr %205, align 1, !tbaa !45, !range !35, !noundef !36
  %207 = trunc nuw i8 %206 to i1
  %208 = getelementptr inbounds i8, ptr %8, i64 900
  br i1 %207, label %211, label %.thread205.3

.thread205.3:                                     ; preds = %204
  store float -1.000000e+00, ptr %208, align 4, !tbaa !46
  %209 = getelementptr inbounds i8, ptr %8, i64 811
  store i8 0, ptr %209, align 1, !tbaa !45
  %210 = getelementptr inbounds i8, ptr %8, i64 879
  store i8 0, ptr %210, align 1, !tbaa !45
  br label %242

211:                                              ; preds = %204
  %212 = load float, ptr %208, align 4, !tbaa !46
  %213 = fcmp olt float %212, 0.000000e+00
  br i1 %213, label %.thread.3, label %214

214:                                              ; preds = %211
  %215 = load float, ptr %9, align 8, !tbaa !9
  %216 = fadd float %212, %215
  store float %216, ptr %208, align 4, !tbaa !46
  %217 = fcmp oeq float %216, 0.000000e+00
  %218 = getelementptr inbounds i8, ptr %8, i64 811
  %219 = zext i1 %217 to i8
  store i8 %219, ptr %218, align 1, !tbaa !45
  %220 = getelementptr inbounds i8, ptr %8, i64 879
  store i8 0, ptr %220, align 1, !tbaa !45
  br i1 %217, label %223, label %242

.thread.3:                                        ; preds = %211
  store float 0.000000e+00, ptr %208, align 4, !tbaa !46
  %221 = getelementptr inbounds i8, ptr %8, i64 811
  store i8 1, ptr %221, align 1, !tbaa !45
  %222 = getelementptr inbounds i8, ptr %8, i64 879
  store i8 0, ptr %222, align 1, !tbaa !45
  br label %223

223:                                              ; preds = %.thread.3, %214
  %224 = phi ptr [ %222, %.thread.3 ], [ %220, %214 ]
  %225 = load float, ptr %54, align 4, !tbaa !38
  %226 = getelementptr inbounds i8, ptr %8, i64 868
  %227 = load float, ptr %226, align 4, !tbaa !46
  %228 = fsub float %225, %227
  %229 = load float, ptr %100, align 8, !tbaa !47
  %230 = fcmp olt float %228, %229
  %231 = getelementptr inbounds i8, ptr %8, i64 840
  br i1 %230, label %234, label %232

232:                                              ; preds = %223
  store float %225, ptr %226, align 4, !tbaa !46
  %233 = load i64, ptr %61, align 8
  store i64 %233, ptr %231, align 8
  br label %242

234:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  %235 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(8) %231)
  store <2 x float> %235, ptr %3, align 8
  %236 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %237 = load float, ptr %102, align 4, !tbaa !48
  %238 = fmul float %237, %237
  %239 = fcmp olt float %236, %238
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  br i1 %239, label %240, label %241

240:                                              ; preds = %234
  store i8 1, ptr %224, align 1, !tbaa !45
  br label %241

241:                                              ; preds = %240, %234
  store float 0xC7EFFFFFE0000000, ptr %226, align 4, !tbaa !46
  br label %242

242:                                              ; preds = %241, %232, %214, %.thread205.3
  %243 = getelementptr inbounds i8, ptr %8, i64 228
  %244 = load i8, ptr %243, align 1, !tbaa !45, !range !35, !noundef !36
  %245 = trunc nuw i8 %244 to i1
  %246 = getelementptr inbounds i8, ptr %8, i64 904
  br i1 %245, label %249, label %.thread205.4

.thread205.4:                                     ; preds = %242
  store float -1.000000e+00, ptr %246, align 4, !tbaa !46
  %247 = getelementptr inbounds i8, ptr %8, i64 812
  store i8 0, ptr %247, align 1, !tbaa !45
  %248 = getelementptr inbounds i8, ptr %8, i64 880
  store i8 0, ptr %248, align 1, !tbaa !45
  br label %.preheader

249:                                              ; preds = %242
  %250 = load float, ptr %246, align 4, !tbaa !46
  %251 = fcmp olt float %250, 0.000000e+00
  br i1 %251, label %.thread.4, label %252

252:                                              ; preds = %249
  %253 = load float, ptr %9, align 8, !tbaa !9
  %254 = fadd float %250, %253
  store float %254, ptr %246, align 4, !tbaa !46
  %255 = fcmp oeq float %254, 0.000000e+00
  %256 = getelementptr inbounds i8, ptr %8, i64 812
  %257 = zext i1 %255 to i8
  store i8 %257, ptr %256, align 1, !tbaa !45
  %258 = getelementptr inbounds i8, ptr %8, i64 880
  store i8 0, ptr %258, align 1, !tbaa !45
  br i1 %255, label %261, label %.preheader

.thread.4:                                        ; preds = %249
  store float 0.000000e+00, ptr %246, align 4, !tbaa !46
  %259 = getelementptr inbounds i8, ptr %8, i64 812
  store i8 1, ptr %259, align 1, !tbaa !45
  %260 = getelementptr inbounds i8, ptr %8, i64 880
  store i8 0, ptr %260, align 1, !tbaa !45
  br label %261

261:                                              ; preds = %.thread.4, %252
  %262 = phi ptr [ %260, %.thread.4 ], [ %258, %252 ]
  %263 = load float, ptr %54, align 4, !tbaa !38
  %264 = getelementptr inbounds i8, ptr %8, i64 872
  %265 = load float, ptr %264, align 4, !tbaa !46
  %266 = fsub float %263, %265
  %267 = load float, ptr %100, align 8, !tbaa !47
  %268 = fcmp olt float %266, %267
  %269 = getelementptr inbounds i8, ptr %8, i64 848
  br i1 %268, label %272, label %270

270:                                              ; preds = %261
  store float %263, ptr %264, align 4, !tbaa !46
  %271 = load i64, ptr %61, align 8
  store i64 %271, ptr %269, align 8
  br label %.preheader

272:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  %273 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(8) %269)
  store <2 x float> %273, ptr %3, align 8
  %274 = call noundef float @_ZL11ImLengthSqrRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %3)
  %275 = load float, ptr %102, align 4, !tbaa !48
  %276 = fmul float %275, %275
  %277 = fcmp olt float %274, %276
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  br i1 %277, label %278, label %279

278:                                              ; preds = %272
  store i8 1, ptr %262, align 1, !tbaa !45
  br label %279

279:                                              ; preds = %278, %272
  store float 0xC7EFFFFFE0000000, ptr %264, align 4, !tbaa !46
  br label %.preheader

.preheader:                                       ; preds = %279, %270, %252, %.thread205.4
  %280 = getelementptr inbounds i8, ptr %8, i64 239
  %281 = getelementptr inbounds i8, ptr %8, i64 908
  br label %304

282:                                              ; preds = %329
  %283 = load float, ptr %9, align 8, !tbaa !9
  %284 = getelementptr inbounds i8, ptr %8, i64 13504
  %285 = getelementptr inbounds i8, ptr %8, i64 13984
  %286 = load i32, ptr %285, align 8, !tbaa !49
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds [120 x float], ptr %284, i64 0, i64 %287
  %289 = load float, ptr %288, align 4, !tbaa !46
  %290 = fsub float %283, %289
  %291 = getelementptr inbounds i8, ptr %8, i64 13988
  %292 = load float, ptr %291, align 4, !tbaa !50
  %293 = fadd float %292, %290
  store float %293, ptr %291, align 4, !tbaa !50
  store float %283, ptr %288, align 4, !tbaa !46
  %294 = add nsw i32 %286, 1
  %295 = srem i32 %294, 120
  store i32 %295, ptr %285, align 8, !tbaa !49
  %296 = load float, ptr %291, align 4, !tbaa !50
  %297 = fdiv float %296, 1.200000e+02
  %298 = fdiv float 1.000000e+00, %297
  %299 = getelementptr inbounds i8, ptr %8, i64 788
  store float %298, ptr %299, align 4, !tbaa !51
  %300 = getelementptr inbounds i8, ptr %8, i64 3784
  store i32 0, ptr %300, align 8, !tbaa !52
  %301 = getelementptr inbounds i8, ptr %8, i64 3796
  %302 = load i8, ptr %301, align 4, !tbaa !53, !range !35, !noundef !36
  %303 = trunc nuw i8 %302 to i1
  br i1 %303, label %340, label %333

304:                                              ; preds = %329, %.preheader
  %.0182215 = phi i64 [ 0, %.preheader ], [ %332, %329 ]
  %305 = getelementptr inbounds [512 x i8], ptr %280, i64 0, i64 %.0182215
  %306 = load i8, ptr %305, align 1, !tbaa !45, !range !35, !noundef !36
  %307 = trunc nuw i8 %306 to i1
  br i1 %307, label %308, label %315

308:                                              ; preds = %304
  %309 = getelementptr inbounds [512 x float], ptr %281, i64 0, i64 %.0182215
  %310 = load float, ptr %309, align 4, !tbaa !46
  %311 = fcmp olt float %310, 0.000000e+00
  br i1 %311, label %315, label %312

312:                                              ; preds = %308
  %313 = load float, ptr %9, align 8, !tbaa !9
  %314 = fadd float %310, %313
  br label %315

315:                                              ; preds = %304, %312, %308
  %316 = phi float [ %314, %312 ], [ 0.000000e+00, %308 ], [ -1.000000e+00, %304 ]
  %317 = getelementptr inbounds [512 x float], ptr %281, i64 0, i64 %.0182215
  store float %316, ptr %317, align 4, !tbaa !46
  %318 = or disjoint i64 %.0182215, 1
  %319 = getelementptr inbounds [512 x i8], ptr %280, i64 0, i64 %318
  %320 = load i8, ptr %319, align 1, !tbaa !45, !range !35, !noundef !36
  %321 = trunc nuw i8 %320 to i1
  br i1 %321, label %322, label %329

322:                                              ; preds = %315
  %323 = getelementptr inbounds [512 x float], ptr %281, i64 0, i64 %318
  %324 = load float, ptr %323, align 4, !tbaa !46
  %325 = fcmp olt float %324, 0.000000e+00
  br i1 %325, label %329, label %326

326:                                              ; preds = %322
  %327 = load float, ptr %9, align 8, !tbaa !9
  %328 = fadd float %324, %327
  br label %329

329:                                              ; preds = %326, %322, %315
  %330 = phi float [ %328, %326 ], [ 0.000000e+00, %322 ], [ -1.000000e+00, %315 ]
  %331 = getelementptr inbounds [512 x float], ptr %281, i64 0, i64 %318
  store float %330, ptr %331, align 4, !tbaa !46
  %332 = add nuw nsw i64 %.0182215, 2
  %exitcond.not.1 = icmp eq i64 %332, 512
  br i1 %exitcond.not.1, label %282, label %304, !llvm.loop !54

333:                                              ; preds = %282
  %334 = getelementptr inbounds i8, ptr %8, i64 3792
  %335 = load i32, ptr %334, align 8, !tbaa !56
  %336 = getelementptr inbounds i8, ptr %8, i64 3788
  %337 = load i32, ptr %336, align 4, !tbaa !57
  %338 = icmp ne i32 %335, %337
  %.not194 = icmp eq i32 %337, 0
  %or.cond = or i1 %338, %.not194
  br i1 %or.cond, label %340, label %339

339:                                              ; preds = %333
  call void @_ZL11SetActiveIdj(i32 noundef 0)
  br label %340

340:                                              ; preds = %339, %333, %282
  %341 = getelementptr inbounds i8, ptr %8, i64 3788
  %342 = load i32, ptr %341, align 4, !tbaa !57
  %343 = getelementptr inbounds i8, ptr %8, i64 3792
  store i32 %342, ptr %343, align 8, !tbaa !56
  store i8 0, ptr %301, align 4, !tbaa !53
  %.not195 = icmp eq i32 %342, 0
  br i1 %.not195, label %344, label %346

344:                                              ; preds = %340
  %345 = getelementptr inbounds i8, ptr %8, i64 3800
  store ptr null, ptr %345, align 8, !tbaa !58
  br label %346

346:                                              ; preds = %344, %340
  %347 = getelementptr inbounds i8, ptr %8, i64 3808
  %348 = load float, ptr %347, align 8, !tbaa !59
  %349 = fcmp ogt float %348, 0.000000e+00
  br i1 %349, label %350, label %355

350:                                              ; preds = %346
  %351 = load float, ptr %9, align 8, !tbaa !9
  %352 = fsub float %348, %351
  store float %352, ptr %347, align 8, !tbaa !59
  %353 = fcmp ugt float %352, 0.000000e+00
  br i1 %353, label %355, label %354

354:                                              ; preds = %350
  call void @_ZL12SaveSettingsv()
  br label %355

355:                                              ; preds = %350, %354, %346
  %.sroa.039.0.copyload = load <2 x float>, ptr %61, align 8
  %356 = call noundef ptr @_ZL17FindHoveredWindow6ImVec2b(<2 x float> %.sroa.039.0.copyload, i1 noundef zeroext false)
  %357 = getelementptr inbounds i8, ptr %8, i64 3768
  store ptr %356, ptr %357, align 8, !tbaa !60
  %.not196 = icmp eq ptr %356, null
  br i1 %.not196, label %365, label %358

358:                                              ; preds = %355
  %359 = getelementptr inbounds i8, ptr %356, i64 12
  %360 = load i32, ptr %359, align 4, !tbaa !61
  %361 = and i32 %360, 512
  %.not197 = icmp eq i32 %361, 0
  br i1 %.not197, label %365, label %362

362:                                              ; preds = %358
  %363 = getelementptr inbounds i8, ptr %356, i64 448
  %364 = load ptr, ptr %363, align 8, !tbaa !69
  br label %367

365:                                              ; preds = %358, %355
  %.sroa.038.0.copyload = load <2 x float>, ptr %61, align 8
  %366 = call noundef ptr @_ZL17FindHoveredWindow6ImVec2b(<2 x float> %.sroa.038.0.copyload, i1 noundef zeroext true)
  br label %367

367:                                              ; preds = %365, %362
  %.sink = phi ptr [ %366, %365 ], [ %364, %362 ]
  %368 = getelementptr inbounds i8, ptr %8, i64 3776
  store ptr %.sink, ptr %368, align 8, !tbaa !70
  %369 = getelementptr inbounds i8, ptr %8, i64 881
  %370 = load i8, ptr %97, align 1, !tbaa !45, !range !35, !noundef !36
  %371 = trunc nuw i8 %370 to i1
  br i1 %371, label %372, label %376

372:                                              ; preds = %367
  %373 = load ptr, ptr %357, align 8, !tbaa !60
  %374 = icmp ne ptr %373, null
  %375 = zext i1 %374 to i8
  store i8 %375, ptr %369, align 1, !tbaa !45
  br label %376

376:                                              ; preds = %372, %367
  %377 = load i8, ptr %95, align 1, !tbaa !45, !range !35, !noundef !36
  %378 = trunc nuw i8 %377 to i1
  %not. = xor i1 %378, true
  %spec.select = sext i1 %not. to i32
  %379 = getelementptr inbounds i8, ptr %8, i64 809
  %380 = load i8, ptr %379, align 1, !tbaa !45, !range !35, !noundef !36
  %381 = trunc nuw i8 %380 to i1
  br i1 %381, label %382, label %387

382:                                              ; preds = %376
  %383 = load ptr, ptr %357, align 8, !tbaa !60
  %384 = icmp ne ptr %383, null
  %385 = getelementptr inbounds i8, ptr %8, i64 882
  %386 = zext i1 %384 to i8
  store i8 %386, ptr %385, align 1, !tbaa !45
  br label %387

387:                                              ; preds = %382, %376
  %388 = load i8, ptr %129, align 1, !tbaa !45, !range !35, !noundef !36
  %389 = trunc nuw i8 %388 to i1
  br i1 %389, label %390, label %399

390:                                              ; preds = %387
  br i1 %378, label %391, label %398

391:                                              ; preds = %390
  %392 = sext i1 %not. to i64
  %393 = getelementptr inbounds [5 x float], ptr %99, i64 0, i64 %392
  %394 = load float, ptr %393, align 4, !tbaa !46
  %395 = getelementptr inbounds i8, ptr %8, i64 860
  %396 = load float, ptr %395, align 4, !tbaa !46
  %397 = fcmp ogt float %394, %396
  br i1 %397, label %398, label %399

398:                                              ; preds = %391, %390
  br label %399

399:                                              ; preds = %398, %391, %387
  %.1.1 = phi i32 [ 1, %398 ], [ %spec.select, %391 ], [ %spec.select, %387 ]
  %400 = getelementptr inbounds i8, ptr %8, i64 810
  %401 = load i8, ptr %400, align 1, !tbaa !45, !range !35, !noundef !36
  %402 = trunc nuw i8 %401 to i1
  br i1 %402, label %403, label %408

403:                                              ; preds = %399
  %404 = load ptr, ptr %357, align 8, !tbaa !60
  %405 = icmp ne ptr %404, null
  %406 = getelementptr inbounds i8, ptr %8, i64 883
  %407 = zext i1 %405 to i8
  store i8 %407, ptr %406, align 1, !tbaa !45
  br label %408

408:                                              ; preds = %403, %399
  %409 = load i8, ptr %167, align 1, !tbaa !45, !range !35, !noundef !36
  %410 = trunc nuw i8 %409 to i1
  br i1 %410, label %411, label %421

411:                                              ; preds = %408
  %412 = icmp eq i32 %.1.1, -1
  br i1 %412, label %420, label %413

413:                                              ; preds = %411
  %414 = zext nneg i32 %.1.1 to i64
  %415 = getelementptr inbounds [5 x float], ptr %99, i64 0, i64 %414
  %416 = load float, ptr %415, align 4, !tbaa !46
  %417 = getelementptr inbounds i8, ptr %8, i64 864
  %418 = load float, ptr %417, align 4, !tbaa !46
  %419 = fcmp ogt float %416, %418
  br i1 %419, label %420, label %421

420:                                              ; preds = %413, %411
  br label %421

421:                                              ; preds = %420, %413, %408
  %.1.2 = phi i32 [ 2, %420 ], [ %.1.1, %413 ], [ %.1.1, %408 ]
  %422 = getelementptr inbounds i8, ptr %8, i64 811
  %423 = load i8, ptr %422, align 1, !tbaa !45, !range !35, !noundef !36
  %424 = trunc nuw i8 %423 to i1
  br i1 %424, label %425, label %430

425:                                              ; preds = %421
  %426 = load ptr, ptr %357, align 8, !tbaa !60
  %427 = icmp ne ptr %426, null
  %428 = getelementptr inbounds i8, ptr %8, i64 884
  %429 = zext i1 %427 to i8
  store i8 %429, ptr %428, align 1, !tbaa !45
  br label %430

430:                                              ; preds = %425, %421
  %431 = load i8, ptr %205, align 1, !tbaa !45, !range !35, !noundef !36
  %432 = trunc nuw i8 %431 to i1
  br i1 %432, label %433, label %443

433:                                              ; preds = %430
  %434 = icmp eq i32 %.1.2, -1
  br i1 %434, label %442, label %435

435:                                              ; preds = %433
  %436 = zext nneg i32 %.1.2 to i64
  %437 = getelementptr inbounds [5 x float], ptr %99, i64 0, i64 %436
  %438 = load float, ptr %437, align 4, !tbaa !46
  %439 = getelementptr inbounds i8, ptr %8, i64 868
  %440 = load float, ptr %439, align 4, !tbaa !46
  %441 = fcmp ogt float %438, %440
  br i1 %441, label %442, label %443

442:                                              ; preds = %435, %433
  br label %443

443:                                              ; preds = %442, %435, %430
  %.1.3 = phi i32 [ 3, %442 ], [ %.1.2, %435 ], [ %.1.2, %430 ]
  %444 = getelementptr inbounds i8, ptr %8, i64 812
  %445 = load i8, ptr %444, align 1, !tbaa !45, !range !35, !noundef !36
  %446 = trunc nuw i8 %445 to i1
  br i1 %446, label %447, label %452

447:                                              ; preds = %443
  %448 = load ptr, ptr %357, align 8, !tbaa !60
  %449 = icmp ne ptr %448, null
  %450 = getelementptr inbounds i8, ptr %8, i64 885
  %451 = zext i1 %449 to i8
  store i8 %451, ptr %450, align 1, !tbaa !45
  br label %452

452:                                              ; preds = %447, %443
  %453 = load i8, ptr %243, align 1, !tbaa !45, !range !35, !noundef !36
  %454 = trunc nuw i8 %453 to i1
  %455 = icmp eq i32 %.1.3, -1
  br i1 %454, label %456, label %465

456:                                              ; preds = %452
  br i1 %455, label %464, label %457

457:                                              ; preds = %456
  %458 = zext nneg i32 %.1.3 to i64
  %459 = getelementptr inbounds [5 x float], ptr %99, i64 0, i64 %458
  %460 = load float, ptr %459, align 4, !tbaa !46
  %461 = getelementptr inbounds i8, ptr %8, i64 872
  %462 = load float, ptr %461, align 4, !tbaa !46
  %463 = fcmp ogt float %460, %462
  br i1 %463, label %464, label %.thread225

464:                                              ; preds = %457, %456
  br label %.thread225

465:                                              ; preds = %452
  br i1 %455, label %.thread206, label %.thread225

.thread225:                                       ; preds = %457, %464, %465
  %.1.4228 = phi i32 [ %.1.3, %465 ], [ %.1.3, %457 ], [ 4, %464 ]
  %466 = zext nneg i32 %.1.4228 to i64
  %467 = getelementptr inbounds [5 x i8], ptr %369, i64 0, i64 %466
  %468 = load i8, ptr %467, align 1, !tbaa !45, !range !35, !noundef !36
  %469 = trunc nuw i8 %468 to i1
  br i1 %469, label %.thread206, label %.thread210

.thread206:                                       ; preds = %465, %.thread225
  %470 = load ptr, ptr %357, align 8, !tbaa !60
  %.not199 = icmp eq ptr %470, null
  %471 = load i32, ptr %341, align 4, !tbaa !57
  %472 = icmp ne i32 %471, 0
  %473 = zext i1 %472 to i8
  %474 = getelementptr inbounds i8, ptr %8, i64 786
  %475 = getelementptr inbounds i8, ptr %8, i64 787
  br i1 %.not199, label %.thread229, label %481

.thread210:                                       ; preds = %.thread225
  %476 = load i32, ptr %341, align 4, !tbaa !57
  %477 = icmp ne i32 %476, 0
  %478 = zext i1 %477 to i8
  %479 = getelementptr inbounds i8, ptr %8, i64 786
  store i8 %478, ptr %479, align 2, !tbaa !71
  %480 = getelementptr inbounds i8, ptr %8, i64 787
  store i8 %478, ptr %480, align 1, !tbaa !72
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %357, i8 0, i64 16, i1 false)
  br label %527

.thread229:                                       ; preds = %.thread206
  store i8 %473, ptr %474, align 2
  store i8 %473, ptr %475, align 1
  br label %527

481:                                              ; preds = %.thread206
  store i8 1, ptr %474, align 2
  store i8 %473, ptr %475, align 1
  %482 = getelementptr inbounds i8, ptr %8, i64 232
  %483 = load float, ptr %482, align 8, !tbaa !73
  %484 = fcmp une float %483, 0.000000e+00
  br i1 %484, label %485, label %527

485:                                              ; preds = %481
  %486 = getelementptr inbounds i8, ptr %8, i64 237
  %487 = load i8, ptr %486, align 1, !tbaa !74, !range !35, !noundef !36
  %488 = trunc nuw i8 %487 to i1
  br i1 %488, label %489, label %513

489:                                              ; preds = %485
  %490 = getelementptr inbounds i8, ptr %8, i64 140
  %491 = load i8, ptr %490, align 4, !tbaa !75, !range !35, !noundef !36
  %492 = trunc nuw i8 %491 to i1
  br i1 %492, label %493, label %527

493:                                              ; preds = %489
  %494 = getelementptr inbounds i8, ptr %470, i64 432
  %495 = load float, ptr %494, align 8, !tbaa !76
  %496 = call float @llvm.fmuladd.f32(float %483, float 0x3FB99999A0000000, float %495)
  %497 = call noundef float @_ZL7ImClampfff(float noundef %496, float noundef 5.000000e-01, float noundef 2.500000e+00)
  %498 = load float, ptr %494, align 8, !tbaa !76
  %499 = fdiv float %497, %498
  store float %497, ptr %494, align 8, !tbaa !76
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #11
  %500 = getelementptr inbounds i8, ptr %470, i64 32
  %501 = fsub float 1.000000e+00, %499
  %502 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %500, float noundef %501)
  store <2 x float> %502, ptr %6, align 8
  %503 = getelementptr inbounds i8, ptr %470, i64 24
  %504 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(8) %503)
  %505 = call <2 x float> @_ZmlRK6ImVec2S_(ptr noundef nonnull align 4 dereferenceable(8) %6, <2 x float> %504)
  store <2 x float> %505, ptr %5, align 8
  %.sroa.0.0.copyload = load <2 x float>, ptr %500, align 8
  %506 = call <2 x float> @_ZdvRK6ImVec2S_(ptr noundef nonnull align 4 dereferenceable(8) %5, <2 x float> %.sroa.0.0.copyload)
  store <2 x float> %506, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #11
  %507 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %503, ptr noundef nonnull align 4 dereferenceable(8) %4)
  %508 = getelementptr inbounds i8, ptr %470, i64 16
  %509 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %508, ptr noundef nonnull align 4 dereferenceable(8) %4)
  %510 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmLR6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %500, float noundef %499)
  %511 = getelementptr inbounds i8, ptr %470, i64 40
  %512 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmLR6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %511, float noundef %499)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #11
  br label %527

513:                                              ; preds = %485
  %514 = getelementptr inbounds i8, ptr %470, i64 12
  %515 = load i32, ptr %514, align 4, !tbaa !61
  %516 = and i32 %515, 16
  %.not201 = icmp eq i32 %516, 0
  br i1 %.not201, label %517, label %527

517:                                              ; preds = %513
  %518 = and i32 %515, 4096
  %.not202 = icmp eq i32 %518, 0
  %519 = select i1 %.not202, i32 5, i32 3
  %520 = call noundef float @_ZNK11ImGuiWindow8FontSizeEv(ptr noundef nonnull align 8 dereferenceable(480) %470)
  %521 = uitofp nneg i32 %519 to float
  %522 = getelementptr inbounds i8, ptr %470, i64 60
  %523 = load float, ptr %522, align 4, !tbaa !77
  %524 = fneg float %483
  %525 = fmul float %520, %524
  %526 = call float @llvm.fmuladd.f32(float %525, float %521, float %523)
  store float %526, ptr %522, align 4, !tbaa !77
  br label %527

527:                                              ; preds = %.thread229, %.thread210, %493, %489, %517, %513, %481
  %528 = load i32, ptr %341, align 4, !tbaa !57
  %529 = icmp eq i32 %528, 0
  br i1 %529, label %530, label %542

530:                                              ; preds = %527
  %531 = getelementptr inbounds i8, ptr %8, i64 3760
  %532 = load ptr, ptr %531, align 8, !tbaa !78
  %.not203 = icmp eq ptr %532, null
  br i1 %.not203, label %542, label %533

533:                                              ; preds = %530
  %534 = getelementptr inbounds i8, ptr %532, i64 65
  %535 = load i8, ptr %534, align 1, !tbaa !79, !range !35, !noundef !36
  %536 = trunc nuw i8 %535 to i1
  br i1 %536, label %537, label %542

537:                                              ; preds = %533
  %538 = call noundef zeroext i1 @_ZL15IsKeyPressedMapib(i32 noundef 0, i1 noundef zeroext false)
  br i1 %538, label %539, label %542

539:                                              ; preds = %537
  %540 = load ptr, ptr %531, align 8, !tbaa !78
  %541 = getelementptr inbounds i8, ptr %540, i64 476
  store i32 0, ptr %541, align 4, !tbaa !80
  br label %542

542:                                              ; preds = %539, %537, %533, %530, %527
  %543 = getelementptr inbounds i8, ptr %8, i64 3704
  %544 = call noundef i64 @_ZNK8ImVectorIP11ImGuiWindowE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %543)
  %.not204218 = icmp eq i64 %544, 0
  br i1 %.not204218, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %542
  %545 = getelementptr inbounds i8, ptr %8, i64 3736
  call void @_ZN8ImVectorIP11ImGuiWindowE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %545, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 4.000000e+02, float noundef 4.000000e+02)
  %546 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbRK6ImVec2fi(ptr noundef nonnull @.str.16, ptr noundef null, ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef -1.000000e+00, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  ret void

.lr.ph:                                           ; preds = %542, %.lr.ph
  %.0181219 = phi i64 [ %551, %.lr.ph ], [ 0, %542 ]
  %547 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEm(ptr noundef nonnull align 8 dereferenceable(24) %543, i64 noundef %.0181219)
  %548 = load ptr, ptr %547, align 8, !tbaa !5
  %549 = getelementptr inbounds i8, ptr %548, i64 65
  store i8 0, ptr %549, align 1, !tbaa !79
  %550 = getelementptr inbounds i8, ptr %548, i64 66
  store i8 0, ptr %550, align 2, !tbaa !81
  %551 = add i64 %.0181219, 1
  %552 = call noundef i64 @_ZNK8ImVectorIP11ImGuiWindowE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %543)
  %.not204 = icmp eq i64 %551, %552
  br i1 %.not204, label %._crit_edge, label %.lr.ph, !llvm.loop !82
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK8ImVectorIP6ImFontE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImFont8IsLoadedEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8ImVectorIP12ImGuiIniDataE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL12LoadSettingsv() local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL12SaveSettingsv() local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImClampfff(float noundef, float noundef, float noundef) local_unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP11ImGuiWindowE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #8 align 2

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

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

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

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

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


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