; LLVM IR from HRI-EU/Rcs :: src/RcsCore (Rcs_kinematics)

; 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._RcsBody = type { double, i8, i32, [3 x double], [3 x double], double, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.HTr = type { [3 x double], [3 x [3 x double]] }
%struct._RcsGraph = type { ptr, [10 x %struct._RcsBody], i32, i32, ptr, ptr, ptr, ptr, ptr }
%struct._MatNd = type { ptr, i32, i32, i32, i8 }

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare dso_local void @RcsGraph_bodyPointJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare ptr @MatNd_create(i32 noundef, i32 noundef) #2

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

declare void @MatNd_destroy(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @RcsGraph_rotationJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @RcsGraph_3dPosJacobian(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca [3 x double], align 16
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %14 = load ptr, ptr %8, align 8, !tbaa !5
  %15 = icmp eq ptr %14, null
  br i1 %15, label %16, label %31

16:                                               ; preds = %5
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %27

21:                                               ; preds = %16
  %22 = load ptr, ptr %9, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct._RcsBody, ptr %22, i32 0, i32 10
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds %struct.HTr, ptr %24, i32 0, i32 1
  %26 = getelementptr inbounds [3 x [3 x double]], ptr %25, i64 0, i64 0
  br label %28

27:                                               ; preds = %16
  br label %28

28:                                               ; preds = %27, %21
  %29 = phi ptr [ %26, %21 ], [ null, %27 ]
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  call void @RcsGraph_bodyPointJacobian(ptr noundef %17, ptr noundef %18, ptr noundef null, ptr noundef %29, ptr noundef %30)
  br label %139

31:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store ptr null, ptr %11, align 8, !tbaa !5
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._RcsGraph, ptr %32, i32 0, i32 3
  %34 = load i32, ptr %33, align 4, !tbaa !14
  %35 = mul i32 3, %34
  %36 = icmp ugt i32 %35, 1296
  br i1 %36, label %37, label %42

37:                                               ; preds = %31
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct._RcsGraph, ptr %38, i32 0, i32 3
  %40 = load i32, ptr %39, align 4, !tbaa !14
  %41 = call ptr @MatNd_create(i32 noundef 3, i32 noundef %40)
  store ptr %41, ptr %11, align 8, !tbaa !5
  br label %83

42:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct._RcsGraph, ptr %43, i32 0, i32 3
  %45 = load i32, ptr %44, align 4, !tbaa !14
  %46 = mul i32 3, %45
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %49

48:                                               ; preds = %42
  br label %54

49:                                               ; preds = %42
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct._RcsGraph, ptr %50, i32 0, i32 3
  %52 = load i32, ptr %51, align 4, !tbaa !14
  %53 = mul i32 3, %52
  br label %54

54:                                               ; preds = %49, %48
  %55 = phi i32 [ 1, %48 ], [ %53, %49 ]
  store i32 %55, ptr %12, align 4, !tbaa !16
  %56 = load i32, ptr %12, align 4, !tbaa !16
  %57 = zext i32 %56 to i64
  %58 = mul i64 %57, 8
  %59 = add i64 24, %58
  %60 = alloca i8, i64 %59, align 16
  store ptr %60, ptr %11, align 8, !tbaa !5
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct._MatNd, ptr %61, i64 1
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct._MatNd, ptr %63, i32 0, i32 0
  store ptr %62, ptr %64, align 8, !tbaa !17
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct._MatNd, ptr %65, i32 0, i32 1
  store i32 3, ptr %66, align 8, !tbaa !19
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct._RcsGraph, ptr %67, i32 0, i32 3
  %69 = load i32, ptr %68, align 4, !tbaa !14
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._MatNd, ptr %70, i32 0, i32 2
  store i32 %69, ptr %71, align 4, !tbaa !20
  %72 = load i32, ptr %12, align 4, !tbaa !16
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct._MatNd, ptr %73, i32 0, i32 3
  store i32 %72, ptr %74, align 8, !tbaa !21
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct._MatNd, ptr %75, i32 0, i32 4
  store i8 1, ptr %76, align 4, !tbaa !22
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct._MatNd, ptr %77, i32 0, i32 0
  %79 = load ptr, ptr %78, align 8, !tbaa !17
  %80 = load i32, ptr %12, align 4, !tbaa !16
  %81 = zext i32 %80 to i64
  %82 = mul i64 %81, 8
  call void @llvm.memset.p0.i64(ptr align 8 %79, i8 0, i64 %82, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %83

83:                                               ; preds = %54, %37
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  call void @RcsGraph_bodyPointJacobian(ptr noundef %84, ptr noundef %85, ptr noundef null, ptr noundef null, ptr noundef %86)
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  call void @RcsGraph_bodyPointJacobian(ptr noundef %87, ptr noundef %88, ptr noundef null, ptr noundef null, ptr noundef %89)
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  call void @MatNd_subSelf(ptr noundef %90, ptr noundef %91)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #4
  %92 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %101

95:                                               ; preds = %83
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct._RcsBody, ptr %96, i32 0, i32 10
  %98 = load ptr, ptr %97, align 8, !tbaa !9
  %99 = getelementptr inbounds %struct.HTr, ptr %98, i32 0, i32 0
  %100 = getelementptr inbounds [3 x double], ptr %99, i64 0, i64 0
  br label %103

101:                                              ; preds = %83
  %102 = call ptr (...) @Vec3d_zeroVec()
  br label %103

103:                                              ; preds = %101, %95
  %104 = phi ptr [ %100, %95 ], [ %102, %101 ]
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct._RcsBody, ptr %105, i32 0, i32 10
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %108 = getelementptr inbounds %struct.HTr, ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds [3 x double], ptr %108, i64 0, i64 0
  call void @Vec3d_sub(ptr noundef %92, ptr noundef %104, ptr noundef %109)
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  call void @RcsGraph_rotationJacobian(ptr noundef %110, ptr noundef %111, ptr noundef null, ptr noundef %112)
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 0
  call void @MatNd_columnCrossProductSelf(ptr noundef %113, ptr noundef %114)
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = load ptr, ptr %11, align 8, !tbaa !5
  call void @MatNd_addSelf(ptr noundef %115, ptr noundef %116)
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = icmp ne ptr %117, null
  br i1 %118, label %119, label %130

119:                                              ; preds = %103
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = icmp ne ptr %120, %121
  br i1 %122, label %123, label %130

123:                                              ; preds = %119
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct._RcsBody, ptr %125, i32 0, i32 10
  %127 = load ptr, ptr %126, align 8, !tbaa !9
  %128 = getelementptr inbounds %struct.HTr, ptr %127, i32 0, i32 1
  %129 = getelementptr inbounds [3 x [3 x double]], ptr %128, i64 0, i64 0
  call void @MatNd_rotateSelf(ptr noundef %124, ptr noundef %129)
  br label %137

130:                                              ; preds = %119, %103
  %131 = load ptr, ptr %10, align 8, !tbaa !5
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct._RcsBody, ptr %132, i32 0, i32 10
  %134 = load ptr, ptr %133, align 8, !tbaa !9
  %135 = getelementptr inbounds %struct.HTr, ptr %134, i32 0, i32 1
  %136 = getelementptr inbounds [3 x [3 x double]], ptr %135, i64 0, i64 0
  call void @MatNd_rotateSelf(ptr noundef %131, ptr noundef %136)
  br label %137

137:                                              ; preds = %130, %123
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  call void @MatNd_destroy(ptr noundef %138)
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %139

139:                                              ; preds = %137, %28
  ret void
}

declare void @MatNd_subSelf(ptr noundef, ptr noundef) #2

declare void @Vec3d_sub(ptr noundef, ptr noundef, ptr noundef) #2

declare ptr @Vec3d_zeroVec(...) #2

declare void @MatNd_columnCrossProductSelf(ptr noundef, ptr noundef) #2

declare void @MatNd_addSelf(ptr noundef, ptr noundef) #2

declare void @MatNd_rotateSelf(ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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/C++ TBAA"}
!9 = !{!10, !6, i64 104}
!10 = !{!"_RcsBody", !11, i64 0, !12, i64 8, !13, i64 12, !7, i64 16, !7, i64 40, !11, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176}
!11 = !{!"double", !7, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !13, i64 1852}
!15 = !{!"_RcsGraph", !6, i64 0, !7, i64 8, !13, i64 1848, !13, i64 1852, !6, i64 1856, !6, i64 1864, !6, i64 1872, !6, i64 1880, !6, i64 1888}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"_MatNd", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !12, i64 20}
!19 = !{!18, !13, i64 8}
!20 = !{!18, !13, i64 12}
!21 = !{!18, !13, i64 16}
!22 = !{!18, !12, i64 20}


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

; 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: nounwind uwtable
declare dso_local void @RcsGraph_bodyPointJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare ptr @MatNd_create(i32 noundef, i32 noundef) local_unnamed_addr #2

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

declare void @MatNd_destroy(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @RcsGraph_rotationJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @RcsGraph_3dPosJacobian(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = alloca [3 x double], align 16
  %7 = icmp eq ptr %2, null
  br i1 %7, label %8, label %15

8:                                                ; preds = %5
  %.not51 = icmp eq ptr %3, null
  br i1 %.not51, label %13, label %9

9:                                                ; preds = %8
  %10 = getelementptr inbounds i8, ptr %3, i64 104
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %11, i64 24
  br label %13

13:                                               ; preds = %8, %9
  %14 = phi ptr [ %12, %9 ], [ null, %8 ]
  tail call void @RcsGraph_bodyPointJacobian(ptr noundef %0, ptr noundef %1, ptr noundef null, ptr noundef %14, ptr noundef %4)
  br label %46

15:                                               ; preds = %5
  %16 = getelementptr inbounds i8, ptr %0, i64 1852
  %17 = load i32, ptr %16, align 4, !tbaa !13
  %18 = mul i32 %17, 3
  %19 = icmp ugt i32 %18, 1296
  br i1 %19, label %20, label %22

20:                                               ; preds = %15
  %21 = tail call ptr @MatNd_create(i32 noundef 3, i32 noundef %17) #4
  br label %33

22:                                               ; preds = %15
  %23 = icmp eq i32 %17, 0
  %spec.select = select i1 %23, i32 1, i32 %18
  %24 = shl nuw nsw i32 %spec.select, 3
  %25 = zext nneg i32 %24 to i64
  %26 = add nuw nsw i64 %25, 24
  %27 = alloca i8, i64 %26, align 16
  %28 = getelementptr inbounds i8, ptr %27, i64 24
  store ptr %28, ptr %27, align 16, !tbaa !15
  %29 = getelementptr inbounds i8, ptr %27, i64 8
  store i32 3, ptr %29, align 8, !tbaa !17
  %30 = getelementptr inbounds i8, ptr %27, i64 12
  store i32 %17, ptr %30, align 4, !tbaa !18
  %31 = getelementptr inbounds i8, ptr %27, i64 16
  store i32 %spec.select, ptr %31, align 16, !tbaa !19
  %32 = getelementptr inbounds i8, ptr %27, i64 20
  store i8 1, ptr %32, align 4, !tbaa !20
  call void @llvm.memset.p0.i64(ptr nonnull align 8 %28, i8 0, i64 %25, i1 false)
  br label %33

33:                                               ; preds = %22, %20
  %.0 = phi ptr [ %21, %20 ], [ %27, %22 ]
  call void @RcsGraph_bodyPointJacobian(ptr noundef nonnull %0, ptr noundef %1, ptr noundef null, ptr noundef null, ptr noundef %4)
  call void @RcsGraph_bodyPointJacobian(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef null, ptr noundef null, ptr noundef %.0)
  call void @MatNd_subSelf(ptr noundef %4, ptr noundef %.0) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %37, label %34

34:                                               ; preds = %33
  %35 = getelementptr inbounds i8, ptr %1, i64 104
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  br label %39

37:                                               ; preds = %33
  %38 = call ptr (...) @Vec3d_zeroVec() #4
  br label %39

39:                                               ; preds = %37, %34
  %40 = phi ptr [ %36, %34 ], [ %38, %37 ]
  %41 = getelementptr inbounds i8, ptr %2, i64 104
  %42 = load ptr, ptr %41, align 8, !tbaa !5
  call void @Vec3d_sub(ptr noundef nonnull %6, ptr noundef %40, ptr noundef %42) #4
  call void @RcsGraph_rotationJacobian(ptr noundef nonnull %0, ptr noundef %3, ptr noundef null, ptr noundef %.0)
  call void @MatNd_columnCrossProductSelf(ptr noundef %.0, ptr noundef nonnull %6) #4
  call void @MatNd_addSelf(ptr noundef %4, ptr noundef %.0) #4
  %.not49 = icmp eq ptr %3, null
  %.not50 = icmp eq ptr %3, %2
  %or.cond = or i1 %.not49, %.not50
  %43 = getelementptr inbounds i8, ptr %3, i64 104
  %.sink = select i1 %or.cond, ptr %41, ptr %43
  %44 = load ptr, ptr %.sink, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 24
  call void @MatNd_rotateSelf(ptr noundef %4, ptr noundef nonnull %45) #4
  call void @MatNd_destroy(ptr noundef %.0) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  br label %46

46:                                               ; preds = %39, %13
  ret void
}

declare void @MatNd_subSelf(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @Vec3d_sub(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @Vec3d_zeroVec(...) local_unnamed_addr #2

declare void @MatNd_columnCrossProductSelf(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @MatNd_addSelf(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @MatNd_rotateSelf(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 nocallback nofree nounwind willreturn memory(argmem: write) }
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, !12, i64 104}
!6 = !{!"_RcsBody", !7, i64 0, !10, i64 8, !11, i64 12, !8, i64 16, !8, i64 40, !7, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"_Bool", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !11, i64 1852}
!14 = !{!"_RcsGraph", !12, i64 0, !8, i64 8, !11, i64 1848, !11, i64 1852, !12, i64 1856, !12, i64 1864, !12, i64 1872, !12, i64 1880, !12, i64 1888}
!15 = !{!16, !12, i64 0}
!16 = !{!"_MatNd", !12, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !10, i64 20}
!17 = !{!16, !11, i64 8}
!18 = !{!16, !11, i64 12}
!19 = !{!16, !11, i64 16}
!20 = !{!16, !10, i64 20}


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