; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui/imgui_draw.ll (ZN10ImDrawList8PrimRectERK6ImVec2S2_j)

; 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.ImDrawList = type <{ %struct.ImVector.0, %struct.ImVector.1, %struct.ImVector.2, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.3, %struct.ImVector.4, %struct.ImVector, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImDrawVert = type { %struct.ImVec2, %struct.ImVec2, i32 }

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ImDrawList8PrimRectERK6ImVec2S2_j(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %2, i32 noundef %3) #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca i16, align 2
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  %13 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 0
  %16 = load float, ptr %15, align 4, !tbaa !11
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %19 = load float, ptr %18, align 4, !tbaa !14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %16, float noundef %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  %22 = load float, ptr %21, align 4, !tbaa !11
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ImVec2, ptr %23, i32 0, i32 1
  %25 = load float, ptr %24, align 4, !tbaa !14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %22, float noundef %25)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %26 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 5
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %27, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 8 %28, i64 8, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #4
  %29 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 4
  %30 = load i32, ptr %29, align 4, !tbaa !29
  %31 = trunc i32 %30 to i16
  store i16 %31, ptr %12, align 2, !tbaa !30
  %32 = load i16, ptr %12, align 2, !tbaa !30
  %33 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 8
  %34 = load ptr, ptr %33, align 8, !tbaa !32
  %35 = getelementptr inbounds i16, ptr %34, i64 0
  store i16 %32, ptr %35, align 2, !tbaa !30
  %36 = load i16, ptr %12, align 2, !tbaa !30
  %37 = zext i16 %36 to i32
  %38 = add nsw i32 %37, 1
  %39 = trunc i32 %38 to i16
  %40 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 8
  %41 = load ptr, ptr %40, align 8, !tbaa !32
  %42 = getelementptr inbounds i16, ptr %41, i64 1
  store i16 %39, ptr %42, align 2, !tbaa !30
  %43 = load i16, ptr %12, align 2, !tbaa !30
  %44 = zext i16 %43 to i32
  %45 = add nsw i32 %44, 2
  %46 = trunc i32 %45 to i16
  %47 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 8
  %48 = load ptr, ptr %47, align 8, !tbaa !32
  %49 = getelementptr inbounds i16, ptr %48, i64 2
  store i16 %46, ptr %49, align 2, !tbaa !30
  %50 = load i16, ptr %12, align 2, !tbaa !30
  %51 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 8
  %52 = load ptr, ptr %51, align 8, !tbaa !32
  %53 = getelementptr inbounds i16, ptr %52, i64 3
  store i16 %50, ptr %53, align 2, !tbaa !30
  %54 = load i16, ptr %12, align 2, !tbaa !30
  %55 = zext i16 %54 to i32
  %56 = add nsw i32 %55, 2
  %57 = trunc i32 %56 to i16
  %58 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 8
  %59 = load ptr, ptr %58, align 8, !tbaa !32
  %60 = getelementptr inbounds i16, ptr %59, i64 4
  store i16 %57, ptr %60, align 2, !tbaa !30
  %61 = load i16, ptr %12, align 2, !tbaa !30
  %62 = zext i16 %61 to i32
  %63 = add nsw i32 %62, 3
  %64 = trunc i32 %63 to i16
  %65 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 8
  %66 = load ptr, ptr %65, align 8, !tbaa !32
  %67 = getelementptr inbounds i16, ptr %66, i64 5
  store i16 %64, ptr %67, align 2, !tbaa !30
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %70 = load ptr, ptr %69, align 8, !tbaa !33
  %71 = getelementptr inbounds %struct.ImDrawVert, ptr %70, i64 0
  %72 = getelementptr inbounds %struct.ImDrawVert, ptr %71, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %68, i64 8, i1 false), !tbaa.struct !27
  %73 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %74 = load ptr, ptr %73, align 8, !tbaa !33
  %75 = getelementptr inbounds %struct.ImDrawVert, ptr %74, i64 0
  %76 = getelementptr inbounds %struct.ImDrawVert, ptr %75, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !27
  %77 = load i32, ptr %8, align 4, !tbaa !9
  %78 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %79 = load ptr, ptr %78, align 8, !tbaa !33
  %80 = getelementptr inbounds %struct.ImDrawVert, ptr %79, i64 0
  %81 = getelementptr inbounds %struct.ImDrawVert, ptr %80, i32 0, i32 2
  store i32 %77, ptr %81, align 4, !tbaa !34
  %82 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %83 = load ptr, ptr %82, align 8, !tbaa !33
  %84 = getelementptr inbounds %struct.ImDrawVert, ptr %83, i64 1
  %85 = getelementptr inbounds %struct.ImDrawVert, ptr %84, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %85, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !27
  %86 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %87 = load ptr, ptr %86, align 8, !tbaa !33
  %88 = getelementptr inbounds %struct.ImDrawVert, ptr %87, i64 1
  %89 = getelementptr inbounds %struct.ImDrawVert, ptr %88, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %89, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !27
  %90 = load i32, ptr %8, align 4, !tbaa !9
  %91 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %92 = load ptr, ptr %91, align 8, !tbaa !33
  %93 = getelementptr inbounds %struct.ImDrawVert, ptr %92, i64 1
  %94 = getelementptr inbounds %struct.ImDrawVert, ptr %93, i32 0, i32 2
  store i32 %90, ptr %94, align 4, !tbaa !34
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %97 = load ptr, ptr %96, align 8, !tbaa !33
  %98 = getelementptr inbounds %struct.ImDrawVert, ptr %97, i64 2
  %99 = getelementptr inbounds %struct.ImDrawVert, ptr %98, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %99, ptr align 4 %95, i64 8, i1 false), !tbaa.struct !27
  %100 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %101 = load ptr, ptr %100, align 8, !tbaa !33
  %102 = getelementptr inbounds %struct.ImDrawVert, ptr %101, i64 2
  %103 = getelementptr inbounds %struct.ImDrawVert, ptr %102, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %103, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !27
  %104 = load i32, ptr %8, align 4, !tbaa !9
  %105 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %106 = load ptr, ptr %105, align 8, !tbaa !33
  %107 = getelementptr inbounds %struct.ImDrawVert, ptr %106, i64 2
  %108 = getelementptr inbounds %struct.ImDrawVert, ptr %107, i32 0, i32 2
  store i32 %104, ptr %108, align 4, !tbaa !34
  %109 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %110 = load ptr, ptr %109, align 8, !tbaa !33
  %111 = getelementptr inbounds %struct.ImDrawVert, ptr %110, i64 3
  %112 = getelementptr inbounds %struct.ImDrawVert, ptr %111, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %112, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !27
  %113 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %114 = load ptr, ptr %113, align 8, !tbaa !33
  %115 = getelementptr inbounds %struct.ImDrawVert, ptr %114, i64 3
  %116 = getelementptr inbounds %struct.ImDrawVert, ptr %115, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %116, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !27
  %117 = load i32, ptr %8, align 4, !tbaa !9
  %118 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %119 = load ptr, ptr %118, align 8, !tbaa !33
  %120 = getelementptr inbounds %struct.ImDrawVert, ptr %119, i64 3
  %121 = getelementptr inbounds %struct.ImDrawVert, ptr %120, i32 0, i32 2
  store i32 %117, ptr %121, align 4, !tbaa !34
  %122 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %123 = load ptr, ptr %122, align 8, !tbaa !33
  %124 = getelementptr inbounds %struct.ImDrawVert, ptr %123, i64 4
  store ptr %124, ptr %122, align 8, !tbaa !33
  %125 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 4
  %126 = load i32, ptr %125, align 4, !tbaa !29
  %127 = add i32 %126, 4
  store i32 %127, ptr %125, align 4, !tbaa !29
  %128 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 8
  %129 = load ptr, ptr %128, align 8, !tbaa !32
  %130 = getelementptr inbounds i16, ptr %129, i64 6
  store ptr %130, ptr %128, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!16, !6, i64 56}
!16 = !{!"_ZTS10ImDrawList", !17, i64 0, !18, i64 16, !19, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !20, i64 88, !21, i64 104, !22, i64 120, !23, i64 136, !25, i64 168, !13, i64 192}
!17 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!23 = !{!"_ZTS15ImDrawCmdHeader", !24, i64 0, !6, i64 16, !10, i64 24}
!24 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!25 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !26, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{i64 0, i64 4, !28, i64 4, i64 4, !28}
!28 = !{!13, !13, i64 0}
!29 = !{!16, !10, i64 52}
!30 = !{!31, !31, i64 0}
!31 = !{!"short", !7, i64 0}
!32 = !{!16, !6, i64 80}
!33 = !{!16, !6, i64 72}
!34 = !{!35, !10, i64 16}
!35 = !{!"_ZTS10ImDrawVert", !12, i64 0, !12, i64 8, !10, i64 16}


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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN10ImDrawList8PrimRectERK6ImVec2S2_j(ptr nocapture noundef nonnull align 8 dereferenceable(196) %0, ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %1, ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %2, i32 noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #2
  %7 = load float, ptr %2, align 4, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 4
  %9 = load float, ptr %8, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %7, float noundef %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #2
  %10 = load float, ptr %1, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %2, i64 4
  %12 = load float, ptr %11, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %10, float noundef %12)
  %13 = getelementptr inbounds i8, ptr %0, i64 56
  %14 = load ptr, ptr %13, align 8, !tbaa !11
  %15 = load i64, ptr %14, align 8
  %16 = getelementptr inbounds i8, ptr %0, i64 52
  %17 = load i32, ptr %16, align 4, !tbaa !25
  %18 = trunc i32 %17 to i16
  %19 = getelementptr inbounds i8, ptr %0, i64 80
  %20 = load ptr, ptr %19, align 8, !tbaa !26
  store i16 %18, ptr %20, align 2, !tbaa !27
  %21 = add i16 %18, 1
  %22 = getelementptr inbounds i8, ptr %20, i64 2
  store i16 %21, ptr %22, align 2, !tbaa !27
  %23 = add i16 %18, 2
  %24 = getelementptr inbounds i8, ptr %20, i64 4
  store i16 %23, ptr %24, align 2, !tbaa !27
  %25 = getelementptr inbounds i8, ptr %20, i64 6
  store i16 %18, ptr %25, align 2, !tbaa !27
  %26 = getelementptr inbounds i8, ptr %20, i64 8
  store i16 %23, ptr %26, align 2, !tbaa !27
  %27 = add i16 %18, 3
  %28 = getelementptr inbounds i8, ptr %20, i64 10
  store i16 %27, ptr %28, align 2, !tbaa !27
  %29 = getelementptr inbounds i8, ptr %0, i64 72
  %30 = load ptr, ptr %29, align 8, !tbaa !29
  %31 = load i64, ptr %1, align 4
  store i64 %31, ptr %30, align 4
  %32 = load ptr, ptr %29, align 8, !tbaa !29
  %33 = getelementptr inbounds i8, ptr %32, i64 8
  store i64 %15, ptr %33, align 4
  %34 = load ptr, ptr %29, align 8, !tbaa !29
  %35 = getelementptr inbounds i8, ptr %34, i64 16
  store i32 %3, ptr %35, align 4, !tbaa !30
  %36 = getelementptr inbounds i8, ptr %34, i64 20
  %37 = load i64, ptr %5, align 8
  store i64 %37, ptr %36, align 4
  %38 = load ptr, ptr %29, align 8, !tbaa !29
  %39 = getelementptr inbounds i8, ptr %38, i64 28
  store i64 %15, ptr %39, align 4
  %40 = load ptr, ptr %29, align 8, !tbaa !29
  %41 = getelementptr inbounds i8, ptr %40, i64 36
  store i32 %3, ptr %41, align 4, !tbaa !30
  %42 = getelementptr inbounds i8, ptr %40, i64 40
  %43 = load i64, ptr %2, align 4
  store i64 %43, ptr %42, align 4
  %44 = load ptr, ptr %29, align 8, !tbaa !29
  %45 = getelementptr inbounds i8, ptr %44, i64 48
  store i64 %15, ptr %45, align 4
  %46 = load ptr, ptr %29, align 8, !tbaa !29
  %47 = getelementptr inbounds i8, ptr %46, i64 56
  store i32 %3, ptr %47, align 4, !tbaa !30
  %48 = getelementptr inbounds i8, ptr %46, i64 60
  %49 = load i64, ptr %6, align 8
  store i64 %49, ptr %48, align 4
  %50 = load ptr, ptr %29, align 8, !tbaa !29
  %51 = getelementptr inbounds i8, ptr %50, i64 68
  store i64 %15, ptr %51, align 4
  %52 = load ptr, ptr %29, align 8, !tbaa !29
  %53 = getelementptr inbounds i8, ptr %52, i64 76
  store i32 %3, ptr %53, align 4, !tbaa !30
  %54 = getelementptr inbounds i8, ptr %52, i64 80
  store ptr %54, ptr %29, align 8, !tbaa !29
  %55 = load i32, ptr %16, align 4, !tbaa !25
  %56 = add i32 %55, 4
  store i32 %56, ptr %16, align 4, !tbaa !25
  %57 = load ptr, ptr %19, align 8, !tbaa !26
  %58 = getelementptr inbounds i8, ptr %57, i64 12
  store ptr %58, ptr %19, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #2
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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, !7, i64 0}
!6 = !{!"_ZTS6ImVec2", !7, i64 0, !7, i64 4}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !15, i64 56}
!12 = !{!"_ZTS10ImDrawList", !13, i64 0, !16, i64 16, !17, i64 32, !14, i64 48, !14, i64 52, !15, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !18, i64 88, !19, i64 104, !20, i64 120, !21, i64 136, !23, i64 168, !7, i64 192}
!13 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !14, i64 0, !14, i64 4, !15, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"_ZTS8ImVectorItE", !14, i64 0, !14, i64 4, !15, i64 8}
!17 = !{!"_ZTS8ImVectorI10ImDrawVertE", !14, i64 0, !14, i64 4, !15, i64 8}
!18 = !{!"_ZTS8ImVectorI6ImVec4E", !14, i64 0, !14, i64 4, !15, i64 8}
!19 = !{!"_ZTS8ImVectorIPvE", !14, i64 0, !14, i64 4, !15, i64 8}
!20 = !{!"_ZTS8ImVectorI6ImVec2E", !14, i64 0, !14, i64 4, !15, i64 8}
!21 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !15, i64 16, !14, i64 24}
!22 = !{!"_ZTS6ImVec4", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!23 = !{!"_ZTS18ImDrawListSplitter", !14, i64 0, !14, i64 4, !24, i64 8}
!24 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !14, i64 0, !14, i64 4, !15, i64 8}
!25 = !{!12, !14, i64 52}
!26 = !{!12, !15, i64 80}
!27 = !{!28, !28, i64 0}
!28 = !{!"short", !8, i64 0}
!29 = !{!12, !15, i64 72}
!30 = !{!31, !14, i64 16}
!31 = !{!"_ZTS10ImDrawVert", !6, i64 0, !6, i64 8, !14, i64 16}


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