; LLVM IR from vczh/herodb :: Kernel/Source (Vlpp)

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

%"class.vl::reflection::description::TypeDescriptorImpl" = type { %"class.vl::Object", %"class.vl::reflection::description::ITypeDescriptor.base", i8, %"class.vl::ObjectString", %"class.vl::ObjectString", %"class.vl::Ptr.918", %"class.vl::collections::List.919", %"class.vl::collections::Dictionary.927", %"class.vl::collections::Dictionary.938", %"class.vl::collections::Dictionary.949", %"class.vl::Ptr.960", %"class.vl::reflection::IDescriptable.base", %"class.vl::Interface", %"class.vl::reflection::DescriptableObject" }
%"class.vl::Object" = type { ptr }
%"class.vl::reflection::description::ITypeDescriptor.base" = type { %"class.vl::reflection::Description.base.779" }
%"class.vl::reflection::Description.base.779" = type { ptr }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Ptr.918" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::List.919" = type { %"class.vl::collections::ListBase.base.925", %"class.vl::collections::IEnumerable.923" }
%"class.vl::collections::ListBase.base.925" = type <{ %"class.vl::collections::ArrayBase.base.924", i64, i8 }>
%"class.vl::collections::ArrayBase.base.924" = type { %"class.vl::collections::ListStore.922", ptr, i64 }
%"class.vl::collections::ListStore.922" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.923" = type { %"class.vl::Interface" }
%"class.vl::collections::Dictionary.927" = type { %"class.vl::Object", %"class.vl::collections::SortedList", %"class.vl::collections::List.928", %"class.vl::collections::IEnumerable.936" }
%"class.vl::collections::SortedList" = type { %"class.vl::collections::ListBase.base", %"class.vl::collections::IEnumerable.2" }
%"class.vl::collections::ListBase.base" = type <{ %"class.vl::collections::ArrayBase.base.3", i64, i8 }>
%"class.vl::collections::ArrayBase.base.3" = type { %"class.vl::collections::ListStore.1", ptr, i64 }
%"class.vl::collections::ListStore.1" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.2" = type { %"class.vl::Interface" }
%"class.vl::collections::List.928" = type { %"class.vl::collections::ListBase.base.934", %"class.vl::collections::IEnumerable.932" }
%"class.vl::collections::ListBase.base.934" = type <{ %"class.vl::collections::ArrayBase.base.933", i64, i8 }>
%"class.vl::collections::ArrayBase.base.933" = type { %"class.vl::collections::ListStore.931", ptr, i64 }
%"class.vl::collections::ListStore.931" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.932" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.936" = type { %"class.vl::Interface" }
%"class.vl::collections::Dictionary.938" = type { %"class.vl::Object", %"class.vl::collections::SortedList", %"class.vl::collections::List.939", %"class.vl::collections::IEnumerable.947" }
%"class.vl::collections::List.939" = type { %"class.vl::collections::ListBase.base.945", %"class.vl::collections::IEnumerable.943" }
%"class.vl::collections::ListBase.base.945" = type <{ %"class.vl::collections::ArrayBase.base.944", i64, i8 }>
%"class.vl::collections::ArrayBase.base.944" = type { %"class.vl::collections::ListStore.942", ptr, i64 }
%"class.vl::collections::ListStore.942" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.943" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.947" = type { %"class.vl::Interface" }
%"class.vl::collections::Dictionary.949" = type { %"class.vl::Object", %"class.vl::collections::SortedList", %"class.vl::collections::List.950", %"class.vl::collections::IEnumerable.958" }
%"class.vl::collections::List.950" = type { %"class.vl::collections::ListBase.base.956", %"class.vl::collections::IEnumerable.954" }
%"class.vl::collections::ListBase.base.956" = type <{ %"class.vl::collections::ArrayBase.base.955", i64, i8 }>
%"class.vl::collections::ArrayBase.base.955" = type { %"class.vl::collections::ListStore.953", ptr, i64 }
%"class.vl::collections::ListStore.953" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.954" = type { %"class.vl::Interface" }
%"class.vl::collections::IEnumerable.958" = type { %"class.vl::Interface" }
%"class.vl::Ptr.960" = type { ptr, ptr, ptr, ptr }
%"class.vl::reflection::IDescriptable.base" = type { %"class.vl::reflection::Description.base.17" }
%"class.vl::reflection::Description.base.17" = type { ptr }
%"class.vl::Interface" = type { ptr }
%"class.vl::reflection::DescriptableObject" = type { ptr, i64, ptr, i64, ptr, %"class.vl::Ptr.12" }
%"class.vl::Ptr.12" = type { ptr, ptr, ptr, ptr }

; 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: mustprogress uwtable
declare dso_local noundef i64 @_ZNK2vl11collections10SortedListINS_12ObjectStringIwEES3_E7IndexOfERKS3_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_10reflection11description19MethodGroupInfoImplEEES3_PS7_E4KeysEv(ptr noundef nonnull align 8 dereferenceable(104)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK2vl3PtrINS_10reflection11description19MethodGroupInfoImplEE3ObjEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_10reflection11description19MethodGroupInfoImplEEES3_PS7_E6ValuesEv(ptr noundef nonnull align 8 dereferenceable(104)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description19MethodGroupInfoImplEEEE3GetEl(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl10reflection11description18TypeDescriptorImpl4LoadEv(ptr noundef nonnull align 8 dereferenceable(568)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_10reflection11description15ITypeDescriptorEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_10reflection11description15ITypeDescriptorES5_EixEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN2vl10reflection11description18TypeDescriptorImpl20GetMethodGroupByNameERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(568) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2) unnamed_addr #1 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %12 = zext i1 %2 to i8
  store i8 %12, ptr %7, align 1, !tbaa !9
  %13 = load ptr, ptr %5, align 8
  call void @_ZN2vl10reflection11description18TypeDescriptorImpl4LoadEv(ptr noundef nonnull align 8 dereferenceable(568) %13)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %14 = getelementptr inbounds %"class.vl::reflection::description::TypeDescriptorImpl", ptr %13, i32 0, i32 9
  %15 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_10reflection11description19MethodGroupInfoImplEEES3_PS7_E4KeysEv(ptr noundef nonnull align 8 dereferenceable(104) %14)
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = call noundef i64 @_ZNK2vl11collections10SortedListINS_12ObjectStringIwEES3_E7IndexOfERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %15, ptr noundef nonnull align 8 dereferenceable(48) %16)
  store i64 %17, ptr %8, align 8, !tbaa !11
  %18 = load i64, ptr %8, align 8, !tbaa !11
  %19 = icmp ne i64 %18, -1
  br i1 %19, label %20, label %31

20:                                               ; preds = %3
  %21 = getelementptr inbounds %"class.vl::reflection::description::TypeDescriptorImpl", ptr %13, i32 0, i32 9
  %22 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_10reflection11description19MethodGroupInfoImplEEES3_PS7_E6ValuesEv(ptr noundef nonnull align 8 dereferenceable(104) %21)
  %23 = load i64, ptr %8, align 8, !tbaa !11
  %24 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description19MethodGroupInfoImplEEEE3GetEl(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %23)
  %25 = call noundef ptr @_ZNK2vl3PtrINS_10reflection11description19MethodGroupInfoImplEE3ObjEv(ptr noundef nonnull align 8 dereferenceable(32) %24)
  %26 = icmp eq ptr %25, null
  br i1 %26, label %29, label %27

27:                                               ; preds = %20
  %28 = getelementptr inbounds i8, ptr %25, i64 8
  br label %29

29:                                               ; preds = %27, %20
  %30 = phi ptr [ %28, %27 ], [ null, %20 ]
  store ptr %30, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %66

31:                                               ; preds = %3
  %32 = load i8, ptr %7, align 1, !tbaa !9, !range !13, !noundef !14
  %33 = trunc i8 %32 to i1
  br i1 %33, label %34, label %65

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  store i64 0, ptr %10, align 8, !tbaa !11
  br label %35

35:                                               ; preds = %59, %34
  %36 = load i64, ptr %10, align 8, !tbaa !11
  %37 = getelementptr inbounds %"class.vl::reflection::description::TypeDescriptorImpl", ptr %13, i32 0, i32 6
  %38 = call noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_10reflection11description15ITypeDescriptorEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %37)
  %39 = icmp slt i64 %36, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %35
  store i32 2, ptr %9, align 4
  br label %62

41:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %42 = getelementptr inbounds %"class.vl::reflection::description::TypeDescriptorImpl", ptr %13, i32 0, i32 6
  %43 = load i64, ptr %10, align 8, !tbaa !11
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_10reflection11description15ITypeDescriptorES5_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %42, i64 noundef %43)
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = load ptr, ptr %45, align 8, !tbaa !15
  %48 = getelementptr inbounds ptr, ptr %47, i64 19
  %49 = load ptr, ptr %48, align 8
  %50 = call noundef ptr %49(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(48) %46, i1 noundef zeroext true)
  store ptr %50, ptr %11, align 8, !tbaa !5
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = icmp ne ptr %51, null
  br i1 %52, label %53, label %55

53:                                               ; preds = %41
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %54, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %56

55:                                               ; preds = %41
  store i32 0, ptr %9, align 4
  br label %56

56:                                               ; preds = %55, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  %57 = load i32, ptr %9, align 4
  switch i32 %57, label %62 [
    i32 0, label %58
  ]

58:                                               ; preds = %56
  br label %59

59:                                               ; preds = %58
  %60 = load i64, ptr %10, align 8, !tbaa !11
  %61 = add nsw i64 %60, 1
  store i64 %61, ptr %10, align 8, !tbaa !11
  br label %35, !llvm.loop !17

62:                                               ; preds = %56, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %63 = load i32, ptr %9, align 4
  switch i32 %63, label %66 [
    i32 2, label %64
  ]

64:                                               ; preds = %62
  br label %65

65:                                               ; preds = %64, %31
  store ptr null, ptr %4, align 8
  store i32 1, ptr %9, align 4
  br label %66

66:                                               ; preds = %65, %62, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %67 = load ptr, ptr %4, align 8
  ret ptr %67
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


; 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 uwtable
declare dso_local noundef i64 @_ZNK2vl11collections10SortedListINS_12ObjectStringIwEES3_E7IndexOfERKS3_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_10reflection11description19MethodGroupInfoImplEEES3_PS7_E4KeysEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK2vl3PtrINS_10reflection11description19MethodGroupInfoImplEE3ObjEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_10reflection11description19MethodGroupInfoImplEEES3_PS7_E6ValuesEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description19MethodGroupInfoImplEEEE3GetEl(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl10reflection11description18TypeDescriptorImpl4LoadEv(ptr noundef nonnull align 8 dereferenceable(568)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_10reflection11description15ITypeDescriptorEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_10reflection11description15ITypeDescriptorES5_EixEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN2vl10reflection11description18TypeDescriptorImpl20GetMethodGroupByNameERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(568) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2) unnamed_addr #0 align 2 {
  tail call void @_ZN2vl10reflection11description18TypeDescriptorImpl4LoadEv(ptr noundef nonnull align 8 dereferenceable(568) %0)
  %4 = getelementptr inbounds i8, ptr %0, i64 424
  %5 = tail call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_10reflection11description19MethodGroupInfoImplEEES3_PS7_E4KeysEv(ptr noundef nonnull align 8 dereferenceable(104) %4)
  %6 = tail call noundef i64 @_ZNK2vl11collections10SortedListINS_12ObjectStringIwEES3_E7IndexOfERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %.not = icmp eq i64 %6, -1
  br i1 %.not, label %13, label %7

7:                                                ; preds = %3
  %8 = tail call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_10reflection11description19MethodGroupInfoImplEEES3_PS7_E6ValuesEv(ptr noundef nonnull align 8 dereferenceable(104) %4)
  %9 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_10reflection11description19MethodGroupInfoImplEEEE3GetEl(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %6)
  %10 = tail call noundef ptr @_ZNK2vl3PtrINS_10reflection11description19MethodGroupInfoImplEE3ObjEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
  %11 = icmp eq ptr %10, null
  %12 = getelementptr inbounds i8, ptr %10, i64 8
  %spec.select = select i1 %11, ptr null, ptr %12
  br label %.thread

13:                                               ; preds = %3
  br i1 %2, label %.preheader, label %.thread

.preheader:                                       ; preds = %13
  %14 = getelementptr inbounds i8, ptr %0, i64 152
  %15 = tail call noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_10reflection11description15ITypeDescriptorEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %.not2022 = icmp sgt i64 %15, 0
  br i1 %.not2022, label %.lr.ph, label %.thread

16:                                               ; preds = %.lr.ph
  %17 = add nuw nsw i64 %.01423, 1
  %18 = tail call noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_10reflection11description15ITypeDescriptorEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %.not20 = icmp slt i64 %17, %18
  br i1 %.not20, label %.lr.ph, label %.thread, !llvm.loop !5

.lr.ph:                                           ; preds = %.preheader, %16
  %.01423 = phi i64 [ %17, %16 ], [ 0, %.preheader ]
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_10reflection11description15ITypeDescriptorES5_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %14, i64 noundef %.01423)
  %20 = load ptr, ptr %19, align 8, !tbaa !7
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds i8, ptr %21, i64 152
  %23 = load ptr, ptr %22, align 8
  %24 = tail call noundef ptr %23(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext true)
  %.not19 = icmp eq ptr %24, null
  br i1 %.not19, label %16, label %.thread

.thread:                                          ; preds = %16, %.lr.ph, %.preheader, %13, %7
  %.3 = phi ptr [ %spec.select, %7 ], [ null, %13 ], [ null, %.preheader ], [ null, %16 ], [ %24, %.lr.ph ]
  ret ptr %.3
}

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

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !10, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass