; LLVM IR from Water-Melon/Melon :: src (mln_rbtree)

; 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.rbtree_s = type { ptr, ptr, ptr, ptr, ptr, %struct.mln_rbtree_node_s, ptr, ptr, ptr, ptr, ptr, i64, i8 }
%struct.mln_rbtree_node_s = type { ptr, ptr, ptr, ptr, ptr, ptr, 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @mln_rbtree_chain_del(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @mln_rbtree_successor(ptr noundef nonnull, ptr noundef nonnull) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @rbtree_minimum(ptr noundef nonnull, ptr noundef nonnull) #1

; Function Attrs: nounwind uwtable
define dso_local void @mln_rbtree_delete(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.rbtree_s, ptr %9, i32 0, i32 7
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %12 = icmp eq ptr %8, %11
  br i1 %12, label %13, label %19

13:                                               ; preds = %2
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = call ptr @mln_rbtree_successor(ptr noundef %14, ptr noundef %15)
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.rbtree_s, ptr %17, i32 0, i32 7
  store ptr %16, ptr %18, align 8, !tbaa !9
  br label %19

19:                                               ; preds = %13, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %20, ptr %7, align 8, !tbaa !5
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %21, i32 0, i32 6
  %23 = load i32, ptr %22, align 8
  %24 = lshr i32 %23, 1
  store i32 %24, ptr %5, align 4, !tbaa !14
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %25, i32 0, i32 4
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.rbtree_s, ptr %28, i32 0, i32 5
  %30 = icmp eq ptr %27, %29
  br i1 %30, label %31, label %40

31:                                               ; preds = %19
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %32, i32 0, i32 5
  %34 = load ptr, ptr %33, align 8, !tbaa !16
  store ptr %34, ptr %6, align 8, !tbaa !5
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %37, i32 0, i32 5
  %39 = load ptr, ptr %38, align 8, !tbaa !16
  call void @rbtree_transplant(ptr noundef %35, ptr noundef %36, ptr noundef %39)
  br label %120

40:                                               ; preds = %19
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %41, i32 0, i32 5
  %43 = load ptr, ptr %42, align 8, !tbaa !16
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.rbtree_s, ptr %44, i32 0, i32 5
  %46 = icmp eq ptr %43, %45
  br i1 %46, label %47, label %56

47:                                               ; preds = %40
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %48, i32 0, i32 4
  %50 = load ptr, ptr %49, align 8, !tbaa !15
  store ptr %50, ptr %6, align 8, !tbaa !5
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %53, i32 0, i32 4
  %55 = load ptr, ptr %54, align 8, !tbaa !15
  call void @rbtree_transplant(ptr noundef %51, ptr noundef %52, ptr noundef %55)
  br label %119

56:                                               ; preds = %40
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %58, i32 0, i32 5
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %61 = call ptr @rbtree_minimum(ptr noundef %57, ptr noundef %60)
  store ptr %61, ptr %7, align 8, !tbaa !5
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %63, align 8
  %65 = lshr i32 %64, 1
  store i32 %65, ptr %5, align 4, !tbaa !14
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %66, i32 0, i32 5
  %68 = load ptr, ptr %67, align 8, !tbaa !16
  store ptr %68, ptr %6, align 8, !tbaa !5
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %69, i32 0, i32 3
  %71 = load ptr, ptr %70, align 8, !tbaa !17
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = icmp eq ptr %71, %72
  br i1 %73, label %74, label %78

74:                                               ; preds = %56
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %76, i32 0, i32 3
  store ptr %75, ptr %77, align 8, !tbaa !17
  br label %94

78:                                               ; preds = %56
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %81, i32 0, i32 5
  %83 = load ptr, ptr %82, align 8, !tbaa !16
  call void @rbtree_transplant(ptr noundef %79, ptr noundef %80, ptr noundef %83)
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %84, i32 0, i32 5
  %86 = load ptr, ptr %85, align 8, !tbaa !16
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %87, i32 0, i32 5
  store ptr %86, ptr %88, align 8, !tbaa !16
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %90, i32 0, i32 5
  %92 = load ptr, ptr %91, align 8, !tbaa !16
  %93 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %92, i32 0, i32 3
  store ptr %89, ptr %93, align 8, !tbaa !17
  br label %94

94:                                               ; preds = %78, %74
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  call void @rbtree_transplant(ptr noundef %95, ptr noundef %96, ptr noundef %97)
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %98, i32 0, i32 4
  %100 = load ptr, ptr %99, align 8, !tbaa !15
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %101, i32 0, i32 4
  store ptr %100, ptr %102, align 8, !tbaa !15
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %104, i32 0, i32 4
  %106 = load ptr, ptr %105, align 8, !tbaa !15
  %107 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %106, i32 0, i32 3
  store ptr %103, ptr %107, align 8, !tbaa !17
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %109, align 8
  %111 = lshr i32 %110, 1
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %113, align 8
  %115 = and i32 %111, 2147483647
  %116 = shl i32 %115, 1
  %117 = and i32 %114, 1
  %118 = or i32 %117, %116
  store i32 %118, ptr %113, align 8
  br label %119

119:                                              ; preds = %94, %47
  br label %120

120:                                              ; preds = %119, %31
  %121 = load i32, ptr %5, align 4, !tbaa !14
  %122 = icmp eq i32 %121, 1
  br i1 %122, label %123, label %126

123:                                              ; preds = %120
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  call void @rbtree_delete_fixup(ptr noundef %124, ptr noundef %125)
  br label %126

126:                                              ; preds = %123, %120
  %127 = load ptr, ptr %3, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.rbtree_s, ptr %127, i32 0, i32 5
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %129, i32 0, i32 5
  store ptr %128, ptr %130, align 8, !tbaa !16
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %131, i32 0, i32 4
  store ptr %128, ptr %132, align 8, !tbaa !15
  %133 = load ptr, ptr %4, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %133, i32 0, i32 3
  store ptr %128, ptr %134, align 8, !tbaa !17
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.rbtree_s, ptr %135, i32 0, i32 11
  %137 = load i64, ptr %136, align 8, !tbaa !18
  %138 = add i64 %137, -1
  store i64 %138, ptr %136, align 8, !tbaa !18
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.rbtree_s, ptr %139, i32 0, i32 10
  %141 = load ptr, ptr %140, align 8, !tbaa !19
  %142 = icmp ne ptr %141, null
  br i1 %142, label %143, label %160

143:                                              ; preds = %126
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.rbtree_s, ptr %144, i32 0, i32 10
  %146 = load ptr, ptr %145, align 8, !tbaa !19
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = icmp eq ptr %146, %147
  br i1 %148, label %149, label %160

149:                                              ; preds = %143
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.mln_rbtree_node_s, ptr %150, i32 0, i32 2
  %152 = load ptr, ptr %151, align 8, !tbaa !20
  %153 = load ptr, ptr %3, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.rbtree_s, ptr %153, i32 0, i32 10
  store ptr %152, ptr %154, align 8, !tbaa !19
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.rbtree_s, ptr %155, i32 0, i32 12
  %157 = load i8, ptr %156, align 8
  %158 = and i8 %157, -2
  %159 = or i8 %158, 1
  store i8 %159, ptr %156, align 8
  br label %160

160:                                              ; preds = %149, %143, %126
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.rbtree_s, ptr %161, i32 0, i32 8
  %163 = load ptr, ptr %3, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.rbtree_s, ptr %163, i32 0, i32 9
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  call void @mln_rbtree_chain_del(ptr noundef %162, ptr noundef %164, ptr noundef %165)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @rbtree_transplant(ptr noundef nonnull, ptr noundef nonnull, ptr noundef nonnull) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @rbtree_delete_fixup(ptr noundef nonnull, ptr noundef nonnull) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 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 = { 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 = !{!"rbtree_s", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !13, i64 136, !12, i64 144}
!11 = !{!"mln_rbtree_node_s", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !12, i64 48}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !6, i64 32}
!16 = !{!11, !6, i64 40}
!17 = !{!11, !6, i64 24}
!18 = !{!10, !13, i64 136}
!19 = !{!10, !6, i64 128}
!20 = !{!11, !6, 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"

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @mln_rbtree_chain_del(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @rbtree_minimum(ptr noundef nonnull, ptr noundef nonnull) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @mln_rbtree_delete(ptr noundef nonnull %0, ptr noundef nonnull %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 104
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = icmp eq ptr %4, %1
  br i1 %5, label %6, label %8

6:                                                ; preds = %2
  %7 = tail call ptr @mln_rbtree_successor(ptr noundef %0, ptr noundef %1)
  store ptr %7, ptr %3, align 8, !tbaa !5
  br label %8

8:                                                ; preds = %6, %2
  %9 = getelementptr inbounds i8, ptr %1, i64 48
  %10 = load i32, ptr %9, align 8
  %11 = getelementptr inbounds i8, ptr %1, i64 32
  %12 = load ptr, ptr %11, align 8, !tbaa !13
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = icmp eq ptr %12, %13
  %15 = getelementptr inbounds i8, ptr %1, i64 40
  %16 = load ptr, ptr %15, align 8, !tbaa !14
  br i1 %14, label %17, label %18

17:                                               ; preds = %8
  tail call void @rbtree_transplant(ptr noundef %0, ptr noundef %1, ptr noundef %16)
  br label %42

18:                                               ; preds = %8
  %19 = icmp eq ptr %16, %13
  br i1 %19, label %20, label %21

20:                                               ; preds = %18
  tail call void @rbtree_transplant(ptr noundef %0, ptr noundef %1, ptr noundef %12)
  br label %42

21:                                               ; preds = %18
  %22 = tail call ptr @rbtree_minimum(ptr noundef %0, ptr noundef %16)
  %23 = getelementptr inbounds i8, ptr %22, i64 48
  %24 = load i32, ptr %23, align 8
  %25 = getelementptr inbounds i8, ptr %22, i64 40
  %26 = load ptr, ptr %25, align 8, !tbaa !14
  %27 = getelementptr inbounds i8, ptr %22, i64 24
  %28 = load ptr, ptr %27, align 8, !tbaa !15
  %29 = icmp eq ptr %28, %1
  br i1 %29, label %32, label %30

30:                                               ; preds = %21
  tail call void @rbtree_transplant(ptr noundef %0, ptr noundef %22, ptr noundef %26)
  %31 = load ptr, ptr %15, align 8, !tbaa !14
  store ptr %31, ptr %25, align 8, !tbaa !14
  br label %32

32:                                               ; preds = %21, %30
  %.sink65 = phi ptr [ %31, %30 ], [ %26, %21 ]
  %33 = getelementptr inbounds i8, ptr %.sink65, i64 24
  store ptr %22, ptr %33, align 8, !tbaa !15
  tail call void @rbtree_transplant(ptr noundef %0, ptr noundef %1, ptr noundef %22)
  %34 = load ptr, ptr %11, align 8, !tbaa !13
  %35 = getelementptr inbounds i8, ptr %22, i64 32
  store ptr %34, ptr %35, align 8, !tbaa !13
  %36 = getelementptr inbounds i8, ptr %34, i64 24
  store ptr %22, ptr %36, align 8, !tbaa !15
  %37 = load i32, ptr %9, align 8
  %38 = and i32 %37, -2
  %39 = load i32, ptr %23, align 8
  %40 = and i32 %39, 1
  %41 = or disjoint i32 %40, %38
  store i32 %41, ptr %23, align 8
  br label %42

42:                                               ; preds = %20, %32, %17
  %.059.in = phi i32 [ %10, %17 ], [ %10, %20 ], [ %24, %32 ]
  %.0 = phi ptr [ %16, %17 ], [ %12, %20 ], [ %26, %32 ]
  %.059.mask = and i32 %.059.in, -2
  %43 = icmp eq i32 %.059.mask, 2
  br i1 %43, label %44, label %45

44:                                               ; preds = %42
  tail call void @rbtree_delete_fixup(ptr noundef %0, ptr noundef %.0)
  br label %45

45:                                               ; preds = %44, %42
  %46 = getelementptr inbounds i8, ptr %1, i64 40
  store ptr %13, ptr %46, align 8, !tbaa !14
  store ptr %13, ptr %11, align 8, !tbaa !13
  %47 = getelementptr inbounds i8, ptr %1, i64 24
  store ptr %13, ptr %47, align 8, !tbaa !15
  %48 = getelementptr inbounds i8, ptr %0, i64 136
  %49 = load i64, ptr %48, align 8, !tbaa !16
  %50 = add i64 %49, -1
  store i64 %50, ptr %48, align 8, !tbaa !16
  %51 = getelementptr inbounds i8, ptr %0, i64 128
  %52 = load ptr, ptr %51, align 8, !tbaa !17
  %53 = icmp eq ptr %52, %1
  br i1 %53, label %54, label %60

54:                                               ; preds = %45
  %55 = getelementptr inbounds i8, ptr %1, i64 16
  %56 = load ptr, ptr %55, align 8, !tbaa !18
  store ptr %56, ptr %51, align 8, !tbaa !17
  %57 = getelementptr inbounds i8, ptr %0, i64 144
  %58 = load i8, ptr %57, align 8
  %59 = or i8 %58, 1
  store i8 %59, ptr %57, align 8
  br label %60

60:                                               ; preds = %54, %45
  %61 = getelementptr inbounds i8, ptr %0, i64 112
  %62 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @mln_rbtree_chain_del(ptr noundef nonnull %61, ptr noundef nonnull %62, ptr noundef nonnull %1)
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @rbtree_transplant(ptr noundef nonnull, ptr noundef nonnull, ptr noundef nonnull) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @rbtree_delete_fixup(ptr noundef nonnull, ptr noundef nonnull) local_unnamed_addr #0

attributes #0 = { inlinehint 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 = { 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" }

!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 104}
!6 = !{!"rbtree_s", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !12, i64 136, !11, i64 144}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"mln_rbtree_node_s", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !11, i64 48, !11, i64 48}
!11 = !{!"int", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!10, !7, i64 32}
!14 = !{!10, !7, i64 40}
!15 = !{!10, !7, i64 24}
!16 = !{!6, !12, i64 136}
!17 = !{!6, !7, i64 128}
!18 = !{!10, !7, i64 16}


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