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

; 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.ImGuiAabb = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiWindow = type { ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, i8, i8, i32, i8, i32, i32, i32, %struct.ImGuiDrawContext, %class.ImVector.11, %class.ImVector.12, %struct.ImGuiAabb, i32, float, %struct.ImGuiStorage, float, ptr, ptr, i32, i32, i32, i32, i32, i32 }
%struct.ImGuiDrawContext = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, i32, i32, %struct.ImGuiAabb, i8, %class.ImVector.1, %class.ImVector.9, %class.ImVector.10, %class.ImVector.10, i32, ptr, float, float, i32, i32, %struct.ImVec2, float, float, i8, i32, %class.ImVector.10 }
%class.ImVector.1 = type { i64, i64, ptr }
%class.ImVector.9 = type { i64, i64, ptr }
%class.ImVector.10 = type { i64, i64, ptr }
%class.ImVector.11 = type { i64, i64, ptr }
%class.ImVector.12 = type { i64, i64, ptr }
%struct.ImGuiStorage = type { %class.ImVector.6 }
%class.ImVector.6 = type { i64, i64, ptr }

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL16GetCurrentWindowv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(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 uwtable
declare hidden void @_ZL8ItemSize6ImVec2PS_(<2 x float>, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK11ImGuiWindow5ColorEif(ptr noundef nonnull align 8 dereferenceable(480), i32 noundef, float noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawList7AddLineERK6ImVec2S2_j(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11PopClipRectv() #3

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

13:                                               ; preds = %0
  store i32 1, ptr %2, align 4
  br label %82

14:                                               ; preds = %0
  %15 = load ptr, ptr %1, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.ImGuiWindow, ptr %15, i32 0, i32 20
  %17 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %16, i32 0, i32 19
  %18 = load i32, ptr %17, align 4, !tbaa !27
  %19 = icmp sgt i32 %18, 1
  br i1 %19, label %20, label %21

20:                                               ; preds = %14
  call void @_ZL11PopClipRectv()
  br label %21

21:                                               ; preds = %20, %14
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %22 = load ptr, ptr %1, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiWindow, ptr %22, i32 0, i32 4
  %24 = getelementptr inbounds %struct.ImVec2, ptr %23, i32 0, i32 0
  %25 = load float, ptr %24, align 8, !tbaa !28
  %26 = load ptr, ptr %1, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ImGuiWindow, ptr %26, i32 0, i32 20
  %28 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %27, i32 0, i32 0
  %29 = getelementptr inbounds %struct.ImVec2, ptr %28, i32 0, i32 1
  %30 = load float, ptr %29, align 4, !tbaa !29
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef %25, float noundef %30)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %31 = load ptr, ptr %1, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiWindow, ptr %31, i32 0, i32 4
  %33 = getelementptr inbounds %struct.ImVec2, ptr %32, i32 0, i32 0
  %34 = load float, ptr %33, align 8, !tbaa !28
  %35 = load ptr, ptr %1, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiWindow, ptr %35, i32 0, i32 5
  %37 = getelementptr inbounds %struct.ImVec2, ptr %36, i32 0, i32 0
  %38 = load float, ptr %37, align 8, !tbaa !30
  %39 = fadd float %34, %38
  %40 = load ptr, ptr %1, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImGuiWindow, ptr %40, i32 0, i32 20
  %42 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %41, i32 0, i32 0
  %43 = getelementptr inbounds %struct.ImVec2, ptr %42, i32 0, i32 1
  %44 = load float, ptr %43, align 4, !tbaa !29
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %39, float noundef %44)
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %45 = call <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %3)
  store <2 x float> %45, ptr %7, align 4
  %46 = getelementptr inbounds %struct.ImVec2, ptr %7, i32 0, i32 1
  %47 = load float, ptr %46, align 4, !tbaa !31
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef %47)
  %48 = load <2 x float>, ptr %6, align 4
  call void @_ZL8ItemSize6ImVec2PS_(<2 x float> %48, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  %49 = call noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef null)
  br i1 %49, label %58, label %50

50:                                               ; preds = %21
  %51 = load ptr, ptr %1, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiWindow, ptr %51, i32 0, i32 20
  %53 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %52, i32 0, i32 19
  %54 = load i32, ptr %53, align 4, !tbaa !27
  %55 = icmp sgt i32 %54, 1
  br i1 %55, label %56, label %57

56:                                               ; preds = %50
  call void @_ZL18PushColumnClipRecti(i32 noundef -1)
  br label %57

57:                                               ; preds = %56, %50
  store i32 1, ptr %2, align 4
  br label %81

58:                                               ; preds = %21
  %59 = load ptr, ptr %1, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiWindow, ptr %59, i32 0, i32 28
  %61 = load ptr, ptr %60, align 8, !tbaa !32
  %62 = getelementptr inbounds %struct.ImGuiAabb, ptr %3, i32 0, i32 0
  %63 = getelementptr inbounds %struct.ImGuiAabb, ptr %3, i32 0, i32 1
  %64 = load ptr, ptr %1, align 8, !tbaa !5
  %65 = call noundef i32 @_ZNK11ImGuiWindow5ColorEif(ptr noundef nonnull align 8 dereferenceable(480) %64, i32 noundef 3, float noundef 1.000000e+00)
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_j(ptr noundef nonnull align 8 dereferenceable(104) %61, ptr noundef nonnull align 4 dereferenceable(8) %62, ptr noundef nonnull align 4 dereferenceable(8) %63, i32 noundef %65)
  %66 = load ptr, ptr %1, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiWindow, ptr %66, i32 0, i32 20
  %68 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %67, i32 0, i32 19
  %69 = load i32, ptr %68, align 4, !tbaa !27
  %70 = icmp sgt i32 %69, 1
  br i1 %70, label %71, label %80

71:                                               ; preds = %58
  call void @_ZL18PushColumnClipRecti(i32 noundef -1)
  %72 = load ptr, ptr %1, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ImGuiWindow, ptr %72, i32 0, i32 20
  %74 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds %struct.ImVec2, ptr %74, i32 0, i32 1
  %76 = load float, ptr %75, align 4, !tbaa !29
  %77 = load ptr, ptr %1, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImGuiWindow, ptr %77, i32 0, i32 20
  %79 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %78, i32 0, i32 21
  store float %76, ptr %79, align 8, !tbaa !33
  br label %80

80:                                               ; preds = %71, %58
  store i32 0, ptr %2, align 4
  br label %81

81:                                               ; preds = %80, %57
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  br label %82

82:                                               ; preds = %81, %13
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  %83 = load i32, ptr %2, align 4
  switch i32 %83, label %85 [
    i32 0, label %84
    i32 1, label %84
  ]

84:                                               ; preds = %82, %82
  ret void

85:                                               ; preds = %82
  unreachable
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL18PushColumnClipRecti(i32 noundef) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !14, i64 68}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !14, i64 64, !14, i64 65, !14, i64 66, !14, i64 67, !14, i64 68, !11, i64 72, !14, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !15, i64 96, !21, i64 336, !22, i64 360, !16, i64 384, !11, i64 400, !13, i64 404, !23, i64 408, !13, i64 432, !6, i64 440, !6, i64 448, !11, i64 456, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS16ImGuiDrawContext", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !11, i64 40, !16, i64 44, !14, i64 60, !17, i64 64, !19, i64 88, !20, i64 112, !20, i64 136, !11, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !11, i64 184, !11, i64 188, !12, i64 192, !13, i64 200, !13, i64 204, !14, i64 208, !11, i64 212, !20, i64 216}
!16 = !{!"_ZTS9ImGuiAabb", !12, i64 0, !12, i64 8}
!17 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !18, i64 0, !18, i64 8, !6, i64 16}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTS8ImVectorIbE", !18, i64 0, !18, i64 8, !6, i64 16}
!20 = !{!"_ZTS8ImVectorIfE", !18, i64 0, !18, i64 8, !6, i64 16}
!21 = !{!"_ZTS8ImVectorIjE", !18, i64 0, !18, i64 8, !6, i64 16}
!22 = !{!"_ZTS8ImVectorI6ImVec4E", !18, i64 0, !18, i64 8, !6, i64 16}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !18, i64 0, !18, i64 8, !6, i64 16}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!10, !11, i64 284}
!28 = !{!10, !13, i64 24}
!29 = !{!10, !13, i64 100}
!30 = !{!10, !13, i64 32}
!31 = !{!12, !13, i64 4}
!32 = !{!10, !6, i64 440}
!33 = !{!10, !13, i64 296}


; 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.ImGuiAabb = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL16GetCurrentWindowv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(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 uwtable
declare hidden void @_ZL8ItemSize6ImVec2PS_(<2 x float>, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK11ImGuiWindow5ColorEif(ptr noundef nonnull align 8 dereferenceable(480), i32 noundef, float noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawList7AddLineERK6ImVec2S2_j(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11PopClipRectv() local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui9SeparatorEv() local_unnamed_addr #4 {
  %1 = alloca %struct.ImGuiAabb, align 4
  %2 = alloca %struct.ImVec2, align 4
  %3 = alloca %struct.ImVec2, align 4
  %4 = alloca %struct.ImVec2, align 8
  %5 = tail call noundef ptr @_ZL16GetCurrentWindowv()
  %6 = getelementptr inbounds i8, ptr %5, i64 68
  %7 = load i8, ptr %6, align 4, !tbaa !5, !range !24, !noundef !25
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %42, label %9

9:                                                ; preds = %0
  %10 = getelementptr inbounds i8, ptr %5, i64 284
  %11 = load i32, ptr %10, align 4, !tbaa !26
  %12 = icmp sgt i32 %11, 1
  br i1 %12, label %13, label %14

13:                                               ; preds = %9
  tail call void @_ZL11PopClipRectv()
  br label %14

14:                                               ; preds = %13, %9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %15 = getelementptr inbounds i8, ptr %5, i64 24
  %16 = load float, ptr %15, align 8, !tbaa !27
  %17 = getelementptr inbounds i8, ptr %5, i64 100
  %18 = load float, ptr %17, align 4, !tbaa !28
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef %16, float noundef %18)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %19 = load float, ptr %15, align 8, !tbaa !27
  %20 = getelementptr inbounds i8, ptr %5, i64 32
  %21 = load float, ptr %20, align 8, !tbaa !29
  %22 = fadd float %19, %21
  %23 = load float, ptr %17, align 4, !tbaa !28
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %22, float noundef %23)
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  %24 = call <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %.sroa.0.4.vec.extract = extractelement <2 x float> %24, i64 1
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 0.000000e+00, float noundef %.sroa.0.4.vec.extract)
  %25 = load <2 x float>, ptr %4, align 8
  call void @_ZL8ItemSize6ImVec2PS_(<2 x float> %25, ptr noundef null)
  %26 = call noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef null)
  br i1 %26, label %31, label %27

27:                                               ; preds = %14
  %28 = load i32, ptr %10, align 4, !tbaa !26
  %29 = icmp sgt i32 %28, 1
  br i1 %29, label %30, label %41

30:                                               ; preds = %27
  call void @_ZL18PushColumnClipRecti(i32 noundef -1)
  br label %41

31:                                               ; preds = %14
  %32 = getelementptr inbounds i8, ptr %5, i64 440
  %33 = load ptr, ptr %32, align 8, !tbaa !30
  %34 = getelementptr inbounds i8, ptr %1, i64 8
  %35 = call noundef i32 @_ZNK11ImGuiWindow5ColorEif(ptr noundef nonnull align 8 dereferenceable(480) %5, i32 noundef 3, float noundef 1.000000e+00)
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_j(ptr noundef nonnull align 8 dereferenceable(104) %33, ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %34, i32 noundef %35)
  %36 = load i32, ptr %10, align 4, !tbaa !26
  %37 = icmp sgt i32 %36, 1
  br i1 %37, label %38, label %41

38:                                               ; preds = %31
  call void @_ZL18PushColumnClipRecti(i32 noundef -1)
  %39 = load float, ptr %17, align 4, !tbaa !28
  %40 = getelementptr inbounds i8, ptr %5, i64 296
  store float %39, ptr %40, align 8, !tbaa !31
  br label %41

41:                                               ; preds = %31, %38, %27, %30
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #5
  br label %42

42:                                               ; preds = %0, %41
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL18PushColumnClipRecti(i32 noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { 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, !13, i64 68}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !12, i64 60, !13, i64 64, !13, i64 65, !13, i64 66, !13, i64 67, !13, i64 68, !10, i64 72, !13, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !14, i64 96, !20, i64 336, !21, i64 360, !15, i64 384, !10, i64 400, !12, i64 404, !22, i64 408, !12, i64 432, !7, i64 440, !7, i64 448, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"_ZTS16ImGuiDrawContext", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !10, i64 36, !10, i64 40, !15, i64 44, !13, i64 60, !16, i64 64, !18, i64 88, !19, i64 112, !19, i64 136, !10, i64 160, !7, i64 168, !12, i64 176, !12, i64 180, !10, i64 184, !10, i64 188, !11, i64 192, !12, i64 200, !12, i64 204, !13, i64 208, !10, i64 212, !19, i64 216}
!15 = !{!"_ZTS9ImGuiAabb", !11, i64 0, !11, i64 8}
!16 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !17, i64 0, !17, i64 8, !7, i64 16}
!17 = !{!"long", !8, i64 0}
!18 = !{!"_ZTS8ImVectorIbE", !17, i64 0, !17, i64 8, !7, i64 16}
!19 = !{!"_ZTS8ImVectorIfE", !17, i64 0, !17, i64 8, !7, i64 16}
!20 = !{!"_ZTS8ImVectorIjE", !17, i64 0, !17, i64 8, !7, i64 16}
!21 = !{!"_ZTS8ImVectorI6ImVec4E", !17, i64 0, !17, i64 8, !7, i64 16}
!22 = !{!"_ZTS12ImGuiStorage", !23, i64 0}
!23 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !17, i64 0, !17, i64 8, !7, i64 16}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!6, !10, i64 284}
!27 = !{!6, !12, i64 24}
!28 = !{!6, !12, i64 100}
!29 = !{!6, !12, i64 32}
!30 = !{!6, !7, i64 440}
!31 = !{!6, !12, i64 296}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass