; LLVM IR from PepcyCh/bisemutum-engine :: bisemutum/thirdparty/ImGuizmo (GraphEditor)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"struct.GraphEditor::Node" = type <{ ptr, i64, %struct.ImRect, i8, [7 x i8] }>
%"struct.GraphEditor::ViewState" = type { %struct.ImVec2, float, float }
%"struct.GraphEditor::Options" = type { %struct.ImRect, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, i8, i8, i8, i8 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, i32, [652 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector.0 }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector.0 = type { i32, i32, ptr }

@_ZN11GraphEditorL13nodeOperationE = external hidden global i32, align 4
@_ZN11GraphEditorL13captureOffsetE = external hidden global %struct.ImVec2, align 4
@_ZZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenEE11hoveredNode = external hidden global i64, align 8
@_ZN11GraphEditorL17editingNodeSourceE = external hidden global %struct.ImVec2, align 4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN11GraphEditor11DrawMiniMapEP10ImDrawListRNS_8DelegateERNS_9ViewStateERKNS_7OptionsE6ImVec2S9_(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(104), <2 x float>, <2 x float>) #0

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

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

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

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

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(14264) ptr @_ZN5ImGui5GetIOEv() #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(104) %1, ptr noundef nonnull align 4 dereferenceable(16) %2, i1 noundef zeroext %3, ptr noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImRect, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImRect, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca ptr, align 8
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %struct.ImVec2, align 4
  %25 = alloca ptr, align 8
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca i8, align 1
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca %struct.ImVec2, align 4
  %34 = alloca %struct.ImRect, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca i64, align 8
  %38 = alloca i64, align 8
  %39 = alloca i64, align 8
  %40 = alloca i64, align 8
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i64, align 8
  %44 = alloca %"struct.GraphEditor::Node", align 8
  %45 = alloca %struct.ImRect, align 4
  %46 = alloca i64, align 8
  %47 = alloca i64, align 8
  %48 = alloca i8, align 1
  %49 = alloca %struct.ImVec2, align 4
  %50 = alloca %struct.ImVec2, align 4
  %51 = alloca %struct.ImVec2, align 4
  %52 = alloca %struct.ImVec2, align 4
  %53 = alloca %struct.ImVec2, align 4
  %54 = alloca %struct.ImVec2, align 4
  %55 = alloca %struct.ImRect, align 4
  %56 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  %57 = zext i1 %3 to i8
  store i8 %57, ptr %9, align 1, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 8, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 11, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 13, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %58 = call <2 x float> @_ZN5ImGui18GetCursorScreenPosEv()
  store <2 x float> %58, ptr %12, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %59 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  store <2 x float> %59, ptr %13, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %60 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %60, ptr %16, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !11
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 0
  %64 = load <2 x float>, ptr %63, align 4
  %65 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %17, i32 0, i32 1
  %66 = load <2 x float>, ptr %65, align 4
  call void @_ZN11GraphEditorL16HandleZoomScrollE6ImRectRNS_9ViewStateERKNS_7OptionsE(<2 x float> %64, <2 x float> %66, ptr noundef nonnull align 4 dereferenceable(16) %61, ptr noundef nonnull align 4 dereferenceable(104) %62)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %67 = call <2 x float> @_ZN5ImGui18GetCursorScreenPosEv()
  store <2 x float> %67, ptr %19, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %70, i32 0, i32 1
  %72 = load float, ptr %71, align 4, !tbaa !14
  %73 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %69, float noundef %72)
  store <2 x float> %73, ptr %20, align 4
  %74 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %74, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %77, i32 0, i32 1
  %79 = load float, ptr %78, align 4, !tbaa !14
  %80 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %76, float noundef %79)
  store <2 x float> %80, ptr %21, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 @_ZN11GraphEditorL13captureOffsetE, ptr align 4 %21, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  %81 = call noundef zeroext i1 @_ZN5ImGui15BeginChildFrameEjRK6ImVec2i(i32 noundef 71711, ptr noundef nonnull align 4 dereferenceable(8) %13, i32 noundef 0)
  call void @_ZN5ImGui12SetCursorPosERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @_ZN5ImGui10BeginGroupEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %82 = call noundef nonnull align 8 dereferenceable(14264) ptr @_ZN5ImGui5GetIOEv()
  store ptr %82, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef 1.000000e+00, float noundef 1.000000e+00)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 11, ptr noundef nonnull align 4 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @_ZN5ImGui14PushStyleColorEij(i32 noundef 3, i32 noundef -937550306)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %83 = call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  store ptr %83, ptr %25, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %85 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %84, ptr noundef nonnull align 4 dereferenceable(8) %85, i1 noundef zeroext true)
  %86 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %87 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %87, ptr %26, align 4
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %88, i32 0, i32 1
  %90 = load i32, ptr %89, align 4, !tbaa !18
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %86, ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %26, i32 noundef %90, float noundef 0.000000e+00, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %91, i32 0, i32 24
  %93 = load i8, ptr %92, align 2, !tbaa !22, !range !23, !noundef !24
  %94 = trunc i8 %93 to i1
  br i1 %94, label %95, label %109

95:                                               ; preds = %5
  %96 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !17
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !17
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %98, i32 0, i32 2
  %100 = load i32, ptr %99, align 4, !tbaa !25
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %101, i32 0, i32 3
  %103 = load i32, ptr %102, align 4, !tbaa !26
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %104, i32 0, i32 11
  %106 = load float, ptr %105, align 4, !tbaa !27
  %107 = load <2 x float>, ptr %27, align 4
  %108 = load <2 x float>, ptr %28, align 4
  call void @_ZN11GraphEditorL8DrawGridEP10ImDrawList6ImVec2RKNS_9ViewStateES2_jjf(ptr noundef %96, <2 x float> %107, ptr noundef nonnull align 4 dereferenceable(16) %97, <2 x float> %108, i32 noundef %100, i32 noundef %103, float noundef %106)
  br label %109

109:                                              ; preds = %95, %5
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  %111 = icmp ne ptr %110, null
  br i1 %111, label %112, label %127

112:                                              ; preds = %109
  %113 = load ptr, ptr %10, align 8, !tbaa !5
  %114 = load i32, ptr %113, align 4, !tbaa !28
  %115 = icmp eq i32 %114, 1
  br i1 %115, label %120, label %116

116:                                              ; preds = %112
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = load i32, ptr %117, align 4, !tbaa !28
  %119 = icmp eq i32 %118, 2
  br i1 %119, label %120, label %127

120:                                              ; preds = %116, %112
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !17
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = load i32, ptr %123, align 4, !tbaa !28
  %125 = icmp eq i32 %124, 2
  %126 = load <2 x float>, ptr %29, align 4
  call void @_ZN11GraphEditorL8FitNodesERNS_8DelegateERNS_9ViewStateE6ImVec2b(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef nonnull align 4 dereferenceable(16) %122, <2 x float> %126, i1 noundef zeroext %125)
  br label %127

127:                                              ; preds = %120, %116, %109
  %128 = load i8, ptr %9, align 1, !tbaa !9, !range !23, !noundef !24
  %129 = trunc i8 %128 to i1
  br i1 %129, label %130, label %403

130:                                              ; preds = %127
  %131 = load ptr, ptr %25, align 8, !tbaa !5
  call void @_ZN10ImDrawList13ChannelsSplitEi(ptr noundef nonnull align 8 dereferenceable(196) %131, i32 noundef 3)
  %132 = load ptr, ptr %25, align 8, !tbaa !5
  call void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196) %132, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #9
  %133 = load ptr, ptr %25, align 8, !tbaa !5
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !17
  %137 = load <2 x float>, ptr %31, align 4
  %138 = load <2 x float>, ptr %32, align 4
  %139 = call noundef zeroext i1 @_ZN11GraphEditor11DrawMiniMapEP10ImDrawListRNS_8DelegateERNS_9ViewStateERKNS_7OptionsE6ImVec2S9_(ptr noundef %133, ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef nonnull align 4 dereferenceable(16) %135, ptr noundef nonnull align 4 dereferenceable(104) %136, <2 x float> %137, <2 x float> %138)
  %140 = zext i1 %139 to i8
  store i8 %140, ptr %30, align 1, !tbaa !9
  %141 = call noundef zeroext i1 @_ZN5ImGui15IsWindowFocusedEi(i32 noundef 0)
  br i1 %141, label %142, label %149

142:                                              ; preds = %130
  %143 = load ptr, ptr %25, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %145 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %146, i32 0, i32 9
  %148 = load i32, ptr %147, align 4, !tbaa !30
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %143, ptr noundef nonnull align 4 dereferenceable(8) %144, ptr noundef nonnull align 4 dereferenceable(8) %145, i32 noundef %148, float noundef 1.000000e+00, i32 noundef 0, float noundef 2.000000e+00)
  br label %149

149:                                              ; preds = %142, %130
  %150 = load ptr, ptr %25, align 8, !tbaa !5
  call void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196) %150, i32 noundef 1)
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !17
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %153, i32 0, i32 1
  %155 = load float, ptr %154, align 4, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !11
  %156 = load i64, ptr @_ZZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenEE11hoveredNode, align 8, !tbaa !31
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = load <2 x float>, ptr %33, align 4
  %159 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %34, i32 0, i32 0
  %160 = load <2 x float>, ptr %159, align 4
  %161 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %34, i32 0, i32 1
  %162 = load <2 x float>, ptr %161, align 4
  call void @_ZN11GraphEditorL12DisplayLinksERNS_8DelegateEP10ImDrawList6ImVec2f6ImRectmRKNS_7OptionsE(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef %152, <2 x float> %158, float noundef %155, <2 x float> %160, <2 x float> %162, i64 noundef %156, ptr noundef nonnull align 4 dereferenceable(104) %157)
  %163 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !33
  %164 = icmp eq i32 %163, 1
  br i1 %164, label %165, label %169

165:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 @_ZN11GraphEditorL17editingNodeSourceE, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %166 = load ptr, ptr %22, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.ImGuiIO, ptr %166, i32 0, i32 56
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %167, i64 8, i1 false), !tbaa.struct !17
  %168 = load ptr, ptr %25, align 8, !tbaa !5
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(196) %168, ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(8) %36, i32 noundef -3618616, float noundef 3.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br label %169

169:                                              ; preds = %165, %149
  %170 = load ptr, ptr %25, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %172 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  call void @_ZN10ImDrawList12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 8 dereferenceable(196) %170, ptr noundef nonnull align 4 dereferenceable(8) %171, ptr noundef nonnull align 4 dereferenceable(8) %172, i1 noundef zeroext true)
  store i64 -1, ptr @_ZZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenEE11hoveredNode, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  store i64 -1, ptr %37, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  store i64 -1, ptr %38, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  store i64 -1, ptr %39, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #9
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = load ptr, ptr %173, align 8, !tbaa !35
  %175 = getelementptr inbounds ptr, ptr %174, i64 9
  %176 = load ptr, ptr %175, align 8
  %177 = call noundef i64 %176(ptr noundef nonnull align 8 dereferenceable(8) %173)
  store i64 %177, ptr %40, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  store i32 0, ptr %41, align 4, !tbaa !37
  br label %178

178:                                              ; preds = %283, %169
  %179 = load i32, ptr %41, align 4, !tbaa !37
  %180 = icmp slt i32 %179, 2
  br i1 %180, label %182, label %181

181:                                              ; preds = %178
  store i32 2, ptr %42, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  br label %286

182:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #9
  store i64 0, ptr %43, align 8, !tbaa !31
  br label %183

183:                                              ; preds = %279, %182
  %184 = load i64, ptr %43, align 8, !tbaa !31
  %185 = load i64, ptr %40, align 8, !tbaa !31
  %186 = icmp ult i64 %184, %185
  br i1 %186, label %188, label %187

187:                                              ; preds = %183
  store i32 5, ptr %42, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  br label %282

188:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 40, ptr %44) #9
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = load i64, ptr %43, align 8, !tbaa !31
  %191 = load ptr, ptr %189, align 8, !tbaa !35
  %192 = getelementptr inbounds ptr, ptr %191, i64 10
  %193 = load ptr, ptr %192, align 8
  call void %193(ptr dead_on_unwind writable sret(%"struct.GraphEditor::Node") align 8 %44, ptr noundef nonnull align 8 dereferenceable(8) %189, i64 noundef %190)
  %194 = getelementptr inbounds %"struct.GraphEditor::Node", ptr %44, i32 0, i32 3
  %195 = load i8, ptr %194, align 8, !tbaa !38, !range !23, !noundef !24
  %196 = trunc i8 %195 to i1
  %197 = zext i1 %196 to i32
  %198 = load i32, ptr %41, align 4, !tbaa !37
  %199 = icmp ne i32 %198, 0
  %200 = zext i1 %199 to i32
  %201 = icmp ne i32 %197, %200
  br i1 %201, label %202, label %203

202:                                              ; preds = %188
  store i32 7, ptr %42, align 4
  br label %276

203:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #9
  %204 = load ptr, ptr %8, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %204, i32 0, i32 1
  %206 = load float, ptr %205, align 4, !tbaa !14
  %207 = call { <2 x float>, <2 x float> } @_ZN11GraphEditorL11GetNodeRectERKNS_4NodeEf(ptr noundef nonnull align 8 dereferenceable(33) %44, float noundef %206)
  %208 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %45, i32 0, i32 0
  %209 = extractvalue { <2 x float>, <2 x float> } %207, 0
  store <2 x float> %209, ptr %208, align 4
  %210 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %45, i32 0, i32 1
  %211 = extractvalue { <2 x float>, <2 x float> } %207, 1
  store <2 x float> %211, ptr %210, align 4
  %212 = getelementptr inbounds %struct.ImRect, ptr %45, i32 0, i32 0
  %213 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %212, ptr noundef nonnull align 4 dereferenceable(8) %18)
  %214 = getelementptr inbounds %struct.ImRect, ptr %45, i32 0, i32 1
  %215 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %214, ptr noundef nonnull align 4 dereferenceable(8) %18)
  %216 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %45)
  br i1 %216, label %218, label %217

217:                                              ; preds = %203
  store i32 7, ptr %42, align 4
  br label %275

218:                                              ; preds = %203
  %219 = load i64, ptr %43, align 8, !tbaa !31
  %220 = trunc i64 %219 to i32
  call void @_ZN5ImGui6PushIDEi(i32 noundef %220)
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #9
  store i64 -1, ptr %46, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #9
  store i64 -1, ptr %47, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #9
  %221 = load i8, ptr %30, align 1, !tbaa !9, !range !23, !noundef !24
  %222 = trunc i8 %221 to i1
  br i1 %222, label %235, label %223

223:                                              ; preds = %218
  %224 = load ptr, ptr %25, align 8, !tbaa !5
  %225 = load i64, ptr %43, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !17
  %226 = load ptr, ptr %8, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %226, i32 0, i32 1
  %228 = load float, ptr %227, align 4, !tbaa !14
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = load ptr, ptr %7, align 8, !tbaa !5
  %231 = load i8, ptr %30, align 1, !tbaa !9, !range !23, !noundef !24
  %232 = trunc i8 %231 to i1
  %233 = load <2 x float>, ptr %49, align 4
  %234 = call noundef zeroext i1 @_ZN11GraphEditorL17HandleConnectionsEP10ImDrawListm6ImVec2fRNS_8DelegateERKNS_7OptionsEbRmS8_b(ptr noundef %224, i64 noundef %225, <2 x float> %233, float noundef %228, ptr noundef nonnull align 8 dereferenceable(8) %229, ptr noundef nonnull align 4 dereferenceable(104) %230, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %47, i1 noundef zeroext %232)
  br label %235

235:                                              ; preds = %223, %218
  %236 = phi i1 [ false, %218 ], [ %234, %223 ]
  %237 = zext i1 %236 to i8
  store i8 %237, ptr %48, align 1, !tbaa !9
  %238 = load ptr, ptr %25, align 8, !tbaa !5
  %239 = load i64, ptr %43, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !17
  %240 = load ptr, ptr %8, align 8, !tbaa !5
  %241 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %240, i32 0, i32 1
  %242 = load float, ptr %241, align 4, !tbaa !14
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = load i8, ptr %48, align 1, !tbaa !9, !range !23, !noundef !24
  %245 = trunc i8 %244 to i1
  %246 = load ptr, ptr %7, align 8, !tbaa !5
  %247 = load i8, ptr %30, align 1, !tbaa !9, !range !23, !noundef !24
  %248 = trunc i8 %247 to i1
  %249 = load <2 x float>, ptr %50, align 4
  %250 = call noundef zeroext i1 @_ZN11GraphEditorL8DrawNodeEP10ImDrawListm6ImVec2fRNS_8DelegateEbRKNS_7OptionsEbRK6ImRect(ptr noundef %238, i64 noundef %239, <2 x float> %249, float noundef %242, ptr noundef nonnull align 8 dereferenceable(8) %243, i1 noundef zeroext %245, ptr noundef nonnull align 4 dereferenceable(104) %246, i1 noundef zeroext %248, ptr noundef nonnull align 4 dereferenceable(16) %15)
  br i1 %250, label %251, label %253

251:                                              ; preds = %235
  %252 = load i64, ptr %43, align 8, !tbaa !31
  store i64 %252, ptr @_ZZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenEE11hoveredNode, align 8, !tbaa !31
  br label %253

253:                                              ; preds = %251, %235
  %254 = load ptr, ptr %25, align 8, !tbaa !5
  %255 = load i64, ptr %43, align 8, !tbaa !31
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !17
  %256 = load ptr, ptr %8, align 8, !tbaa !5
  %257 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %256, i32 0, i32 1
  %258 = load float, ptr %257, align 4, !tbaa !14
  %259 = load ptr, ptr %6, align 8, !tbaa !5
  %260 = load ptr, ptr %7, align 8, !tbaa !5
  %261 = load i8, ptr %30, align 1, !tbaa !9, !range !23, !noundef !24
  %262 = trunc i8 %261 to i1
  %263 = load <2 x float>, ptr %51, align 4
  %264 = call noundef zeroext i1 @_ZN11GraphEditorL17HandleConnectionsEP10ImDrawListm6ImVec2fRNS_8DelegateERKNS_7OptionsEbRmS8_b(ptr noundef %254, i64 noundef %255, <2 x float> %263, float noundef %258, ptr noundef nonnull align 8 dereferenceable(8) %259, ptr noundef nonnull align 4 dereferenceable(104) %260, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %47, i1 noundef zeroext %262)
  %265 = load i64, ptr %46, align 8, !tbaa !31
  %266 = icmp ne i64 %265, -1
  br i1 %266, label %270, label %267

267:                                              ; preds = %253
  %268 = load i64, ptr %47, align 8, !tbaa !31
  %269 = icmp ne i64 %268, -1
  br i1 %269, label %270, label %274

270:                                              ; preds = %267, %253
  %271 = load i64, ptr %46, align 8, !tbaa !31
  store i64 %271, ptr %37, align 8, !tbaa !31
  %272 = load i64, ptr %47, align 8, !tbaa !31
  store i64 %272, ptr %38, align 8, !tbaa !31
  %273 = load i64, ptr %43, align 8, !tbaa !31
  store i64 %273, ptr %39, align 8, !tbaa !31
  br label %274

274:                                              ; preds = %270, %267
  call void @_ZN5ImGui5PopIDEv()
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #9
  store i32 0, ptr %42, align 4
  br label %275

275:                                              ; preds = %274, %217
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #9
  br label %276

276:                                              ; preds = %275, %202
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #9
  %277 = load i32, ptr %42, align 4
  switch i32 %277, label %409 [
    i32 0, label %278
    i32 7, label %279
  ]

278:                                              ; preds = %276
  br label %279

279:                                              ; preds = %278, %276
  %280 = load i64, ptr %43, align 8, !tbaa !31
  %281 = add i64 %280, 1
  store i64 %281, ptr %43, align 8, !tbaa !31
  br label %183, !llvm.loop !40

282:                                              ; preds = %187
  br label %283

283:                                              ; preds = %282
  %284 = load i32, ptr %41, align 4, !tbaa !37
  %285 = add nsw i32 %284, 1
  store i32 %285, ptr %41, align 4, !tbaa !37
  br label %178, !llvm.loop !42

286:                                              ; preds = %181
  %287 = load ptr, ptr %25, align 8, !tbaa !5
  call void @_ZN10ImDrawList11PopClipRectEv(ptr noundef nonnull align 8 dereferenceable(196) %287)
  %288 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !33
  %289 = icmp eq i32 %288, 3
  br i1 %289, label %290, label %316

290:                                              ; preds = %286
  %291 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef 1.000000e+00)
  br i1 %291, label %292, label %315

292:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #9
  %293 = load ptr, ptr %22, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ImGuiIO, ptr %293, i32 0, i32 52
  %295 = load ptr, ptr %8, align 8, !tbaa !5
  %296 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %295, i32 0, i32 1
  %297 = load float, ptr %296, align 4, !tbaa !14
  %298 = call <2 x float> @_ZdvRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %294, float noundef %297)
  store <2 x float> %298, ptr %52, align 4
  %299 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 0
  %300 = load float, ptr %299, align 4, !tbaa !43
  %301 = call float @llvm.fabs.f32(float %300)
  %302 = fcmp oge float %301, 1.000000e+00
  br i1 %302, label %308, label %303

303:                                              ; preds = %292
  %304 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 1
  %305 = load float, ptr %304, align 4, !tbaa !44
  %306 = call float @llvm.fabs.f32(float %305)
  %307 = fcmp oge float %306, 1.000000e+00
  br i1 %307, label %308, label %314

308:                                              ; preds = %303, %292
  %309 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %52, i64 8, i1 false), !tbaa.struct !17
  %310 = load <2 x float>, ptr %53, align 4
  %311 = load ptr, ptr %309, align 8, !tbaa !35
  %312 = getelementptr inbounds ptr, ptr %311, i64 2
  %313 = load ptr, ptr %312, align 8
  call void %313(ptr noundef nonnull align 8 dereferenceable(8) %309, <2 x float> %310)
  br label %314

314:                                              ; preds = %308, %303
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  br label %315

315:                                              ; preds = %314, %290
  br label %316

316:                                              ; preds = %315, %286
  %317 = load ptr, ptr %25, align 8, !tbaa !5
  call void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196) %317, i32 noundef 0)
  %318 = load i8, ptr %30, align 1, !tbaa !9, !range !23, !noundef !24
  %319 = trunc i8 %318 to i1
  br i1 %319, label %332, label %320

320:                                              ; preds = %316
  %321 = load ptr, ptr %6, align 8, !tbaa !5
  %322 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !17
  %323 = load ptr, ptr %8, align 8, !tbaa !5
  %324 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %323, i32 0, i32 1
  %325 = load float, ptr %324, align 4, !tbaa !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %15, i64 16, i1 false), !tbaa.struct !11
  %326 = load ptr, ptr %7, align 8, !tbaa !5
  %327 = load <2 x float>, ptr %54, align 4
  %328 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %55, i32 0, i32 0
  %329 = load <2 x float>, ptr %328, align 4
  %330 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %55, i32 0, i32 1
  %331 = load <2 x float>, ptr %330, align 4
  call void @_ZN11GraphEditorL19HandleQuadSelectionERNS_8DelegateEP10ImDrawList6ImVec2f6ImRectRKNS_7OptionsE(ptr noundef nonnull align 8 dereferenceable(8) %321, ptr noundef %322, <2 x float> %327, float noundef %325, <2 x float> %329, <2 x float> %331, ptr noundef nonnull align 4 dereferenceable(104) %326)
  br label %332

332:                                              ; preds = %320, %316
  %333 = load ptr, ptr %25, align 8, !tbaa !5
  call void @_ZN10ImDrawList13ChannelsMergeEv(ptr noundef nonnull align 8 dereferenceable(196) %333)
  %334 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !33
  %335 = icmp eq i32 %334, 5
  br i1 %335, label %336, label %344

336:                                              ; preds = %332
  %337 = load ptr, ptr %22, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.ImGuiIO, ptr %337, i32 0, i32 57
  %339 = getelementptr inbounds [5 x i8], ptr %338, i64 0, i64 2
  %340 = load i8, ptr %339, align 2, !tbaa !9, !range !23, !noundef !24
  %341 = trunc i8 %340 to i1
  br i1 %341, label %343, label %342

342:                                              ; preds = %336
  store i32 0, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !33
  br label %343

343:                                              ; preds = %342, %336
  br label %355

344:                                              ; preds = %332
  %345 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !33
  %346 = icmp ne i32 %345, 0
  br i1 %346, label %347, label %354

347:                                              ; preds = %344
  %348 = load ptr, ptr %22, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.ImGuiIO, ptr %348, i32 0, i32 57
  %350 = getelementptr inbounds [5 x i8], ptr %349, i64 0, i64 0
  %351 = load i8, ptr %350, align 4, !tbaa !9, !range !23, !noundef !24
  %352 = trunc i8 %351 to i1
  br i1 %352, label %354, label %353

353:                                              ; preds = %347
  store i32 0, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !33
  br label %354

354:                                              ; preds = %353, %347, %344
  br label %355

355:                                              ; preds = %354, %343
  %356 = load i8, ptr %30, align 1, !tbaa !9, !range !23, !noundef !24
  %357 = trunc i8 %356 to i1
  br i1 %357, label %375, label %358

358:                                              ; preds = %355
  %359 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !33
  %360 = icmp eq i32 %359, 0
  br i1 %360, label %361, label %375

361:                                              ; preds = %358
  %362 = load ptr, ptr %22, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.ImGuiIO, ptr %362, i32 0, i32 56
  %364 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(8) %363)
  br i1 %364, label %365, label %375

365:                                              ; preds = %361
  %366 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %366, label %367, label %375

367:                                              ; preds = %365
  %368 = load ptr, ptr %6, align 8, !tbaa !5
  %369 = load i64, ptr %39, align 8, !tbaa !31
  %370 = load i64, ptr %37, align 8, !tbaa !31
  %371 = load i64, ptr %38, align 8, !tbaa !31
  %372 = load ptr, ptr %368, align 8, !tbaa !35
  %373 = getelementptr inbounds ptr, ptr %372, i64 6
  %374 = load ptr, ptr %373, align 8
  call void %374(ptr noundef nonnull align 8 dereferenceable(8) %368, i64 noundef %369, i64 noundef %370, i64 noundef %371)
  br label %375

375:                                              ; preds = %367, %365, %361, %358, %355
  %376 = call noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef 0)
  br i1 %376, label %377, label %389

377:                                              ; preds = %375
  %378 = call noundef zeroext i1 @_ZN5ImGui15IsAnyItemActiveEv()
  br i1 %378, label %389, label %379

379:                                              ; preds = %377
  %380 = load ptr, ptr %22, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.ImGuiIO, ptr %380, i32 0, i32 70
  %382 = getelementptr inbounds [5 x i8], ptr %381, i64 0, i64 2
  %383 = load i8, ptr %382, align 2, !tbaa !9, !range !23, !noundef !24
  %384 = trunc i8 %383 to i1
  br i1 %384, label %385, label %389

385:                                              ; preds = %379
  %386 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !33
  %387 = icmp eq i32 %386, 0
  br i1 %387, label %388, label %389

388:                                              ; preds = %385
  store i32 5, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !33
  br label %389

389:                                              ; preds = %388, %385, %379, %377, %375
  %390 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !33
  %391 = icmp eq i32 %390, 5
  br i1 %391, label %392, label %402

392:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #9
  %393 = load ptr, ptr %22, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.ImGuiIO, ptr %393, i32 0, i32 52
  %395 = load ptr, ptr %8, align 8, !tbaa !5
  %396 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %395, i32 0, i32 1
  %397 = load float, ptr %396, align 4, !tbaa !14
  %398 = call <2 x float> @_ZdvRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %394, float noundef %397)
  store <2 x float> %398, ptr %56, align 4
  %399 = load ptr, ptr %8, align 8, !tbaa !5
  %400 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %399, i32 0, i32 0
  %401 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %400, ptr noundef nonnull align 4 dereferenceable(8) %56)
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #9
  br label %402

402:                                              ; preds = %392, %389
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  br label %403

403:                                              ; preds = %402, %127
  call void @_ZN5ImGui11PopClipRectEv()
  call void @_ZN5ImGui13PopStyleColorEi(i32 noundef 1)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 2)
  call void @_ZN5ImGui8EndGroupEv()
  call void @_ZN5ImGui13EndChildFrameEv()
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 3)
  %404 = load ptr, ptr %10, align 8, !tbaa !5
  %405 = icmp ne ptr %404, null
  br i1 %405, label %406, label %408

406:                                              ; preds = %403
  %407 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 0, ptr %407, align 4, !tbaa !28
  br label %408

408:                                              ; preds = %406, %403
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  ret void

409:                                              ; preds = %276
  unreachable
}

declare void @_ZN5ImGui12PushStyleVarEif(i32 noundef, float noundef) #5

declare void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #5

declare <2 x float> @_ZN5ImGui18GetCursorScreenPosEv() #5

declare <2 x float> @_ZN5ImGui21GetContentRegionAvailEv() #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11GraphEditorL16HandleZoomScrollE6ImRectRNS_9ViewStateERKNS_7OptionsE(<2 x float>, <2 x float>, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(104)) #0

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

declare void @_ZN5ImGui12SetCursorPosERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) #5

declare void @_ZN5ImGui10BeginGroupEv() #5

declare void @_ZN5ImGui14PushStyleColorEij(i32 noundef, i32 noundef) #5

declare noundef ptr @_ZN5ImGui17GetWindowDrawListEv() #5

declare void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11GraphEditorL8DrawGridEP10ImDrawList6ImVec2RKNS_9ViewStateES2_jjf(ptr noundef, <2 x float>, ptr noundef nonnull align 4 dereferenceable(16), <2 x float>, i32 noundef, i32 noundef, float noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11GraphEditorL8FitNodesERNS_8DelegateERNS_9ViewStateE6ImVec2b(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16), <2 x float>, i1 noundef zeroext) #0

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

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

declare noundef zeroext i1 @_ZN5ImGui15IsWindowFocusedEi(i32 noundef) #5

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

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

declare void @_ZN10ImDrawList12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) #5

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZN11GraphEditorL11GetNodeRectERKNS_4NodeEf(ptr noundef nonnull align 8 dereferenceable(33), float noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #2 align 2

declare void @_ZN5ImGui6PushIDEi(i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN11GraphEditorL17HandleConnectionsEP10ImDrawListm6ImVec2fRNS_8DelegateERKNS_7OptionsEbRmS8_b(ptr noundef, i64 noundef, <2 x float>, float noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(104), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) #0

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN11GraphEditorL8DrawNodeEP10ImDrawListm6ImVec2fRNS_8DelegateEbRKNS_7OptionsEbRK6ImRect(ptr noundef, i64 noundef, <2 x float>, float noundef, ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(104), i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(16)) #0

declare void @_ZN5ImGui5PopIDEv() #5

declare void @_ZN10ImDrawList11PopClipRectEv(ptr noundef nonnull align 8 dereferenceable(196)) #5

declare noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef, float noundef) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10ImDrawList13ChannelsMergeEv(ptr noundef nonnull align 8 dereferenceable(196)) #7 align 2

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) #5

declare noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef) #5

declare noundef zeroext i1 @_ZN5ImGui15IsAnyItemActiveEv() #5

declare void @_ZN5ImGui11PopClipRectEv() #5

declare void @_ZN5ImGui13PopStyleColorEi(i32 noundef) #5

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #5

declare void @_ZN5ImGui8EndGroupEv() #5

declare void @_ZN5ImGui13EndChildFrameEv() #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i64 0, i64 4, !12, i64 4, i64 4, !12, i64 8, i64 4, !12, i64 12, i64 4, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!15, !13, i64 8}
!15 = !{!"_ZTSN11GraphEditor9ViewStateE", !16, i64 0, !13, i64 8, !13, i64 12}
!16 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!17 = !{i64 0, i64 4, !12, i64 4, i64 4, !12}
!18 = !{!19, !21, i64 16}
!19 = !{!"_ZTSN11GraphEditor7OptionsE", !20, i64 0, !21, i64 16, !21, i64 20, !21, i64 24, !21, i64 28, !21, i64 32, !21, i64 36, !21, i64 40, !21, i64 44, !21, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !13, i64 92, !13, i64 96, !10, i64 100, !10, i64 101, !10, i64 102, !10, i64 103}
!20 = !{!"_ZTS6ImRect", !16, i64 0, !16, i64 8}
!21 = !{!"int", !7, i64 0}
!22 = !{!19, !10, i64 102}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!19, !21, i64 20}
!26 = !{!19, !21, i64 24}
!27 = !{!19, !13, i64 56}
!28 = !{!29, !29, i64 0}
!29 = !{!"_ZTSN11GraphEditor11FitOnScreenE", !7, i64 0}
!30 = !{!19, !21, i64 48}
!31 = !{!32, !32, i64 0}
!32 = !{!"long", !7, i64 0}
!33 = !{!34, !34, i64 0}
!34 = !{!"_ZTSN11GraphEditor13NodeOperationE", !7, i64 0}
!35 = !{!36, !36, i64 0}
!36 = !{!"vtable pointer", !8, i64 0}
!37 = !{!21, !21, i64 0}
!38 = !{!39, !10, i64 32}
!39 = !{!"_ZTSN11GraphEditor4NodeE", !6, i64 0, !32, i64 8, !20, i64 16, !10, i64 32}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = distinct !{!42, !41}
!43 = !{!16, !13, i64 0}
!44 = !{!16, !13, i64 4}


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

%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"struct.GraphEditor::Node" = type <{ ptr, i64, %struct.ImRect, i8, [7 x i8] }>

@_ZN11GraphEditorL13nodeOperationE = external hidden local_unnamed_addr global i32, align 4
@_ZN11GraphEditorL13captureOffsetE = external hidden local_unnamed_addr global %struct.ImVec2, align 4
@_ZZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenEE11hoveredNode = external hidden local_unnamed_addr global i64, align 8
@_ZN11GraphEditorL17editingNodeSourceE = external hidden local_unnamed_addr global %struct.ImVec2, align 4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN11GraphEditor11DrawMiniMapEP10ImDrawListRNS_8DelegateERNS_9ViewStateERKNS_7OptionsE6ImVec2S9_(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(104), <2 x float>, <2 x float>) local_unnamed_addr #0

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

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

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

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

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

declare void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef) local_unnamed_addr #4

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

declare void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef, float noundef) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(14264) ptr @_ZN5ImGui5GetIOEv() local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(104) %1, ptr noundef nonnull align 4 dereferenceable(16) %2, i1 noundef zeroext %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImRect, align 8
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImVec2, align 8
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca %struct.ImVec2, align 8
  %19 = alloca %struct.ImVec2, align 8
  %20 = alloca %"struct.GraphEditor::Node", align 8
  %21 = alloca %struct.ImRect, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca %struct.ImVec2, align 8
  tail call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 8, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 11, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 13, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %25 = call <2 x float> @_ZN5ImGui18GetCursorScreenPosEv()
  store <2 x float> %25, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %26 = call <2 x float> @_ZN5ImGui21GetContentRegionAvailEv()
  store <2 x float> %26, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %27 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %27, ptr %11, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  %.sroa.067.0.copyload = load <2 x float>, ptr %10, align 8
  %.sroa.268.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  %.sroa.268.0.copyload = load <2 x float>, ptr %.sroa.268.0..sroa_idx, align 8
  call void @_ZN11GraphEditorL16HandleZoomScrollE6ImRectRNS_9ViewStateERKNS_7OptionsE(<2 x float> %.sroa.067.0.copyload, <2 x float> %.sroa.268.0.copyload, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(104) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %28 = call <2 x float> @_ZN5ImGui18GetCursorScreenPosEv()
  store <2 x float> %28, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %29 = getelementptr inbounds i8, ptr %2, i64 8
  %30 = load float, ptr %29, align 4, !tbaa !5
  %31 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef %30)
  store <2 x float> %31, ptr %14, align 8
  %32 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %32, ptr %12, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %33 = load float, ptr %29, align 4, !tbaa !5
  %34 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef %33)
  store <2 x float> %34, ptr @_ZN11GraphEditorL13captureOffsetE, align 4
  %35 = call noundef zeroext i1 @_ZN5ImGui15BeginChildFrameEjRK6ImVec2i(i32 noundef 71711, ptr noundef nonnull align 4 dereferenceable(8) %8, i32 noundef 0)
  call void @_ZN5ImGui12SetCursorPosERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @_ZN5ImGui10BeginGroupEv()
  %36 = call noundef nonnull align 8 dereferenceable(14264) ptr @_ZN5ImGui5GetIOEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 1.000000e+00, float noundef 1.000000e+00)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 11, ptr noundef nonnull align 4 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @_ZN5ImGui14PushStyleColorEij(i32 noundef 3, i32 noundef -937550306)
  %37 = call noundef ptr @_ZN5ImGui17GetWindowDrawListEv()
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %.sroa.268.0..sroa_idx, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %38 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %38, ptr %17, align 8
  %39 = getelementptr inbounds i8, ptr %1, i64 16
  %40 = load i32, ptr %39, align 4, !tbaa !11
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %37, ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %17, i32 noundef %40, float noundef 0.000000e+00, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %41 = getelementptr inbounds i8, ptr %1, i64 102
  %42 = load i8, ptr %41, align 2, !tbaa !16, !range !17, !noundef !18
  %43 = trunc nuw i8 %42 to i1
  br i1 %43, label %44, label %51

44:                                               ; preds = %5
  %.sroa.042.0.copyload = load <2 x float>, ptr %7, align 8
  %.sroa.041.0.copyload = load <2 x float>, ptr %8, align 8
  %45 = getelementptr inbounds i8, ptr %1, i64 20
  %46 = load i32, ptr %45, align 4, !tbaa !19
  %47 = getelementptr inbounds i8, ptr %1, i64 24
  %48 = load i32, ptr %47, align 4, !tbaa !20
  %49 = getelementptr inbounds i8, ptr %1, i64 56
  %50 = load float, ptr %49, align 4, !tbaa !21
  call void @_ZN11GraphEditorL8DrawGridEP10ImDrawList6ImVec2RKNS_9ViewStateES2_jjf(ptr noundef nonnull %37, <2 x float> %.sroa.042.0.copyload, ptr noundef nonnull align 4 dereferenceable(16) %2, <2 x float> %.sroa.041.0.copyload, i32 noundef %46, i32 noundef %48, float noundef %50)
  br label %51

51:                                               ; preds = %44, %5
  %.not134 = icmp eq ptr %4, null
  br i1 %.not134, label %56, label %52

52:                                               ; preds = %51
  %53 = load i32, ptr %4, align 4, !tbaa !22
  %.off = add i32 %53, -1
  %switch = icmp ult i32 %.off, 2
  br i1 %switch, label %54, label %56

54:                                               ; preds = %52
  %.sroa.040.0.copyload = load <2 x float>, ptr %8, align 8
  %55 = icmp eq i32 %53, 2
  call void @_ZN11GraphEditorL8FitNodesERNS_8DelegateERNS_9ViewStateE6ImVec2b(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(16) %2, <2 x float> %.sroa.040.0.copyload, i1 noundef zeroext %55)
  br label %56

56:                                               ; preds = %52, %54, %51
  br i1 %3, label %57, label %199

57:                                               ; preds = %56
  call void @_ZN10ImDrawList13ChannelsSplitEi(ptr noundef nonnull align 8 dereferenceable(196) %37, i32 noundef 3)
  call void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196) %37, i32 noundef 2)
  %.sroa.033.0.copyload = load <2 x float>, ptr %7, align 8
  %.sroa.032.0.copyload = load <2 x float>, ptr %8, align 8
  %58 = call noundef zeroext i1 @_ZN11GraphEditor11DrawMiniMapEP10ImDrawListRNS_8DelegateERNS_9ViewStateERKNS_7OptionsE6ImVec2S9_(ptr noundef nonnull %37, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(104) %1, <2 x float> %.sroa.033.0.copyload, <2 x float> %.sroa.032.0.copyload)
  %59 = call noundef zeroext i1 @_ZN5ImGui15IsWindowFocusedEi(i32 noundef 0)
  br i1 %59, label %60, label %63

60:                                               ; preds = %57
  %61 = getelementptr inbounds i8, ptr %1, i64 48
  %62 = load i32, ptr %61, align 4, !tbaa !24
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %37, ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %.sroa.268.0..sroa_idx, i32 noundef %62, float noundef 1.000000e+00, i32 noundef 0, float noundef 2.000000e+00)
  br label %63

63:                                               ; preds = %60, %57
  call void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196) %37, i32 noundef 1)
  %.sroa.031.0.copyload = load <2 x float>, ptr %12, align 8
  %64 = load float, ptr %29, align 4, !tbaa !5
  %.sroa.029.0.copyload = load <2 x float>, ptr %10, align 8
  %.sroa.230.0.copyload = load <2 x float>, ptr %.sroa.268.0..sroa_idx, align 8
  %65 = load i64, ptr @_ZZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenEE11hoveredNode, align 8, !tbaa !25
  call void @_ZN11GraphEditorL12DisplayLinksERNS_8DelegateEP10ImDrawList6ImVec2f6ImRectmRKNS_7OptionsE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %37, <2 x float> %.sroa.031.0.copyload, float noundef %64, <2 x float> %.sroa.029.0.copyload, <2 x float> %.sroa.230.0.copyload, i64 noundef %65, ptr noundef nonnull align 4 dereferenceable(104) %1)
  %66 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !27
  %67 = icmp eq i32 %66, 1
  br i1 %67, label %68, label %72

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %69 = load i64, ptr @_ZN11GraphEditorL17editingNodeSourceE, align 4
  store i64 %69, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %70 = getelementptr inbounds i8, ptr %36, i64 3572
  %71 = load i64, ptr %70, align 4
  store i64 %71, ptr %19, align 8
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(196) %37, ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19, i32 noundef -3618616, float noundef 3.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  br label %72

72:                                               ; preds = %68, %63
  call void @_ZN10ImDrawList12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 8 dereferenceable(196) %37, ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %.sroa.268.0..sroa_idx, i1 noundef zeroext true)
  store i64 -1, ptr @_ZZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenEE11hoveredNode, align 8, !tbaa !25
  %73 = load ptr, ptr %0, align 8, !tbaa !29
  %74 = getelementptr inbounds i8, ptr %73, i64 72
  %75 = load ptr, ptr %74, align 8
  %76 = call noundef i64 %75(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %.not = icmp eq i64 %76, 0
  %77 = getelementptr inbounds i8, ptr %20, i64 32
  %78 = getelementptr inbounds i8, ptr %21, i64 8
  br i1 %.not, label %.split151.us, label %.preheader.us.preheader

.preheader.us.preheader:                          ; preds = %72, %109
  %.1143.us = phi i64 [ %.4.us, %109 ], [ -1, %72 ]
  %.1118142.us = phi i64 [ %.4121.us, %109 ], [ -1, %72 ]
  %.1123141.us = phi i64 [ %.4126.us, %109 ], [ -1, %72 ]
  %.0128139.us = phi i64 [ %110, %109 ], [ 0, %72 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #8
  %79 = load ptr, ptr %0, align 8, !tbaa !29
  %80 = getelementptr inbounds i8, ptr %79, i64 80
  %81 = load ptr, ptr %80, align 8
  call void %81(ptr dead_on_unwind nonnull writable sret(%"struct.GraphEditor::Node") align 8 %20, ptr noundef nonnull align 8 dereferenceable(8) %0, i64 noundef %.0128139.us)
  %82 = load i8, ptr %77, align 8, !tbaa !31, !range !17, !noundef !18
  %.not.us = icmp eq i8 %82, 0
  br i1 %.not.us, label %83, label %109

83:                                               ; preds = %.preheader.us.preheader
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #8
  %84 = load float, ptr %29, align 4, !tbaa !5
  %85 = call { <2 x float>, <2 x float> } @_ZN11GraphEditorL11GetNodeRectERKNS_4NodeEf(ptr noundef nonnull align 8 dereferenceable(33) %20, float noundef %84)
  %86 = extractvalue { <2 x float>, <2 x float> } %85, 0
  store <2 x float> %86, ptr %21, align 8
  %87 = extractvalue { <2 x float>, <2 x float> } %85, 1
  store <2 x float> %87, ptr %78, align 8
  %88 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %89 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %78, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %90 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %21)
  br i1 %90, label %91, label %108

91:                                               ; preds = %83
  %92 = trunc i64 %.0128139.us to i32
  call void @_ZN5ImGui6PushIDEi(i32 noundef %92)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  store i64 -1, ptr %22, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  store i64 -1, ptr %23, align 8, !tbaa !25
  br i1 %58, label %96, label %93

93:                                               ; preds = %91
  %.sroa.012.0.copyload.us = load <2 x float>, ptr %12, align 8
  %94 = load float, ptr %29, align 4, !tbaa !5
  %95 = call noundef zeroext i1 @_ZN11GraphEditorL17HandleConnectionsEP10ImDrawListm6ImVec2fRNS_8DelegateERKNS_7OptionsEbRmS8_b(ptr noundef nonnull %37, i64 noundef %.0128139.us, <2 x float> %.sroa.012.0.copyload.us, float noundef %94, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(104) %1, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23, i1 noundef zeroext false)
  br label %96

96:                                               ; preds = %93, %91
  %97 = phi i1 [ false, %91 ], [ %95, %93 ]
  %.sroa.011.0.copyload.us = load <2 x float>, ptr %12, align 8
  %98 = load float, ptr %29, align 4, !tbaa !5
  %99 = call noundef zeroext i1 @_ZN11GraphEditorL8DrawNodeEP10ImDrawListm6ImVec2fRNS_8DelegateEbRKNS_7OptionsEbRK6ImRect(ptr noundef nonnull %37, i64 noundef %.0128139.us, <2 x float> %.sroa.011.0.copyload.us, float noundef %98, ptr noundef nonnull align 8 dereferenceable(8) %0, i1 noundef zeroext %97, ptr noundef nonnull align 4 dereferenceable(104) %1, i1 noundef zeroext %58, ptr noundef nonnull align 4 dereferenceable(16) %10)
  br i1 %99, label %100, label %101

100:                                              ; preds = %96
  store i64 %.0128139.us, ptr @_ZZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenEE11hoveredNode, align 8, !tbaa !25
  br label %101

101:                                              ; preds = %100, %96
  %.sroa.010.0.copyload.us = load <2 x float>, ptr %12, align 8
  %102 = load float, ptr %29, align 4, !tbaa !5
  %103 = call noundef zeroext i1 @_ZN11GraphEditorL17HandleConnectionsEP10ImDrawListm6ImVec2fRNS_8DelegateERKNS_7OptionsEbRmS8_b(ptr noundef nonnull %37, i64 noundef %.0128139.us, <2 x float> %.sroa.010.0.copyload.us, float noundef %102, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(104) %1, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23, i1 noundef zeroext %58)
  %104 = load i64, ptr %22, align 8, !tbaa !25
  %105 = icmp ne i64 %104, -1
  %106 = load i64, ptr %23, align 8
  %107 = icmp ne i64 %106, -1
  %or.cond.us = select i1 %105, i1 true, i1 %107
  %.2124.us = select i1 %or.cond.us, i64 %.0128139.us, i64 %.1123141.us
  %.2119.us = select i1 %or.cond.us, i64 %106, i64 %.1118142.us
  %.2.us = select i1 %or.cond.us, i64 %104, i64 %.1143.us
  call void @_ZN5ImGui5PopIDEv()
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br label %108

108:                                              ; preds = %101, %83
  %.3125.us = phi i64 [ %.2124.us, %101 ], [ %.1123141.us, %83 ]
  %.3120.us = phi i64 [ %.2119.us, %101 ], [ %.1118142.us, %83 ]
  %.3.us = phi i64 [ %.2.us, %101 ], [ %.1143.us, %83 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  br label %109

109:                                              ; preds = %108, %.preheader.us.preheader
  %.4126.us = phi i64 [ %.3125.us, %108 ], [ %.1123141.us, %.preheader.us.preheader ]
  %.4121.us = phi i64 [ %.3120.us, %108 ], [ %.1118142.us, %.preheader.us.preheader ]
  %.4.us = phi i64 [ %.3.us, %108 ], [ %.1143.us, %.preheader.us.preheader ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #8
  %110 = add nuw i64 %.0128139.us, 1
  %exitcond.not = icmp eq i64 %110, %76
  br i1 %exitcond.not, label %._crit_edge.us, label %.preheader.us.preheader, !llvm.loop !34

._crit_edge.us:                                   ; preds = %109, %141
  %.1143.us.1 = phi i64 [ %.4.us.1, %141 ], [ %.4.us, %109 ]
  %.1118142.us.1 = phi i64 [ %.4121.us.1, %141 ], [ %.4121.us, %109 ]
  %.1123141.us.1 = phi i64 [ %.4126.us.1, %141 ], [ %.4126.us, %109 ]
  %.0128139.us.1 = phi i64 [ %142, %141 ], [ 0, %109 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #8
  %111 = load ptr, ptr %0, align 8, !tbaa !29
  %112 = getelementptr inbounds i8, ptr %111, i64 80
  %113 = load ptr, ptr %112, align 8
  call void %113(ptr dead_on_unwind nonnull writable sret(%"struct.GraphEditor::Node") align 8 %20, ptr noundef nonnull align 8 dereferenceable(8) %0, i64 noundef %.0128139.us.1)
  %114 = load i8, ptr %77, align 8, !tbaa !31, !range !17, !noundef !18
  %.not.us.1.not = icmp eq i8 %114, 0
  br i1 %.not.us.1.not, label %141, label %115

115:                                              ; preds = %._crit_edge.us
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #8
  %116 = load float, ptr %29, align 4, !tbaa !5
  %117 = call { <2 x float>, <2 x float> } @_ZN11GraphEditorL11GetNodeRectERKNS_4NodeEf(ptr noundef nonnull align 8 dereferenceable(33) %20, float noundef %116)
  %118 = extractvalue { <2 x float>, <2 x float> } %117, 0
  store <2 x float> %118, ptr %21, align 8
  %119 = extractvalue { <2 x float>, <2 x float> } %117, 1
  store <2 x float> %119, ptr %78, align 8
  %120 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %121 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %78, ptr noundef nonnull align 4 dereferenceable(8) %12)
  %122 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %21)
  br i1 %122, label %123, label %140

123:                                              ; preds = %115
  %124 = trunc i64 %.0128139.us.1 to i32
  call void @_ZN5ImGui6PushIDEi(i32 noundef %124)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  store i64 -1, ptr %22, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  store i64 -1, ptr %23, align 8, !tbaa !25
  br i1 %58, label %128, label %125

125:                                              ; preds = %123
  %.sroa.012.0.copyload.us.1 = load <2 x float>, ptr %12, align 8
  %126 = load float, ptr %29, align 4, !tbaa !5
  %127 = call noundef zeroext i1 @_ZN11GraphEditorL17HandleConnectionsEP10ImDrawListm6ImVec2fRNS_8DelegateERKNS_7OptionsEbRmS8_b(ptr noundef nonnull %37, i64 noundef %.0128139.us.1, <2 x float> %.sroa.012.0.copyload.us.1, float noundef %126, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(104) %1, i1 noundef zeroext false, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23, i1 noundef zeroext false)
  br label %128

128:                                              ; preds = %125, %123
  %129 = phi i1 [ false, %123 ], [ %127, %125 ]
  %.sroa.011.0.copyload.us.1 = load <2 x float>, ptr %12, align 8
  %130 = load float, ptr %29, align 4, !tbaa !5
  %131 = call noundef zeroext i1 @_ZN11GraphEditorL8DrawNodeEP10ImDrawListm6ImVec2fRNS_8DelegateEbRKNS_7OptionsEbRK6ImRect(ptr noundef nonnull %37, i64 noundef %.0128139.us.1, <2 x float> %.sroa.011.0.copyload.us.1, float noundef %130, ptr noundef nonnull align 8 dereferenceable(8) %0, i1 noundef zeroext %129, ptr noundef nonnull align 4 dereferenceable(104) %1, i1 noundef zeroext %58, ptr noundef nonnull align 4 dereferenceable(16) %10)
  br i1 %131, label %132, label %133

132:                                              ; preds = %128
  store i64 %.0128139.us.1, ptr @_ZZN11GraphEditor4ShowERNS_8DelegateERKNS_7OptionsERNS_9ViewStateEbPNS_11FitOnScreenEE11hoveredNode, align 8, !tbaa !25
  br label %133

133:                                              ; preds = %132, %128
  %.sroa.010.0.copyload.us.1 = load <2 x float>, ptr %12, align 8
  %134 = load float, ptr %29, align 4, !tbaa !5
  %135 = call noundef zeroext i1 @_ZN11GraphEditorL17HandleConnectionsEP10ImDrawListm6ImVec2fRNS_8DelegateERKNS_7OptionsEbRmS8_b(ptr noundef nonnull %37, i64 noundef %.0128139.us.1, <2 x float> %.sroa.010.0.copyload.us.1, float noundef %134, ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(104) %1, i1 noundef zeroext true, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23, i1 noundef zeroext %58)
  %136 = load i64, ptr %22, align 8, !tbaa !25
  %137 = icmp ne i64 %136, -1
  %138 = load i64, ptr %23, align 8
  %139 = icmp ne i64 %138, -1
  %or.cond.us.1 = select i1 %137, i1 true, i1 %139
  %.2124.us.1 = select i1 %or.cond.us.1, i64 %.0128139.us.1, i64 %.1123141.us.1
  %.2119.us.1 = select i1 %or.cond.us.1, i64 %138, i64 %.1118142.us.1
  %.2.us.1 = select i1 %or.cond.us.1, i64 %136, i64 %.1143.us.1
  call void @_ZN5ImGui5PopIDEv()
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br label %140

140:                                              ; preds = %133, %115
  %.3125.us.1 = phi i64 [ %.2124.us.1, %133 ], [ %.1123141.us.1, %115 ]
  %.3120.us.1 = phi i64 [ %.2119.us.1, %133 ], [ %.1118142.us.1, %115 ]
  %.3.us.1 = phi i64 [ %.2.us.1, %133 ], [ %.1143.us.1, %115 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  br label %141

141:                                              ; preds = %140, %._crit_edge.us
  %.4126.us.1 = phi i64 [ %.3125.us.1, %140 ], [ %.1123141.us.1, %._crit_edge.us ]
  %.4121.us.1 = phi i64 [ %.3120.us.1, %140 ], [ %.1118142.us.1, %._crit_edge.us ]
  %.4.us.1 = phi i64 [ %.3.us.1, %140 ], [ %.1143.us.1, %._crit_edge.us ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #8
  %142 = add nuw i64 %.0128139.us.1, 1
  %exitcond.1.not = icmp eq i64 %142, %76
  br i1 %exitcond.1.not, label %.split151.us, label %._crit_edge.us, !llvm.loop !34

.split151.us:                                     ; preds = %141, %72
  %.us-phi = phi i64 [ -1, %72 ], [ %.4126.us.1, %141 ]
  %.us-phi152 = phi i64 [ -1, %72 ], [ %.4121.us.1, %141 ]
  %.us-phi153 = phi i64 [ -1, %72 ], [ %.4.us.1, %141 ]
  call void @_ZN10ImDrawList11PopClipRectEv(ptr noundef nonnull align 8 dereferenceable(196) %37)
  %143 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !27
  %144 = icmp eq i32 %143, 3
  br i1 %144, label %145, label %159

145:                                              ; preds = %.split151.us
  %146 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef 1.000000e+00)
  br i1 %146, label %147, label %159

147:                                              ; preds = %145
  %148 = getelementptr inbounds i8, ptr %36, i64 240
  %149 = load float, ptr %29, align 4, !tbaa !5
  %150 = call <2 x float> @_ZdvRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %148, float noundef %149)
  %151 = call <2 x float> @llvm.fabs.v2f32(<2 x float> %150)
  %152 = fcmp ult <2 x float> %151, <float 1.000000e+00, float 1.000000e+00>
  %153 = extractelement <2 x i1> %152, i64 0
  %154 = extractelement <2 x i1> %152, i64 1
  %or.cond138 = select i1 %153, i1 %154, i1 false
  br i1 %or.cond138, label %159, label %155

155:                                              ; preds = %147
  %156 = load ptr, ptr %0, align 8, !tbaa !29
  %157 = getelementptr inbounds i8, ptr %156, i64 16
  %158 = load ptr, ptr %157, align 8
  call void %158(ptr noundef nonnull align 8 dereferenceable(8) %0, <2 x float> %150)
  br label %159

159:                                              ; preds = %155, %147, %145, %.split151.us
  call void @_ZN10ImDrawList18ChannelsSetCurrentEi(ptr noundef nonnull align 8 dereferenceable(196) %37, i32 noundef 0)
  br i1 %58, label %162, label %160

160:                                              ; preds = %159
  %.sroa.06.0.copyload = load <2 x float>, ptr %12, align 8
  %161 = load float, ptr %29, align 4, !tbaa !5
  %.sroa.0.0.copyload = load <2 x float>, ptr %10, align 8
  %.sroa.2.0.copyload = load <2 x float>, ptr %.sroa.268.0..sroa_idx, align 8
  call void @_ZN11GraphEditorL19HandleQuadSelectionERNS_8DelegateEP10ImDrawList6ImVec2f6ImRectRKNS_7OptionsE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %37, <2 x float> %.sroa.06.0.copyload, float noundef %161, <2 x float> %.sroa.0.0.copyload, <2 x float> %.sroa.2.0.copyload, ptr noundef nonnull align 4 dereferenceable(104) %1)
  br label %162

162:                                              ; preds = %160, %159
  call void @_ZN10ImDrawList13ChannelsMergeEv(ptr noundef nonnull align 8 dereferenceable(196) %37)
  %163 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4
  switch i32 %163, label %168 [
    i32 5, label %164
    i32 0, label %172
  ]

164:                                              ; preds = %162
  %165 = getelementptr inbounds i8, ptr %36, i64 3582
  %166 = load i8, ptr %165, align 2, !tbaa !36, !range !17, !noundef !18
  %167 = trunc nuw i8 %166 to i1
  br i1 %167, label %.thread155, label %.sink.split

168:                                              ; preds = %162
  %169 = getelementptr inbounds i8, ptr %36, i64 3580
  %170 = load i8, ptr %169, align 4, !tbaa !36, !range !17, !noundef !18
  %171 = trunc nuw i8 %170 to i1
  br i1 %171, label %.thread155, label %.sink.split

.sink.split:                                      ; preds = %168, %164
  store i32 0, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !27
  br label %172

172:                                              ; preds = %.sink.split, %162
  br i1 %58, label %.thread155, label %173

173:                                              ; preds = %172
  %174 = getelementptr inbounds i8, ptr %36, i64 3572
  %175 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(8) %174)
  br i1 %175, label %176, label %.thread155

176:                                              ; preds = %173
  %177 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %177, label %178, label %.thread155

178:                                              ; preds = %176
  %179 = load ptr, ptr %0, align 8, !tbaa !29
  %180 = getelementptr inbounds i8, ptr %179, i64 48
  %181 = load ptr, ptr %180, align 8
  call void %181(ptr noundef nonnull align 8 dereferenceable(8) %0, i64 noundef %.us-phi, i64 noundef %.us-phi153, i64 noundef %.us-phi152)
  br label %.thread155

.thread155:                                       ; preds = %164, %168, %178, %176, %173, %172
  %182 = call noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef 0)
  br i1 %182, label %183, label %thread-pre-split

183:                                              ; preds = %.thread155
  %184 = call noundef zeroext i1 @_ZN5ImGui15IsAnyItemActiveEv()
  br i1 %184, label %thread-pre-split, label %185

185:                                              ; preds = %183
  %186 = getelementptr inbounds i8, ptr %36, i64 14130
  %187 = load i8, ptr %186, align 2, !tbaa !36, !range !17, !noundef !18
  %188 = trunc nuw i8 %187 to i1
  %189 = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4
  %190 = icmp eq i32 %189, 0
  %or.cond5 = select i1 %188, i1 %190, i1 false
  br i1 %or.cond5, label %.thread, label %191

.thread:                                          ; preds = %185
  store i32 5, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !27
  br label %194

thread-pre-split:                                 ; preds = %.thread155, %183
  %.pr = load i32, ptr @_ZN11GraphEditorL13nodeOperationE, align 4, !tbaa !27
  br label %191

191:                                              ; preds = %thread-pre-split, %185
  %192 = phi i32 [ %.pr, %thread-pre-split ], [ %189, %185 ]
  %193 = icmp eq i32 %192, 5
  br i1 %193, label %194, label %199

194:                                              ; preds = %.thread, %191
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #8
  %195 = getelementptr inbounds i8, ptr %36, i64 240
  %196 = load float, ptr %29, align 4, !tbaa !5
  %197 = call <2 x float> @_ZdvRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %195, float noundef %196)
  store <2 x float> %197, ptr %24, align 8
  %198 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  br label %199

199:                                              ; preds = %191, %194, %56
  call void @_ZN5ImGui11PopClipRectEv()
  call void @_ZN5ImGui13PopStyleColorEi(i32 noundef 1)
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 2)
  call void @_ZN5ImGui8EndGroupEv()
  call void @_ZN5ImGui13EndChildFrameEv()
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 3)
  br i1 %.not134, label %201, label %200

200:                                              ; preds = %199
  store i32 0, ptr %4, align 4, !tbaa !22
  br label %201

201:                                              ; preds = %200, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  ret void
}

declare void @_ZN5ImGui12PushStyleVarEif(i32 noundef, float noundef) local_unnamed_addr #4

declare void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

declare <2 x float> @_ZN5ImGui18GetCursorScreenPosEv() local_unnamed_addr #4

declare <2 x float> @_ZN5ImGui21GetContentRegionAvailEv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11GraphEditorL16HandleZoomScrollE6ImRectRNS_9ViewStateERKNS_7OptionsE(<2 x float>, <2 x float>, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(104)) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN5ImGui15BeginChildFrameEjRK6ImVec2i(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui12SetCursorPosERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

declare void @_ZN5ImGui10BeginGroupEv() local_unnamed_addr #4

declare void @_ZN5ImGui14PushStyleColorEij(i32 noundef, i32 noundef) local_unnamed_addr #4

declare noundef ptr @_ZN5ImGui17GetWindowDrawListEv() local_unnamed_addr #4

declare void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11GraphEditorL8DrawGridEP10ImDrawList6ImVec2RKNS_9ViewStateES2_jjf(ptr noundef, <2 x float>, ptr noundef nonnull align 4 dereferenceable(16), <2 x float>, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN11GraphEditorL8FitNodesERNS_8DelegateERNS_9ViewStateE6ImVec2b(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16), <2 x float>, i1 noundef zeroext) local_unnamed_addr #0

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

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

declare noundef zeroext i1 @_ZN5ImGui15IsWindowFocusedEi(i32 noundef) local_unnamed_addr #4

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

declare void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef) local_unnamed_addr #4

declare void @_ZN10ImDrawList12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZN11GraphEditorL11GetNodeRectERKNS_4NodeEf(ptr noundef nonnull align 8 dereferenceable(33), float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #2 align 2

declare void @_ZN5ImGui6PushIDEi(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN11GraphEditorL17HandleConnectionsEP10ImDrawListm6ImVec2fRNS_8DelegateERKNS_7OptionsEbRmS8_b(ptr noundef, i64 noundef, <2 x float>, float noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(104), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN11GraphEditorL8DrawNodeEP10ImDrawListm6ImVec2fRNS_8DelegateEbRKNS_7OptionsEbRK6ImRect(ptr noundef, i64 noundef, <2 x float>, float noundef, ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(104), i1 noundef zeroext, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0

declare void @_ZN5ImGui5PopIDEv() local_unnamed_addr #4

declare void @_ZN10ImDrawList11PopClipRectEv(ptr noundef nonnull align 8 dereferenceable(196)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef, float noundef) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10ImDrawList13ChannelsMergeEv(ptr noundef nonnull align 8 dereferenceable(196)) local_unnamed_addr #6 align 2

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui15IsAnyItemActiveEv() local_unnamed_addr #4

declare void @_ZN5ImGui11PopClipRectEv() local_unnamed_addr #4

declare void @_ZN5ImGui13PopStyleColorEi(i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui8EndGroupEv() local_unnamed_addr #4

declare void @_ZN5ImGui13EndChildFrameEv() local_unnamed_addr #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fabs.v2f32(<2 x float>) #7

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !8, i64 8}
!6 = !{!"_ZTSN11GraphEditor9ViewStateE", !7, i64 0, !8, i64 8, !8, i64 12}
!7 = !{!"_ZTS6ImVec2", !8, i64 0, !8, i64 4}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !14, i64 16}
!12 = !{!"_ZTSN11GraphEditor7OptionsE", !13, i64 0, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !8, i64 64, !8, i64 68, !8, i64 72, !8, i64 76, !8, i64 80, !8, i64 84, !8, i64 88, !8, i64 92, !8, i64 96, !15, i64 100, !15, i64 101, !15, i64 102, !15, i64 103}
!13 = !{!"_ZTS6ImRect", !7, i64 0, !7, i64 8}
!14 = !{!"int", !9, i64 0}
!15 = !{!"bool", !9, i64 0}
!16 = !{!12, !15, i64 102}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!12, !14, i64 20}
!20 = !{!12, !14, i64 24}
!21 = !{!12, !8, i64 56}
!22 = !{!23, !23, i64 0}
!23 = !{!"_ZTSN11GraphEditor11FitOnScreenE", !9, i64 0}
!24 = !{!12, !14, i64 48}
!25 = !{!26, !26, i64 0}
!26 = !{!"long", !9, i64 0}
!27 = !{!28, !28, i64 0}
!28 = !{!"_ZTSN11GraphEditor13NodeOperationE", !9, i64 0}
!29 = !{!30, !30, i64 0}
!30 = !{!"vtable pointer", !10, i64 0}
!31 = !{!32, !15, i64 32}
!32 = !{!"_ZTSN11GraphEditor4NodeE", !33, i64 0, !26, i64 8, !13, i64 16, !15, i64 32}
!33 = !{!"any pointer", !9, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!15, !15, i64 0}


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