; 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.GraphEditor::Node" = type <{ ptr, i64, %struct.ImRect, i8, [7 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"struct.GraphEditor::Template" = type { i32, i32, i32, i8, ptr, ptr, i8, ptr, ptr }
%"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.GraphEditor::ViewState" = type { %struct.ImVec2, float, float }
%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 }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11GraphEditor11DrawMiniMapEP10ImDrawListRNS_8DelegateERNS_9ViewStateERKNS_7OptionsE6ImVec2S9_(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(104) %3, <2 x float> %4, <2 x float> %5) #0 {
  %7 = alloca i1, align 1
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca i64, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"struct.GraphEditor::Node", align 8
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %struct.ImVec2, align 4
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca %struct.ImVec2, align 4
  %34 = alloca %struct.ImVec2, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca %struct.ImVec2, align 4
  %39 = alloca %struct.ImVec2, align 4
  %40 = alloca %struct.ImVec2, align 4
  %41 = alloca %struct.ImVec2, align 4
  %42 = alloca %struct.ImVec2, align 4
  %43 = alloca %struct.ImVec2, align 4
  %44 = alloca %struct.ImVec2, align 4
  %45 = alloca float, align 4
  %46 = alloca float, align 4
  %47 = alloca float, align 4
  %48 = alloca i64, align 8
  %49 = alloca ptr, align 8
  %50 = alloca %"struct.GraphEditor::Node", align 8
  %51 = alloca %"struct.GraphEditor::Template", align 8
  %52 = alloca %struct.ImRect, align 4
  %53 = alloca %struct.ImVec2, align 4
  %54 = alloca %struct.ImVec2, align 4
  %55 = alloca %struct.ImVec2, align 4
  %56 = alloca %struct.ImVec2, align 4
  %57 = alloca %struct.ImVec2, align 4
  %58 = alloca %struct.ImVec2, align 4
  %59 = alloca ptr, align 8
  %60 = alloca i8, align 1
  %61 = alloca %struct.ImRect, align 4
  %62 = alloca %struct.ImVec2, align 4
  %63 = alloca %struct.ImVec2, align 4
  %64 = alloca %struct.ImVec2, align 4
  %65 = alloca %struct.ImVec2, align 4
  %66 = alloca %struct.ImVec2, align 4
  %67 = alloca %struct.ImVec2, align 4
  %68 = alloca %struct.ImVec2, align 4
  %69 = alloca %struct.ImVec2, align 4
  store <2 x float> %4, ptr %8, align 4
  store <2 x float> %5, ptr %9, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %struct.ImRect, ptr %71, i32 0, i32 0
  %73 = load ptr, ptr %13, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds %struct.ImRect, ptr %74, i32 0, i32 1
  %76 = call noundef float @_ZN11GraphEditorL8DistanceERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(8) %72, ptr noundef nonnull align 4 dereferenceable(8) %75)
  %77 = fcmp ole float %76, 0x3E80000000000000
  br i1 %77, label %78, label %79

78:                                               ; preds = %6
  store i1 false, ptr %7, align 1
  br label %349

79:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = getelementptr inbounds ptr, ptr %81, i64 9
  %83 = load ptr, ptr %82, align 8
  %84 = call noundef i64 %83(ptr noundef nonnull align 8 dereferenceable(8) %80)
  store i64 %84, ptr %14, align 8, !tbaa !11
  %85 = load i64, ptr %14, align 8, !tbaa !11
  %86 = icmp ne i64 %85, 0
  br i1 %86, label %88, label %87

87:                                               ; preds = %79
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %348

88:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef 5.000000e+01, float noundef 5.000000e+01)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  store i64 0, ptr %19, align 8, !tbaa !11
  br label %89

89:                                               ; preds = %120, %88
  %90 = load i64, ptr %19, align 8, !tbaa !11
  %91 = load i64, ptr %14, align 8, !tbaa !11
  %92 = icmp ult i64 %90, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %89
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %123

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %21) #7
  %95 = load ptr, ptr %11, align 8, !tbaa !5
  %96 = load i64, ptr %19, align 8, !tbaa !11
  %97 = load ptr, ptr %95, align 8, !tbaa !9
  %98 = getelementptr inbounds ptr, ptr %97, i64 10
  %99 = load ptr, ptr %98, align 8
  call void %99(ptr dead_on_unwind writable sret(%"struct.GraphEditor::Node") align 8 %21, ptr noundef nonnull align 8 dereferenceable(8) %95, i64 noundef %96)
  store ptr %21, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %100 = load ptr, ptr %20, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.GraphEditor::Node", ptr %100, i32 0, i32 2
  %102 = getelementptr inbounds %struct.ImRect, ptr %101, i32 0, i32 0
  %103 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %102, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %103, ptr %23, align 4
  %104 = call <2 x float> @_ZL5ImMinRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %23)
  store <2 x float> %104, ptr %22, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %105 = load ptr, ptr %20, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.GraphEditor::Node", ptr %105, i32 0, i32 2
  %107 = getelementptr inbounds %struct.ImRect, ptr %106, i32 0, i32 1
  %108 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %107, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %108, ptr %25, align 4
  %109 = call <2 x float> @_ZL5ImMinRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %109, ptr %24, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %24, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %110 = load ptr, ptr %20, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.GraphEditor::Node", ptr %110, i32 0, i32 2
  %112 = getelementptr inbounds %struct.ImRect, ptr %111, i32 0, i32 0
  %113 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %112, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %113, ptr %27, align 4
  %114 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %27)
  store <2 x float> %114, ptr %26, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %115 = load ptr, ptr %20, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.GraphEditor::Node", ptr %115, i32 0, i32 2
  %117 = getelementptr inbounds %struct.ImRect, ptr %116, i32 0, i32 1
  %118 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %117, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %118, ptr %29, align 4
  %119 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %29)
  store <2 x float> %119, ptr %28, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %120

120:                                              ; preds = %94
  %121 = load i64, ptr %19, align 8, !tbaa !11
  %122 = add i64 %121, 1
  store i64 %122, ptr %19, align 8, !tbaa !11
  br label %89, !llvm.loop !16

123:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %124 = load ptr, ptr %12, align 8, !tbaa !5
  %125 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %124, i32 0, i32 1
  %126 = load float, ptr %125, align 4, !tbaa !18
  %127 = call <2 x float> @_ZdvRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %126)
  store <2 x float> %127, ptr %30, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %128 = load ptr, ptr %12, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %128, i32 0, i32 0
  %130 = getelementptr inbounds %struct.ImVec2, ptr %129, i32 0, i32 0
  %131 = load float, ptr %130, align 4, !tbaa !21
  %132 = fneg float %131
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %133, i32 0, i32 0
  %135 = getelementptr inbounds %struct.ImVec2, ptr %134, i32 0, i32 1
  %136 = load float, ptr %135, align 4, !tbaa !22
  %137 = fneg float %136
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %132, float noundef %137)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %138 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %138, ptr %32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %139 = call <2 x float> @_ZL5ImMinRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %31)
  store <2 x float> %139, ptr %33, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %33, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %140 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %32)
  store <2 x float> %140, ptr %34, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %141 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %141, ptr %35, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %142 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %142, ptr %37, align 4
  %143 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef 5.000000e-01)
  store <2 x float> %143, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  %144 = load ptr, ptr %13, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %144, i32 0, i32 0
  %146 = getelementptr inbounds %struct.ImRect, ptr %145, i32 0, i32 0
  %147 = call <2 x float> @_ZmlRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %146, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %147, ptr %39, align 4
  %148 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %39)
  store <2 x float> %148, ptr %38, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %149 = load ptr, ptr %13, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %149, i32 0, i32 0
  %151 = getelementptr inbounds %struct.ImRect, ptr %150, i32 0, i32 1
  %152 = call <2 x float> @_ZmlRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %151, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %152, ptr %41, align 4
  %153 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %41)
  store <2 x float> %153, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  %154 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %38)
  store <2 x float> %154, ptr %42, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %155 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(8) %40)
  store <2 x float> %155, ptr %44, align 4
  %156 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %44, float noundef 5.000000e-01)
  store <2 x float> %156, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #7
  %157 = getelementptr inbounds %struct.ImVec2, ptr %42, i32 0, i32 1
  %158 = load float, ptr %157, align 4, !tbaa !23
  %159 = getelementptr inbounds %struct.ImVec2, ptr %35, i32 0, i32 1
  %160 = load float, ptr %159, align 4, !tbaa !23
  %161 = fdiv float %158, %160
  store float %161, ptr %45, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  %162 = getelementptr inbounds %struct.ImVec2, ptr %42, i32 0, i32 0
  %163 = load float, ptr %162, align 4, !tbaa !24
  %164 = getelementptr inbounds %struct.ImVec2, ptr %35, i32 0, i32 0
  %165 = load float, ptr %164, align 4, !tbaa !24
  %166 = fdiv float %163, %165
  store float %166, ptr %46, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #7
  %167 = load float, ptr %45, align 4, !tbaa !14
  %168 = load float, ptr %46, align 4, !tbaa !14
  %169 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %167, float noundef %168)
  %170 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %169, float noundef 1.000000e+00)
  store float %170, ptr %47, align 4, !tbaa !14
  %171 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %171, ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(8) %40, i32 noundef -937550306, float noundef 3.000000e+00, i32 noundef 240)
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #7
  store i64 0, ptr %48, align 8, !tbaa !11
  br label %172

172:                                              ; preds = %223, %123
  %173 = load i64, ptr %48, align 8, !tbaa !11
  %174 = load i64, ptr %14, align 8, !tbaa !11
  %175 = icmp ult i64 %173, %174
  br i1 %175, label %177, label %176

176:                                              ; preds = %172
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  br label %226

177:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %50) #7
  %178 = load ptr, ptr %11, align 8, !tbaa !5
  %179 = load i64, ptr %48, align 8, !tbaa !11
  %180 = load ptr, ptr %178, align 8, !tbaa !9
  %181 = getelementptr inbounds ptr, ptr %180, i64 10
  %182 = load ptr, ptr %181, align 8
  call void %182(ptr dead_on_unwind writable sret(%"struct.GraphEditor::Node") align 8 %50, ptr noundef nonnull align 8 dereferenceable(8) %178, i64 noundef %179)
  store ptr %50, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %51) #7
  %183 = load ptr, ptr %11, align 8, !tbaa !5
  %184 = load ptr, ptr %49, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.GraphEditor::Node", ptr %184, i32 0, i32 1
  %186 = load i64, ptr %185, align 8, !tbaa !25
  %187 = load ptr, ptr %183, align 8, !tbaa !9
  %188 = getelementptr inbounds ptr, ptr %187, i64 8
  %189 = load ptr, ptr %188, align 8
  call void %189(ptr dead_on_unwind writable sret(%"struct.GraphEditor::Template") align 8 %51, ptr noundef nonnull align 8 dereferenceable(8) %183, i64 noundef %186)
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #7
  %190 = load ptr, ptr %49, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.GraphEditor::Node", ptr %190, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 8 %191, i64 16, i1 false), !tbaa.struct !29
  %192 = getelementptr inbounds %struct.ImRect, ptr %52, i32 0, i32 0
  %193 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmIR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %192, ptr noundef nonnull align 4 dereferenceable(8) %36)
  %194 = load float, ptr %47, align 4, !tbaa !14
  %195 = getelementptr inbounds %struct.ImRect, ptr %52, i32 0, i32 0
  %196 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmLR6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %195, float noundef %194)
  %197 = getelementptr inbounds %struct.ImRect, ptr %52, i32 0, i32 0
  %198 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %197, ptr noundef nonnull align 4 dereferenceable(8) %43)
  %199 = getelementptr inbounds %struct.ImRect, ptr %52, i32 0, i32 1
  %200 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmIR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %199, ptr noundef nonnull align 4 dereferenceable(8) %36)
  %201 = load float, ptr %47, align 4, !tbaa !14
  %202 = getelementptr inbounds %struct.ImRect, ptr %52, i32 0, i32 1
  %203 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmLR6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %202, float noundef %201)
  %204 = getelementptr inbounds %struct.ImRect, ptr %52, i32 0, i32 1
  %205 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %204, ptr noundef nonnull align 4 dereferenceable(8) %43)
  %206 = load ptr, ptr %10, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.ImRect, ptr %52, i32 0, i32 0
  %208 = getelementptr inbounds %struct.ImRect, ptr %52, i32 0, i32 1
  %209 = getelementptr inbounds %"struct.GraphEditor::Template", ptr %51, i32 0, i32 1
  %210 = load i32, ptr %209, align 4, !tbaa !30
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %206, ptr noundef nonnull align 4 dereferenceable(8) %207, ptr noundef nonnull align 4 dereferenceable(8) %208, i32 noundef %210, float noundef 1.000000e+00, i32 noundef 240)
  %211 = load ptr, ptr %49, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.GraphEditor::Node", ptr %211, i32 0, i32 3
  %213 = load i8, ptr %212, align 8, !tbaa !33, !range !34, !noundef !35
  %214 = trunc i8 %213 to i1
  br i1 %214, label %215, label %222

215:                                              ; preds = %177
  %216 = load ptr, ptr %10, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.ImRect, ptr %52, i32 0, i32 0
  %218 = getelementptr inbounds %struct.ImRect, ptr %52, i32 0, i32 1
  %219 = load ptr, ptr %13, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.GraphEditor::Options", ptr %219, i32 0, i32 4
  %221 = load i32, ptr %220, align 4, !tbaa !36
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %216, ptr noundef nonnull align 4 dereferenceable(8) %217, ptr noundef nonnull align 4 dereferenceable(8) %218, i32 noundef %221, float noundef 1.000000e+00, i32 noundef 240, float noundef 1.000000e+00)
  br label %222

222:                                              ; preds = %215, %177
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  br label %223

223:                                              ; preds = %222
  %224 = load i64, ptr %48, align 8, !tbaa !11
  %225 = add i64 %224, 1
  store i64 %225, ptr %48, align 8, !tbaa !11
  br label %172, !llvm.loop !38

226:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #7
  %227 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %36)
  store <2 x float> %227, ptr %55, align 4
  %228 = load float, ptr %47, align 4, !tbaa !14
  %229 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %55, float noundef %228)
  store <2 x float> %229, ptr %54, align 4
  %230 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %43)
  store <2 x float> %230, ptr %53, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #7
  %231 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %36)
  store <2 x float> %231, ptr %58, align 4
  %232 = load float, ptr %47, align 4, !tbaa !14
  %233 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %58, float noundef %232)
  store <2 x float> %233, ptr %57, align 4
  %234 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %57, ptr noundef nonnull align 4 dereferenceable(8) %43)
  store <2 x float> %234, ptr %56, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  %235 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %235, ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull align 4 dereferenceable(8) %56, i32 noundef 553648127, float noundef 1.000000e+00, i32 noundef 240)
  %236 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %236, ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull align 4 dereferenceable(8) %56, i32 noundef -2130706433, float noundef 1.000000e+00, i32 noundef 240, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #7
  %237 = call noundef nonnull align 8 dereferenceable(14264) ptr @_ZN5ImGui5GetIOEv()
  store ptr %237, ptr %59, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %61) #7
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %61, ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef nonnull align 4 dereferenceable(8) %40)
  %238 = load ptr, ptr %59, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.ImGuiIO, ptr %238, i32 0, i32 56
  %240 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %61, ptr noundef nonnull align 4 dereferenceable(8) %239)
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #7
  %241 = zext i1 %240 to i8
  store i8 %241, ptr %60, align 1, !tbaa !39
  %242 = load i8, ptr %60, align 1, !tbaa !39, !range !34, !noundef !35
  %243 = trunc i8 %242 to i1
  br i1 %243, label %244, label %345

244:                                              ; preds = %226
  %245 = load ptr, ptr %59, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.ImGuiIO, ptr %245, i32 0, i32 70
  %247 = getelementptr inbounds [5 x i8], ptr %246, i64 0, i64 0
  %248 = load i8, ptr %247, align 8, !tbaa !39, !range !34, !noundef !35
  %249 = trunc i8 %248 to i1
  br i1 %249, label %250, label %345

250:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #7
  %251 = load ptr, ptr %59, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImGuiIO, ptr %251, i32 0, i32 56
  %253 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %252, ptr noundef nonnull align 4 dereferenceable(8) %38)
  store <2 x float> %253, ptr %63, align 4
  %254 = call <2 x float> @_ZdvRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %63, ptr noundef nonnull align 4 dereferenceable(8) %42)
  store <2 x float> %254, ptr %62, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #7
  %255 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %256 = load float, ptr %255, align 4, !tbaa !24
  %257 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 0
  %258 = load float, ptr %257, align 4, !tbaa !24
  %259 = getelementptr inbounds %struct.ImVec2, ptr %62, i32 0, i32 0
  %260 = load float, ptr %259, align 4, !tbaa !24
  %261 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %256, float noundef %258, float noundef %260)
  %262 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  %263 = load float, ptr %262, align 4, !tbaa !23
  %264 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %265 = load float, ptr %264, align 4, !tbaa !23
  %266 = getelementptr inbounds %struct.ImVec2, ptr %62, i32 0, i32 1
  %267 = load float, ptr %266, align 4, !tbaa !23
  %268 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %263, float noundef %265, float noundef %267)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %64, float noundef %261, float noundef %268)
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #7
  %269 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef 5.000000e-01)
  store <2 x float> %269, ptr %66, align 4
  %270 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %64, ptr noundef nonnull align 4 dereferenceable(8) %66)
  store <2 x float> %270, ptr %65, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #7
  %271 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef 5.000000e-01)
  store <2 x float> %271, ptr %68, align 4
  %272 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %64, ptr noundef nonnull align 4 dereferenceable(8) %68)
  store <2 x float> %272, ptr %67, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #7
  %273 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 0
  %274 = load float, ptr %273, align 4, !tbaa !24
  %275 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %276 = load float, ptr %275, align 4, !tbaa !24
  %277 = fcmp olt float %274, %276
  br i1 %277, label %278, label %288

278:                                              ; preds = %250
  %279 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %280 = load float, ptr %279, align 4, !tbaa !24
  %281 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 0
  store float %280, ptr %281, align 4, !tbaa !24
  %282 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 0
  %283 = load float, ptr %282, align 4, !tbaa !24
  %284 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %285 = load float, ptr %284, align 4, !tbaa !24
  %286 = fadd float %283, %285
  %287 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 0
  store float %286, ptr %287, align 4, !tbaa !24
  br label %288

288:                                              ; preds = %278, %250
  %289 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 1
  %290 = load float, ptr %289, align 4, !tbaa !23
  %291 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  %292 = load float, ptr %291, align 4, !tbaa !23
  %293 = fcmp olt float %290, %292
  br i1 %293, label %294, label %304

294:                                              ; preds = %288
  %295 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  %296 = load float, ptr %295, align 4, !tbaa !23
  %297 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 1
  store float %296, ptr %297, align 4, !tbaa !23
  %298 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 1
  %299 = load float, ptr %298, align 4, !tbaa !23
  %300 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %301 = load float, ptr %300, align 4, !tbaa !23
  %302 = fadd float %299, %301
  %303 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 1
  store float %302, ptr %303, align 4, !tbaa !23
  br label %304

304:                                              ; preds = %294, %288
  %305 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 0
  %306 = load float, ptr %305, align 4, !tbaa !24
  %307 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 0
  %308 = load float, ptr %307, align 4, !tbaa !24
  %309 = fcmp ogt float %306, %308
  br i1 %309, label %310, label %320

310:                                              ; preds = %304
  %311 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 0
  %312 = load float, ptr %311, align 4, !tbaa !24
  %313 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 0
  store float %312, ptr %313, align 4, !tbaa !24
  %314 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 0
  %315 = load float, ptr %314, align 4, !tbaa !24
  %316 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %317 = load float, ptr %316, align 4, !tbaa !24
  %318 = fsub float %315, %317
  %319 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 0
  store float %318, ptr %319, align 4, !tbaa !24
  br label %320

320:                                              ; preds = %310, %304
  %321 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 1
  %322 = load float, ptr %321, align 4, !tbaa !23
  %323 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %324 = load float, ptr %323, align 4, !tbaa !23
  %325 = fcmp ogt float %322, %324
  br i1 %325, label %326, label %336

326:                                              ; preds = %320
  %327 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %328 = load float, ptr %327, align 4, !tbaa !23
  %329 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 1
  store float %328, ptr %329, align 4, !tbaa !23
  %330 = getelementptr inbounds %struct.ImVec2, ptr %67, i32 0, i32 1
  %331 = load float, ptr %330, align 4, !tbaa !23
  %332 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %333 = load float, ptr %332, align 4, !tbaa !23
  %334 = fsub float %331, %333
  %335 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 1
  store float %334, ptr %335, align 4, !tbaa !23
  br label %336

336:                                              ; preds = %326, %320
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #7
  %337 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 0
  %338 = load float, ptr %337, align 4, !tbaa !24
  %339 = fneg float %338
  %340 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 1
  %341 = load float, ptr %340, align 4, !tbaa !23
  %342 = fneg float %341
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %69, float noundef %339, float noundef %342)
  %343 = load ptr, ptr %12, align 8, !tbaa !5
  %344 = getelementptr inbounds %"struct.GraphEditor::ViewState", ptr %343, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %344, ptr align 4 %69, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #7
  br label %345

345:                                              ; preds = %336, %244, %226
  %346 = load i8, ptr %60, align 1, !tbaa !39, !range !34, !noundef !35
  %347 = trunc i8 %346 to i1
  store i1 %347, ptr %7, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %348

348:                                              ; preds = %345, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %349

349:                                              ; preds = %348, %78
  %350 = load i1, ptr %7, align 1
  ret i1 %350
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL5ImMinRK6ImVec2S1_(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> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #4

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL5ImMaxRK6ImVec2S1_(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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


; 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.GraphEditor::Node" = type <{ ptr, i64, %struct.ImRect, i8, [7 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%"struct.GraphEditor::Template" = type { i32, i32, i32, i8, ptr, ptr, i8, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11GraphEditor11DrawMiniMapEP10ImDrawListRNS_8DelegateERNS_9ViewStateERKNS_7OptionsE6ImVec2S9_(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr nocapture noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(104) %3, <2 x float> %4, <2 x float> %5) local_unnamed_addr #0 {
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %"struct.GraphEditor::Node", align 8
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImVec2, align 8
  %15 = alloca %struct.ImVec2, align 8
  %16 = alloca %struct.ImVec2, align 8
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 8
  %20 = alloca %struct.ImVec2, align 8
  %21 = alloca %struct.ImVec2, align 8
  %22 = alloca %struct.ImVec2, align 8
  %23 = alloca %struct.ImVec2, align 8
  %24 = alloca %struct.ImVec2, align 8
  %25 = alloca %struct.ImVec2, align 8
  %26 = alloca %struct.ImVec2, align 8
  %27 = alloca %struct.ImVec2, align 8
  %28 = alloca %struct.ImVec2, align 8
  %29 = alloca %"struct.GraphEditor::Node", align 8
  %30 = alloca %"struct.GraphEditor::Template", align 8
  %31 = alloca %struct.ImRect, align 4
  %32 = alloca %struct.ImVec2, align 8
  %33 = alloca %struct.ImVec2, align 8
  %34 = alloca %struct.ImVec2, align 8
  %35 = alloca %struct.ImVec2, align 8
  %36 = alloca %struct.ImVec2, align 8
  %37 = alloca %struct.ImVec2, align 8
  %38 = alloca %struct.ImRect, align 4
  %39 = alloca %struct.ImVec2, align 8
  %40 = alloca %struct.ImVec2, align 4
  %41 = alloca %struct.ImVec2, align 8
  %42 = alloca %struct.ImVec2, align 8
  %43 = alloca %struct.ImVec2, align 8
  store <2 x float> %4, ptr %7, align 8
  store <2 x float> %5, ptr %8, align 8
  %44 = getelementptr inbounds i8, ptr %3, i64 8
  %45 = tail call noundef float @_ZN11GraphEditorL8DistanceERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %44)
  %46 = fcmp ugt float %45, 0x3E80000000000000
  br i1 %46, label %47, label %180

47:                                               ; preds = %6
  %48 = load ptr, ptr %1, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %48, i64 72
  %50 = load ptr, ptr %49, align 8
  %51 = tail call noundef i64 %50(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %.not = icmp eq i64 %51, 0
  br i1 %.not, label %180, label %52

52:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 5.000000e+01, float noundef 5.000000e+01)
  %53 = getelementptr inbounds i8, ptr %12, i64 16
  %54 = getelementptr inbounds i8, ptr %12, i64 24
  br label %89

55:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %56 = getelementptr inbounds i8, ptr %2, i64 8
  %57 = load float, ptr %56, align 4, !tbaa !8
  %58 = call <2 x float> @_ZdvRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %57)
  store <2 x float> %58, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %59 = load float, ptr %2, align 4, !tbaa !13
  %60 = fneg float %59
  %61 = getelementptr inbounds i8, ptr %2, i64 4
  %62 = load float, ptr %61, align 4, !tbaa !14
  %63 = fneg float %62
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %60, float noundef %63)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %64 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %17)
  store <2 x float> %64, ptr %19, align 8
  %65 = call <2 x float> @_ZL5ImMinRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %65, ptr %9, align 8
  %66 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %19)
  store <2 x float> %66, ptr %10, align 8
  %67 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %68 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %68, ptr %21, align 8
  %69 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef 5.000000e-01)
  store <2 x float> %69, ptr %20, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  %70 = call <2 x float> @_ZmlRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %70, ptr %23, align 8
  %71 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %23)
  store <2 x float> %71, ptr %22, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  %72 = call <2 x float> @_ZmlRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %72, ptr %25, align 8
  %73 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %25)
  store <2 x float> %73, ptr %24, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  %74 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %74, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  %75 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %24)
  store <2 x float> %75, ptr %28, align 8
  %76 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef 5.000000e-01)
  store <2 x float> %76, ptr %27, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  %77 = extractelement <2 x float> %74, i64 1
  %.sroa.042.4.vec.extract = extractelement <2 x float> %67, i64 1
  %78 = fdiv float %77, %.sroa.042.4.vec.extract
  %79 = extractelement <2 x float> %74, i64 0
  %.sroa.042.0.vec.extract = extractelement <2 x float> %67, i64 0
  %80 = fdiv float %79, %.sroa.042.0.vec.extract
  %81 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %78, float noundef %80)
  %82 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %81, float noundef 1.000000e+00)
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %24, i32 noundef -937550306, float noundef 3.000000e+00, i32 noundef 240)
  %83 = getelementptr inbounds i8, ptr %29, i64 8
  %84 = getelementptr inbounds i8, ptr %29, i64 16
  %85 = getelementptr inbounds i8, ptr %31, i64 8
  %86 = getelementptr inbounds i8, ptr %30, i64 4
  %87 = getelementptr inbounds i8, ptr %29, i64 32
  %88 = getelementptr inbounds i8, ptr %3, i64 28
  br label %112

89:                                               ; preds = %52, %89
  %.07885 = phi i64 [ 0, %52 ], [ %101, %89 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #7
  %90 = load ptr, ptr %1, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i64 80
  %92 = load ptr, ptr %91, align 8
  call void %92(ptr dead_on_unwind nonnull writable sret(%"struct.GraphEditor::Node") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %1, i64 noundef %.07885)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %93 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %93, ptr %13, align 8
  %94 = call <2 x float> @_ZL5ImMinRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %94, ptr %9, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %95 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %95, ptr %14, align 8
  %96 = call <2 x float> @_ZL5ImMinRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %96, ptr %9, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %97 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %97, ptr %15, align 8
  %98 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %98, ptr %10, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %99 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %99, ptr %16, align 8
  %100 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %100, ptr %10, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #7
  %101 = add nuw i64 %.07885, 1
  %exitcond.not = icmp eq i64 %101, %51
  br i1 %exitcond.not, label %55, label %89, !llvm.loop !15

102:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #7
  %103 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %103, ptr %34, align 8
  %104 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef %82)
  store <2 x float> %104, ptr %33, align 8
  %105 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %27)
  store <2 x float> %105, ptr %32, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #7
  %106 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %106, ptr %37, align 8
  %107 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %82)
  store <2 x float> %107, ptr %36, align 8
  %108 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %27)
  store <2 x float> %108, ptr %35, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #7
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %35, i32 noundef 553648127, float noundef 1.000000e+00, i32 noundef 240)
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %35, i32 noundef -2130706433, float noundef 1.000000e+00, i32 noundef 240, float noundef 1.000000e+00)
  %109 = call noundef nonnull align 8 dereferenceable(14264) ptr @_ZN5ImGui5GetIOEv()
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #7
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %24)
  %110 = getelementptr inbounds i8, ptr %109, i64 3572
  %111 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(8) %110)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #7
  br i1 %111, label %133, label %179

112:                                              ; preds = %55, %131
  %.07986 = phi i64 [ 0, %55 ], [ %132, %131 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %29) #7
  %113 = load ptr, ptr %1, align 8, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %113, i64 80
  %115 = load ptr, ptr %114, align 8
  call void %115(ptr dead_on_unwind nonnull writable sret(%"struct.GraphEditor::Node") align 8 %29, ptr noundef nonnull align 8 dereferenceable(8) %1, i64 noundef %.07986)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %30) #7
  %116 = load i64, ptr %83, align 8, !tbaa !17
  %117 = load ptr, ptr %1, align 8, !tbaa !5
  %118 = getelementptr inbounds i8, ptr %117, i64 64
  %119 = load ptr, ptr %118, align 8
  call void %119(ptr dead_on_unwind nonnull writable sret(%"struct.GraphEditor::Template") align 8 %30, ptr noundef nonnull align 8 dereferenceable(8) %1, i64 noundef %116)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(16) %84, i64 16, i1 false), !tbaa.struct !23
  %120 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmIR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %20)
  %121 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmLR6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %82)
  %122 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %27)
  %123 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmIR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %85, ptr noundef nonnull align 4 dereferenceable(8) %20)
  %124 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmLR6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %85, float noundef %82)
  %125 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %85, ptr noundef nonnull align 4 dereferenceable(8) %27)
  %126 = load i32, ptr %86, align 4, !tbaa !25
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %85, i32 noundef %126, float noundef 1.000000e+00, i32 noundef 240)
  %127 = load i8, ptr %87, align 8, !tbaa !28, !range !29, !noundef !30
  %128 = trunc nuw i8 %127 to i1
  br i1 %128, label %129, label %131

129:                                              ; preds = %112
  %130 = load i32, ptr %88, align 4, !tbaa !31
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %85, i32 noundef %130, float noundef 1.000000e+00, i32 noundef 240, float noundef 1.000000e+00)
  br label %131

131:                                              ; preds = %129, %112
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #7
  %132 = add nuw i64 %.07986, 1
  %exitcond87.not = icmp eq i64 %132, %51
  br i1 %exitcond87.not, label %102, label %112, !llvm.loop !33

133:                                              ; preds = %102
  %134 = getelementptr inbounds i8, ptr %109, i64 14128
  %135 = load i8, ptr %134, align 8, !tbaa !34, !range !29, !noundef !30
  %136 = trunc nuw i8 %135 to i1
  br i1 %136, label %137, label %179

137:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #7
  %138 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %110, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %138, ptr %39, align 8
  %139 = call <2 x float> @_ZdvRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef nonnull align 4 dereferenceable(8) %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #7
  %140 = load float, ptr %9, align 8, !tbaa !35
  %141 = load float, ptr %10, align 8, !tbaa !35
  %.sroa.026.0.vec.extract = extractelement <2 x float> %139, i64 0
  %142 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %140, float noundef %141, float noundef %.sroa.026.0.vec.extract)
  %143 = getelementptr inbounds i8, ptr %9, i64 4
  %144 = load float, ptr %143, align 4, !tbaa !36
  %145 = getelementptr inbounds i8, ptr %10, i64 4
  %146 = load float, ptr %145, align 4, !tbaa !36
  %.sroa.026.4.vec.extract = extractelement <2 x float> %139, i64 1
  %147 = call noundef float @_ZL6ImLerpIfET_S0_S0_f(float noundef %144, float noundef %146, float noundef %.sroa.026.4.vec.extract)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef %142, float noundef %147)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #7
  %148 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 5.000000e-01)
  store <2 x float> %148, ptr %41, align 8
  %149 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %41)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #7
  %150 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef 5.000000e-01)
  store <2 x float> %150, ptr %42, align 8
  %151 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %42)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #7
  %.sroa.011.0.vec.extract = extractelement <2 x float> %149, i64 0
  %152 = load float, ptr %9, align 8, !tbaa !35
  %153 = fcmp olt float %.sroa.011.0.vec.extract, %152
  br i1 %153, label %154, label %157

154:                                              ; preds = %137
  %.sroa.011.0.vec.insert = insertelement <2 x float> %149, float %152, i64 0
  %155 = load float, ptr %17, align 8, !tbaa !35
  %156 = fadd float %152, %155
  %.sroa.0.0.vec.insert = insertelement <2 x float> %151, float %156, i64 0
  br label %157

157:                                              ; preds = %154, %137
  %.sroa.011.0 = phi <2 x float> [ %.sroa.011.0.vec.insert, %154 ], [ %149, %137 ]
  %.sroa.0.0 = phi <2 x float> [ %.sroa.0.0.vec.insert, %154 ], [ %151, %137 ]
  %.sroa.011.4.vec.extract = extractelement <2 x float> %.sroa.011.0, i64 1
  %158 = load float, ptr %143, align 4, !tbaa !36
  %159 = fcmp olt float %.sroa.011.4.vec.extract, %158
  br i1 %159, label %160, label %164

160:                                              ; preds = %157
  %.sroa.011.4.vec.insert = insertelement <2 x float> %.sroa.011.0, float %158, i64 1
  %161 = getelementptr inbounds i8, ptr %17, i64 4
  %162 = load float, ptr %161, align 4, !tbaa !36
  %163 = fadd float %158, %162
  %.sroa.0.4.vec.insert = insertelement <2 x float> %.sroa.0.0, float %163, i64 1
  br label %164

164:                                              ; preds = %160, %157
  %.sroa.011.1 = phi <2 x float> [ %.sroa.011.4.vec.insert, %160 ], [ %.sroa.011.0, %157 ]
  %.sroa.0.1 = phi <2 x float> [ %.sroa.0.4.vec.insert, %160 ], [ %.sroa.0.0, %157 ]
  %.sroa.0.0.vec.extract = extractelement <2 x float> %.sroa.0.1, i64 0
  %165 = load float, ptr %10, align 8, !tbaa !35
  %166 = fcmp ogt float %.sroa.0.0.vec.extract, %165
  br i1 %166, label %167, label %170

167:                                              ; preds = %164
  %.sroa.0.0.vec.insert3 = insertelement <2 x float> %.sroa.0.1, float %165, i64 0
  %168 = load float, ptr %17, align 8, !tbaa !35
  %169 = fsub float %165, %168
  %.sroa.011.0.vec.insert16 = insertelement <2 x float> %.sroa.011.1, float %169, i64 0
  br label %170

170:                                              ; preds = %167, %164
  %.sroa.011.2 = phi <2 x float> [ %.sroa.011.0.vec.insert16, %167 ], [ %.sroa.011.1, %164 ]
  %.sroa.0.2 = phi <2 x float> [ %.sroa.0.0.vec.insert3, %167 ], [ %.sroa.0.1, %164 ]
  %.sroa.0.4.vec.extract = extractelement <2 x float> %.sroa.0.2, i64 1
  %171 = load float, ptr %145, align 4, !tbaa !36
  %172 = fcmp ogt float %.sroa.0.4.vec.extract, %171
  %173 = getelementptr inbounds i8, ptr %17, i64 4
  %174 = load float, ptr %173, align 4
  %175 = fsub float %171, %174
  %.sroa.011.4.vec.insert23 = insertelement <2 x float> %.sroa.011.2, float %175, i64 1
  %.sroa.011.3 = select i1 %172, <2 x float> %.sroa.011.4.vec.insert23, <2 x float> %.sroa.011.2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #7
  %.sroa.011.0.vec.extract18 = extractelement <2 x float> %.sroa.011.3, i64 0
  %176 = fneg float %.sroa.011.0.vec.extract18
  %.sroa.011.4.vec.extract25 = extractelement <2 x float> %.sroa.011.3, i64 1
  %177 = fneg float %.sroa.011.4.vec.extract25
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef %176, float noundef %177)
  %178 = load i64, ptr %43, align 8
  store i64 %178, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #7
  br label %179

179:                                              ; preds = %170, %133, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %180

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass