; LLVM IR from thepowersgang/mrustc :: tools/minicargo (manifest)

; 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.helpers::path" = type { %"class.std::__cxx11::basic_string" }
%"class.__gnu_cxx::__normal_iterator.38" = type { ptr }
%class.anon.126 = type { ptr }
%struct.PackageVersionSpec = type { %"class.std::vector.39" }
%"class.std::vector.39" = type { %"struct.std::_Vector_base.40" }
%"struct.std::_Vector_base.40" = type { %"struct.std::_Vector_base<PackageVersionSpec::Bound, std::allocator<PackageVersionSpec::Bound>>::_Vector_impl" }
%"struct.std::_Vector_base<PackageVersionSpec::Bound, std::allocator<PackageVersionSpec::Bound>>::_Vector_impl" = type { %"struct.std::_Vector_base<PackageVersionSpec::Bound, std::allocator<PackageVersionSpec::Bound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PackageVersionSpec::Bound, std::allocator<PackageVersionSpec::Bound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.125" = type { ptr }
%struct.TomlKeyValue = type { %"class.std::vector.12", %struct.TomlValue }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.TomlValue = type { i32, i64, %"class.std::__cxx11::basic_string", %"class.std::vector.27" }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = type { %"struct.std::_Vector_base<TomlValue, std::allocator<TomlValue>>::_Vector_impl" }
%"struct.std::_Vector_base<TomlValue, std::allocator<TomlValue>>::_Vector_impl" = type { %"struct.std::_Vector_base<TomlValue, std::allocator<TomlValue>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TomlValue, std::allocator<TomlValue>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.PackageRef = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %struct.PackageVersionSpec, i8, i8, %"class.std::__cxx11::basic_string", i8, %"class.std::vector.12", i8, %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [8 x i8], align 1
@_ZTISt16invalid_argument = external constant ptr
@.str.87 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE = external hidden unnamed_addr constant [134 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7helpers4pathcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7helpers4pathdvERKS0_(ptr dead_on_unwind noalias writable sret(%"class.helpers::path") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef) #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i1 noundef zeroext %2, ptr noundef nonnull align 8 dereferenceable(96) %3, i64 noundef %4, ptr noundef %5, ptr noundef nonnull align 8 dereferenceable(32) %6) #1 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %20 = alloca %class.anon.126, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %struct.PackageVersionSpec, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca ptr, align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.helpers::path", align 8
  %34 = alloca %"class.helpers::path", align 8
  %35 = alloca %struct.PackageVersionSpec, align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.125", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.125", align 8
  %41 = alloca ptr, align 8
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  %44 = zext i1 %2 to i8
  store i8 %44, ptr %10, align 1, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i64 %4, ptr %12, align 8, !tbaa !11
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  %45 = load ptr, ptr %8, align 8
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.TomlKeyValue, ptr %46, i32 0, i32 0
  %48 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #9
  %49 = load i64, ptr %12, align 8, !tbaa !11
  %50 = add i64 %49, 1
  %51 = icmp uge i64 %48, %50
  br i1 %51, label %52, label %118

52:                                               ; preds = %7
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.TomlKeyValue, ptr %53, i32 0, i32 0
  %55 = load i64, ptr %12, align 8, !tbaa !11
  %56 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %55) #9
  %57 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef @.str.13)
  br i1 %57, label %58, label %118

58:                                               ; preds = %52
  %59 = load i64, ptr %12, align 8, !tbaa !11
  %60 = icmp uge i64 %59, 2
  br i1 %60, label %61, label %62

61:                                               ; preds = %58
  br label %64

62:                                               ; preds = %58
  call void @__assert_fail(ptr noundef @.str.93, ptr noundef @.str.15, i32 noundef 881, ptr noundef @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

63:                                               ; No predecessors!
  br label %64

64:                                               ; preds = %63, %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.TomlKeyValue, ptr %65, i32 0, i32 0
  %67 = load i64, ptr %12, align 8, !tbaa !11
  %68 = sub i64 %67, 1
  %69 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %68) #9
  store ptr %69, ptr %15, align 8, !tbaa !5
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.TomlKeyValue, ptr %70, i32 0, i32 1
  %72 = call noundef zeroext i1 @_ZNK9TomlValue7as_boolEv(ptr noundef nonnull align 8 dereferenceable(72) %71)
  br i1 %72, label %73, label %117

73:                                               ; preds = %64
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  %75 = icmp ne ptr %74, null
  br i1 %75, label %78, label %76

76:                                               ; preds = %73
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN12ErrorHandler5errorIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef @.str.94) #11
  unreachable

78:                                               ; preds = %73
  %79 = load i8, ptr %10, align 1, !tbaa !9, !range !13, !noundef !14
  %80 = trunc i8 %79 to i1
  br i1 %80, label %83, label %81

81:                                               ; preds = %78
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN12ErrorHandler7warningIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef @.str.95)
  br label %83

83:                                               ; preds = %81, %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK17WorkspaceManifest12dependenciesEv(ptr noundef nonnull align 8 dereferenceable(128) %84)
  store ptr %85, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %86 = load ptr, ptr %16, align 8, !tbaa !5
  %87 = call ptr @_ZNKSt6vectorI10PackageRefSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #9
  %88 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %18, i32 0, i32 0
  store ptr %87, ptr %88, align 8
  %89 = load ptr, ptr %16, align 8, !tbaa !5
  %90 = call ptr @_ZNKSt6vectorI10PackageRefSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #9
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %19, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  %92 = getelementptr inbounds %class.anon.126, ptr %20, i32 0, i32 0
  %93 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %93, ptr %92, align 8, !tbaa !5
  %94 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %18, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8
  %96 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %19, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8
  %98 = getelementptr inbounds %class.anon.126, ptr %20, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8
  %100 = call ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK10PackageRefSt6vectorIS2_SaIS2_EEEEZNS2_12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathEE3$_0ET_SM_SM_T0_"(ptr %95, ptr %97, ptr %99)
  %101 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %17, i32 0, i32 0
  store ptr %100, ptr %101, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %102 = load ptr, ptr %16, align 8, !tbaa !5
  %103 = call ptr @_ZNKSt6vectorI10PackageRefSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %102) #9
  %104 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.38", ptr %21, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  %105 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPK10PackageRefSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br i1 %105, label %106, label %114

106:                                              ; preds = %83
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %108)
  invoke void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef @.str.96, ptr noundef %22, ptr noundef @.str.97) #11
          to label %109 unwind label %110

109:                                              ; preds = %106
  unreachable

110:                                              ; preds = %106
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %23, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %411

114:                                              ; preds = %83
  %115 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK10PackageRefSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  %116 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZN10PackageRefaSERKS_(ptr noundef nonnull align 8 dereferenceable(184) %45, ptr noundef nonnull align 8 dereferenceable(184) %115)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %117

117:                                              ; preds = %114, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %410

118:                                              ; preds = %52, %7
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.TomlKeyValue, ptr %119, i32 0, i32 0
  %121 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #9
  %122 = load i64, ptr %12, align 8, !tbaa !11
  %123 = icmp eq i64 %121, %122
  br i1 %123, label %124, label %175

124:                                              ; preds = %118
  %125 = load i8, ptr %10, align 1, !tbaa !9, !range !13, !noundef !14
  %126 = trunc i8 %125 to i1
  br i1 %126, label %135, label %127

127:                                              ; preds = %124
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %129)
  invoke void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef @.str.98, ptr noundef %25, ptr noundef @.str.25) #11
          to label %130 unwind label %131

130:                                              ; preds = %127
  unreachable

131:                                              ; preds = %127
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %23, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  br label %411

135:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.TomlKeyValue, ptr %136, i32 0, i32 1
  %138 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %137)
  store ptr %138, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #9
  %139 = load ptr, ptr %26, align 8, !tbaa !5
  invoke void @_ZN18PackageVersionSpec11from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%struct.PackageVersionSpec) align 8 %27, ptr noundef nonnull align 8 dereferenceable(32) %139)
          to label %140 unwind label %143

140:                                              ; preds = %135
  %141 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 2
  %142 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN18PackageVersionSpecaSEOS_(ptr noundef nonnull align 8 dereferenceable(24) %141, ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @_ZN18PackageVersionSpecD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #9
  br label %173

143:                                              ; preds = %135
  %144 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %23, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #9
  br label %147

147:                                              ; preds = %143
  %148 = load i32, ptr %24, align 4
  %149 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt16invalid_argument) #9
  %150 = icmp eq i32 %148, %149
  br i1 %150, label %151, label %174

151:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %152 = load ptr, ptr %23, align 8
  %153 = call ptr @__cxa_begin_catch(ptr %152) #9
  store ptr %153, ptr %28, align 8
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %155)
          to label %156 unwind label %163

156:                                              ; preds = %151
  %157 = load ptr, ptr %28, align 8, !tbaa !5
  %158 = load ptr, ptr %157, align 8, !tbaa !15
  %159 = getelementptr inbounds ptr, ptr %158, i64 2
  %160 = load ptr, ptr %159, align 8
  %161 = call noundef ptr %160(ptr noundef nonnull align 8 dereferenceable(16) %157) #9
  invoke void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_S2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef @.str.99, ptr noundef %29, ptr noundef @.str.100, ptr noundef %161) #11
          to label %162 unwind label %167

162:                                              ; preds = %156
  unreachable

163:                                              ; preds = %151
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %23, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %24, align 4
  br label %171

167:                                              ; preds = %156
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %23, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  br label %171

171:                                              ; preds = %167, %163
  invoke void @__cxa_end_catch()
          to label %172 unwind label %416

172:                                              ; preds = %171
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  br label %174

173:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %410

174:                                              ; preds = %172, %147
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %411

175:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.TomlKeyValue, ptr %176, i32 0, i32 0
  %178 = load i64, ptr %12, align 8, !tbaa !11
  %179 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %177, i64 noundef %178) #9
  store ptr %179, ptr %30, align 8, !tbaa !5
  %180 = load ptr, ptr %30, align 8, !tbaa !5
  %181 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %180, ptr noundef @.str.3)
  br i1 %181, label %182, label %220

182:                                              ; preds = %175
  %183 = load ptr, ptr %11, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.TomlKeyValue, ptr %183, i32 0, i32 0
  %185 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %184) #9
  %186 = load i64, ptr %12, align 8, !tbaa !11
  %187 = add i64 %186, 1
  %188 = icmp eq i64 %185, %187
  br i1 %188, label %189, label %190

189:                                              ; preds = %182
  br label %192

190:                                              ; preds = %182
  call void @__assert_fail(ptr noundef @.str.101, ptr noundef @.str.15, i32 noundef 932, ptr noundef @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

191:                                              ; No predecessors!
  br label %192

192:                                              ; preds = %191, %189
  %193 = load ptr, ptr %11, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.TomlKeyValue, ptr %193, i32 0, i32 1
  %195 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %194)
  %196 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %195, ptr noundef @.str.30)
  br i1 %196, label %197, label %201

197:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  %198 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZNK7helpers4pathcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %31, ptr noundef nonnull align 8 dereferenceable(32) %198)
  %199 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 5
  %200 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %199, ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %219

201:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #9
  %202 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #9
  %203 = load ptr, ptr %11, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.TomlKeyValue, ptr %203, i32 0, i32 1
  %205 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %204)
  call void @_ZN7helpers4pathC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %205)
  invoke void @_ZNK7helpers4pathdvERKS0_(ptr dead_on_unwind writable sret(%"class.helpers::path") align 8 %33, ptr noundef nonnull align 8 dereferenceable(32) %202, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %206 unwind label %210

206:                                              ; preds = %201
  invoke void @_ZNK7helpers4pathcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %32, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %207 unwind label %214

207:                                              ; preds = %206
  %208 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 5
  %209 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %208, ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @_ZN7helpers4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @_ZN7helpers4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  br label %219

210:                                              ; preds = %201
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %23, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %24, align 4
  br label %218

214:                                              ; preds = %206
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %23, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %24, align 4
  call void @_ZN7helpers4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  br label %218

218:                                              ; preds = %214, %210
  call void @_ZN7helpers4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #9
  br label %409

219:                                              ; preds = %207, %197
  br label %408

220:                                              ; preds = %175
  %221 = load ptr, ptr %30, align 8, !tbaa !5
  %222 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %221, ptr noundef @.str.102)
  br i1 %222, label %223, label %225

223:                                              ; preds = %220
  %224 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN12ErrorHandler4todoIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %224, ptr noundef @.str.103) #11
  unreachable

225:                                              ; preds = %220
  %226 = load ptr, ptr %30, align 8, !tbaa !5
  %227 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %226, ptr noundef @.str.104)
  br i1 %227, label %228, label %230

228:                                              ; preds = %225
  %229 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN12ErrorHandler4todoIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %229, ptr noundef @.str.105) #11
  unreachable

230:                                              ; preds = %225
  %231 = load ptr, ptr %30, align 8, !tbaa !5
  %232 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %231, ptr noundef @.str.49)
  br i1 %232, label %233, label %282

233:                                              ; preds = %230
  %234 = load ptr, ptr %11, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.TomlKeyValue, ptr %234, i32 0, i32 0
  %236 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %235) #9
  %237 = load i64, ptr %12, align 8, !tbaa !11
  %238 = add i64 %237, 1
  %239 = icmp eq i64 %236, %238
  br i1 %239, label %240, label %241

240:                                              ; preds = %233
  br label %243

241:                                              ; preds = %233
  call void @__assert_fail(ptr noundef @.str.101, ptr noundef @.str.15, i32 noundef 953, ptr noundef @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

242:                                              ; No predecessors!
  br label %243

243:                                              ; preds = %242, %240
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #9
  %244 = load ptr, ptr %11, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.TomlKeyValue, ptr %244, i32 0, i32 1
  %246 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %245)
          to label %247 unwind label %251

247:                                              ; preds = %243
  invoke void @_ZN18PackageVersionSpec11from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%struct.PackageVersionSpec) align 8 %35, ptr noundef nonnull align 8 dereferenceable(32) %246)
          to label %248 unwind label %251

248:                                              ; preds = %247
  %249 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 2
  %250 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN18PackageVersionSpecaSEOS_(ptr noundef nonnull align 8 dereferenceable(24) %249, ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  call void @_ZN18PackageVersionSpecD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #9
  br label %281

251:                                              ; preds = %247, %243
  %252 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %23, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #9
  br label %255

255:                                              ; preds = %251
  %256 = load i32, ptr %24, align 4
  %257 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt16invalid_argument) #9
  %258 = icmp eq i32 %256, %257
  br i1 %258, label %259, label %409

259:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %260 = load ptr, ptr %23, align 8
  %261 = call ptr @__cxa_begin_catch(ptr %260) #9
  store ptr %261, ptr %36, align 8
  %262 = load ptr, ptr %9, align 8, !tbaa !5
  %263 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %263)
          to label %264 unwind label %271

264:                                              ; preds = %259
  %265 = load ptr, ptr %36, align 8, !tbaa !5
  %266 = load ptr, ptr %265, align 8, !tbaa !15
  %267 = getelementptr inbounds ptr, ptr %266, i64 2
  %268 = load ptr, ptr %267, align 8
  %269 = call noundef ptr %268(ptr noundef nonnull align 8 dereferenceable(16) %265) #9
  invoke void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_S2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %262, ptr noundef @.str.106, ptr noundef %37, ptr noundef @.str.107, ptr noundef %269) #11
          to label %270 unwind label %275

270:                                              ; preds = %264
  unreachable

271:                                              ; preds = %259
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %23, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %24, align 4
  br label %279

275:                                              ; preds = %264
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %23, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  br label %279

279:                                              ; preds = %275, %271
  invoke void @__cxa_end_catch()
          to label %280 unwind label %416

280:                                              ; preds = %279
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %409

281:                                              ; preds = %248
  br label %405

282:                                              ; preds = %230
  %283 = load ptr, ptr %30, align 8, !tbaa !5
  %284 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %283, ptr noundef @.str.108)
  br i1 %284, label %285, label %301

285:                                              ; preds = %282
  %286 = load ptr, ptr %11, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.TomlKeyValue, ptr %286, i32 0, i32 0
  %288 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %287) #9
  %289 = load i64, ptr %12, align 8, !tbaa !11
  %290 = add i64 %289, 1
  %291 = icmp eq i64 %288, %290
  br i1 %291, label %292, label %293

292:                                              ; preds = %285
  br label %295

293:                                              ; preds = %285
  call void @__assert_fail(ptr noundef @.str.101, ptr noundef @.str.15, i32 noundef 966, ptr noundef @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

294:                                              ; No predecessors!
  br label %295

295:                                              ; preds = %294, %292
  %296 = load ptr, ptr %11, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.TomlKeyValue, ptr %296, i32 0, i32 1
  %298 = call noundef zeroext i1 @_ZNK9TomlValue7as_boolEv(ptr noundef nonnull align 8 dereferenceable(72) %297)
  %299 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 3
  %300 = zext i1 %298 to i8
  store i8 %300, ptr %299, align 8, !tbaa !17
  br label %404

301:                                              ; preds = %282
  %302 = load ptr, ptr %30, align 8, !tbaa !5
  %303 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %302, ptr noundef @.str.109)
  br i1 %303, label %304, label %320

304:                                              ; preds = %301
  %305 = load ptr, ptr %11, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.TomlKeyValue, ptr %305, i32 0, i32 0
  %307 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %306) #9
  %308 = load i64, ptr %12, align 8, !tbaa !11
  %309 = add i64 %308, 1
  %310 = icmp eq i64 %307, %309
  br i1 %310, label %311, label %312

311:                                              ; preds = %304
  br label %314

312:                                              ; preds = %304
  call void @__assert_fail(ptr noundef @.str.101, ptr noundef @.str.15, i32 noundef 971, ptr noundef @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

313:                                              ; No predecessors!
  br label %314

314:                                              ; preds = %313, %311
  %315 = load ptr, ptr %11, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.TomlKeyValue, ptr %315, i32 0, i32 1
  %317 = call noundef zeroext i1 @_ZNK9TomlValue7as_boolEv(ptr noundef nonnull align 8 dereferenceable(72) %316)
  %318 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 4
  %319 = zext i1 %317 to i8
  store i8 %319, ptr %318, align 1, !tbaa !33
  br label %403

320:                                              ; preds = %301
  %321 = load ptr, ptr %30, align 8, !tbaa !5
  %322 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %321, ptr noundef @.str.110)
  br i1 %322, label %326, label %323

323:                                              ; preds = %320
  %324 = load ptr, ptr %30, align 8, !tbaa !5
  %325 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %324, ptr noundef @.str.111)
  br i1 %325, label %326, label %342

326:                                              ; preds = %323, %320
  %327 = load ptr, ptr %11, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.TomlKeyValue, ptr %327, i32 0, i32 0
  %329 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %328) #9
  %330 = load i64, ptr %12, align 8, !tbaa !11
  %331 = add i64 %330, 1
  %332 = icmp eq i64 %329, %331
  br i1 %332, label %333, label %334

333:                                              ; preds = %326
  br label %336

334:                                              ; preds = %326
  call void @__assert_fail(ptr noundef @.str.101, ptr noundef @.str.15, i32 noundef 976, ptr noundef @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

335:                                              ; No predecessors!
  br label %336

336:                                              ; preds = %335, %333
  %337 = load ptr, ptr %11, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.TomlKeyValue, ptr %337, i32 0, i32 1
  %339 = call noundef zeroext i1 @_ZNK9TomlValue7as_boolEv(ptr noundef nonnull align 8 dereferenceable(72) %338)
  %340 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 6
  %341 = zext i1 %339 to i8
  store i8 %341, ptr %340, align 8, !tbaa !34
  br label %402

342:                                              ; preds = %323
  %343 = load ptr, ptr %30, align 8, !tbaa !5
  %344 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %343, ptr noundef @.str.87)
  br i1 %344, label %345, label %366

345:                                              ; preds = %342
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %346 = load ptr, ptr %11, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.TomlKeyValue, ptr %346, i32 0, i32 1
  %348 = getelementptr inbounds %struct.TomlValue, ptr %347, i32 0, i32 3
  store ptr %348, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  %349 = load ptr, ptr %38, align 8, !tbaa !5
  %350 = call ptr @_ZNKSt6vectorI9TomlValueSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %349) #9
  %351 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.125", ptr %39, i32 0, i32 0
  store ptr %350, ptr %351, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #9
  %352 = load ptr, ptr %38, align 8, !tbaa !5
  %353 = call ptr @_ZNKSt6vectorI9TomlValueSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %352) #9
  %354 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.125", ptr %40, i32 0, i32 0
  store ptr %353, ptr %354, align 8
  br label %355

355:                                              ; preds = %363, %345
  %356 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK9TomlValueSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #9
  br i1 %356, label %358, label %357

357:                                              ; preds = %355
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %365

358:                                              ; preds = %355
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #9
  %359 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK9TomlValueSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #9
  store ptr %359, ptr %41, align 8, !tbaa !5
  %360 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 7
  %361 = load ptr, ptr %41, align 8, !tbaa !5
  %362 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %361)
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %360, ptr noundef nonnull align 8 dereferenceable(32) %362)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  br label %363

363:                                              ; preds = %358
  %364 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK9TomlValueSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #9
  br label %355

365:                                              ; preds = %357
  br label %401

366:                                              ; preds = %342
  %367 = load ptr, ptr %30, align 8, !tbaa !5
  %368 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %367, ptr noundef @.str.19)
  br i1 %368, label %369, label %385

369:                                              ; preds = %366
  %370 = load ptr, ptr %11, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.TomlKeyValue, ptr %370, i32 0, i32 0
  %372 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %371) #9
  %373 = load i64, ptr %12, align 8, !tbaa !11
  %374 = add i64 %373, 1
  %375 = icmp eq i64 %372, %374
  br i1 %375, label %376, label %377

376:                                              ; preds = %369
  br label %379

377:                                              ; preds = %369
  call void @__assert_fail(ptr noundef @.str.101, ptr noundef @.str.15, i32 noundef 988, ptr noundef @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

378:                                              ; No predecessors!
  br label %379

379:                                              ; preds = %378, %376
  %380 = load ptr, ptr %11, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.TomlKeyValue, ptr %380, i32 0, i32 1
  %382 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %381)
  %383 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 1
  %384 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %383, ptr noundef nonnull align 8 dereferenceable(32) %382)
  br label %400

385:                                              ; preds = %366
  %386 = load ptr, ptr %9, align 8, !tbaa !5
  %387 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %387)
  %388 = getelementptr inbounds %class.PackageRef, ptr %45, i32 0, i32 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %388)
          to label %389 unwind label %391

389:                                              ; preds = %385
  invoke void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_S8_S2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %386, ptr noundef @.str.112, ptr noundef %42, ptr noundef @.str.113, ptr noundef %43, ptr noundef @.str.25) #11
          to label %390 unwind label %395

390:                                              ; preds = %389
  unreachable

391:                                              ; preds = %385
  %392 = landingpad { ptr, i32 }
          cleanup
  %393 = extractvalue { ptr, i32 } %392, 0
  store ptr %393, ptr %23, align 8
  %394 = extractvalue { ptr, i32 } %392, 1
  store i32 %394, ptr %24, align 4
  br label %399

395:                                              ; preds = %389
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %23, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %24, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  br label %399

399:                                              ; preds = %395, %391
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #9
  br label %409

400:                                              ; preds = %379
  br label %401

401:                                              ; preds = %400, %365
  br label %402

402:                                              ; preds = %401, %336
  br label %403

403:                                              ; preds = %402, %314
  br label %404

404:                                              ; preds = %403, %295
  br label %405

405:                                              ; preds = %404, %281
  br label %406

406:                                              ; preds = %405
  br label %407

407:                                              ; preds = %406
  br label %408

408:                                              ; preds = %407, %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %410

409:                                              ; preds = %399, %280, %255, %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %411

410:                                              ; preds = %408, %173, %117
  ret void

411:                                              ; preds = %409, %174, %131, %110
  %412 = load ptr, ptr %23, align 8
  %413 = load i32, ptr %24, align 4
  %414 = insertvalue { ptr, i32 } poison, ptr %412, 0
  %415 = insertvalue { ptr, i32 } %414, i32 %413, 1
  resume { ptr, i32 } %415

416:                                              ; preds = %279, %171
  %417 = landingpad { ptr, i32 }
          catch ptr null
  %418 = extractvalue { ptr, i32 } %417, 0
  call void @__clang_call_terminate(ptr %418) #10
  unreachable
}

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

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

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

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN12ErrorHandler5errorIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #7

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

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN12ErrorHandler4todoIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPK9TomlValueSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK10PackageRefSt6vectorIS2_SaIS2_EEEEZNS2_12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathEE3$_0ET_SM_SM_T0_"(ptr, ptr, ptr) #8

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxeqIPK10PackageRefSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(184) ptr @_ZN10PackageRefaSERKS_(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(184)) #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18PackageVersionSpec11from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%struct.PackageVersionSpec) align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN18PackageVersionSpecaSEOS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_S2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5 align 2

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_S8_S2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5 align 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 = { 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 = { inlinehint 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 #4 = { noreturn nounwind "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 #5 = { mustprogress noreturn 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 #6 = { nounwind memory(none) }
attributes #7 = { noinline noreturn nounwind uwtable "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 #8 = { inlinehint 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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { noreturn }

!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 = !{!18, !10, i64 88}
!18 = !{!"_ZTS10PackageRef", !19, i64 0, !19, i64 32, !21, i64 64, !10, i64 88, !10, i64 89, !19, i64 96, !10, i64 128, !26, i64 136, !10, i64 160, !30, i64 168}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !20, i64 0, !12, i64 8, !7, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!21 = !{!"_ZTS18PackageVersionSpec", !22, i64 0}
!22 = !{!"_ZTSSt6vectorIN18PackageVersionSpec5BoundESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN18PackageVersionSpec5BoundESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN18PackageVersionSpec5BoundESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN18PackageVersionSpec5BoundESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt10shared_ptrI15PackageManifestE", !31, i64 0}
!31 = !{!"_ZTSSt12__shared_ptrI15PackageManifestLN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !32, i64 8}
!32 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!33 = !{!18, !10, i64 89}
!34 = !{!18, !10, i64 128}


; 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.helpers::path" = type { %"class.std::__cxx11::basic_string" }
%"class.__gnu_cxx::__normal_iterator.38" = type { ptr }
%struct.PackageVersionSpec = type { %"class.std::vector.39" }
%"class.std::vector.39" = type { %"struct.std::_Vector_base.40" }
%"struct.std::_Vector_base.40" = type { %"struct.std::_Vector_base<PackageVersionSpec::Bound, std::allocator<PackageVersionSpec::Bound>>::_Vector_impl" }
%"struct.std::_Vector_base<PackageVersionSpec::Bound, std::allocator<PackageVersionSpec::Bound>>::_Vector_impl" = type { %"struct.std::_Vector_base<PackageVersionSpec::Bound, std::allocator<PackageVersionSpec::Bound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PackageVersionSpec::Bound, std::allocator<PackageVersionSpec::Bound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.125" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [8 x i8], align 1
@_ZTISt16invalid_argument = external constant ptr
@.str.87 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [14 x i8], align 1
@__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE = external hidden unnamed_addr constant [134 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [18 x i8], align 1

; 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 uwtable
declare dso_local void @_ZNK7helpers4pathcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7helpers4pathdvERKS0_(ptr dead_on_unwind noalias writable sret(%"class.helpers::path") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i1 noundef zeroext %2, ptr noundef nonnull align 8 dereferenceable(96) %3, i64 noundef %4, ptr noundef %5, ptr noundef nonnull align 8 dereferenceable(32) %6) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.38", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %struct.PackageVersionSpec, align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.helpers::path", align 8
  %17 = alloca %"class.helpers::path", align 8
  %18 = alloca %struct.PackageVersionSpec, align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.125", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.125", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %25 = add i64 %4, 1
  %.not = icmp ult i64 %24, %25
  br i1 %.not, label %55, label %26

26:                                               ; preds = %7
  %27 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %4) #9
  %28 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull @.str.13)
  br i1 %28, label %29, label %55

29:                                               ; preds = %26
  %30 = icmp ugt i64 %4, 1
  br i1 %30, label %32, label %31

31:                                               ; preds = %29
  tail call void @__assert_fail(ptr noundef nonnull @.str.93, ptr noundef nonnull @.str.15, i32 noundef 881, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

32:                                               ; preds = %29
  %33 = add i64 %4, -1
  %34 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %33) #9
  %35 = getelementptr inbounds i8, ptr %3, i64 24
  %36 = tail call noundef zeroext i1 @_ZNK9TomlValue7as_boolEv(ptr noundef nonnull align 8 dereferenceable(72) %35)
  br i1 %36, label %37, label %222

37:                                               ; preds = %32
  %.not97 = icmp eq ptr %5, null
  br i1 %.not97, label %38, label %39

38:                                               ; preds = %37
  tail call void @_ZN12ErrorHandler5errorIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.94) #11
  unreachable

39:                                               ; preds = %37
  br i1 %2, label %41, label %40

40:                                               ; preds = %39
  tail call void @_ZN12ErrorHandler7warningIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.95)
  br label %41

41:                                               ; preds = %40, %39
  %42 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK17WorkspaceManifest12dependenciesEv(ptr noundef nonnull align 8 dereferenceable(128) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %43 = tail call ptr @_ZNKSt6vectorI10PackageRefSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #9
  %44 = tail call ptr @_ZNKSt6vectorI10PackageRefSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #9
  %45 = tail call ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK10PackageRefSt6vectorIS2_SaIS2_EEEEZNS2_12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathEE3$_0ET_SM_SM_T0_"(ptr %43, ptr %44, ptr nonnull %34)
  store ptr %45, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %46 = tail call ptr @_ZNKSt6vectorI10PackageRefSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #9
  store ptr %46, ptr %9, align 8
  %47 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPK10PackageRefSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br i1 %47, label %48, label %52

48:                                               ; preds = %41
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %34)
  invoke void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.96, ptr noundef nonnull %10, ptr noundef nonnull @.str.97) #11
          to label %49 unwind label %50

49:                                               ; preds = %48
  unreachable

50:                                               ; preds = %48
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %223

52:                                               ; preds = %41
  %53 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK10PackageRefSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  %54 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZN10PackageRefaSERKS_(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 8 dereferenceable(184) %53)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %222

55:                                               ; preds = %26, %7
  %56 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %57 = icmp eq i64 %56, %4
  br i1 %57, label %58, label %90

58:                                               ; preds = %55
  br i1 %2, label %64, label %59

59:                                               ; preds = %58
  %60 = getelementptr inbounds i8, ptr %0, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %60)
  invoke void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.98, ptr noundef nonnull %11, ptr noundef nonnull @.str.25) #11
          to label %61 unwind label %62

61:                                               ; preds = %59
  unreachable

62:                                               ; preds = %59
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  br label %223

64:                                               ; preds = %58
  %65 = getelementptr inbounds i8, ptr %3, i64 24
  %66 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %65)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #9
  invoke void @_ZN18PackageVersionSpec11from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%struct.PackageVersionSpec) align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %66)
          to label %67 unwind label %70

67:                                               ; preds = %64
  %68 = getelementptr inbounds i8, ptr %0, i64 64
  %69 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN18PackageVersionSpecaSEOS_(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @_ZN18PackageVersionSpecD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #9
  br label %222

70:                                               ; preds = %64
  %71 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %72 = extractvalue { ptr, i32 } %71, 1
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #9
  %73 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt16invalid_argument) #9
  %74 = icmp eq i32 %72, %73
  br i1 %74, label %75, label %223

75:                                               ; preds = %70
  %76 = extractvalue { ptr, i32 } %71, 0
  %77 = call ptr @__cxa_begin_catch(ptr %76) #9
  %78 = getelementptr inbounds i8, ptr %0, i64 32
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %78)
          to label %79 unwind label %85

79:                                               ; preds = %75
  %80 = load ptr, ptr %77, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %80, i64 16
  %82 = load ptr, ptr %81, align 8
  %83 = call noundef ptr %82(ptr noundef nonnull align 8 dereferenceable(16) %77) #9
  invoke void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_S2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.99, ptr noundef nonnull %13, ptr noundef nonnull @.str.100, ptr noundef %83) #11
          to label %84 unwind label %87

84:                                               ; preds = %79
  unreachable

85:                                               ; preds = %75
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %89

87:                                               ; preds = %79
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  br label %89

89:                                               ; preds = %87, %85
  %.pn95 = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ]
  invoke void @__cxa_end_catch()
          to label %223 unwind label %224

90:                                               ; preds = %55
  %91 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %4) #9
  %92 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.3)
  br i1 %92, label %93, label %115

93:                                               ; preds = %90
  %94 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %95 = icmp eq i64 %94, %25
  br i1 %95, label %97, label %96

96:                                               ; preds = %93
  tail call void @__assert_fail(ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.15, i32 noundef 932, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

97:                                               ; preds = %93
  %98 = getelementptr inbounds i8, ptr %3, i64 24
  %99 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %98)
  %100 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull @.str.30)
  br i1 %100, label %101, label %104

101:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #9
  call void @_ZNK7helpers4pathcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %6)
  %102 = getelementptr inbounds i8, ptr %0, i64 96
  %103 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %102, ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  br label %222

104:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #9
  %105 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %98)
  call void @_ZN7helpers4pathC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %105)
  invoke void @_ZNK7helpers4pathdvERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.helpers::path") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %106 unwind label %110

106:                                              ; preds = %104
  invoke void @_ZNK7helpers4pathcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %107 unwind label %112

107:                                              ; preds = %106
  %108 = getelementptr inbounds i8, ptr %0, i64 96
  %109 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %108, ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @_ZN7helpers4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @_ZN7helpers4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %222

110:                                              ; preds = %104
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %114

112:                                              ; preds = %106
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7helpers4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br label %114

114:                                              ; preds = %112, %110
  %.pn93 = phi { ptr, i32 } [ %113, %112 ], [ %111, %110 ]
  call void @_ZN7helpers4pathD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %223

115:                                              ; preds = %90
  %116 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.102)
  br i1 %116, label %117, label %118

117:                                              ; preds = %115
  tail call void @_ZN12ErrorHandler4todoIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.103) #11
  unreachable

118:                                              ; preds = %115
  %119 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.104)
  br i1 %119, label %120, label %121

120:                                              ; preds = %118
  tail call void @_ZN12ErrorHandler4todoIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.105) #11
  unreachable

121:                                              ; preds = %118
  %122 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.49)
  br i1 %122, label %123, label %154

123:                                              ; preds = %121
  %124 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %125 = icmp eq i64 %124, %25
  br i1 %125, label %127, label %126

126:                                              ; preds = %123
  tail call void @__assert_fail(ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.15, i32 noundef 953, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

127:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #9
  %128 = getelementptr inbounds i8, ptr %3, i64 24
  %129 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %128)
          to label %130 unwind label %134

130:                                              ; preds = %127
  invoke void @_ZN18PackageVersionSpec11from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%struct.PackageVersionSpec) align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %129)
          to label %131 unwind label %134

131:                                              ; preds = %130
  %132 = getelementptr inbounds i8, ptr %0, i64 64
  %133 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN18PackageVersionSpecaSEOS_(ptr noundef nonnull align 8 dereferenceable(24) %132, ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @_ZN18PackageVersionSpecD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #9
  br label %222

134:                                              ; preds = %130, %127
  %135 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt16invalid_argument
  %136 = extractvalue { ptr, i32 } %135, 1
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #9
  %137 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt16invalid_argument) #9
  %138 = icmp eq i32 %136, %137
  br i1 %138, label %139, label %223

139:                                              ; preds = %134
  %140 = extractvalue { ptr, i32 } %135, 0
  %141 = call ptr @__cxa_begin_catch(ptr %140) #9
  %142 = getelementptr inbounds i8, ptr %0, i64 32
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %142)
          to label %143 unwind label %149

143:                                              ; preds = %139
  %144 = load ptr, ptr %141, align 8, !tbaa !5
  %145 = getelementptr inbounds i8, ptr %144, i64 16
  %146 = load ptr, ptr %145, align 8
  %147 = call noundef ptr %146(ptr noundef nonnull align 8 dereferenceable(16) %141) #9
  invoke void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_S2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.106, ptr noundef nonnull %19, ptr noundef nonnull @.str.107, ptr noundef %147) #11
          to label %148 unwind label %151

148:                                              ; preds = %143
  unreachable

149:                                              ; preds = %139
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %153

151:                                              ; preds = %143
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %153

153:                                              ; preds = %151, %149
  %.pn91 = phi { ptr, i32 } [ %152, %151 ], [ %150, %149 ]
  invoke void @__cxa_end_catch()
          to label %223 unwind label %224

154:                                              ; preds = %121
  %155 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.108)
  br i1 %155, label %156, label %165

156:                                              ; preds = %154
  %157 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %158 = icmp eq i64 %157, %25
  br i1 %158, label %160, label %159

159:                                              ; preds = %156
  tail call void @__assert_fail(ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.15, i32 noundef 966, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

160:                                              ; preds = %156
  %161 = getelementptr inbounds i8, ptr %3, i64 24
  %162 = tail call noundef zeroext i1 @_ZNK9TomlValue7as_boolEv(ptr noundef nonnull align 8 dereferenceable(72) %161)
  %163 = getelementptr inbounds i8, ptr %0, i64 88
  %164 = zext i1 %162 to i8
  store i8 %164, ptr %163, align 8, !tbaa !8
  br label %222

165:                                              ; preds = %154
  %166 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.109)
  br i1 %166, label %167, label %176

167:                                              ; preds = %165
  %168 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %169 = icmp eq i64 %168, %25
  br i1 %169, label %171, label %170

170:                                              ; preds = %167
  tail call void @__assert_fail(ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.15, i32 noundef 971, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

171:                                              ; preds = %167
  %172 = getelementptr inbounds i8, ptr %3, i64 24
  %173 = tail call noundef zeroext i1 @_ZNK9TomlValue7as_boolEv(ptr noundef nonnull align 8 dereferenceable(72) %172)
  %174 = getelementptr inbounds i8, ptr %0, i64 89
  %175 = zext i1 %173 to i8
  store i8 %175, ptr %174, align 1, !tbaa !28
  br label %222

176:                                              ; preds = %165
  %177 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.110)
  br i1 %177, label %180, label %178

178:                                              ; preds = %176
  %179 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.111)
  br i1 %179, label %180, label %189

180:                                              ; preds = %178, %176
  %181 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %182 = icmp eq i64 %181, %25
  br i1 %182, label %184, label %183

183:                                              ; preds = %180
  tail call void @__assert_fail(ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.15, i32 noundef 976, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

184:                                              ; preds = %180
  %185 = getelementptr inbounds i8, ptr %3, i64 24
  %186 = tail call noundef zeroext i1 @_ZNK9TomlValue7as_boolEv(ptr noundef nonnull align 8 dereferenceable(72) %185)
  %187 = getelementptr inbounds i8, ptr %0, i64 128
  %188 = zext i1 %186 to i8
  store i8 %188, ptr %187, align 8, !tbaa !29
  br label %222

189:                                              ; preds = %178
  %190 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.87)
  br i1 %190, label %191, label %202

191:                                              ; preds = %189
  %192 = getelementptr inbounds i8, ptr %3, i64 72
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %193 = tail call ptr @_ZNKSt6vectorI9TomlValueSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %192) #9
  store ptr %193, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  %194 = tail call ptr @_ZNKSt6vectorI9TomlValueSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %192) #9
  store ptr %194, ptr %21, align 8
  %195 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK9TomlValueSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  br i1 %195, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %191
  %196 = getelementptr inbounds i8, ptr %0, i64 136
  br label %197

._crit_edge:                                      ; preds = %197, %191
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  br label %222

197:                                              ; preds = %.lr.ph, %197
  %198 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK9TomlValueSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %199 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %198)
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %196, ptr noundef nonnull align 8 dereferenceable(32) %199)
  %200 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK9TomlValueSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %201 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK9TomlValueSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  br i1 %201, label %197, label %._crit_edge

202:                                              ; preds = %189
  %203 = tail call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef nonnull @.str.19)
  br i1 %203, label %204, label %213

204:                                              ; preds = %202
  %205 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %206 = icmp eq i64 %205, %25
  br i1 %206, label %208, label %207

207:                                              ; preds = %204
  tail call void @__assert_fail(ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.15, i32 noundef 988, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10PackageRef12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathE) #10
  unreachable

208:                                              ; preds = %204
  %209 = getelementptr inbounds i8, ptr %3, i64 24
  %210 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9TomlValue9as_stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(72) %209)
  %211 = getelementptr inbounds i8, ptr %0, i64 32
  %212 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %211, ptr noundef nonnull align 8 dereferenceable(32) %210)
  br label %222

213:                                              ; preds = %202
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %91)
  %214 = getelementptr inbounds i8, ptr %0, i64 32
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %214)
          to label %215 unwind label %217

215:                                              ; preds = %213
  invoke void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_S8_S2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.112, ptr noundef nonnull %22, ptr noundef nonnull @.str.113, ptr noundef nonnull %23, ptr noundef nonnull @.str.25) #11
          to label %216 unwind label %219

216:                                              ; preds = %215
  unreachable

217:                                              ; preds = %213
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %221

219:                                              ; preds = %215
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  br label %221

221:                                              ; preds = %219, %217
  %.pn = phi { ptr, i32 } [ %220, %219 ], [ %218, %217 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  br label %223

222:                                              ; preds = %107, %101, %160, %184, %208, %._crit_edge, %171, %131, %32, %52, %67
  ret void

223:                                              ; preds = %153, %89, %114, %134, %221, %70, %62, %50
  %.merged = phi { ptr, i32 } [ %51, %50 ], [ %63, %62 ], [ %71, %70 ], [ %.pn93, %114 ], [ %135, %134 ], [ %.pn, %221 ], [ %.pn95, %89 ], [ %.pn91, %153 ]
  resume { ptr, i32 } %.merged

224:                                              ; preds = %153, %89
  %225 = landingpad { ptr, i32 }
          catch ptr null
  %226 = extractvalue { ptr, i32 } %225, 0
  call void @__clang_call_terminate(ptr %226) #10
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), 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(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN12ErrorHandler5errorIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN12ErrorHandler4todoIJPKcEEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPK9TomlValueSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24), 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(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPK9TomlValueSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPK10PackageRefSt6vectorIS2_SaIS2_EEEEZNS2_12fill_from_kvER12ErrorHandlerbRK12TomlKeyValuemPK17WorkspaceManifestRKN7helpers4pathEE3$_0ET_SM_SM_T0_"(ptr, ptr, ptr) local_unnamed_addr #8

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxeqIPK10PackageRefSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(184) ptr @_ZN10PackageRefaSERKS_(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #8 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18PackageVersionSpec11from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%struct.PackageVersionSpec) align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN18PackageVersionSpecaSEOS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_S2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN12ErrorHandler5errorIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_S8_S2_EEEvDpT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 align 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 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 = { inlinehint 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 #4 = { noreturn nounwind "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 #5 = { mustprogress noreturn 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 #6 = { nofree nosync nounwind memory(none) }
attributes #7 = { noinline noreturn nounwind uwtable "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 #8 = { inlinehint 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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { noreturn }

!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, !20, i64 88}
!9 = !{!"_ZTS10PackageRef", !10, i64 0, !10, i64 32, !15, i64 64, !20, i64 88, !20, i64 89, !10, i64 96, !20, i64 128, !21, i64 136, !20, i64 160, !25, i64 168}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !14, i64 8, !13, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !7, i64 0}
!14 = !{!"long", !13, i64 0}
!15 = !{!"_ZTS18PackageVersionSpec", !16, i64 0}
!16 = !{!"_ZTSSt6vectorIN18PackageVersionSpec5BoundESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN18PackageVersionSpec5BoundESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN18PackageVersionSpec5BoundESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN18PackageVersionSpec5BoundESaIS1_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!20 = !{!"bool", !13, i64 0}
!21 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!25 = !{!"_ZTSSt10shared_ptrI15PackageManifestE", !26, i64 0}
!26 = !{!"_ZTSSt12__shared_ptrI15PackageManifestLN9__gnu_cxx12_Lock_policyE2EE", !12, i64 0, !27, i64 8}
!27 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !12, i64 0}
!28 = !{!9, !20, i64 89}
!29 = !{!9, !20, i64 128}


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