; LLVM IR from jdlph/TransOMS :: src (utils)

; 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::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.YAML::Node" = type { i8, %"class.std::__cxx11::basic_string", %"class.std::shared_ptr", ptr }
%"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.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.YAML::detail::iterator_base" = type { %"class.YAML::detail::node_iterator_base", %"class.std::shared_ptr" }
%"class.YAML::detail::node_iterator_base" = type { i32, %"class.__gnu_cxx::__normal_iterator.148", %"class.__gnu_cxx::__normal_iterator.149", %"class.__gnu_cxx::__normal_iterator.149" }
%"class.__gnu_cxx::__normal_iterator.148" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.149" = type { ptr }
%"struct.YAML::detail::iterator_value" = type { %"class.YAML::Node", %"struct.std::pair.150" }
%"struct.std::pair.150" = type { %"class.YAML::Node", %"class.YAML::Node" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.21" }
%"struct.std::_Head_base.21" = type { ptr }
%"class.transoms::Demand" = type { i16, %"class.std::__cxx11::basic_string", ptr }
%"class.transoms::NetworkHandle" = type { %"class.transoms::ColumnPool", %"class.transoms::PhyNetwork", %"class.std::vector.58", %"class.std::vector.63", %"class.std::vector.68", i16, i16, i16, i32, %"class.std::vector.73", %"class.std::vector.78", %"class.std::map.83" }
%"class.transoms::ColumnPool" = type { %"class.std::map.22", %"class.std::vector.28" }
%"class.std::map.22" = type { %"class.std::_Rb_tree.23" }
%"class.std::_Rb_tree.23" = type { %"struct.std::_Rb_tree<std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, std::pair<const std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, unsigned int>, std::_Select1st<std::pair<const std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, unsigned int>>, std::less<std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, std::pair<const std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, unsigned int>, std::_Select1st<std::pair<const std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>, unsigned int>>, std::less<std::tuple<unsigned int, unsigned int, unsigned short, unsigned short>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<transoms::ColumnVec, std::allocator<transoms::ColumnVec>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::ColumnVec, std::allocator<transoms::ColumnVec>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::ColumnVec, std::allocator<transoms::ColumnVec>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::ColumnVec, std::allocator<transoms::ColumnVec>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.transoms::PhyNetwork" = type { %"class.transoms::Network", i32, %"class.std::vector.33", %"class.std::vector.38", %"class.std::map.43", %"class.std::map.43", %"class.std::vector.48", %"class.std::vector", %"class.std::map.53" }
%"class.transoms::Network" = type { ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<transoms::Link *, std::allocator<transoms::Link *>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::Link *, std::allocator<transoms::Link *>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::Link *, std::allocator<transoms::Link *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::Link *, std::allocator<transoms::Link *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<transoms::Node *, std::allocator<transoms::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::Node *, std::allocator<transoms::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::Node *, std::allocator<transoms::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::Node *, std::allocator<transoms::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.43" = type { %"class.std::_Rb_tree.44" }
%"class.std::_Rb_tree.44" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = type { %"struct.std::_Vector_base<const transoms::Node *, std::allocator<const transoms::Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<const transoms::Node *, std::allocator<const transoms::Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const transoms::Node *, std::allocator<const transoms::Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const transoms::Node *, std::allocator<const transoms::Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"class.std::map.53" = type { %"class.std::_Rb_tree.54" }
%"class.std::_Rb_tree.54" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, transoms::Zone *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, transoms::Zone *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, transoms::Zone *>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, transoms::Zone *>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.58" = type { %"struct.std::_Vector_base.59" }
%"struct.std::_Vector_base.59" = type { %"struct.std::_Vector_base<transoms::SPNetwork *, std::allocator<transoms::SPNetwork *>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::SPNetwork *, std::allocator<transoms::SPNetwork *>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::SPNetwork *, std::allocator<transoms::SPNetwork *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::SPNetwork *, std::allocator<transoms::SPNetwork *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<const transoms::AgentType *, std::allocator<const transoms::AgentType *>>::_Vector_impl" }
%"struct.std::_Vector_base<const transoms::AgentType *, std::allocator<const transoms::AgentType *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const transoms::AgentType *, std::allocator<const transoms::AgentType *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const transoms::AgentType *, std::allocator<const transoms::AgentType *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.68" = type { %"struct.std::_Vector_base.69" }
%"struct.std::_Vector_base.69" = type { %"struct.std::_Vector_base<const transoms::DemandPeriod *, std::allocator<const transoms::DemandPeriod *>>::_Vector_impl" }
%"struct.std::_Vector_base<const transoms::DemandPeriod *, std::allocator<const transoms::DemandPeriod *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const transoms::DemandPeriod *, std::allocator<const transoms::DemandPeriod *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const transoms::DemandPeriod *, std::allocator<const transoms::DemandPeriod *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.73" = type { %"struct.std::_Vector_base.74" }
%"struct.std::_Vector_base.74" = type { %"struct.std::_Vector_base<transoms::LinkQueue, std::allocator<transoms::LinkQueue>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::LinkQueue, std::allocator<transoms::LinkQueue>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::LinkQueue, std::allocator<transoms::LinkQueue>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::LinkQueue, std::allocator<transoms::LinkQueue>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.78" = type { %"struct.std::_Vector_base.79" }
%"struct.std::_Vector_base.79" = type { %"struct.std::_Vector_base<transoms::Agent, std::allocator<transoms::Agent>>::_Vector_impl" }
%"struct.std::_Vector_base<transoms::Agent, std::allocator<transoms::Agent>>::_Vector_impl" = type { %"struct.std::_Vector_base<transoms::Agent, std::allocator<transoms::Agent>>::_Vector_impl_data" }
%"struct.std::_Vector_base<transoms::Agent, std::allocator<transoms::Agent>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.83" = type { %"class.std::_Rb_tree.84" }
%"class.std::_Rb_tree.84" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, std::vector<unsigned int>>, std::_Select1st<std::pair<const unsigned int, std::vector<unsigned int>>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, std::vector<unsigned int>>, std::_Select1st<std::pair<const unsigned int, std::vector<unsigned int>>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

@_ZTISt13runtime_error = external constant ptr
@_ZTISt9exception = external constant ptr
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [19 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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms9AgentTypeC2Ev(ptr noundef nonnull align 8 dereferenceable(73)) unnamed_addr #4 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms12DemandPeriodC2EONS_6DemandE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms13NetworkHandle26update_simulation_settingsEtRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512), i16 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms13NetworkHandle23validate_demand_periodsEv(ptr noundef nonnull align 8 dereferenceable(512)) #4 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 ptr @_ZNK8transoms13NetworkHandle14get_agent_typeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8transoms13NetworkHandle17read_settings_ymlERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.YAML::Node", align 8
  %6 = alloca i16, align 2
  %7 = alloca ptr, align 8
  %8 = alloca %"class.YAML::Node", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"class.YAML::detail::iterator_base", align 8
  %13 = alloca %"class.YAML::detail::iterator_base", align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.YAML::detail::iterator_value", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.YAML::Node", align 8
  %19 = alloca i16, align 2
  %20 = alloca %"class.YAML::Node", align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.YAML::Node", align 8
  %23 = alloca double, align 8
  %24 = alloca %"class.YAML::Node", align 8
  %25 = alloca double, align 8
  %26 = alloca %"class.YAML::Node", align 8
  %27 = alloca i8, align 1
  %28 = alloca %"class.YAML::Node", align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i16, align 2
  %33 = alloca ptr, align 8
  %34 = alloca %"class.YAML::Node", align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"class.YAML::detail::iterator_base", align 8
  %37 = alloca %"class.YAML::detail::iterator_base", align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"struct.YAML::detail::iterator_value", align 8
  %40 = alloca i16, align 2
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.YAML::Node", align 8
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"class.YAML::Node", align 8
  %45 = alloca ptr, align 8
  %46 = alloca %"class.YAML::Node", align 8
  %47 = alloca ptr, align 8
  %48 = alloca %"class.YAML::detail::iterator_base", align 8
  %49 = alloca %"class.YAML::detail::iterator_base", align 8
  %50 = alloca ptr, align 8
  %51 = alloca %"struct.YAML::detail::iterator_value", align 8
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca %"class.YAML::Node", align 8
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  %55 = alloca %"class.YAML::Node", align 8
  %56 = alloca ptr, align 8
  %57 = alloca %"class.std::unique_ptr", align 8
  %58 = alloca ptr, align 8
  %59 = alloca %"class.YAML::Node", align 8
  %60 = alloca i8, align 1
  %61 = alloca %"class.YAML::Node", align 8
  %62 = alloca %"class.std::__cxx11::basic_string", align 8
  %63 = alloca %"class.YAML::Node", align 8
  %64 = alloca %"class.std::unique_ptr", align 8
  %65 = alloca ptr, align 8
  %66 = alloca %"class.YAML::Node", align 8
  %67 = alloca ptr, align 8
  %68 = alloca %"class.YAML::detail::iterator_base", align 8
  %69 = alloca %"class.YAML::detail::iterator_base", align 8
  %70 = alloca ptr, align 8
  %71 = alloca %"struct.YAML::detail::iterator_value", align 8
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.YAML::Node", align 8
  %74 = alloca double, align 8
  %75 = alloca %"class.YAML::Node", align 8
  %76 = alloca ptr, align 8
  %77 = alloca ptr, align 8
  %78 = alloca %"class.transoms::Demand", align 8
  %79 = alloca i1, align 1
  %80 = alloca ptr, align 8
  %81 = alloca ptr, align 8
  %82 = alloca ptr, align 8
  %83 = alloca ptr, align 8
  %84 = alloca %"class.transoms::Demand", align 8
  %85 = alloca i1, align 1
  %86 = alloca ptr, align 8
  %87 = alloca %"class.YAML::Node", align 8
  %88 = alloca i16, align 2
  %89 = alloca %"class.YAML::Node", align 8
  %90 = alloca %"class.std::__cxx11::basic_string", align 8
  %91 = alloca %"class.YAML::Node", align 8
  %92 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %93 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr %5) #10
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4YAML8LoadFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %94)
  call void @llvm.lifetime.start.p0(i64 2, ptr %6) #10
  store i16 0, ptr %6, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %8) #10
  invoke void @_ZN4YAML4NodeixIA11_cEES0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %8, ptr noundef nonnull align 8 dereferenceable(64) %5, ptr noundef nonnull align 1 dereferenceable(11) @.str.22)
          to label %95 unwind label %105

95:                                               ; preds = %2
  store ptr %8, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %96, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #10
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZNK4YAML4Node5beginEv(ptr dead_on_unwind writable sret(%"class.YAML::detail::iterator_base") align 8 %12, ptr noundef nonnull align 8 dereferenceable(64) %97)
          to label %98 unwind label %109

98:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 48, ptr %13) #10
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZNK4YAML4Node3endEv(ptr dead_on_unwind writable sret(%"class.YAML::detail::iterator_base") align 8 %13, ptr noundef nonnull align 8 dereferenceable(64) %99)
          to label %100 unwind label %113

100:                                              ; preds = %98
  br label %101

101:                                              ; preds = %265, %100
  %102 = invoke noundef zeroext i1 @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEneIS3_EEbRKNS1_IT_EE(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %103 unwind label %117

103:                                              ; preds = %101
  br i1 %102, label %121, label %104

104:                                              ; preds = %103
  store i32 2, ptr %14, align 4
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  br label %275

105:                                              ; preds = %2
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %9, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %10, align 4
  br label %749

109:                                              ; preds = %95
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %9, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %10, align 4
  br label %274

113:                                              ; preds = %98
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %9, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %10, align 4
  br label %273

117:                                              ; preds = %263, %101
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %9, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %10, align 4
  br label %272

121:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.start.p0(i64 192, ptr %16) #10
  invoke void @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEdeEv(ptr dead_on_unwind writable sret(%"struct.YAML::detail::iterator_value") align 8 %16, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %122 unwind label %135

122:                                              ; preds = %121
  store ptr %16, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #10
  %123 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA5_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %18, ptr noundef nonnull align 8 dereferenceable(64) %123, ptr noundef nonnull align 1 dereferenceable(5) @.str.62)
          to label %124 unwind label %139

124:                                              ; preds = %122
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(64) %18)
          to label %125 unwind label %143

125:                                              ; preds = %124
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %18) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #10
  %126 = invoke noundef zeroext i1 @_ZNK8transoms13NetworkHandle19contains_agent_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512) %93, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %127 unwind label %148

127:                                              ; preds = %125
  br i1 %126, label %128, label %152

128:                                              ; preds = %127
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.63)
          to label %130 unwind label %148

130:                                              ; preds = %128
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %132 unwind label %148

132:                                              ; preds = %130
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %131, i8 noundef signext 10)
          to label %134 unwind label %148

134:                                              ; preds = %132
  store i32 3, ptr %14, align 4
  br label %187

135:                                              ; preds = %121
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %9, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %10, align 4
  br label %271

139:                                              ; preds = %122
  %140 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %9, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %10, align 4
  br label %147

143:                                              ; preds = %124
  %144 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %9, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %18) #10
  br label %147

147:                                              ; preds = %143, %139
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #10
  br label %250

148:                                              ; preds = %132, %130, %128, %125
  %149 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %9, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %10, align 4
  br label %249

152:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 2, ptr %19) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #10
  %153 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA10_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %20, ptr noundef nonnull align 8 dereferenceable(64) %153, ptr noundef nonnull align 1 dereferenceable(10) @.str.64)
          to label %154 unwind label %190

154:                                              ; preds = %152
  %155 = invoke noundef zeroext i16 @_ZNK4YAML4Node2asItEET_v(ptr noundef nonnull align 8 dereferenceable(64) %20)
          to label %156 unwind label %194

156:                                              ; preds = %154
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %20) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #10
  store i16 %155, ptr %19, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #10
  %157 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA4_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %22, ptr noundef nonnull align 8 dereferenceable(64) %157, ptr noundef nonnull align 1 dereferenceable(4) @.str.65)
          to label %158 unwind label %199

158:                                              ; preds = %156
  %159 = invoke noundef double @_ZNK4YAML4Node2asIdEET_v(ptr noundef nonnull align 8 dereferenceable(64) %22)
          to label %160 unwind label %203

160:                                              ; preds = %158
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #10
  store double %159, ptr %21, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #10
  %161 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA4_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %24, ptr noundef nonnull align 8 dereferenceable(64) %161, ptr noundef nonnull align 1 dereferenceable(4) @.str.66)
          to label %162 unwind label %208

162:                                              ; preds = %160
  %163 = invoke noundef double @_ZNK4YAML4Node2asIdEET_v(ptr noundef nonnull align 8 dereferenceable(64) %24)
          to label %164 unwind label %212

164:                                              ; preds = %162
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %24) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #10
  store double %163, ptr %23, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #10
  %165 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA11_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %26, ptr noundef nonnull align 8 dereferenceable(64) %165, ptr noundef nonnull align 1 dereferenceable(11) @.str.56)
          to label %166 unwind label %217

166:                                              ; preds = %164
  %167 = invoke noundef double @_ZNK4YAML4Node2asIdEET_v(ptr noundef nonnull align 8 dereferenceable(64) %26)
          to label %168 unwind label %221

168:                                              ; preds = %166
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %26) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #10
  store double %167, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #10
  %169 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA13_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %28, ptr noundef nonnull align 8 dereferenceable(64) %169, ptr noundef nonnull align 1 dereferenceable(13) @.str.67)
          to label %170 unwind label %226

170:                                              ; preds = %168
  %171 = invoke noundef zeroext i1 @_ZNK4YAML4Node2asIbEET_v(ptr noundef nonnull align 8 dereferenceable(64) %28)
          to label %172 unwind label %230

172:                                              ; preds = %170
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %28) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  %173 = zext i1 %171 to i8
  store i8 %173, ptr %27, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  %174 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #11
          to label %175 unwind label %235

175:                                              ; preds = %172
  %176 = load i16, ptr %6, align 2, !tbaa !9
  %177 = add i16 %176, 1
  store i16 %177, ptr %6, align 2, !tbaa !9
  %178 = load i16, ptr %19, align 2, !tbaa !9
  %179 = load double, ptr %21, align 8, !tbaa !11
  %180 = load double, ptr %23, align 8, !tbaa !11
  %181 = load double, ptr %25, align 8, !tbaa !11
  %182 = load i8, ptr %27, align 1, !tbaa !13, !range !15, !noundef !16
  %183 = trunc i8 %182 to i1
  invoke void @_ZN8transoms9AgentTypeC2EtRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtdddb(ptr noundef nonnull align 8 dereferenceable(73) %174, i16 noundef zeroext %176, ptr noundef nonnull align 8 dereferenceable(32) %17, i16 noundef zeroext %178, double noundef %179, double noundef %180, double noundef %181, i1 noundef zeroext %183)
          to label %184 unwind label %239

184:                                              ; preds = %175
  store ptr %174, ptr %29, align 8, !tbaa !5
  %185 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %93, i32 0, i32 3
  invoke void @_ZNSt6vectorIPKN8transoms9AgentTypeESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %185, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %186 unwind label %235

186:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 2, ptr %19) #10
  store i32 0, ptr %14, align 4
  br label %187

187:                                              ; preds = %186, %134
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  %188 = load i32, ptr %14, align 4
  switch i32 %188, label %260 [
    i32 0, label %189
  ]

189:                                              ; preds = %187
  br label %259

190:                                              ; preds = %152
  %191 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %9, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %10, align 4
  br label %198

194:                                              ; preds = %154
  %195 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %9, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %20) #10
  br label %198

198:                                              ; preds = %194, %190
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #10
  br label %248

199:                                              ; preds = %156
  %200 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %9, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %10, align 4
  br label %207

203:                                              ; preds = %158
  %204 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %9, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #10
  br label %207

207:                                              ; preds = %203, %199
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #10
  br label %247

208:                                              ; preds = %160
  %209 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %9, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %10, align 4
  br label %216

212:                                              ; preds = %162
  %213 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %9, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %24) #10
  br label %216

216:                                              ; preds = %212, %208
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #10
  br label %246

217:                                              ; preds = %164
  %218 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %9, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %10, align 4
  br label %225

221:                                              ; preds = %166
  %222 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %9, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %26) #10
  br label %225

225:                                              ; preds = %221, %217
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #10
  br label %245

226:                                              ; preds = %168
  %227 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %9, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %10, align 4
  br label %234

230:                                              ; preds = %170
  %231 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %9, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %28) #10
  br label %234

234:                                              ; preds = %230, %226
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #10
  br label %244

235:                                              ; preds = %184, %172
  %236 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %9, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %10, align 4
  br label %243

239:                                              ; preds = %175
  %240 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %9, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %174, i64 noundef 80) #12
  br label %243

243:                                              ; preds = %239, %235
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  br label %244

244:                                              ; preds = %243, %234
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #10
  br label %245

245:                                              ; preds = %244, %225
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %246

246:                                              ; preds = %245, %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %247

247:                                              ; preds = %246, %207
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %248

248:                                              ; preds = %247, %198
  call void @llvm.lifetime.end.p0(i64 2, ptr %19) #10
  br label %249

249:                                              ; preds = %248, %148
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  br label %250

250:                                              ; preds = %249, %147
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  br label %251

251:                                              ; preds = %250
  %252 = load i32, ptr %10, align 4
  %253 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #10
  %254 = icmp eq i32 %252, %253
  br i1 %254, label %255, label %270

255:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %256 = load ptr, ptr %9, align 8
  %257 = call ptr @__cxa_begin_catch(ptr %256) #10
  store ptr %257, ptr %30, align 8
  invoke void @__cxa_end_catch()
          to label %258 unwind label %266

258:                                              ; preds = %255
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br label %259

259:                                              ; preds = %258, %189
  store i32 0, ptr %14, align 4
  br label %260

260:                                              ; preds = %259, %187
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %16) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  %261 = load i32, ptr %14, align 4
  switch i32 %261, label %758 [
    i32 0, label %262
    i32 3, label %263
  ]

262:                                              ; preds = %260
  br label %263

263:                                              ; preds = %262, %260
  %264 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEEppEv(ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %265 unwind label %117

265:                                              ; preds = %263
  br label %101

266:                                              ; preds = %255
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %9, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br label %270

270:                                              ; preds = %266, %251
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %16) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %16) #10
  br label %271

271:                                              ; preds = %270, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  br label %272

272:                                              ; preds = %271, %117
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #10
  br label %273

273:                                              ; preds = %272, %113
  call void @llvm.lifetime.end.p0(i64 48, ptr %13) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #10
  br label %274

274:                                              ; preds = %273, %109
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  br label %748

275:                                              ; preds = %104
  %276 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %93, i32 0, i32 3
  %277 = call noundef zeroext i1 @_ZNKSt6vectorIPKN8transoms9AgentTypeESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %276) #10
  br i1 %277, label %278, label %293

278:                                              ; preds = %275
  %279 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %93, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %280 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #11
          to label %281 unwind label %284

281:                                              ; preds = %278
  invoke void @_ZN8transoms9AgentTypeC2Ev(ptr noundef nonnull align 8 dereferenceable(73) %280)
          to label %282 unwind label %288

282:                                              ; preds = %281
  store ptr %280, ptr %31, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKN8transoms9AgentTypeESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %279, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %283 unwind label %284

283:                                              ; preds = %282
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %293

284:                                              ; preds = %282, %278
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %9, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %10, align 4
  br label %292

288:                                              ; preds = %281
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %9, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %280, i64 noundef 80) #12
  br label %292

292:                                              ; preds = %288, %284
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  br label %748

293:                                              ; preds = %283, %275
  call void @llvm.lifetime.start.p0(i64 2, ptr %32) #10
  store i16 0, ptr %32, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %34) #10
  invoke void @_ZN4YAML4NodeixIA14_cEES0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %34, ptr noundef nonnull align 8 dereferenceable(64) %5, ptr noundef nonnull align 1 dereferenceable(14) @.str.27)
          to label %294 unwind label %304

294:                                              ; preds = %293
  store ptr %34, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  %295 = load ptr, ptr %33, align 8, !tbaa !5
  store ptr %295, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %36) #10
  %296 = load ptr, ptr %35, align 8, !tbaa !5
  invoke void @_ZNK4YAML4Node5beginEv(ptr dead_on_unwind writable sret(%"class.YAML::detail::iterator_base") align 8 %36, ptr noundef nonnull align 8 dereferenceable(64) %296)
          to label %297 unwind label %308

297:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 48, ptr %37) #10
  %298 = load ptr, ptr %35, align 8, !tbaa !5
  invoke void @_ZNK4YAML4Node3endEv(ptr dead_on_unwind writable sret(%"class.YAML::detail::iterator_base") align 8 %37, ptr noundef nonnull align 8 dereferenceable(64) %298)
          to label %299 unwind label %312

299:                                              ; preds = %297
  br label %300

300:                                              ; preds = %620, %299
  %301 = invoke noundef zeroext i1 @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEneIS3_EEbRKNS1_IT_EE(ptr noundef nonnull align 8 dereferenceable(48) %36, ptr noundef nonnull align 8 dereferenceable(48) %37)
          to label %302 unwind label %316

302:                                              ; preds = %300
  br i1 %301, label %320, label %303

303:                                              ; preds = %302
  store i32 4, ptr %14, align 4
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  br label %628

304:                                              ; preds = %293
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %9, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %10, align 4
  br label %747

308:                                              ; preds = %294
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %9, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %10, align 4
  br label %627

312:                                              ; preds = %297
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %9, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %10, align 4
  br label %626

316:                                              ; preds = %618, %300
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %9, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %10, align 4
  br label %625

320:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #10
  call void @llvm.lifetime.start.p0(i64 192, ptr %39) #10
  invoke void @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEdeEv(ptr dead_on_unwind writable sret(%"struct.YAML::detail::iterator_value") align 8 %39, ptr noundef nonnull align 8 dereferenceable(48) %36)
          to label %321 unwind label %339

321:                                              ; preds = %320
  store ptr %39, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %40) #10
  store i16 0, ptr %40, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %42) #10
  %322 = load ptr, ptr %38, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA7_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %42, ptr noundef nonnull align 8 dereferenceable(64) %322, ptr noundef nonnull align 1 dereferenceable(7) @.str.68)
          to label %323 unwind label %343

323:                                              ; preds = %321
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %41, ptr noundef nonnull align 8 dereferenceable(64) %42)
          to label %324 unwind label %347

324:                                              ; preds = %323
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %42) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %44) #10
  %325 = load ptr, ptr %38, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA12_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %44, ptr noundef nonnull align 8 dereferenceable(64) %325, ptr noundef nonnull align 1 dereferenceable(12) @.str.69)
          to label %326 unwind label %352

326:                                              ; preds = %324
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %43, ptr noundef nonnull align 8 dereferenceable(64) %44)
          to label %327 unwind label %356

327:                                              ; preds = %326
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %44) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %44) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %46) #10
  %328 = load ptr, ptr %38, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA7_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %46, ptr noundef nonnull align 8 dereferenceable(64) %328, ptr noundef nonnull align 1 dereferenceable(7) @.str.70)
          to label %329 unwind label %361

329:                                              ; preds = %327
  store ptr %46, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #10
  %330 = load ptr, ptr %45, align 8, !tbaa !5
  store ptr %330, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %48) #10
  %331 = load ptr, ptr %47, align 8, !tbaa !5
  invoke void @_ZNK4YAML4Node5beginEv(ptr dead_on_unwind writable sret(%"class.YAML::detail::iterator_base") align 8 %48, ptr noundef nonnull align 8 dereferenceable(64) %331)
          to label %332 unwind label %365

332:                                              ; preds = %329
  call void @llvm.lifetime.start.p0(i64 48, ptr %49) #10
  %333 = load ptr, ptr %47, align 8, !tbaa !5
  invoke void @_ZNK4YAML4Node3endEv(ptr dead_on_unwind writable sret(%"class.YAML::detail::iterator_base") align 8 %49, ptr noundef nonnull align 8 dereferenceable(64) %333)
          to label %334 unwind label %369

334:                                              ; preds = %332
  br label %335

335:                                              ; preds = %609, %334
  %336 = invoke noundef zeroext i1 @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEneIS3_EEbRKNS1_IT_EE(ptr noundef nonnull align 8 dereferenceable(48) %48, ptr noundef nonnull align 8 dereferenceable(48) %49)
          to label %337 unwind label %373

337:                                              ; preds = %335
  br i1 %336, label %377, label %338

338:                                              ; preds = %337
  store i32 6, ptr %14, align 4
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %49) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %48) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  br label %617

339:                                              ; preds = %320
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %9, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %10, align 4
  br label %624

343:                                              ; preds = %321
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %9, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %10, align 4
  br label %351

347:                                              ; preds = %323
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %9, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %42) #10
  br label %351

351:                                              ; preds = %347, %343
  call void @llvm.lifetime.end.p0(i64 64, ptr %42) #10
  br label %623

352:                                              ; preds = %324
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %9, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %10, align 4
  br label %360

356:                                              ; preds = %326
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %9, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %44) #10
  br label %360

360:                                              ; preds = %356, %352
  call void @llvm.lifetime.end.p0(i64 64, ptr %44) #10
  br label %622

361:                                              ; preds = %327
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %9, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %10, align 4
  br label %621

365:                                              ; preds = %329
  %366 = landingpad { ptr, i32 }
          cleanup
  %367 = extractvalue { ptr, i32 } %366, 0
  store ptr %367, ptr %9, align 8
  %368 = extractvalue { ptr, i32 } %366, 1
  store i32 %368, ptr %10, align 4
  br label %616

369:                                              ; preds = %332
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %9, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %10, align 4
  br label %615

373:                                              ; preds = %607, %335
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %9, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %10, align 4
  br label %614

377:                                              ; preds = %337
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #10
  call void @llvm.lifetime.start.p0(i64 192, ptr %51) #10
  invoke void @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEdeEv(ptr dead_on_unwind writable sret(%"struct.YAML::detail::iterator_value") align 8 %51, ptr noundef nonnull align 8 dereferenceable(48) %48)
          to label %378 unwind label %413

378:                                              ; preds = %377
  store ptr %51, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %53) #10
  %379 = load ptr, ptr %50, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA10_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %53, ptr noundef nonnull align 8 dereferenceable(64) %379, ptr noundef nonnull align 1 dereferenceable(10) @.str.71)
          to label %380 unwind label %417

380:                                              ; preds = %378
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %52, ptr noundef nonnull align 8 dereferenceable(64) %53)
          to label %381 unwind label %421

381:                                              ; preds = %380
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %53) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %53) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %54) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %55) #10
  %382 = load ptr, ptr %50, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA11_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %55, ptr noundef nonnull align 8 dereferenceable(64) %382, ptr noundef nonnull align 1 dereferenceable(11) @.str.22)
          to label %383 unwind label %426

383:                                              ; preds = %381
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %54, ptr noundef nonnull align 8 dereferenceable(64) %55)
          to label %384 unwind label %430

384:                                              ; preds = %383
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %55) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %55) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #10
  %385 = invoke noundef ptr @_ZNK8transoms13NetworkHandle14get_agent_typeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512) %93, ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %386 unwind label %435

386:                                              ; preds = %384
  store ptr %385, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #10
  call void @_ZNSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr null) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %59) #10
  %387 = load ptr, ptr %38, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA14_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %59, ptr noundef nonnull align 8 dereferenceable(64) %387, ptr noundef nonnull align 1 dereferenceable(14) @.str.72)
          to label %388 unwind label %439

388:                                              ; preds = %386
  store ptr %59, ptr %58, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %61) #10
  %389 = load ptr, ptr %58, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA7_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %61, ptr noundef nonnull align 8 dereferenceable(64) %389, ptr noundef nonnull align 1 dereferenceable(7) @.str.73)
          to label %390 unwind label %443

390:                                              ; preds = %388
  %391 = invoke noundef zeroext i1 @_ZNK4YAML4Node2asIbEET_v(ptr noundef nonnull align 8 dereferenceable(64) %61)
          to label %392 unwind label %447

392:                                              ; preds = %390
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %61) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %61) #10
  %393 = zext i1 %391 to i8
  store i8 %393, ptr %60, align 1, !tbaa !13
  %394 = load i8, ptr %60, align 1, !tbaa !13, !range !15, !noundef !16
  %395 = trunc i8 %394 to i1
  br i1 %395, label %396, label %532

396:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 32, ptr %62) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %63) #10
  %397 = load ptr, ptr %58, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA5_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %63, ptr noundef nonnull align 8 dereferenceable(64) %397, ptr noundef nonnull align 1 dereferenceable(5) @.str.62)
          to label %398 unwind label %452

398:                                              ; preds = %396
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %62, ptr noundef nonnull align 8 dereferenceable(64) %63)
          to label %399 unwind label %456

399:                                              ; preds = %398
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %63) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %63) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #10
  invoke void @_ZSt11make_uniqueIN8transoms12SpecialEventEJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr") align 8 %64, ptr noundef nonnull align 8 dereferenceable(32) %62)
          to label %400 unwind label %461

400:                                              ; preds = %399
  %401 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 8 dereferenceable(8) %64) #10
  call void @_ZNSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %64) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %66) #10
  %402 = load ptr, ptr %58, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA14_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %66, ptr noundef nonnull align 8 dereferenceable(64) %402, ptr noundef nonnull align 1 dereferenceable(14) @.str.74)
          to label %403 unwind label %465

403:                                              ; preds = %400
  store ptr %66, ptr %65, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #10
  %404 = load ptr, ptr %65, align 8, !tbaa !5
  store ptr %404, ptr %67, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %68) #10
  %405 = load ptr, ptr %67, align 8, !tbaa !5
  invoke void @_ZNK4YAML4Node5beginEv(ptr dead_on_unwind writable sret(%"class.YAML::detail::iterator_base") align 8 %68, ptr noundef nonnull align 8 dereferenceable(64) %405)
          to label %406 unwind label %469

406:                                              ; preds = %403
  call void @llvm.lifetime.start.p0(i64 48, ptr %69) #10
  %407 = load ptr, ptr %67, align 8, !tbaa !5
  invoke void @_ZNK4YAML4Node3endEv(ptr dead_on_unwind writable sret(%"class.YAML::detail::iterator_base") align 8 %69, ptr noundef nonnull align 8 dereferenceable(64) %407)
          to label %408 unwind label %473

408:                                              ; preds = %406
  br label %409

409:                                              ; preds = %495, %408
  %410 = invoke noundef zeroext i1 @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEneIS3_EEbRKNS1_IT_EE(ptr noundef nonnull align 8 dereferenceable(48) %68, ptr noundef nonnull align 8 dereferenceable(48) %69)
          to label %411 unwind label %477

411:                                              ; preds = %409
  br i1 %410, label %481, label %412

412:                                              ; preds = %411
  store i32 8, ptr %14, align 4
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %69) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %69) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %68) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #10
  br label %528

413:                                              ; preds = %377
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %9, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %10, align 4
  br label %613

417:                                              ; preds = %378
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %9, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %10, align 4
  br label %425

421:                                              ; preds = %380
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %9, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %53) #10
  br label %425

425:                                              ; preds = %421, %417
  call void @llvm.lifetime.end.p0(i64 64, ptr %53) #10
  br label %612

426:                                              ; preds = %381
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %9, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %10, align 4
  br label %434

430:                                              ; preds = %383
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %9, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %55) #10
  br label %434

434:                                              ; preds = %430, %426
  call void @llvm.lifetime.end.p0(i64 64, ptr %55) #10
  br label %611

435:                                              ; preds = %384
  %436 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %437 = extractvalue { ptr, i32 } %436, 0
  store ptr %437, ptr %9, align 8
  %438 = extractvalue { ptr, i32 } %436, 1
  store i32 %438, ptr %10, align 4
  br label %577

439:                                              ; preds = %386
  %440 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %9, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %10, align 4
  br label %534

443:                                              ; preds = %388
  %444 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %445 = extractvalue { ptr, i32 } %444, 0
  store ptr %445, ptr %9, align 8
  %446 = extractvalue { ptr, i32 } %444, 1
  store i32 %446, ptr %10, align 4
  br label %451

447:                                              ; preds = %390
  %448 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %449 = extractvalue { ptr, i32 } %448, 0
  store ptr %449, ptr %9, align 8
  %450 = extractvalue { ptr, i32 } %448, 1
  store i32 %450, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %61) #10
  br label %451

451:                                              ; preds = %447, %443
  call void @llvm.lifetime.end.p0(i64 64, ptr %61) #10
  br label %533

452:                                              ; preds = %396
  %453 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %9, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %10, align 4
  br label %460

456:                                              ; preds = %398
  %457 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %458 = extractvalue { ptr, i32 } %457, 0
  store ptr %458, ptr %9, align 8
  %459 = extractvalue { ptr, i32 } %457, 1
  store i32 %459, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %63) #10
  br label %460

460:                                              ; preds = %456, %452
  call void @llvm.lifetime.end.p0(i64 64, ptr %63) #10
  br label %531

461:                                              ; preds = %399
  %462 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %9, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #10
  br label %530

465:                                              ; preds = %400
  %466 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %467 = extractvalue { ptr, i32 } %466, 0
  store ptr %467, ptr %9, align 8
  %468 = extractvalue { ptr, i32 } %466, 1
  store i32 %468, ptr %10, align 4
  br label %529

469:                                              ; preds = %403
  %470 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %471 = extractvalue { ptr, i32 } %470, 0
  store ptr %471, ptr %9, align 8
  %472 = extractvalue { ptr, i32 } %470, 1
  store i32 %472, ptr %10, align 4
  br label %527

473:                                              ; preds = %406
  %474 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %475 = extractvalue { ptr, i32 } %474, 0
  store ptr %475, ptr %9, align 8
  %476 = extractvalue { ptr, i32 } %474, 1
  store i32 %476, ptr %10, align 4
  br label %526

477:                                              ; preds = %493, %409
  %478 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %9, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %10, align 4
  br label %525

481:                                              ; preds = %411
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #10
  call void @llvm.lifetime.start.p0(i64 192, ptr %71) #10
  invoke void @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEdeEv(ptr dead_on_unwind writable sret(%"struct.YAML::detail::iterator_value") align 8 %71, ptr noundef nonnull align 8 dereferenceable(48) %68)
          to label %482 unwind label %496

482:                                              ; preds = %481
  store ptr %71, ptr %70, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %72) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %73) #10
  %483 = load ptr, ptr %70, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA8_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %73, ptr noundef nonnull align 8 dereferenceable(64) %483, ptr noundef nonnull align 1 dereferenceable(8) @.str.51)
          to label %484 unwind label %500

484:                                              ; preds = %482
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %72, ptr noundef nonnull align 8 dereferenceable(64) %73)
          to label %485 unwind label %504

485:                                              ; preds = %484
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %73) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %73) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %75) #10
  %486 = load ptr, ptr %70, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA15_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %75, ptr noundef nonnull align 8 dereferenceable(64) %486, ptr noundef nonnull align 1 dereferenceable(15) @.str.75)
          to label %487 unwind label %509

487:                                              ; preds = %485
  %488 = invoke noundef double @_ZNK4YAML4Node2asIdEET_v(ptr noundef nonnull align 8 dereferenceable(64) %75)
          to label %489 unwind label %513

489:                                              ; preds = %487
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %75) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %75) #10
  store double %488, ptr %74, align 8, !tbaa !11
  %490 = call noundef ptr @_ZNKSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %57) #10
  %491 = load double, ptr %74, align 8, !tbaa !11
  invoke void @_ZN8transoms12SpecialEvent17add_affected_linkERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd(ptr noundef nonnull align 8 dereferenceable(88) %490, ptr noundef nonnull align 8 dereferenceable(32) %72, double noundef %491)
          to label %492 unwind label %518

492:                                              ; preds = %489
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %71) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %71) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #10
  br label %493

493:                                              ; preds = %492
  %494 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEEppEv(ptr noundef nonnull align 8 dereferenceable(48) %68)
          to label %495 unwind label %477

495:                                              ; preds = %493
  br label %409

496:                                              ; preds = %481
  %497 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %9, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %10, align 4
  br label %524

500:                                              ; preds = %482
  %501 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %502 = extractvalue { ptr, i32 } %501, 0
  store ptr %502, ptr %9, align 8
  %503 = extractvalue { ptr, i32 } %501, 1
  store i32 %503, ptr %10, align 4
  br label %508

504:                                              ; preds = %484
  %505 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %506 = extractvalue { ptr, i32 } %505, 0
  store ptr %506, ptr %9, align 8
  %507 = extractvalue { ptr, i32 } %505, 1
  store i32 %507, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %73) #10
  br label %508

508:                                              ; preds = %504, %500
  call void @llvm.lifetime.end.p0(i64 64, ptr %73) #10
  br label %523

509:                                              ; preds = %485
  %510 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %511 = extractvalue { ptr, i32 } %510, 0
  store ptr %511, ptr %9, align 8
  %512 = extractvalue { ptr, i32 } %510, 1
  store i32 %512, ptr %10, align 4
  br label %517

513:                                              ; preds = %487
  %514 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %515 = extractvalue { ptr, i32 } %514, 0
  store ptr %515, ptr %9, align 8
  %516 = extractvalue { ptr, i32 } %514, 1
  store i32 %516, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %75) #10
  br label %517

517:                                              ; preds = %513, %509
  call void @llvm.lifetime.end.p0(i64 64, ptr %75) #10
  br label %522

518:                                              ; preds = %489
  %519 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %520 = extractvalue { ptr, i32 } %519, 0
  store ptr %520, ptr %9, align 8
  %521 = extractvalue { ptr, i32 } %519, 1
  store i32 %521, ptr %10, align 4
  br label %522

522:                                              ; preds = %518, %517
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #10
  br label %523

523:                                              ; preds = %522, %508
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %71) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %71) #10
  br label %524

524:                                              ; preds = %523, %496
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #10
  br label %525

525:                                              ; preds = %524, %477
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %69) #10
  br label %526

526:                                              ; preds = %525, %473
  call void @llvm.lifetime.end.p0(i64 48, ptr %69) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %68) #10
  br label %527

527:                                              ; preds = %526, %469
  call void @llvm.lifetime.end.p0(i64 48, ptr %68) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %66) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %66) #10
  br label %529

528:                                              ; preds = %412
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %66) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %66) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #10
  br label %532

529:                                              ; preds = %527, %465
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #10
  br label %530

530:                                              ; preds = %529, %461
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #10
  br label %531

531:                                              ; preds = %530, %460
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #10
  br label %533

532:                                              ; preds = %528, %392
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %59) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %59) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #10
  br label %543

533:                                              ; preds = %531, %451
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %59) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %59) #10
  br label %534

534:                                              ; preds = %533, %439
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #10
  br label %535

535:                                              ; preds = %534
  %536 = load i32, ptr %10, align 4
  %537 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #10
  %538 = icmp eq i32 %536, %537
  br i1 %538, label %539, label %576

539:                                              ; preds = %535
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #10
  %540 = load ptr, ptr %9, align 8
  %541 = call ptr @__cxa_begin_catch(ptr %540) #10
  store ptr %541, ptr %76, align 8
  invoke void @__cxa_end_catch()
          to label %542 unwind label %555

542:                                              ; preds = %539
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #10
  br label %543

543:                                              ; preds = %542, %532
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #10
  %544 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 112) #11
          to label %545 unwind label %559

545:                                              ; preds = %543
  store i1 true, ptr %79, align 1
  %546 = load i16, ptr %32, align 2, !tbaa !9
  %547 = add i16 %546, 1
  store i16 %547, ptr %32, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %78) #10
  %548 = load i16, ptr %40, align 2, !tbaa !9
  %549 = add i16 %548, 1
  store i16 %549, ptr %40, align 2, !tbaa !9
  %550 = load ptr, ptr %56, align 8, !tbaa !5
  invoke void @_ZN8transoms6DemandC2EtRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKNS_9AgentTypeE(ptr noundef nonnull align 8 dereferenceable(48) %78, i16 noundef zeroext %548, ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef %550)
          to label %551 unwind label %563

551:                                              ; preds = %545
  invoke void @_ZN8transoms12DemandPeriodC2EtRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ONS_6DemandERSt10unique_ptrINS_12SpecialEventESt14default_deleteISB_EE(ptr noundef nonnull align 8 dereferenceable(112) %544, i16 noundef zeroext %546, ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(48) %78, ptr noundef nonnull align 8 dereferenceable(8) %57)
          to label %552 unwind label %567

552:                                              ; preds = %551
  store i1 false, ptr %79, align 1
  call void @_ZN8transoms6DemandD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %78) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %78) #10
  store ptr %544, ptr %77, align 8, !tbaa !5
  %553 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %93, i32 0, i32 4
  invoke void @_ZNSt6vectorIPKN8transoms12DemandPeriodESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %553, ptr noundef nonnull align 8 dereferenceable(8) %77)
          to label %554 unwind label %559

554:                                              ; preds = %552
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #10
  call void @_ZNSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %57) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #10
  br label %600

555:                                              ; preds = %539
  %556 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %557 = extractvalue { ptr, i32 } %556, 0
  store ptr %557, ptr %9, align 8
  %558 = extractvalue { ptr, i32 } %556, 1
  store i32 %558, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #10
  br label %576

559:                                              ; preds = %552, %543
  %560 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %561 = extractvalue { ptr, i32 } %560, 0
  store ptr %561, ptr %9, align 8
  %562 = extractvalue { ptr, i32 } %560, 1
  store i32 %562, ptr %10, align 4
  br label %575

563:                                              ; preds = %545
  %564 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %565 = extractvalue { ptr, i32 } %564, 0
  store ptr %565, ptr %9, align 8
  %566 = extractvalue { ptr, i32 } %564, 1
  store i32 %566, ptr %10, align 4
  br label %571

567:                                              ; preds = %551
  %568 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %569 = extractvalue { ptr, i32 } %568, 0
  store ptr %569, ptr %9, align 8
  %570 = extractvalue { ptr, i32 } %568, 1
  store i32 %570, ptr %10, align 4
  call void @_ZN8transoms6DemandD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %78) #10
  br label %571

571:                                              ; preds = %567, %563
  call void @llvm.lifetime.end.p0(i64 48, ptr %78) #10
  %572 = load i1, ptr %79, align 1
  br i1 %572, label %573, label %574

573:                                              ; preds = %571
  call void @_ZdlPvm(ptr noundef %544, i64 noundef 112) #12
  br label %574

574:                                              ; preds = %573, %571
  br label %575

575:                                              ; preds = %574, %559
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #10
  br label %576

576:                                              ; preds = %575, %555, %535
  call void @_ZNSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %57) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #10
  br label %577

577:                                              ; preds = %576, %435
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #10
  br label %578

578:                                              ; preds = %577
  %579 = load i32, ptr %10, align 4
  %580 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #10
  %581 = icmp eq i32 %579, %580
  br i1 %581, label %582, label %610

582:                                              ; preds = %578
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #10
  %583 = load ptr, ptr %9, align 8
  %584 = call ptr @__cxa_begin_catch(ptr %583) #10
  store ptr %584, ptr %80, align 8
  %585 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %586 unwind label %589

586:                                              ; preds = %582
  %587 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %585, ptr noundef @.str.76)
          to label %588 unwind label %589

588:                                              ; preds = %586
  store i32 7, ptr %14, align 4
  invoke void @__cxa_end_catch()
          to label %593 unwind label %594

589:                                              ; preds = %586, %582
  %590 = landingpad { ptr, i32 }
          cleanup
  %591 = extractvalue { ptr, i32 } %590, 0
  store ptr %591, ptr %9, align 8
  %592 = extractvalue { ptr, i32 } %590, 1
  store i32 %592, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %598 unwind label %755

593:                                              ; preds = %588
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #10
  br label %601

594:                                              ; preds = %588
  %595 = landingpad { ptr, i32 }
          cleanup
  %596 = extractvalue { ptr, i32 } %595, 0
  store ptr %596, ptr %9, align 8
  %597 = extractvalue { ptr, i32 } %595, 1
  store i32 %597, ptr %10, align 4
  br label %599

598:                                              ; preds = %589
  br label %599

599:                                              ; preds = %598, %594
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #10
  br label %610

600:                                              ; preds = %554
  store i32 0, ptr %14, align 4
  br label %601

601:                                              ; preds = %600, %593
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #10
  %602 = load i32, ptr %14, align 4
  switch i32 %602, label %604 [
    i32 0, label %603
  ]

603:                                              ; preds = %601
  store i32 0, ptr %14, align 4
  br label %604

604:                                              ; preds = %603, %601
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %51) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  %605 = load i32, ptr %14, align 4
  switch i32 %605, label %758 [
    i32 0, label %606
    i32 7, label %607
  ]

606:                                              ; preds = %604
  br label %607

607:                                              ; preds = %606, %604
  %608 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEEppEv(ptr noundef nonnull align 8 dereferenceable(48) %48)
          to label %609 unwind label %373

609:                                              ; preds = %607
  br label %335

610:                                              ; preds = %599, %578
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  br label %611

611:                                              ; preds = %610, %434
  call void @llvm.lifetime.end.p0(i64 32, ptr %54) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #10
  br label %612

612:                                              ; preds = %611, %425
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %51) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %51) #10
  br label %613

613:                                              ; preds = %612, %413
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  br label %614

614:                                              ; preds = %613, %373
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #10
  br label %615

615:                                              ; preds = %614, %369
  call void @llvm.lifetime.end.p0(i64 48, ptr %49) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %48) #10
  br label %616

616:                                              ; preds = %615, %365
  call void @llvm.lifetime.end.p0(i64 48, ptr %48) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %46) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %46) #10
  br label %621

617:                                              ; preds = %338
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %46) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 2, ptr %40) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %39) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br label %618

618:                                              ; preds = %617
  %619 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEEppEv(ptr noundef nonnull align 8 dereferenceable(48) %36)
          to label %620 unwind label %316

620:                                              ; preds = %618
  br label %300

621:                                              ; preds = %616, %361
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #10
  br label %622

622:                                              ; preds = %621, %360
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #10
  br label %623

623:                                              ; preds = %622, %351
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 2, ptr %40) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %39) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr %39) #10
  br label %624

624:                                              ; preds = %623, %339
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #10
  br label %625

625:                                              ; preds = %624, %316
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #10
  br label %626

626:                                              ; preds = %625, %312
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #10
  br label %627

627:                                              ; preds = %626, %308
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  br label %746

628:                                              ; preds = %303
  invoke void @_ZN8transoms13NetworkHandle23validate_demand_periodsEv(ptr noundef nonnull align 8 dereferenceable(512) %93)
          to label %629 unwind label %630

629:                                              ; preds = %628
  br label %651

630:                                              ; preds = %628
  %631 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt13runtime_error
  %632 = extractvalue { ptr, i32 } %631, 0
  store ptr %632, ptr %9, align 8
  %633 = extractvalue { ptr, i32 } %631, 1
  store i32 %633, ptr %10, align 4
  br label %634

634:                                              ; preds = %630
  %635 = load i32, ptr %10, align 4
  %636 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt13runtime_error) #10
  %637 = icmp eq i32 %635, %636
  br i1 %637, label %638, label %746

638:                                              ; preds = %634
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #10
  %639 = load ptr, ptr %9, align 8
  %640 = call ptr @__cxa_begin_catch(ptr %639) #10
  store ptr %640, ptr %81, align 8
  %641 = load ptr, ptr %81, align 8, !tbaa !5
  %642 = load ptr, ptr %641, align 8, !tbaa !17
  %643 = getelementptr inbounds ptr, ptr %642, i64 2
  %644 = load ptr, ptr %643, align 8
  %645 = call noundef ptr %644(ptr noundef nonnull align 8 dereferenceable(16) %641) #10
  %646 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %645)
          to label %647 unwind label %665

647:                                              ; preds = %638
  %648 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %646, i8 noundef signext 10)
          to label %649 unwind label %665

649:                                              ; preds = %647
  invoke void @__cxa_end_catch()
          to label %650 unwind label %669

650:                                              ; preds = %649
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #10
  br label %651

651:                                              ; preds = %650, %629
  %652 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %93, i32 0, i32 4
  %653 = call noundef zeroext i1 @_ZNKSt6vectorIPKN8transoms12DemandPeriodESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %652) #10
  br i1 %653, label %654, label %692

654:                                              ; preds = %651
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #10
  %655 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %93, i32 0, i32 3
  %656 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKN8transoms9AgentTypeESaIS3_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %655) #10
  %657 = load ptr, ptr %656, align 8, !tbaa !5
  store ptr %657, ptr %82, align 8, !tbaa !5
  %658 = getelementptr inbounds %"class.transoms::NetworkHandle", ptr %93, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #10
  %659 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 112) #11
          to label %660 unwind label %675

660:                                              ; preds = %654
  store i1 true, ptr %85, align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr %84) #10
  %661 = load ptr, ptr %82, align 8, !tbaa !5
  invoke void @_ZN8transoms6DemandC2EPKNS_9AgentTypeE(ptr noundef nonnull align 8 dereferenceable(48) %84, ptr noundef %661)
          to label %662 unwind label %679

662:                                              ; preds = %660
  invoke void @_ZN8transoms12DemandPeriodC2EONS_6DemandE(ptr noundef nonnull align 8 dereferenceable(112) %659, ptr noundef nonnull align 8 dereferenceable(48) %84)
          to label %663 unwind label %683

663:                                              ; preds = %662
  store i1 false, ptr %85, align 1
  store ptr %659, ptr %83, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKN8transoms12DemandPeriodESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %658, ptr noundef nonnull align 8 dereferenceable(8) %83)
          to label %664 unwind label %683

664:                                              ; preds = %663
  call void @_ZN8transoms6DemandD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %84) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr %84) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #10
  br label %692

665:                                              ; preds = %647, %638
  %666 = landingpad { ptr, i32 }
          cleanup
  %667 = extractvalue { ptr, i32 } %666, 0
  store ptr %667, ptr %9, align 8
  %668 = extractvalue { ptr, i32 } %666, 1
  store i32 %668, ptr %10, align 4
  invoke void @__cxa_end_catch()
          to label %673 unwind label %755

669:                                              ; preds = %649
  %670 = landingpad { ptr, i32 }
          cleanup
  %671 = extractvalue { ptr, i32 } %670, 0
  store ptr %671, ptr %9, align 8
  %672 = extractvalue { ptr, i32 } %670, 1
  store i32 %672, ptr %10, align 4
  br label %674

673:                                              ; preds = %665
  br label %674

674:                                              ; preds = %673, %669
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #10
  br label %746

675:                                              ; preds = %654
  %676 = landingpad { ptr, i32 }
          cleanup
  %677 = extractvalue { ptr, i32 } %676, 0
  store ptr %677, ptr %9, align 8
  %678 = extractvalue { ptr, i32 } %676, 1
  store i32 %678, ptr %10, align 4
  br label %691

679:                                              ; preds = %660
  %680 = landingpad { ptr, i32 }
          cleanup
  %681 = extractvalue { ptr, i32 } %680, 0
  store ptr %681, ptr %9, align 8
  %682 = extractvalue { ptr, i32 } %680, 1
  store i32 %682, ptr %10, align 4
  br label %687

683:                                              ; preds = %663, %662
  %684 = landingpad { ptr, i32 }
          cleanup
  %685 = extractvalue { ptr, i32 } %684, 0
  store ptr %685, ptr %9, align 8
  %686 = extractvalue { ptr, i32 } %684, 1
  store i32 %686, ptr %10, align 4
  call void @_ZN8transoms6DemandD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %84) #10
  br label %687

687:                                              ; preds = %683, %679
  call void @llvm.lifetime.end.p0(i64 48, ptr %84) #10
  %688 = load i1, ptr %85, align 1
  br i1 %688, label %689, label %690

689:                                              ; preds = %687
  call void @_ZdlPvm(ptr noundef %659, i64 noundef 112) #12
  br label %690

690:                                              ; preds = %689, %687
  br label %691

691:                                              ; preds = %690, %675
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #10
  br label %746

692:                                              ; preds = %664, %651
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %87) #10
  invoke void @_ZN4YAML4NodeixIA11_cEES0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %87, ptr noundef nonnull align 8 dereferenceable(64) %5, ptr noundef nonnull align 1 dereferenceable(11) @.str.77)
          to label %693 unwind label %704

693:                                              ; preds = %692
  store ptr %87, ptr %86, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %88) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %89) #10
  %694 = load ptr, ptr %86, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA11_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %89, ptr noundef nonnull align 8 dereferenceable(64) %694, ptr noundef nonnull align 1 dereferenceable(11) @.str.78)
          to label %695 unwind label %708

695:                                              ; preds = %693
  %696 = invoke noundef zeroext i16 @_ZNK4YAML4Node2asItEET_v(ptr noundef nonnull align 8 dereferenceable(64) %89)
          to label %697 unwind label %712

697:                                              ; preds = %695
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %89) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %89) #10
  store i16 %696, ptr %88, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %90) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %91) #10
  %698 = load ptr, ptr %86, align 8, !tbaa !5
  invoke void @_ZNK4YAML4NodeixIA19_cEEKS0_RKT_(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8 %91, ptr noundef nonnull align 8 dereferenceable(64) %698, ptr noundef nonnull align 1 dereferenceable(19) @.str.79)
          to label %699 unwind label %717

699:                                              ; preds = %697
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %90, ptr noundef nonnull align 8 dereferenceable(64) %91)
          to label %700 unwind label %721

700:                                              ; preds = %699
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %91) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %91) #10
  invoke void @_ZN8transoms13NetworkHandle8to_lowerERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %90)
          to label %701 unwind label %726

701:                                              ; preds = %700
  %702 = load i16, ptr %88, align 2, !tbaa !9
  invoke void @_ZN8transoms13NetworkHandle26update_simulation_settingsEtRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512) %93, i16 noundef zeroext %702, ptr noundef nonnull align 8 dereferenceable(32) %90)
          to label %703 unwind label %726

703:                                              ; preds = %701
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #10
  call void @llvm.lifetime.end.p0(i64 2, ptr %88) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %87) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %87) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #10
  br label %741

704:                                              ; preds = %692
  %705 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %706 = extractvalue { ptr, i32 } %705, 0
  store ptr %706, ptr %9, align 8
  %707 = extractvalue { ptr, i32 } %705, 1
  store i32 %707, ptr %10, align 4
  br label %732

708:                                              ; preds = %693
  %709 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %710 = extractvalue { ptr, i32 } %709, 0
  store ptr %710, ptr %9, align 8
  %711 = extractvalue { ptr, i32 } %709, 1
  store i32 %711, ptr %10, align 4
  br label %716

712:                                              ; preds = %695
  %713 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %714 = extractvalue { ptr, i32 } %713, 0
  store ptr %714, ptr %9, align 8
  %715 = extractvalue { ptr, i32 } %713, 1
  store i32 %715, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %89) #10
  br label %716

716:                                              ; preds = %712, %708
  call void @llvm.lifetime.end.p0(i64 64, ptr %89) #10
  br label %731

717:                                              ; preds = %697
  %718 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %719 = extractvalue { ptr, i32 } %718, 0
  store ptr %719, ptr %9, align 8
  %720 = extractvalue { ptr, i32 } %718, 1
  store i32 %720, ptr %10, align 4
  br label %725

721:                                              ; preds = %699
  %722 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %723 = extractvalue { ptr, i32 } %722, 0
  store ptr %723, ptr %9, align 8
  %724 = extractvalue { ptr, i32 } %722, 1
  store i32 %724, ptr %10, align 4
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %91) #10
  br label %725

725:                                              ; preds = %721, %717
  call void @llvm.lifetime.end.p0(i64 64, ptr %91) #10
  br label %730

726:                                              ; preds = %701, %700
  %727 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %728 = extractvalue { ptr, i32 } %727, 0
  store ptr %728, ptr %9, align 8
  %729 = extractvalue { ptr, i32 } %727, 1
  store i32 %729, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #10
  br label %730

730:                                              ; preds = %726, %725
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #10
  br label %731

731:                                              ; preds = %730, %716
  call void @llvm.lifetime.end.p0(i64 2, ptr %88) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %87) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %87) #10
  br label %732

732:                                              ; preds = %731, %704
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #10
  br label %733

733:                                              ; preds = %732
  %734 = load i32, ptr %10, align 4
  %735 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #10
  %736 = icmp eq i32 %734, %735
  br i1 %736, label %737, label %746

737:                                              ; preds = %733
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #10
  %738 = load ptr, ptr %9, align 8
  %739 = call ptr @__cxa_begin_catch(ptr %738) #10
  store ptr %739, ptr %92, align 8
  invoke void @__cxa_end_catch()
          to label %740 unwind label %742

740:                                              ; preds = %737
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #10
  br label %741

741:                                              ; preds = %740, %703
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %34) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 2, ptr %32) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %5) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #10
  ret void

742:                                              ; preds = %737
  %743 = landingpad { ptr, i32 }
          cleanup
  %744 = extractvalue { ptr, i32 } %743, 0
  store ptr %744, ptr %9, align 8
  %745 = extractvalue { ptr, i32 } %743, 1
  store i32 %745, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #10
  br label %746

746:                                              ; preds = %742, %733, %691, %674, %634, %627
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %34) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #10
  br label %747

747:                                              ; preds = %746, %304
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 2, ptr %32) #10
  br label %748

748:                                              ; preds = %747, %292, %274
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %8) #10
  br label %749

749:                                              ; preds = %748, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 2, ptr %6) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %5) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #10
  br label %750

750:                                              ; preds = %749
  %751 = load ptr, ptr %9, align 8
  %752 = load i32, ptr %10, align 4
  %753 = insertvalue { ptr, i32 } poison, ptr %751, 0
  %754 = insertvalue { ptr, i32 } %753, i32 %752, 1
  resume { ptr, i32 } %754

755:                                              ; preds = %665, %589
  %756 = landingpad { ptr, i32 }
          catch ptr null
  %757 = extractvalue { ptr, i32 } %756, 0
  call void @__clang_call_terminate(ptr %757) #13
  unreachable

758:                                              ; preds = %604, %260
  unreachable
}

declare void @_ZN4YAML8LoadFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4YAML4NodeixIA11_cEES0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(11)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4Node5beginEv(ptr dead_on_unwind noalias writable sret(%"class.YAML::detail::iterator_base") align 8, ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4Node3endEv(ptr dead_on_unwind noalias writable sret(%"class.YAML::detail::iterator_base") align 8, ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEdeEv(ptr dead_on_unwind noalias writable sret(%"struct.YAML::detail::iterator_value") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA5_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(5)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8transoms13NetworkHandle19contains_agent_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA10_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(10)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i16 @_ZNK4YAML4Node2asItEET_v(ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA4_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(4)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK4YAML4Node2asIdEET_v(ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA11_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(11)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA13_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(13)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4YAML4Node2asIbEET_v(ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8transoms9AgentTypeC2EtRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtdddb(ptr noundef nonnull align 8 dereferenceable(73), i16 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext, double noundef, double noundef, double noundef, i1 noundef zeroext) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192)) unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEEppEv(ptr noundef nonnull align 8 dereferenceable(48)) #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4YAML4NodeixIA14_cEES0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(14)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA7_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(7)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA12_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(12)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA14_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(14)) #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA8_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(8)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA15_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(15)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms12SpecialEvent17add_affected_linkERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(32), double noundef) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms12DemandPeriodC2EtRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ONS_6DemandERSt10unique_ptrINS_12SpecialEventESt14default_deleteISB_EE(ptr noundef nonnull align 8 dereferenceable(112), i16 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA19_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(19)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { nobuiltin allocsize(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 = { 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 #5 = { nobuiltin 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 #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 = { "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 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }
attributes #13 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !8, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.YAML::Node" = type { i8, %"class.std::__cxx11::basic_string", %"class.std::shared_ptr", ptr }
%"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.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.YAML::detail::iterator_base" = type { %"class.YAML::detail::node_iterator_base", %"class.std::shared_ptr" }
%"class.YAML::detail::node_iterator_base" = type { i32, %"class.__gnu_cxx::__normal_iterator.148", %"class.__gnu_cxx::__normal_iterator.149", %"class.__gnu_cxx::__normal_iterator.149" }
%"class.__gnu_cxx::__normal_iterator.148" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.149" = type { ptr }
%"struct.YAML::detail::iterator_value" = type { %"class.YAML::Node", %"struct.std::pair.150" }
%"struct.std::pair.150" = type { %"class.YAML::Node", %"class.YAML::Node" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.21" }
%"struct.std::_Head_base.21" = type { ptr }
%"class.transoms::Demand" = type { i16, %"class.std::__cxx11::basic_string", ptr }

@_ZTISt13runtime_error = external constant ptr
@_ZTISt9exception = external constant ptr
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [19 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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms9AgentTypeC2Ev(ptr noundef nonnull align 8 dereferenceable(73)) unnamed_addr #4 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms12DemandPeriodC2EONS_6DemandE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms13NetworkHandle8to_lowerERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms13NetworkHandle26update_simulation_settingsEtRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512), i16 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms13NetworkHandle23validate_demand_periodsEv(ptr noundef nonnull align 8 dereferenceable(512)) local_unnamed_addr #4 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 ptr @_ZNK8transoms13NetworkHandle14get_agent_typeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8transoms13NetworkHandle17read_settings_ymlERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.YAML::Node", align 8
  %4 = alloca %"class.YAML::Node", align 8
  %5 = alloca %"class.YAML::detail::iterator_base", align 8
  %6 = alloca %"class.YAML::detail::iterator_base", align 8
  %7 = alloca %"struct.YAML::detail::iterator_value", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.YAML::Node", align 8
  %10 = alloca %"class.YAML::Node", align 8
  %11 = alloca %"class.YAML::Node", align 8
  %12 = alloca %"class.YAML::Node", align 8
  %13 = alloca %"class.YAML::Node", align 8
  %14 = alloca %"class.YAML::Node", align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.YAML::Node", align 8
  %18 = alloca %"class.YAML::detail::iterator_base", align 8
  %19 = alloca %"class.YAML::detail::iterator_base", align 8
  %20 = alloca %"struct.YAML::detail::iterator_value", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.YAML::Node", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.YAML::Node", align 8
  %25 = alloca %"class.YAML::Node", align 8
  %26 = alloca %"class.YAML::detail::iterator_base", align 8
  %27 = alloca %"class.YAML::detail::iterator_base", align 8
  %28 = alloca %"struct.YAML::detail::iterator_value", align 8
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.YAML::Node", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.YAML::Node", align 8
  %33 = alloca %"class.std::unique_ptr", align 8
  %34 = alloca %"class.YAML::Node", align 8
  %35 = alloca %"class.YAML::Node", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.YAML::Node", align 8
  %38 = alloca %"class.std::unique_ptr", align 8
  %39 = alloca %"class.YAML::Node", align 8
  %40 = alloca %"class.YAML::detail::iterator_base", align 8
  %41 = alloca %"class.YAML::detail::iterator_base", align 8
  %42 = alloca %"struct.YAML::detail::iterator_value", align 8
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"class.YAML::Node", align 8
  %45 = alloca %"class.YAML::Node", align 8
  %46 = alloca ptr, align 8
  %47 = alloca %"class.transoms::Demand", align 8
  %48 = alloca ptr, align 8
  %49 = alloca %"class.transoms::Demand", align 8
  %50 = alloca %"class.YAML::Node", align 8
  %51 = alloca %"class.YAML::Node", align 8
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca %"class.YAML::Node", align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #10
  call void @_ZN4YAML8LoadFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) %1)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #10
  invoke void @_ZN4YAML4NodeixIA11_cEES0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %4, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef nonnull align 1 dereferenceable(11) @.str.22)
          to label %54 unwind label %62

54:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #10
  invoke void @_ZNK4YAML4Node5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.YAML::detail::iterator_base") align 8 %5, ptr noundef nonnull align 8 dereferenceable(64) %4)
          to label %55 unwind label %66

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #10
  invoke void @_ZNK4YAML4Node3endEv(ptr dead_on_unwind nonnull writable sret(%"class.YAML::detail::iterator_base") align 8 %6, ptr noundef nonnull align 8 dereferenceable(64) %4)
          to label %.preheader236 unwind label %70

.preheader236:                                    ; preds = %55
  %56 = getelementptr inbounds i8, ptr %0, i64 352
  br label %57

57:                                               ; preds = %.preheader236, %155
  %.0 = phi i16 [ %.11, %155 ], [ 0, %.preheader236 ]
  %58 = invoke noundef zeroext i1 @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEneIS3_EEbRKNS1_IT_EE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(48) %6)
          to label %59 unwind label %74

59:                                               ; preds = %57
  br i1 %58, label %78, label %60

60:                                               ; preds = %59
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #10
  %61 = call noundef zeroext i1 @_ZNKSt6vectorIPKN8transoms9AgentTypeESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #10
  br i1 %61, label %164, label %174

62:                                               ; preds = %2
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  %65 = extractvalue { ptr, i32 } %63, 1
  br label %460

66:                                               ; preds = %54
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  %69 = extractvalue { ptr, i32 } %67, 1
  br label %163

70:                                               ; preds = %55
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  %73 = extractvalue { ptr, i32 } %71, 1
  br label %162

74:                                               ; preds = %155, %57
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  %77 = extractvalue { ptr, i32 } %75, 1
  br label %161

78:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %7) #10
  invoke void @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEdeEv(ptr dead_on_unwind nonnull writable sret(%"struct.YAML::detail::iterator_value") align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) %5)
          to label %79 unwind label %90

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #10
  invoke void @_ZNK4YAML4NodeixIA5_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %9, ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 1 dereferenceable(5) @.str.62)
          to label %80 unwind label %94

80:                                               ; preds = %79
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(64) %9)
          to label %81 unwind label %96

81:                                               ; preds = %80
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %9) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #10
  %82 = invoke noundef zeroext i1 @_ZNK8transoms13NetworkHandle19contains_agent_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512) %0, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %83 unwind label %99

83:                                               ; preds = %81
  br i1 %82, label %84, label %101

84:                                               ; preds = %83
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.63)
          to label %86 unwind label %99

86:                                               ; preds = %84
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %88 unwind label %99

88:                                               ; preds = %86
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %87, i8 noundef signext 10)
          to label %121 unwind label %99

90:                                               ; preds = %78
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  %93 = extractvalue { ptr, i32 } %91, 1
  br label %161

94:                                               ; preds = %79
  %95 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %98

96:                                               ; preds = %80
  %97 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %9) #10
  br label %98

98:                                               ; preds = %96, %94
  %.pn208 = phi { ptr, i32 } [ %97, %96 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #10
  br label %150

99:                                               ; preds = %88, %86, %84, %81
  %100 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %149

101:                                              ; preds = %83
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #10
  invoke void @_ZNK4YAML4NodeixIA10_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %10, ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 1 dereferenceable(10) @.str.64)
          to label %102 unwind label %122

102:                                              ; preds = %101
  %103 = invoke noundef zeroext i16 @_ZNK4YAML4Node2asItEET_v(ptr noundef nonnull align 8 dereferenceable(64) %10)
          to label %104 unwind label %124

104:                                              ; preds = %102
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %10) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #10
  invoke void @_ZNK4YAML4NodeixIA4_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %11, ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 1 dereferenceable(4) @.str.65)
          to label %105 unwind label %127

105:                                              ; preds = %104
  %106 = invoke noundef double @_ZNK4YAML4Node2asIdEET_v(ptr noundef nonnull align 8 dereferenceable(64) %11)
          to label %107 unwind label %129

107:                                              ; preds = %105
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %12) #10
  invoke void @_ZNK4YAML4NodeixIA4_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %12, ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 1 dereferenceable(4) @.str.66)
          to label %108 unwind label %132

108:                                              ; preds = %107
  %109 = invoke noundef double @_ZNK4YAML4Node2asIdEET_v(ptr noundef nonnull align 8 dereferenceable(64) %12)
          to label %110 unwind label %134

110:                                              ; preds = %108
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %12) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #10
  invoke void @_ZNK4YAML4NodeixIA11_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %13, ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 1 dereferenceable(11) @.str.56)
          to label %111 unwind label %137

111:                                              ; preds = %110
  %112 = invoke noundef double @_ZNK4YAML4Node2asIdEET_v(ptr noundef nonnull align 8 dereferenceable(64) %13)
          to label %113 unwind label %139

113:                                              ; preds = %111
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #10
  invoke void @_ZNK4YAML4NodeixIA13_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %14, ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 1 dereferenceable(13) @.str.67)
          to label %114 unwind label %142

114:                                              ; preds = %113
  %115 = invoke noundef zeroext i1 @_ZNK4YAML4Node2asIbEET_v(ptr noundef nonnull align 8 dereferenceable(64) %14)
          to label %116 unwind label %144

116:                                              ; preds = %114
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %14) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  %117 = invoke noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #11
          to label %118 unwind label %147

118:                                              ; preds = %116
  %119 = add i16 %.0, 1
  call void @_ZN8transoms9AgentTypeC2EtRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtdddb(ptr noundef nonnull align 8 dereferenceable(73) %117, i16 noundef zeroext %.0, ptr noundef nonnull align 8 dereferenceable(32) %8, i16 noundef zeroext %103, double noundef %106, double noundef %109, double noundef %112, i1 noundef zeroext %115)
  store ptr %117, ptr %15, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKN8transoms9AgentTypeESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %120 unwind label %147

120:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  br label %121

121:                                              ; preds = %88, %120
  %.1 = phi i16 [ %119, %120 ], [ %.0, %88 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  br label %155

122:                                              ; preds = %101
  %123 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %126

124:                                              ; preds = %102
  %125 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %10) #10
  br label %126

126:                                              ; preds = %124, %122
  %.pn210 = phi { ptr, i32 } [ %125, %124 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #10
  br label %149

127:                                              ; preds = %104
  %128 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %131

129:                                              ; preds = %105
  %130 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #10
  br label %131

131:                                              ; preds = %129, %127
  %.pn212 = phi { ptr, i32 } [ %130, %129 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #10
  br label %149

132:                                              ; preds = %107
  %133 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %136

134:                                              ; preds = %108
  %135 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %12) #10
  br label %136

136:                                              ; preds = %134, %132
  %.pn214 = phi { ptr, i32 } [ %135, %134 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %12) #10
  br label %149

137:                                              ; preds = %110
  %138 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %141

139:                                              ; preds = %111
  %140 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #10
  br label %141

141:                                              ; preds = %139, %137
  %.pn216 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #10
  br label %149

142:                                              ; preds = %113
  %143 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %146

144:                                              ; preds = %114
  %145 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %14) #10
  br label %146

146:                                              ; preds = %144, %142
  %.pn218 = phi { ptr, i32 } [ %145, %144 ], [ %143, %142 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #10
  br label %149

147:                                              ; preds = %118, %116
  %.2 = phi i16 [ %119, %118 ], [ %.0, %116 ]
  %148 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  br label %149

149:                                              ; preds = %126, %136, %146, %147, %141, %131, %99
  %.pn226 = phi { ptr, i32 } [ %100, %99 ], [ %.pn210, %126 ], [ %.pn212, %131 ], [ %.pn214, %136 ], [ %.pn216, %141 ], [ %148, %147 ], [ %.pn218, %146 ]
  %.8 = phi i16 [ %.0, %99 ], [ %.0, %126 ], [ %.0, %131 ], [ %.0, %136 ], [ %.0, %141 ], [ %.2, %147 ], [ %.0, %146 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  br label %150

150:                                              ; preds = %149, %98
  %.pn226.pn = phi { ptr, i32 } [ %.pn226, %149 ], [ %.pn208, %98 ]
  %.9 = phi i16 [ %.8, %149 ], [ %.0, %98 ]
  %.12 = extractvalue { ptr, i32 } %.pn226.pn, 0
  %.1287 = extractvalue { ptr, i32 } %.pn226.pn, 1
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  %151 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #10
  %152 = icmp eq i32 %.1287, %151
  br i1 %152, label %153, label %.loopexit237

153:                                              ; preds = %150
  %154 = call ptr @__cxa_begin_catch(ptr %.12) #10
  invoke void @__cxa_end_catch()
          to label %155 unwind label %157

155:                                              ; preds = %121, %153
  %.11 = phi i16 [ %.1, %121 ], [ %.9, %153 ]
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %7) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %7) #10
  %156 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEEppEv(ptr noundef nonnull align 8 dereferenceable(48) %5)
          to label %57 unwind label %74

157:                                              ; preds = %153
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  %160 = extractvalue { ptr, i32 } %158, 1
  br label %.loopexit237

.loopexit237:                                     ; preds = %150, %157
  %.1388 = phi i32 [ %160, %157 ], [ %.1287, %150 ]
  %.13 = phi ptr [ %159, %157 ], [ %.12, %150 ]
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %7) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %7) #10
  br label %161

161:                                              ; preds = %90, %.loopexit237, %74
  %.1590 = phi i32 [ %77, %74 ], [ %.1388, %.loopexit237 ], [ %93, %90 ]
  %.15 = phi ptr [ %76, %74 ], [ %.13, %.loopexit237 ], [ %92, %90 ]
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #10
  br label %162

162:                                              ; preds = %161, %70
  %.1691 = phi i32 [ %.1590, %161 ], [ %73, %70 ]
  %.16 = phi ptr [ %.15, %161 ], [ %72, %70 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #10
  br label %163

163:                                              ; preds = %162, %66
  %.1792 = phi i32 [ %.1691, %162 ], [ %69, %66 ]
  %.17 = phi ptr [ %.16, %162 ], [ %68, %66 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #10
  br label %459

164:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #10
  %165 = invoke noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #11
          to label %166 unwind label %169

166:                                              ; preds = %164
  invoke void @_ZN8transoms9AgentTypeC2Ev(ptr noundef nonnull align 8 dereferenceable(73) %165)
          to label %167 unwind label %171

167:                                              ; preds = %166
  store ptr %165, ptr %16, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKN8transoms9AgentTypeESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %168 unwind label %169

168:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  br label %174

169:                                              ; preds = %167, %164
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %173

171:                                              ; preds = %166
  %172 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %165, i64 noundef 80) #12
  br label %173

173:                                              ; preds = %171, %169
  %.pn = phi { ptr, i32 } [ %170, %169 ], [ %172, %171 ]
  %.18 = extractvalue { ptr, i32 } %.pn, 0
  %.1893 = extractvalue { ptr, i32 } %.pn, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  br label %459

174:                                              ; preds = %168, %60
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #10
  invoke void @_ZN4YAML4NodeixIA14_cEES0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %17, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef nonnull align 1 dereferenceable(14) @.str.27)
          to label %175 unwind label %182

175:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %18) #10
  invoke void @_ZNK4YAML4Node5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.YAML::detail::iterator_base") align 8 %18, ptr noundef nonnull align 8 dereferenceable(64) %17)
          to label %176 unwind label %186

176:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #10
  invoke void @_ZNK4YAML4Node3endEv(ptr dead_on_unwind nonnull writable sret(%"class.YAML::detail::iterator_base") align 8 %19, ptr noundef nonnull align 8 dereferenceable(64) %17)
          to label %.preheader235 unwind label %190

.preheader235:                                    ; preds = %176
  %177 = getelementptr inbounds i8, ptr %0, i64 376
  br label %178

178:                                              ; preds = %.preheader235, %208
  %.0147 = phi i16 [ %.1148, %208 ], [ 0, %.preheader235 ]
  %179 = invoke noundef zeroext i1 @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEneIS3_EEbRKNS1_IT_EE(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %180 unwind label %194

180:                                              ; preds = %178
  br i1 %179, label %198, label %181

181:                                              ; preds = %180
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #10
  invoke void @_ZN8transoms13NetworkHandle23validate_demand_periodsEv(ptr noundef nonnull align 8 dereferenceable(512) %0)
          to label %400 unwind label %384

182:                                              ; preds = %174
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  %185 = extractvalue { ptr, i32 } %183, 1
  br label %459

186:                                              ; preds = %175
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  %189 = extractvalue { ptr, i32 } %187, 1
  br label %383

190:                                              ; preds = %176
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  %193 = extractvalue { ptr, i32 } %191, 1
  br label %382

194:                                              ; preds = %208, %178
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  %197 = extractvalue { ptr, i32 } %195, 1
  br label %381

198:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %20) #10
  invoke void @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEdeEv(ptr dead_on_unwind nonnull writable sret(%"struct.YAML::detail::iterator_value") align 8 %20, ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %199 unwind label %210

199:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #10
  invoke void @_ZNK4YAML4NodeixIA7_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %22, ptr noundef nonnull align 8 dereferenceable(64) %20, ptr noundef nonnull align 1 dereferenceable(7) @.str.68)
          to label %200 unwind label %214

200:                                              ; preds = %199
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(64) %22)
          to label %201 unwind label %216

201:                                              ; preds = %200
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %24) #10
  invoke void @_ZNK4YAML4NodeixIA12_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %24, ptr noundef nonnull align 8 dereferenceable(64) %20, ptr noundef nonnull align 1 dereferenceable(12) @.str.69)
          to label %202 unwind label %219

202:                                              ; preds = %201
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(64) %24)
          to label %203 unwind label %221

203:                                              ; preds = %202
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %24) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %24) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %25) #10
  invoke void @_ZNK4YAML4NodeixIA7_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %25, ptr noundef nonnull align 8 dereferenceable(64) %20, ptr noundef nonnull align 1 dereferenceable(7) @.str.70)
          to label %204 unwind label %224

204:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %26) #10
  invoke void @_ZNK4YAML4Node5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.YAML::detail::iterator_base") align 8 %26, ptr noundef nonnull align 8 dereferenceable(64) %25)
          to label %205 unwind label %228

205:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %27) #10
  invoke void @_ZNK4YAML4Node3endEv(ptr dead_on_unwind nonnull writable sret(%"class.YAML::detail::iterator_base") align 8 %27, ptr noundef nonnull align 8 dereferenceable(64) %25)
          to label %.preheader234 unwind label %232

.preheader234:                                    ; preds = %205, %371
  %.0154 = phi i16 [ %.5159, %371 ], [ 0, %205 ]
  %.1148 = phi i16 [ %.6153, %371 ], [ %.0147, %205 ]
  %206 = invoke noundef zeroext i1 @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEneIS3_EEbRKNS1_IT_EE(ptr noundef nonnull align 8 dereferenceable(48) %26, ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %207 unwind label %236

207:                                              ; preds = %.preheader234
  br i1 %206, label %240, label %208

208:                                              ; preds = %207
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %20) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %20) #10
  %209 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEEppEv(ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %178 unwind label %194

210:                                              ; preds = %198
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  %213 = extractvalue { ptr, i32 } %211, 1
  br label %381

214:                                              ; preds = %199
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %218

216:                                              ; preds = %200
  %217 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #10
  br label %218

218:                                              ; preds = %216, %214
  %.pn175 = phi { ptr, i32 } [ %217, %216 ], [ %215, %214 ]
  %.19 = extractvalue { ptr, i32 } %.pn175, 0
  %.1994 = extractvalue { ptr, i32 } %.pn175, 1
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #10
  br label %380

219:                                              ; preds = %201
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %223

221:                                              ; preds = %202
  %222 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %24) #10
  br label %223

223:                                              ; preds = %221, %219
  %.pn177 = phi { ptr, i32 } [ %222, %221 ], [ %220, %219 ]
  %.20 = extractvalue { ptr, i32 } %.pn177, 0
  %.2095 = extractvalue { ptr, i32 } %.pn177, 1
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %24) #10
  br label %379

224:                                              ; preds = %203
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  %227 = extractvalue { ptr, i32 } %225, 1
  br label %378

228:                                              ; preds = %204
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  %231 = extractvalue { ptr, i32 } %229, 1
  br label %377

232:                                              ; preds = %205
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  %235 = extractvalue { ptr, i32 } %233, 1
  br label %376

236:                                              ; preds = %371, %.preheader234
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  %239 = extractvalue { ptr, i32 } %237, 1
  br label %375

240:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %28) #10
  invoke void @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEdeEv(ptr dead_on_unwind nonnull writable sret(%"struct.YAML::detail::iterator_value") align 8 %28, ptr noundef nonnull align 8 dereferenceable(48) %26)
          to label %241 unwind label %262

241:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %30) #10
  invoke void @_ZNK4YAML4NodeixIA10_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %30, ptr noundef nonnull align 8 dereferenceable(64) %28, ptr noundef nonnull align 1 dereferenceable(10) @.str.71)
          to label %242 unwind label %266

242:                                              ; preds = %241
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %29, ptr noundef nonnull align 8 dereferenceable(64) %30)
          to label %243 unwind label %268

243:                                              ; preds = %242
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %30) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %32) #10
  invoke void @_ZNK4YAML4NodeixIA11_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %32, ptr noundef nonnull align 8 dereferenceable(64) %28, ptr noundef nonnull align 1 dereferenceable(11) @.str.22)
          to label %244 unwind label %271

244:                                              ; preds = %243
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %31, ptr noundef nonnull align 8 dereferenceable(64) %32)
          to label %245 unwind label %273

245:                                              ; preds = %244
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %32) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #10
  %246 = invoke noundef ptr @_ZNK8transoms13NetworkHandle14get_agent_typeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512) %0, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %247 unwind label %276

247:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #10
  call void @_ZNSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EEC2IS3_vEEDn(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr null) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %34) #10
  invoke void @_ZNK4YAML4NodeixIA14_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %34, ptr noundef nonnull align 8 dereferenceable(64) %20, ptr noundef nonnull align 1 dereferenceable(14) @.str.72)
          to label %248 unwind label %280

248:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %35) #10
  invoke void @_ZNK4YAML4NodeixIA7_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %35, ptr noundef nonnull align 8 dereferenceable(64) %34, ptr noundef nonnull align 1 dereferenceable(7) @.str.73)
          to label %249 unwind label %282

249:                                              ; preds = %248
  %250 = invoke noundef zeroext i1 @_ZNK4YAML4Node2asIbEET_v(ptr noundef nonnull align 8 dereferenceable(64) %35)
          to label %251 unwind label %284

251:                                              ; preds = %249
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %35) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %35) #10
  br i1 %250, label %252, label %333

252:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %37) #10
  invoke void @_ZNK4YAML4NodeixIA5_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %37, ptr noundef nonnull align 8 dereferenceable(64) %34, ptr noundef nonnull align 1 dereferenceable(5) @.str.62)
          to label %253 unwind label %287

253:                                              ; preds = %252
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %36, ptr noundef nonnull align 8 dereferenceable(64) %37)
          to label %254 unwind label %289

254:                                              ; preds = %253
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %37) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %37) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #10
  invoke void @_ZSt11make_uniqueIN8transoms12SpecialEventEJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr") align 8 %38, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %255 unwind label %292

255:                                              ; preds = %254
  %256 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %38) #10
  call void @_ZNSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %39) #10
  invoke void @_ZNK4YAML4NodeixIA14_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %39, ptr noundef nonnull align 8 dereferenceable(64) %34, ptr noundef nonnull align 1 dereferenceable(14) @.str.74)
          to label %257 unwind label %294

257:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %40) #10
  invoke void @_ZNK4YAML4Node5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.YAML::detail::iterator_base") align 8 %40, ptr noundef nonnull align 8 dereferenceable(64) %39)
          to label %258 unwind label %296

258:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %41) #10
  invoke void @_ZNK4YAML4Node3endEv(ptr dead_on_unwind nonnull writable sret(%"class.YAML::detail::iterator_base") align 8 %41, ptr noundef nonnull align 8 dereferenceable(64) %39)
          to label %.preheader unwind label %298

.preheader:                                       ; preds = %258, %310
  %259 = invoke noundef zeroext i1 @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEneIS3_EEbRKNS1_IT_EE(ptr noundef nonnull align 8 dereferenceable(48) %40, ptr noundef nonnull align 8 dereferenceable(48) %41)
          to label %260 unwind label %300

260:                                              ; preds = %.preheader
  br i1 %259, label %302, label %261

261:                                              ; preds = %260
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %41) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %40) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %39) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %39) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #10
  br label %333

262:                                              ; preds = %240
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  %265 = extractvalue { ptr, i32 } %263, 1
  br label %375

266:                                              ; preds = %241
  %267 = landingpad { ptr, i32 }
          cleanup
  br label %270

268:                                              ; preds = %242
  %269 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %30) #10
  br label %270

270:                                              ; preds = %268, %266
  %.pn179 = phi { ptr, i32 } [ %269, %268 ], [ %267, %266 ]
  %.21 = extractvalue { ptr, i32 } %.pn179, 0
  %.2196 = extractvalue { ptr, i32 } %.pn179, 1
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %30) #10
  br label %374

271:                                              ; preds = %243
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %275

273:                                              ; preds = %244
  %274 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %32) #10
  br label %275

275:                                              ; preds = %273, %271
  %.pn181 = phi { ptr, i32 } [ %274, %273 ], [ %272, %271 ]
  %.22 = extractvalue { ptr, i32 } %.pn181, 0
  %.2297 = extractvalue { ptr, i32 } %.pn181, 1
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #10
  br label %373

276:                                              ; preds = %245
  %277 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %278 = extractvalue { ptr, i32 } %277, 0
  %279 = extractvalue { ptr, i32 } %277, 1
  br label %357

280:                                              ; preds = %247
  %281 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %335

282:                                              ; preds = %248
  %283 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %286

284:                                              ; preds = %249
  %285 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %35) #10
  br label %286

286:                                              ; preds = %284, %282
  %.pn183 = phi { ptr, i32 } [ %285, %284 ], [ %283, %282 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %35) #10
  br label %334

287:                                              ; preds = %252
  %288 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %291

289:                                              ; preds = %253
  %290 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %37) #10
  br label %291

291:                                              ; preds = %289, %287
  %.pn185 = phi { ptr, i32 } [ %290, %289 ], [ %288, %287 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %37) #10
  br label %332

292:                                              ; preds = %254
  %293 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #10
  br label %331

294:                                              ; preds = %255
  %295 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %331

296:                                              ; preds = %257
  %297 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %330

298:                                              ; preds = %258
  %299 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %329

300:                                              ; preds = %310, %.preheader
  %301 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %328

302:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %42) #10
  invoke void @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEdeEv(ptr dead_on_unwind nonnull writable sret(%"struct.YAML::detail::iterator_value") align 8 %42, ptr noundef nonnull align 8 dereferenceable(48) %40)
          to label %303 unwind label %312

303:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %44) #10
  invoke void @_ZNK4YAML4NodeixIA8_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %44, ptr noundef nonnull align 8 dereferenceable(64) %42, ptr noundef nonnull align 1 dereferenceable(8) @.str.51)
          to label %304 unwind label %314

304:                                              ; preds = %303
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %43, ptr noundef nonnull align 8 dereferenceable(64) %44)
          to label %305 unwind label %316

305:                                              ; preds = %304
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %44) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %44) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %45) #10
  invoke void @_ZNK4YAML4NodeixIA15_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %45, ptr noundef nonnull align 8 dereferenceable(64) %42, ptr noundef nonnull align 1 dereferenceable(15) @.str.75)
          to label %306 unwind label %319

306:                                              ; preds = %305
  %307 = invoke noundef double @_ZNK4YAML4Node2asIdEET_v(ptr noundef nonnull align 8 dereferenceable(64) %45)
          to label %308 unwind label %321

308:                                              ; preds = %306
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %45) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %45) #10
  %309 = call noundef ptr @_ZNKSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #10
  invoke void @_ZN8transoms12SpecialEvent17add_affected_linkERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd(ptr noundef nonnull align 8 dereferenceable(88) %309, ptr noundef nonnull align 8 dereferenceable(32) %43, double noundef %307)
          to label %310 unwind label %324

310:                                              ; preds = %308
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %42) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %42) #10
  %311 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEEppEv(ptr noundef nonnull align 8 dereferenceable(48) %40)
          to label %.preheader unwind label %300

312:                                              ; preds = %302
  %313 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %328

314:                                              ; preds = %303
  %315 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %318

316:                                              ; preds = %304
  %317 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %44) #10
  br label %318

318:                                              ; preds = %316, %314
  %.pn187 = phi { ptr, i32 } [ %317, %316 ], [ %315, %314 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %44) #10
  br label %327

319:                                              ; preds = %305
  %320 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %323

321:                                              ; preds = %306
  %322 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %45) #10
  br label %323

323:                                              ; preds = %321, %319
  %.pn189 = phi { ptr, i32 } [ %322, %321 ], [ %320, %319 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %45) #10
  br label %326

324:                                              ; preds = %308
  %325 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %326

326:                                              ; preds = %324, %323
  %.pn191 = phi { ptr, i32 } [ %325, %324 ], [ %.pn189, %323 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #10
  br label %327

327:                                              ; preds = %326, %318
  %.pn191.pn = phi { ptr, i32 } [ %.pn191, %326 ], [ %.pn187, %318 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %42) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %42) #10
  br label %328

328:                                              ; preds = %312, %327, %300
  %.pn195 = phi { ptr, i32 } [ %301, %300 ], [ %.pn191.pn, %327 ], [ %313, %312 ]
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %41) #10
  br label %329

329:                                              ; preds = %328, %298
  %.pn195.pn = phi { ptr, i32 } [ %.pn195, %328 ], [ %299, %298 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %41) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #10
  br label %330

330:                                              ; preds = %329, %296
  %.pn195.pn.pn = phi { ptr, i32 } [ %.pn195.pn, %329 ], [ %297, %296 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %40) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %39) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %39) #10
  br label %331

331:                                              ; preds = %294, %330, %292
  %.pn195.pn.pn.pn.pn = phi { ptr, i32 } [ %293, %292 ], [ %.pn195.pn.pn, %330 ], [ %295, %294 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #10
  br label %332

332:                                              ; preds = %331, %291
  %.pn195.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn195.pn.pn.pn.pn, %331 ], [ %.pn185, %291 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #10
  br label %334

333:                                              ; preds = %261, %251
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %34) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %34) #10
  br label %340

334:                                              ; preds = %332, %286
  %.pn195.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn195.pn.pn.pn.pn.pn, %332 ], [ %.pn183, %286 ]
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %34) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %34) #10
  br label %335

335:                                              ; preds = %334, %280
  %.pn195.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn195.pn.pn.pn.pn.pn.pn, %334 ], [ %281, %280 ]
  %.37 = extractvalue { ptr, i32 } %.pn195.pn.pn.pn.pn.pn.pn.pn, 0
  %.37112 = extractvalue { ptr, i32 } %.pn195.pn.pn.pn.pn.pn.pn.pn, 1
  %336 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #10
  %337 = icmp eq i32 %.37112, %336
  br i1 %337, label %338, label %356

338:                                              ; preds = %335
  %339 = call ptr @__cxa_begin_catch(ptr %.37) #10
  invoke void @__cxa_end_catch()
          to label %340 unwind label %347

340:                                              ; preds = %338, %333
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %46) #10
  %341 = invoke noalias noundef nonnull dereferenceable(112) ptr @_Znwm(i64 noundef 112) #11
          to label %342 unwind label %351

342:                                              ; preds = %340
  %343 = add i16 %.1148, 1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %47) #10
  %344 = add i16 %.0154, 1
  call void @_ZN8transoms6DemandC2EtRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKNS_9AgentTypeE(ptr noundef nonnull align 8 dereferenceable(48) %47, i16 noundef zeroext %.0154, ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef %246)
  invoke void @_ZN8transoms12DemandPeriodC2EtRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ONS_6DemandERSt10unique_ptrINS_12SpecialEventESt14default_deleteISB_EE(ptr noundef nonnull align 8 dereferenceable(112) %341, i16 noundef zeroext %.1148, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(48) %47, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %345 unwind label %353

345:                                              ; preds = %342
  call void @_ZN8transoms6DemandD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %47) #10
  store ptr %341, ptr %46, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKN8transoms12DemandPeriodESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %177, ptr noundef nonnull align 8 dereferenceable(8) %46)
          to label %346 unwind label %351

346:                                              ; preds = %345
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #10
  call void @_ZNSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #10
  br label %371

347:                                              ; preds = %338
  %348 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %349 = extractvalue { ptr, i32 } %348, 0
  %350 = extractvalue { ptr, i32 } %348, 1
  br label %356

351:                                              ; preds = %345, %340
  %.1155 = phi i16 [ %344, %345 ], [ %.0154, %340 ]
  %.2149 = phi i16 [ %343, %345 ], [ %.1148, %340 ]
  %352 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %355

353:                                              ; preds = %342
  %354 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN8transoms6DemandD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %47) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %47) #10
  call void @_ZdlPvm(ptr noundef nonnull %341, i64 noundef 112) #12
  br label %355

355:                                              ; preds = %353, %351
  %.2156 = phi i16 [ %.1155, %351 ], [ %344, %353 ]
  %.3150 = phi i16 [ %.2149, %351 ], [ %343, %353 ]
  %.pn204 = phi { ptr, i32 } [ %352, %351 ], [ %354, %353 ]
  %.38 = extractvalue { ptr, i32 } %.pn204, 0
  %.38113 = extractvalue { ptr, i32 } %.pn204, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #10
  br label %356

356:                                              ; preds = %355, %347, %335
  %.3157 = phi i16 [ %.2156, %355 ], [ %.0154, %347 ], [ %.0154, %335 ]
  %.4151 = phi i16 [ %.3150, %355 ], [ %.1148, %347 ], [ %.1148, %335 ]
  %.39114 = phi i32 [ %.38113, %355 ], [ %350, %347 ], [ %.37112, %335 ]
  %.39 = phi ptr [ %.38, %355 ], [ %349, %347 ], [ %.37, %335 ]
  call void @_ZNSt10unique_ptrIN8transoms12SpecialEventESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #10
  br label %357

357:                                              ; preds = %356, %276
  %.4158 = phi i16 [ %.3157, %356 ], [ %.0154, %276 ]
  %.5152 = phi i16 [ %.4151, %356 ], [ %.1148, %276 ]
  %.40115 = phi i32 [ %.39114, %356 ], [ %279, %276 ]
  %.40 = phi ptr [ %.39, %356 ], [ %278, %276 ]
  %358 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #10
  %359 = icmp eq i32 %.40115, %358
  br i1 %359, label %360, label %.loopexit

360:                                              ; preds = %357
  %361 = call ptr @__cxa_begin_catch(ptr %.40) #10
  %362 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %363 unwind label %366

363:                                              ; preds = %360
  %364 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %362, ptr noundef nonnull @.str.76)
          to label %365 unwind label %366

365:                                              ; preds = %363
  invoke void @__cxa_end_catch()
          to label %371 unwind label %368

366:                                              ; preds = %363, %360
  %367 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %370 unwind label %463

368:                                              ; preds = %365
  %369 = landingpad { ptr, i32 }
          cleanup
  br label %370

370:                                              ; preds = %366, %368
  %.pn206 = phi { ptr, i32 } [ %369, %368 ], [ %367, %366 ]
  %.41 = extractvalue { ptr, i32 } %.pn206, 0
  %.41116 = extractvalue { ptr, i32 } %.pn206, 1
  br label %.loopexit

371:                                              ; preds = %365, %346
  %.5159 = phi i16 [ %344, %346 ], [ %.4158, %365 ]
  %.6153 = phi i16 [ %343, %346 ], [ %.5152, %365 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %28) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %28) #10
  %372 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEEppEv(ptr noundef nonnull align 8 dereferenceable(48) %26)
          to label %.preheader234 unwind label %236

.loopexit:                                        ; preds = %357, %370
  %.42117 = phi i32 [ %.41116, %370 ], [ %.40115, %357 ]
  %.42 = phi ptr [ %.41, %370 ], [ %.40, %357 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #10
  br label %373

373:                                              ; preds = %.loopexit, %275
  %.43118 = phi i32 [ %.42117, %.loopexit ], [ %.2297, %275 ]
  %.43 = phi ptr [ %.42, %.loopexit ], [ %.22, %275 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #10
  br label %374

374:                                              ; preds = %373, %270
  %.44119 = phi i32 [ %.43118, %373 ], [ %.2196, %270 ]
  %.44 = phi ptr [ %.43, %373 ], [ %.21, %270 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %28) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %28) #10
  br label %375

375:                                              ; preds = %262, %374, %236
  %.46121 = phi i32 [ %239, %236 ], [ %.44119, %374 ], [ %265, %262 ]
  %.46 = phi ptr [ %238, %236 ], [ %.44, %374 ], [ %264, %262 ]
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #10
  br label %376

376:                                              ; preds = %375, %232
  %.47122 = phi i32 [ %.46121, %375 ], [ %235, %232 ]
  %.47 = phi ptr [ %.46, %375 ], [ %234, %232 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #10
  br label %377

377:                                              ; preds = %376, %228
  %.48123 = phi i32 [ %.47122, %376 ], [ %231, %228 ]
  %.48 = phi ptr [ %.47, %376 ], [ %230, %228 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %26) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #10
  br label %378

378:                                              ; preds = %377, %224
  %.49124 = phi i32 [ %.48123, %377 ], [ %227, %224 ]
  %.49 = phi ptr [ %.48, %377 ], [ %226, %224 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  br label %379

379:                                              ; preds = %378, %223
  %.50125 = phi i32 [ %.49124, %378 ], [ %.2095, %223 ]
  %.50 = phi ptr [ %.49, %378 ], [ %.20, %223 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  br label %380

380:                                              ; preds = %379, %218
  %.51126 = phi i32 [ %.50125, %379 ], [ %.1994, %218 ]
  %.51 = phi ptr [ %.50, %379 ], [ %.19, %218 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #10
  call void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192) %20) #10
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %20) #10
  br label %381

381:                                              ; preds = %210, %380, %194
  %.53128 = phi i32 [ %197, %194 ], [ %.51126, %380 ], [ %213, %210 ]
  %.53 = phi ptr [ %196, %194 ], [ %.51, %380 ], [ %212, %210 ]
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #10
  br label %382

382:                                              ; preds = %381, %190
  %.54129 = phi i32 [ %.53128, %381 ], [ %193, %190 ]
  %.54 = phi ptr [ %.53, %381 ], [ %192, %190 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #10
  call void @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #10
  br label %383

383:                                              ; preds = %382, %186
  %.55130 = phi i32 [ %.54129, %382 ], [ %189, %186 ]
  %.55 = phi ptr [ %.54, %382 ], [ %188, %186 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #10
  br label %458

384:                                              ; preds = %181
  %385 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt13runtime_error
  %386 = extractvalue { ptr, i32 } %385, 0
  %387 = extractvalue { ptr, i32 } %385, 1
  %388 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt13runtime_error) #10
  %389 = icmp eq i32 %387, %388
  br i1 %389, label %390, label %458

390:                                              ; preds = %384
  %391 = call ptr @__cxa_begin_catch(ptr %386) #10
  %392 = load ptr, ptr %391, align 8, !tbaa !9
  %393 = getelementptr inbounds i8, ptr %392, i64 16
  %394 = load ptr, ptr %393, align 8
  %395 = call noundef ptr %394(ptr noundef nonnull align 8 dereferenceable(16) %391) #10
  %396 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %395)
          to label %397 unwind label %411

397:                                              ; preds = %390
  %398 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %396, i8 noundef signext 10)
          to label %399 unwind label %411

399:                                              ; preds = %397
  invoke void @__cxa_end_catch()
          to label %400 unwind label %413

400:                                              ; preds = %399, %181
  %401 = call noundef zeroext i1 @_ZNKSt6vectorIPKN8transoms12DemandPeriodESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %177) #10
  br i1 %401, label %402, label %423

402:                                              ; preds = %400
  %403 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPKN8transoms9AgentTypeESaIS3_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #10
  %404 = load ptr, ptr %403, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #10
  %405 = invoke noalias noundef nonnull dereferenceable(112) ptr @_Znwm(i64 noundef 112) #11
          to label %406 unwind label %416

406:                                              ; preds = %402
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %49) #10
  invoke void @_ZN8transoms6DemandC2EPKNS_9AgentTypeE(ptr noundef nonnull align 8 dereferenceable(48) %49, ptr noundef %404)
          to label %407 unwind label %.thread

407:                                              ; preds = %406
  invoke void @_ZN8transoms12DemandPeriodC2EONS_6DemandE(ptr noundef nonnull align 8 dereferenceable(112) %405, ptr noundef nonnull align 8 dereferenceable(48) %49)
          to label %409 unwind label %.thread232

.thread232:                                       ; preds = %407
  %408 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8transoms6DemandD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %49) #10
  br label %421

409:                                              ; preds = %407
  store ptr %405, ptr %48, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPKN8transoms12DemandPeriodESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %177, ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %410 unwind label %419

410:                                              ; preds = %409
  call void @_ZN8transoms6DemandD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %49) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #10
  br label %423

411:                                              ; preds = %397, %390
  %412 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %415 unwind label %463

413:                                              ; preds = %399
  %414 = landingpad { ptr, i32 }
          cleanup
  br label %415

415:                                              ; preds = %411, %413
  %.pn162 = phi { ptr, i32 } [ %414, %413 ], [ %412, %411 ]
  %.56 = extractvalue { ptr, i32 } %.pn162, 0
  %.56131 = extractvalue { ptr, i32 } %.pn162, 1
  br label %458

416:                                              ; preds = %402
  %417 = landingpad { ptr, i32 }
          cleanup
  br label %422

.thread:                                          ; preds = %406
  %418 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %49) #10
  br label %421

419:                                              ; preds = %409
  %420 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8transoms6DemandD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %49) #10
  br label %422

421:                                              ; preds = %.thread232, %.thread
  %.pn164231 = phi { ptr, i32 } [ %418, %.thread ], [ %408, %.thread232 ]
  call void @_ZdlPvm(ptr noundef nonnull %405, i64 noundef 112) #12
  br label %422

422:                                              ; preds = %419, %421, %416
  %.pn164.pn = phi { ptr, i32 } [ %.pn164231, %421 ], [ %420, %419 ], [ %417, %416 ]
  %.58 = extractvalue { ptr, i32 } %.pn164.pn, 0
  %.58133 = extractvalue { ptr, i32 } %.pn164.pn, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #10
  br label %458

423:                                              ; preds = %410, %400
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %50) #10
  invoke void @_ZN4YAML4NodeixIA11_cEES0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %50, ptr noundef nonnull align 8 dereferenceable(64) %3, ptr noundef nonnull align 1 dereferenceable(11) @.str.77)
          to label %424 unwind label %432

424:                                              ; preds = %423
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %51) #10
  invoke void @_ZNK4YAML4NodeixIA11_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %51, ptr noundef nonnull align 8 dereferenceable(64) %50, ptr noundef nonnull align 1 dereferenceable(11) @.str.78)
          to label %425 unwind label %434

425:                                              ; preds = %424
  %426 = invoke noundef zeroext i16 @_ZNK4YAML4Node2asItEET_v(ptr noundef nonnull align 8 dereferenceable(64) %51)
          to label %427 unwind label %436

427:                                              ; preds = %425
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %51) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %51) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %52) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %53) #10
  invoke void @_ZNK4YAML4NodeixIA19_cEEKS0_RKT_(ptr dead_on_unwind nonnull writable sret(%"class.YAML::Node") align 8 %53, ptr noundef nonnull align 8 dereferenceable(64) %50, ptr noundef nonnull align 1 dereferenceable(19) @.str.79)
          to label %428 unwind label %439

428:                                              ; preds = %427
  invoke void @_ZNK4YAML4Node2asINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_v(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %52, ptr noundef nonnull align 8 dereferenceable(64) %53)
          to label %429 unwind label %441

429:                                              ; preds = %428
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %53) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %53) #10
  invoke void @_ZN8transoms13NetworkHandle8to_lowerERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %52)
          to label %430 unwind label %444

430:                                              ; preds = %429
  invoke void @_ZN8transoms13NetworkHandle26update_simulation_settingsEtRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512) %0, i16 noundef zeroext %426, ptr noundef nonnull align 8 dereferenceable(32) %52)
          to label %431 unwind label %444

431:                                              ; preds = %430
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %50) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %50) #10
  br label %453

432:                                              ; preds = %423
  %433 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %448

434:                                              ; preds = %424
  %435 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %438

436:                                              ; preds = %425
  %437 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %51) #10
  br label %438

438:                                              ; preds = %436, %434
  %.pn167 = phi { ptr, i32 } [ %437, %436 ], [ %435, %434 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %51) #10
  br label %447

439:                                              ; preds = %427
  %440 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %443

441:                                              ; preds = %428
  %442 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %53) #10
  br label %443

443:                                              ; preds = %441, %439
  %.pn169 = phi { ptr, i32 } [ %442, %441 ], [ %440, %439 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %53) #10
  br label %446

444:                                              ; preds = %430, %429
  %445 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #10
  br label %446

446:                                              ; preds = %444, %443
  %.pn171 = phi { ptr, i32 } [ %445, %444 ], [ %.pn169, %443 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #10
  br label %447

447:                                              ; preds = %446, %438
  %.pn171.pn = phi { ptr, i32 } [ %.pn171, %446 ], [ %.pn167, %438 ]
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %50) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %50) #10
  br label %448

448:                                              ; preds = %447, %432
  %.pn171.pn.pn = phi { ptr, i32 } [ %.pn171.pn, %447 ], [ %433, %432 ]
  %.63 = extractvalue { ptr, i32 } %.pn171.pn.pn, 0
  %.63138 = extractvalue { ptr, i32 } %.pn171.pn.pn, 1
  %449 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #10
  %450 = icmp eq i32 %.63138, %449
  br i1 %450, label %451, label %458

451:                                              ; preds = %448
  %452 = call ptr @__cxa_begin_catch(ptr %.63) #10
  invoke void @__cxa_end_catch()
          to label %453 unwind label %454

453:                                              ; preds = %451, %431
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #10
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %3) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #10
  ret void

454:                                              ; preds = %451
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  %457 = extractvalue { ptr, i32 } %455, 1
  br label %458

458:                                              ; preds = %454, %448, %422, %415, %384, %383
  %.64139 = phi i32 [ %.55130, %383 ], [ %457, %454 ], [ %.63138, %448 ], [ %.58133, %422 ], [ %.56131, %415 ], [ %387, %384 ]
  %.64 = phi ptr [ %.55, %383 ], [ %456, %454 ], [ %.63, %448 ], [ %.58, %422 ], [ %.56, %415 ], [ %386, %384 ]
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #10
  br label %459

459:                                              ; preds = %182, %458, %173, %163
  %.66141 = phi i32 [ %.1792, %163 ], [ %.1893, %173 ], [ %.64139, %458 ], [ %185, %182 ]
  %.66 = phi ptr [ %.17, %163 ], [ %.18, %173 ], [ %.64, %458 ], [ %184, %182 ]
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %4) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #10
  br label %460

460:                                              ; preds = %459, %62
  %.67142 = phi i32 [ %.66141, %459 ], [ %65, %62 ]
  %.67 = phi ptr [ %.66, %459 ], [ %64, %62 ]
  call void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %3) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #10
  %461 = insertvalue { ptr, i32 } poison, ptr %.67, 0
  %462 = insertvalue { ptr, i32 } %461, i32 %.67142, 1
  resume { ptr, i32 } %462

463:                                              ; preds = %411, %366
  %464 = landingpad { ptr, i32 }
          catch ptr null
  %465 = extractvalue { ptr, i32 } %464, 0
  call void @__clang_call_terminate(ptr %465) #13
  unreachable
}

declare void @_ZN4YAML8LoadFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4YAML4NodeixIA11_cEES0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(11)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4Node5beginEv(ptr dead_on_unwind noalias writable sret(%"class.YAML::detail::iterator_base") align 8, ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4Node3endEv(ptr dead_on_unwind noalias writable sret(%"class.YAML::detail::iterator_base") align 8, ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4YAML6detail13iterator_baseIKNS0_14iterator_valueEEdeEv(ptr dead_on_unwind noalias writable sret(%"struct.YAML::detail::iterator_value") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA5_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(5)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4YAML4NodeD2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8transoms13NetworkHandle19contains_agent_nameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(512), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA10_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(10)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i16 @_ZNK4YAML4Node2asItEET_v(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA4_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK4YAML4Node2asIdEET_v(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA11_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(11)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA13_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(13)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4YAML4Node2asIbEET_v(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8transoms9AgentTypeC2EtRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtdddb(ptr noundef nonnull align 8 dereferenceable(73), i16 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext, double noundef, double noundef, double noundef, i1 noundef zeroext) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4YAML6detail14iterator_valueD2Ev(ptr noundef nonnull align 8 dereferenceable(192)) unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZN4YAML6detail13iterator_baseIKNS0_14iterator_valueEEppEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4YAML4NodeixIA14_cEES0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(14)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA7_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(7)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA12_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(12)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA14_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(14)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueIN8transoms12SpecialEventEJRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA8_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA15_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(15)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms12SpecialEvent17add_affected_linkERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(32), double noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8transoms12DemandPeriodC2EtRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ONS_6DemandERSt10unique_ptrINS_12SpecialEventESt14default_deleteISB_EE(ptr noundef nonnull align 8 dereferenceable(112), i16 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4YAML4NodeixIA19_cEEKS0_RKT_(ptr dead_on_unwind noalias writable sret(%"class.YAML::Node") align 8, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(19)) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { nobuiltin allocsize(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 = { 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 #5 = { nobuiltin 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 #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 = { "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 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }
attributes #13 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}


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