; 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::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::stream::FileStream" = type { %"class.vl::Object", i32, ptr, %"class.vl::stream::IStream" }
%"class.vl::stream::IStream" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::stream::BomDecoder" = type { %"class.vl::Object", %"class.vl::stream::IDecoder", ptr, ptr }
%"class.vl::stream::IDecoder" = type { %"class.vl::Interface" }
%"class.vl::stream::DecoderStream" = type { %"class.vl::stream::IStream", ptr, ptr, i64 }
%"class.vl::stream::StreamReader" = type { %"class.vl::stream::TextReader", ptr }
%"class.vl::stream::TextReader" = type { %"class.vl::Object" }
%"class.vl::filesystem::File" = type { %"class.vl::Object", %"class.vl::filesystem::FilePath" }
%"class.vl::filesystem::FilePath" = type { %"class.vl::Object", %"class.vl::ObjectString" }

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl10filesystem8FilePath11GetFullPathEv(ptr dead_on_unwind noalias writable sret(%"class.vl::ObjectString") align 8, ptr noundef nonnull align 8 dereferenceable(56)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl6stream10FileStreamC1ERKNS_12ObjectStringIwEENS1_11AccessRightE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl6stream10FileStream11IsAvailableEv(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl6stream13DecoderStreamC1ERNS0_7IStreamERNS0_8IDecoderE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl6stream10FileStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK2vl10filesystem4File12ReadAllLinesERNS_11collections4ListINS_12ObjectStringIwEES5_EE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(33) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.vl::stream::FileStream", align 8
  %7 = alloca %"class.vl::ObjectString", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.vl::stream::BomDecoder", align 8
  %12 = alloca %"class.vl::stream::DecoderStream", align 8
  %13 = alloca %"class.vl::stream::StreamReader", align 8
  %14 = alloca %"class.vl::ObjectString", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #3
  %16 = getelementptr inbounds %"class.vl::filesystem::File", ptr %15, i32 0, i32 1
  call void @_ZNK2vl10filesystem8FilePath11GetFullPathEv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %7, ptr noundef nonnull align 8 dereferenceable(56) %16)
  invoke void @_ZN2vl6stream10FileStreamC1ERKNS_12ObjectStringIwEENS1_11AccessRightE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(48) %7, i32 noundef 0)
          to label %17 unwind label %21

17:                                               ; preds = %2
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #3
  %18 = invoke noundef zeroext i1 @_ZNK2vl6stream10FileStream11IsAvailableEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %19 unwind label %25

19:                                               ; preds = %17
  br i1 %18, label %29, label %20

20:                                               ; preds = %19
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %81

21:                                               ; preds = %2
  %22 = landingpad { ptr, i32 }
          cleanup
  %23 = extractvalue { ptr, i32 } %22, 0
  store ptr %23, ptr %8, align 8
  %24 = extractvalue { ptr, i32 } %22, 1
  store i32 %24, ptr %9, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #3
  br label %84

25:                                               ; preds = %17
  %26 = landingpad { ptr, i32 }
          cleanup
  %27 = extractvalue { ptr, i32 } %26, 0
  store ptr %27, ptr %8, align 8
  %28 = extractvalue { ptr, i32 } %26, 1
  store i32 %28, ptr %9, align 4
  br label %83

29:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #3
  invoke void @_ZN2vl6stream10BomDecoderC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %30 unwind label %51

30:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #3
  %31 = load ptr, ptr %6, align 8, !tbaa !9
  %32 = getelementptr i8, ptr %31, i64 -24
  %33 = load i64, ptr %32, align 8
  %34 = getelementptr inbounds i8, ptr %6, i64 %33
  %35 = getelementptr inbounds i8, ptr %11, i64 8
  invoke void @_ZN2vl6stream13DecoderStreamC1ERNS0_7IStreamERNS0_8IDecoderE(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %36 unwind label %55

36:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #3
  %37 = load ptr, ptr %12, align 8, !tbaa !9
  %38 = getelementptr i8, ptr %37, i64 -160
  %39 = load i64, ptr %38, align 8
  %40 = getelementptr inbounds i8, ptr %12, i64 %39
  invoke void @_ZN2vl6stream12StreamReaderC1ERNS0_7IStreamE(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %41 unwind label %59

41:                                               ; preds = %36
  br label %42

42:                                               ; preds = %50, %41
  %43 = invoke noundef zeroext i1 @_ZN2vl6stream12StreamReader5IsEndEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %44 unwind label %63

44:                                               ; preds = %42
  %45 = xor i1 %43, true
  br i1 %45, label %46, label %76

46:                                               ; preds = %44
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #3
  invoke void @_ZN2vl6stream10TextReader8ReadLineEv(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %48 unwind label %67

48:                                               ; preds = %46
  %49 = invoke noundef i64 @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_E3AddERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %47, ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %50 unwind label %71

50:                                               ; preds = %48
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #3
  br label %42, !llvm.loop !11

51:                                               ; preds = %29
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %8, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %9, align 4
  br label %80

55:                                               ; preds = %30
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %8, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %9, align 4
  br label %79

59:                                               ; preds = %36
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %8, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %9, align 4
  br label %78

63:                                               ; preds = %42
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %8, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %9, align 4
  br label %77

67:                                               ; preds = %46
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %8, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %9, align 4
  br label %75

71:                                               ; preds = %48
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %8, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %9, align 4
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #3
  br label %75

75:                                               ; preds = %71, %67
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #3
  br label %77

76:                                               ; preds = %44
  store i1 true, ptr %3, align 1
  store i32 1, ptr %10, align 4
  call void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #3
  call void @_ZN2vl6stream13DecoderStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #3
  call void @_ZN2vl6stream10BomDecoderD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #3
  br label %81

77:                                               ; preds = %75, %63
  call void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #3
  br label %78

78:                                               ; preds = %77, %59
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #3
  call void @_ZN2vl6stream13DecoderStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #3
  br label %79

79:                                               ; preds = %78, %55
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #3
  call void @_ZN2vl6stream10BomDecoderD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #3
  br label %80

80:                                               ; preds = %79, %51
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #3
  br label %83

81:                                               ; preds = %76, %20
  call void @_ZN2vl6stream10FileStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #3
  %82 = load i1, ptr %3, align 1
  ret i1 %82

83:                                               ; preds = %80, %25
  call void @_ZN2vl6stream10FileStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #3
  br label %84

84:                                               ; preds = %83, %21
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #3
  br label %85

85:                                               ; preds = %84
  %86 = load ptr, ptr %8, align 8
  %87 = load i32, ptr %9, align 4
  %88 = insertvalue { ptr, i32 } poison, ptr %86, 0
  %89 = insertvalue { ptr, i32 } %88, i32 %87, 1
  resume { ptr, i32 } %89
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2vl6stream12StreamReader5IsEndEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl6stream10TextReader8ReadLineEv(ptr dead_on_unwind noalias writable sret(%"class.vl::ObjectString") align 8, ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

declare void @_ZN2vl6stream12StreamReaderC1ERNS0_7IStreamE(ptr, ptr)

declare void @_ZN2vl6stream10BomDecoderC1Ev(ptr)

declare void @_ZN2vl6stream10BomDecoderD1Ev(ptr)

attributes #0 = { 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 = { 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 #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 = !{!"vtable pointer", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"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"

%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::stream::FileStream" = type { %"class.vl::Object", i32, ptr, %"class.vl::stream::IStream" }
%"class.vl::stream::IStream" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::stream::BomDecoder" = type { %"class.vl::Object", %"class.vl::stream::IDecoder", ptr, ptr }
%"class.vl::stream::IDecoder" = type { %"class.vl::Interface" }
%"class.vl::stream::DecoderStream" = type { %"class.vl::stream::IStream", ptr, ptr, i64 }
%"class.vl::stream::StreamReader" = type { %"class.vl::stream::TextReader", ptr }
%"class.vl::stream::TextReader" = type { %"class.vl::Object" }

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2vl10filesystem8FilePath11GetFullPathEv(ptr dead_on_unwind noalias writable sret(%"class.vl::ObjectString") align 8, ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl6stream10FileStreamC1ERKNS_12ObjectStringIwEENS1_11AccessRightE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl6stream10FileStream11IsAvailableEv(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl6stream13DecoderStreamC1ERNS0_7IStreamERNS0_8IDecoderE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl6stream10FileStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK2vl10filesystem4File12ReadAllLinesERNS_11collections4ListINS_12ObjectStringIwEES5_EE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(33) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.vl::stream::FileStream", align 8
  %4 = alloca %"class.vl::ObjectString", align 8
  %5 = alloca %"class.vl::stream::BomDecoder", align 8
  %6 = alloca %"class.vl::stream::DecoderStream", align 8
  %7 = alloca %"class.vl::stream::StreamReader", align 8
  %8 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #3
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  call void @_ZNK2vl10filesystem8FilePath11GetFullPathEv(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %4, ptr noundef nonnull align 8 dereferenceable(56) %9)
  invoke void @_ZN2vl6stream10FileStreamC1ERKNS_12ObjectStringIwEENS1_11AccessRightE(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(48) %4, i32 noundef 0)
          to label %10 unwind label %12

10:                                               ; preds = %2
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #3
  %11 = call noundef zeroext i1 @_ZNK2vl6stream10FileStream11IsAvailableEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  br i1 %11, label %14, label %45

12:                                               ; preds = %2
  %13 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #3
  br label %46

14:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3
  invoke void @_ZN2vl6stream10BomDecoderC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %15 unwind label %31

15:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr i8, ptr %16, i64 -24
  %18 = load i64, ptr %17, align 8
  %19 = getelementptr inbounds i8, ptr %3, i64 %18
  %20 = getelementptr inbounds i8, ptr %5, i64 8
  invoke void @_ZN2vl6stream13DecoderStreamC1ERNS0_7IStreamERNS0_8IDecoderE(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %21 unwind label %33

21:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #3
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr i8, ptr %22, i64 -160
  %24 = load i64, ptr %23, align 8
  %25 = getelementptr inbounds i8, ptr %6, i64 %24
  invoke void @_ZN2vl6stream12StreamReaderC1ERNS0_7IStreamE(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %.preheader unwind label %35

.preheader:                                       ; preds = %21
  %26 = call noundef zeroext i1 @_ZN2vl6stream12StreamReader5IsEndEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  br i1 %26, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %29
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #3
  invoke void @_ZN2vl6stream10TextReader8ReadLineEv(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %8, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %27 unwind label %37

27:                                               ; preds = %.lr.ph
  %28 = invoke noundef i64 @_ZN2vl11collections4ListINS_12ObjectStringIwEES3_E3AddERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %29 unwind label %39

29:                                               ; preds = %27
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #3
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #3
  %30 = call noundef zeroext i1 @_ZN2vl6stream12StreamReader5IsEndEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  br i1 %30, label %._crit_edge, label %.lr.ph, !llvm.loop !8

31:                                               ; preds = %14
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %44

33:                                               ; preds = %15
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %43

35:                                               ; preds = %21
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %42

37:                                               ; preds = %.lr.ph
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %41

39:                                               ; preds = %27
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #3
  br label %41

41:                                               ; preds = %39, %37
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %38, %37 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #3
  call void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #3
  br label %42

._crit_edge:                                      ; preds = %29, %.preheader
  call void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
  call void @_ZN2vl6stream13DecoderStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
  call void @_ZN2vl6stream10BomDecoderD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3
  br label %45

42:                                               ; preds = %41, %35
  %.pn.pn = phi { ptr, i32 } [ %.pn, %41 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #3
  call void @_ZN2vl6stream13DecoderStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #3
  br label %43

43:                                               ; preds = %42, %33
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %42 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
  call void @_ZN2vl6stream10BomDecoderD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  br label %44

44:                                               ; preds = %43, %31
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %43 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3
  call void @_ZN2vl6stream10FileStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  br label %46

45:                                               ; preds = %10, %._crit_edge
  call void @_ZN2vl6stream10FileStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
  ret i1 %11

46:                                               ; preds = %44, %12
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %44 ], [ %13, %12 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2vl6stream12StreamReader5IsEndEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl6stream10TextReader8ReadLineEv(ptr dead_on_unwind noalias writable sret(%"class.vl::ObjectString") align 8, ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

declare void @_ZN2vl6stream12StreamReaderC1ERNS0_7IStreamE(ptr, ptr) local_unnamed_addr

declare void @_ZN2vl6stream10BomDecoderC1Ev(ptr) local_unnamed_addr

declare void @_ZN2vl6stream10BomDecoderD1Ev(ptr) local_unnamed_addr

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 = { 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 #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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass