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

@_ZN2vl10reflection11description8TypeInfoINS1_20IValueInterfaceProxyEE8TypeNameE = external dso_local global ptr, align 8
@_ZN2vl10reflection11description8TypeInfoINS0_13IDescriptableEE8TypeNameE = external dso_local global ptr, align 8

; 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 ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2vl10reflection11description15IsInterfaceTypeEPNS1_15ITypeDescriptorERb(ptr noundef %0, ptr noundef nonnull align 1 dereferenceable(1) %1) #1 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #3
  store i8 0, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  %16 = getelementptr inbounds ptr, ptr %15, i64 20
  %17 = load ptr, ptr %16, align 8
  %18 = call noundef ptr %17(ptr noundef nonnull align 8 dereferenceable(8) %14)
  store ptr %18, ptr %7, align 8, !tbaa !5
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %78

21:                                               ; preds = %2
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = getelementptr inbounds ptr, ptr %23, i64 2
  %25 = load ptr, ptr %24, align 8
  %26 = call noundef i64 %25(ptr noundef nonnull align 8 dereferenceable(8) %22)
  %27 = icmp sgt i64 %26, 0
  %28 = zext i1 %27 to i8
  store i8 %28, ptr %6, align 1, !tbaa !9
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = getelementptr inbounds ptr, ptr %30, i64 2
  %32 = load ptr, ptr %31, align 8
  %33 = call noundef i64 %32(ptr noundef nonnull align 8 dereferenceable(8) %29)
  %34 = icmp eq i64 %33, 1
  br i1 %34, label %35, label %77

35:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %38 = getelementptr inbounds ptr, ptr %37, i64 3
  %39 = load ptr, ptr %38, align 8
  %40 = call noundef ptr %39(ptr noundef nonnull align 8 dereferenceable(8) %36, i64 noundef 0)
  store ptr %40, ptr %8, align 8, !tbaa !5
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %73

43:                                               ; preds = %35
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = load ptr, ptr %44, align 8, !tbaa !11
  %46 = getelementptr inbounds ptr, ptr %45, i64 4
  %47 = load ptr, ptr %46, align 8
  %48 = call noundef i64 %47(ptr noundef nonnull align 8 dereferenceable(8) %44)
  %49 = icmp eq i64 %48, 1
  br i1 %49, label %50, label %72

50:                                               ; preds = %43
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  %53 = getelementptr inbounds ptr, ptr %52, i64 5
  %54 = load ptr, ptr %53, align 8
  %55 = call noundef ptr %54(ptr noundef nonnull align 8 dereferenceable(8) %51, i64 noundef 0)
  %56 = load ptr, ptr %55, align 8, !tbaa !11
  %57 = getelementptr inbounds ptr, ptr %56, i64 2
  %58 = load ptr, ptr %57, align 8
  %59 = call noundef ptr %58(ptr noundef nonnull align 8 dereferenceable(8) %55)
  %60 = load ptr, ptr %59, align 8, !tbaa !11
  %61 = getelementptr inbounds ptr, ptr %60, i64 4
  %62 = load ptr, ptr %61, align 8
  %63 = call noundef ptr %62(ptr noundef nonnull align 8 dereferenceable(8) %59)
  %64 = load ptr, ptr %63, align 8, !tbaa !11
  %65 = getelementptr inbounds ptr, ptr %64, i64 2
  %66 = load ptr, ptr %65, align 8
  %67 = call noundef nonnull align 8 dereferenceable(48) ptr %66(ptr noundef nonnull align 8 dereferenceable(8) %63)
  %68 = load ptr, ptr @_ZN2vl10reflection11description8TypeInfoINS1_20IValueInterfaceProxyEE8TypeNameE, align 8, !tbaa !5
  %69 = call noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48) %67, ptr noundef %68)
  br i1 %69, label %70, label %72

70:                                               ; preds = %50
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  store i8 1, ptr %71, align 1, !tbaa !9
  store i1 true, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %74

72:                                               ; preds = %50, %43
  br label %73

73:                                               ; preds = %72, %35
  store i32 0, ptr %9, align 4
  br label %74

74:                                               ; preds = %73, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %75 = load i32, ptr %9, align 4
  switch i32 %75, label %79 [
    i32 0, label %76
  ]

76:                                               ; preds = %74
  br label %77

77:                                               ; preds = %76, %21
  br label %78

78:                                               ; preds = %77, %2
  store i32 0, ptr %9, align 4
  br label %79

79:                                               ; preds = %78, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  %80 = load i32, ptr %9, align 4
  switch i32 %80, label %160 [
    i32 0, label %81
  ]

81:                                               ; preds = %79
  %82 = load i8, ptr %6, align 1, !tbaa !9, !range !13, !noundef !14
  %83 = trunc i8 %82 to i1
  br i1 %83, label %159, label %84

84:                                               ; preds = %81
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = load ptr, ptr %85, align 8, !tbaa !11
  %87 = getelementptr inbounds ptr, ptr %86, i64 2
  %88 = load ptr, ptr %87, align 8
  %89 = call noundef nonnull align 8 dereferenceable(48) ptr %88(ptr noundef nonnull align 8 dereferenceable(8) %85)
  %90 = load ptr, ptr @_ZN2vl10reflection11description8TypeInfoINS0_13IDescriptableEE8TypeNameE, align 8, !tbaa !5
  %91 = call noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48) %89, ptr noundef %90)
  br i1 %91, label %92, label %93

92:                                               ; preds = %84
  store i1 true, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %160

93:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  store i64 0, ptr %10, align 8, !tbaa !15
  br label %94

94:                                               ; preds = %116, %93
  %95 = load i64, ptr %10, align 8, !tbaa !15
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = load ptr, ptr %96, align 8, !tbaa !11
  %98 = getelementptr inbounds ptr, ptr %97, i64 5
  %99 = load ptr, ptr %98, align 8
  %100 = call noundef i64 %99(ptr noundef nonnull align 8 dereferenceable(8) %96)
  %101 = icmp slt i64 %95, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %94
  store i32 2, ptr %9, align 4
  br label %119

103:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #3
  store i8 0, ptr %11, align 1, !tbaa !9
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = load i64, ptr %10, align 8, !tbaa !15
  %106 = load ptr, ptr %104, align 8, !tbaa !11
  %107 = getelementptr inbounds ptr, ptr %106, i64 6
  %108 = load ptr, ptr %107, align 8
  %109 = call noundef ptr %108(ptr noundef nonnull align 8 dereferenceable(8) %104, i64 noundef %105)
  %110 = call noundef zeroext i1 @_ZN2vl10reflection11description15IsInterfaceTypeEPNS1_15ITypeDescriptorERb(ptr noundef %109, ptr noundef nonnull align 1 dereferenceable(1) %11)
  br i1 %110, label %112, label %111

111:                                              ; preds = %103
  store i1 false, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %113

112:                                              ; preds = %103
  store i32 0, ptr %9, align 4
  br label %113

113:                                              ; preds = %112, %111
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  %114 = load i32, ptr %9, align 4
  switch i32 %114, label %119 [
    i32 0, label %115
  ]

115:                                              ; preds = %113
  br label %116

116:                                              ; preds = %115
  %117 = load i64, ptr %10, align 8, !tbaa !15
  %118 = add nsw i64 %117, 1
  store i64 %118, ptr %10, align 8, !tbaa !15
  br label %94, !llvm.loop !17

119:                                              ; preds = %113, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %120 = load i32, ptr %9, align 4
  switch i32 %120, label %160 [
    i32 2, label %121
  ]

121:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = load ptr, ptr %122, align 8, !tbaa !11
  %124 = getelementptr inbounds ptr, ptr %123, i64 2
  %125 = load ptr, ptr %124, align 8
  %126 = call noundef nonnull align 8 dereferenceable(48) ptr %125(ptr noundef nonnull align 8 dereferenceable(8) %122)
  %127 = call noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %126)
  store ptr %127, ptr %12, align 8, !tbaa !5
  br label %128

128:                                              ; preds = %139, %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %129 = load ptr, ptr %12, align 8, !tbaa !5
  %130 = call ptr @wcschr(ptr noundef %129, i32 noundef signext 58) #4
  store ptr %130, ptr %13, align 8, !tbaa !5
  %131 = load ptr, ptr %13, align 8, !tbaa !5
  %132 = icmp ne ptr %131, null
  br i1 %132, label %134, label %133

133:                                              ; preds = %128
  store i32 6, ptr %9, align 4
  br label %137

134:                                              ; preds = %128
  %135 = load ptr, ptr %13, align 8, !tbaa !5
  %136 = getelementptr inbounds i32, ptr %135, i64 1
  store ptr %136, ptr %12, align 8, !tbaa !5
  store i32 0, ptr %9, align 4
  br label %137

137:                                              ; preds = %134, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  %138 = load i32, ptr %9, align 4
  switch i32 %138, label %162 [
    i32 0, label %139
    i32 6, label %140
  ]

139:                                              ; preds = %137
  br label %128, !llvm.loop !19

140:                                              ; preds = %137
  %141 = load ptr, ptr %12, align 8, !tbaa !5
  %142 = getelementptr inbounds i32, ptr %141, i64 0
  %143 = load i32, ptr %142, align 4, !tbaa !20
  %144 = icmp eq i32 %143, 73
  br i1 %144, label %145, label %157

145:                                              ; preds = %140
  %146 = load ptr, ptr %12, align 8, !tbaa !5
  %147 = getelementptr inbounds i32, ptr %146, i64 1
  %148 = load i32, ptr %147, align 4, !tbaa !20
  %149 = icmp sle i32 65, %148
  br i1 %149, label %150, label %155

150:                                              ; preds = %145
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  %152 = getelementptr inbounds i32, ptr %151, i64 1
  %153 = load i32, ptr %152, align 4, !tbaa !20
  %154 = icmp sle i32 %153, 90
  br label %155

155:                                              ; preds = %150, %145
  %156 = phi i1 [ false, %145 ], [ %154, %150 ]
  br label %157

157:                                              ; preds = %155, %140
  %158 = phi i1 [ false, %140 ], [ %156, %155 ]
  store i1 %158, ptr %3, align 1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %160

159:                                              ; preds = %81
  store i1 false, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %160

160:                                              ; preds = %159, %157, %119, %92, %79
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #3
  %161 = load i1, ptr %3, align 1
  ret i1 %161

162:                                              ; preds = %137
  unreachable
}

; Function Attrs: nounwind willreturn memory(read)
declare ptr @wcschr(ptr noundef, i32 noundef signext) #2

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 = { nounwind willreturn memory(read) "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 }
attributes #4 = { nounwind willreturn memory(read) }

!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 = !{!"vtable pointer", !8, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!21, !21, i64 0}
!21 = !{!"wchar_t", !7, i64 0}


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

@_ZN2vl10reflection11description8TypeInfoINS1_20IValueInterfaceProxyEE8TypeNameE = external dso_local local_unnamed_addr global ptr, align 8
@_ZN2vl10reflection11description8TypeInfoINS0_13IDescriptableEE8TypeNameE = external dso_local local_unnamed_addr global ptr, align 8

; 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 uwtable
declare dso_local noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2vl10reflection11description15IsInterfaceTypeEPNS1_15ITypeDescriptorERb(ptr noundef %0, ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %1) local_unnamed_addr #1 {
  %3 = alloca i8, align 1
  %4 = load ptr, ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 160
  %6 = load ptr, ptr %5, align 8
  %7 = tail call noundef ptr %6(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %.critedge, label %8

8:                                                ; preds = %2
  %9 = load ptr, ptr %7, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  %11 = load ptr, ptr %10, align 8
  %12 = tail call noundef i64 %11(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %13 = icmp sgt i64 %12, 0
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  %16 = load ptr, ptr %15, align 8
  %17 = tail call noundef i64 %16(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %18 = icmp eq i64 %17, 1
  br i1 %18, label %19, label %49

19:                                               ; preds = %8
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 24
  %22 = load ptr, ptr %21, align 8
  %23 = tail call noundef ptr %22(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef 0)
  %.not44 = icmp eq ptr %23, null
  br i1 %.not44, label %49, label %24

24:                                               ; preds = %19
  %25 = load ptr, ptr %23, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %25, i64 32
  %27 = load ptr, ptr %26, align 8
  %28 = tail call noundef i64 %27(ptr noundef nonnull align 8 dereferenceable(8) %23)
  %29 = icmp eq i64 %28, 1
  br i1 %29, label %30, label %49

30:                                               ; preds = %24
  %31 = load ptr, ptr %23, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %31, i64 40
  %33 = load ptr, ptr %32, align 8
  %34 = tail call noundef ptr %33(ptr noundef nonnull align 8 dereferenceable(8) %23, i64 noundef 0)
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %37 = load ptr, ptr %36, align 8
  %38 = tail call noundef ptr %37(ptr noundef nonnull align 8 dereferenceable(8) %34)
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %39, i64 32
  %41 = load ptr, ptr %40, align 8
  %42 = tail call noundef ptr %41(ptr noundef nonnull align 8 dereferenceable(8) %38)
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 16
  %45 = load ptr, ptr %44, align 8
  %46 = tail call noundef nonnull align 8 dereferenceable(48) ptr %45(ptr noundef nonnull align 8 dereferenceable(8) %42)
  %47 = load ptr, ptr @_ZN2vl10reflection11description8TypeInfoINS1_20IValueInterfaceProxyEE8TypeNameE, align 8, !tbaa !8
  %48 = tail call noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef %47)
  br i1 %48, label %.thread, label %49

.thread:                                          ; preds = %30
  store i8 1, ptr %1, align 1, !tbaa !11
  br label %.thread51

49:                                               ; preds = %8, %19, %30, %24
  br i1 %13, label %.thread51, label %.critedge

.critedge:                                        ; preds = %2, %49
  %50 = load ptr, ptr %0, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  %52 = load ptr, ptr %51, align 8
  %53 = tail call noundef nonnull align 8 dereferenceable(48) ptr %52(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %54 = load ptr, ptr @_ZN2vl10reflection11description8TypeInfoINS0_13IDescriptableEE8TypeNameE, align 8, !tbaa !8
  %55 = tail call noundef zeroext i1 @_ZNK2vl12ObjectStringIwEeqEPKw(ptr noundef nonnull align 8 dereferenceable(48) %53, ptr noundef %54)
  br i1 %55, label %.thread51, label %.preheader

.preheader:                                       ; preds = %.critedge
  %56 = load ptr, ptr %0, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %56, i64 40
  %58 = load ptr, ptr %57, align 8
  %59 = tail call noundef i64 %58(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %.not4553 = icmp sgt i64 %59, 0
  br i1 %.not4553, label %.lr.ph, label %._crit_edge

60:                                               ; preds = %.lr.ph
  %61 = add nuw nsw i64 %.03354, 1
  %62 = load ptr, ptr %0, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %62, i64 40
  %64 = load ptr, ptr %63, align 8
  %65 = tail call noundef i64 %64(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %.not45 = icmp slt i64 %61, %65
  br i1 %.not45, label %.lr.ph, label %._crit_edge, !llvm.loop !13

.lr.ph:                                           ; preds = %.preheader, %60
  %.03354 = phi i64 [ %61, %60 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #3
  %66 = load ptr, ptr %0, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 48
  %68 = load ptr, ptr %67, align 8
  %69 = tail call noundef ptr %68(ptr noundef nonnull align 8 dereferenceable(8) %0, i64 noundef %.03354)
  %70 = call noundef zeroext i1 @_ZN2vl10reflection11description15IsInterfaceTypeEPNS1_15ITypeDescriptorERb(ptr noundef %69, ptr noundef nonnull align 1 dereferenceable(1) %3)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #3
  br i1 %70, label %60, label %.thread51

._crit_edge:                                      ; preds = %60, %.preheader
  %71 = load ptr, ptr %0, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %71, i64 16
  %73 = load ptr, ptr %72, align 8
  %74 = tail call noundef nonnull align 8 dereferenceable(48) ptr %73(ptr noundef nonnull align 8 dereferenceable(8) %0)
  %75 = tail call noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %74)
  br label %76

76:                                               ; preds = %76, %._crit_edge
  %.031 = phi ptr [ %75, %._crit_edge ], [ %78, %76 ]
  %77 = tail call ptr @wcschr(ptr noundef %.031, i32 noundef signext 58) #4
  %.not46 = icmp eq ptr %77, null
  %78 = getelementptr inbounds i8, ptr %77, i64 4
  br i1 %.not46, label %79, label %76

79:                                               ; preds = %76
  %80 = load i32, ptr %.031, align 4, !tbaa !15
  %81 = icmp eq i32 %80, 73
  br i1 %81, label %82, label %.thread51

82:                                               ; preds = %79
  %83 = getelementptr inbounds i8, ptr %.031, i64 4
  %84 = load i32, ptr %83, align 4, !tbaa !15
  %85 = add i32 %84, -65
  %spec.select = icmp ult i32 %85, 26
  br label %.thread51

.thread51:                                        ; preds = %.lr.ph, %.thread, %82, %49, %79, %.critedge
  %.6 = phi i1 [ false, %49 ], [ true, %.critedge ], [ false, %79 ], [ %spec.select, %82 ], [ true, %.thread ], [ false, %.lr.ph ]
  ret i1 %.6
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @wcschr(ptr noundef, i32 noundef signext) local_unnamed_addr #2

attributes #0 = { mustprogress 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 nofree nounwind willreturn memory(read) "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 }
attributes #4 = { nounwind willreturn memory(read) }

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


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass