; LLVM IR from vldtecno/PTN-Engine :: Tests/BlackBoxTests/Mocks/Simple (SimplePetriNet)

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

%"struct.ptne::PlaceProperties" = type <{ %"class.std::__cxx11::basic_string", i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::function", %"class.std::function", i8, [7 x i8] }>
%"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::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::allocator" = type { i8 }
%"class.std::_Bind" = type { { i64, i64 }, %"class.std::tuple.2" }
%"class.std::tuple.2" = type { %"struct.std::_Tuple_impl.3" }
%"struct.std::_Tuple_impl.3" = type { %"struct.std::_Head_base.4" }
%"struct.std::_Head_base.4" = type { ptr }
%"struct.ptne::TransitionProperties" = type <{ %"class.std::__cxx11::basic_string", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.11", %"class.std::vector.16", i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ptne::ArcProperties, std::allocator<ptne::ArcProperties>>::_Vector_impl" }
%"struct.std::_Vector_base<ptne::ArcProperties, std::allocator<ptne::ArcProperties>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptne::ArcProperties, std::allocator<ptne::ArcProperties>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptne::ArcProperties, std::allocator<ptne::ArcProperties>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = 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::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<std::function<bool ()>, std::allocator<std::function<bool ()>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::function<bool ()>, std::allocator<std::function<bool ()>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::function<bool ()>, std::allocator<std::function<bool ()>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::function<bool ()>, std::allocator<std::function<bool ()>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"struct.ptne::ArcProperties" = type <{ i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::allocator.8" = type { i8 }

@_ZTV14SimplePetriNet = external dso_local unnamed_addr constant { [4 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14SimplePetriNetC2ER16SimpleController(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(64) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.ptne::PlaceProperties", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::_Bind", align 8
  %10 = alloca { i64, i64 }, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i1, align 1
  %13 = alloca i1, align 1
  %14 = alloca i1, align 1
  %15 = alloca %"struct.ptne::PlaceProperties", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"struct.ptne::TransitionProperties", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::initializer_list", align 8
  %20 = alloca [1 x %"struct.ptne::ArcProperties"], align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca i1, align 1
  %24 = alloca %"class.std::allocator.8", align 1
  %25 = alloca %"class.std::initializer_list", align 8
  %26 = alloca [1 x %"struct.ptne::ArcProperties"], align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca i1, align 1
  %30 = alloca %"class.std::allocator.8", align 1
  %31 = alloca i1, align 1
  %32 = alloca i1, align 1
  %33 = alloca %"struct.ptne::TransitionProperties", align 8
  %34 = alloca %"class.std::allocator", align 1
  %35 = alloca %"class.std::initializer_list", align 8
  %36 = alloca [1 x %"struct.ptne::ArcProperties"], align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"class.std::allocator", align 1
  %39 = alloca i1, align 1
  %40 = alloca %"class.std::allocator.8", align 1
  %41 = alloca i1, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %42 = load ptr, ptr %3, align 8
  call void @_ZN4ptne10PTN_EngineC2ENS0_21ACTIONS_THREAD_OPTIONE(ptr noundef nonnull align 8 dereferenceable(16) %42, i32 noundef 1)
  store ptr getelementptr inbounds inrange(-16, 16) ({ [4 x ptr] }, ptr @_ZTV14SimplePetriNet, i32 0, i32 0, i32 2), ptr %42, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 176, ptr %5) #8
  %43 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %5, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %44 unwind label %139

44:                                               ; preds = %2
  store i1 true, ptr %14, align 1
  %45 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %5, i32 0, i32 1
  store i64 0, ptr %45, align 8, !tbaa !11
  %46 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %5, i32 0, i32 2
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #8
  store i1 true, ptr %13, align 1
  %47 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %5, i32 0, i32 3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  store i1 true, ptr %12, align 1
  %48 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %5, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  store { i64, i64 } { i64 ptrtoint (ptr @_ZN16SimpleController15collectThreadIdEv to i64), i64 0 }, ptr %10, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %49, ptr %11, align 8, !tbaa !5
  invoke void @_ZSt4bindIM16SimpleControllerFvvEJPS0_EENSt12_Bind_helperIXsr15__is_socketlikeIT_EE5valueES5_JDpT0_EE4typeEOS5_DpOS6_(ptr dead_on_unwind writable sret(%"class.std::_Bind") align 8 %9, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %50 unwind label %143

50:                                               ; preds = %44
  invoke void @_ZNSt8functionIFvvEEC2ISt5_BindIFM16SimpleControllerFvvEPS4_EEvEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %51 unwind label %143

51:                                               ; preds = %50
  %52 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %5, i32 0, i32 5
  call void @_ZNSt8functionIFvvEEC2EDn(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr null) #8
  %53 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %5, i32 0, i32 6
  store i8 1, ptr %53, align 8, !tbaa !20
  store i1 false, ptr %12, align 1
  store i1 false, ptr %13, align 1
  store i1 false, ptr %14, align 1
  invoke void @_ZN4ptne10PTN_Engine11createPlaceERKNS_15PlacePropertiesE(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(176) %5)
          to label %54 unwind label %147

54:                                               ; preds = %51
  call void @_ZN4ptne15PlacePropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 176, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 176, ptr %15) #8
  %55 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %15, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %56 unwind label %162

56:                                               ; preds = %54
  %57 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %15, i32 0, i32 1
  store i64 0, ptr %57, align 8, !tbaa !11
  %58 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %15, i32 0, i32 2
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  %59 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %15, i32 0, i32 3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  %60 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %15, i32 0, i32 4
  call void @_ZNSt8functionIFvvEEC2EDn(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr null) #8
  %61 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %15, i32 0, i32 5
  call void @_ZNSt8functionIFvvEEC2EDn(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr null) #8
  %62 = getelementptr inbounds %"struct.ptne::PlaceProperties", ptr %15, i32 0, i32 6
  store i8 0, ptr %62, align 8, !tbaa !20
  invoke void @_ZN4ptne10PTN_Engine11createPlaceERKNS_15PlacePropertiesE(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(176) %15)
          to label %63 unwind label %166

63:                                               ; preds = %56
  call void @_ZN4ptne15PlacePropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %15) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 176, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 160, ptr %17) #8
  %64 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %17, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %65 unwind label %171

65:                                               ; preds = %63
  store i1 true, ptr %32, align 1
  %66 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %17, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 80, ptr %20) #8
  store i1 true, ptr %23, align 1
  store ptr %20, ptr %21, align 8
  %67 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %20, i32 0, i32 0
  store i64 1, ptr %67, align 8, !tbaa !21
  %68 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %20, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %69 unwind label %175

69:                                               ; preds = %65
  %70 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %20, i32 0, i32 2
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #8
  %71 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %20, i32 0, i32 3
  store i32 0, ptr %71, align 8, !tbaa !24
  store i1 false, ptr %23, align 1
  %72 = getelementptr inbounds %"class.std::initializer_list", ptr %19, i32 0, i32 0
  store ptr %20, ptr %72, align 8, !tbaa !25
  %73 = getelementptr inbounds %"class.std::initializer_list", ptr %19, i32 0, i32 1
  store i64 1, ptr %73, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  call void @_ZNSaIN4ptne13ArcPropertiesEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  %74 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %75 = load ptr, ptr %74, align 8
  %76 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %77 = load i64, ptr %76, align 8
  invoke void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr %75, i64 %77, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %78 unwind label %179

78:                                               ; preds = %69
  store i1 true, ptr %31, align 1
  %79 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %17, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 80, ptr %26) #8
  store i1 true, ptr %29, align 1
  store ptr %26, ptr %27, align 8
  %80 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %26, i32 0, i32 0
  store i64 1, ptr %80, align 8, !tbaa !21
  %81 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %26, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %82 unwind label %183

82:                                               ; preds = %78
  %83 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %26, i32 0, i32 2
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %83) #8
  %84 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %26, i32 0, i32 3
  store i32 0, ptr %84, align 8, !tbaa !24
  store i1 false, ptr %29, align 1
  %85 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 0
  store ptr %26, ptr %85, align 8, !tbaa !25
  %86 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 1
  store i64 1, ptr %86, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  call void @_ZNSaIN4ptne13ArcPropertiesEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  %87 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8
  %89 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %90 = load i64, ptr %89, align 8
  invoke void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %79, ptr %88, i64 %90, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %91 unwind label %187

91:                                               ; preds = %82
  %92 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %17, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %92, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %92) #8
  %93 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %17, i32 0, i32 4
  call void @llvm.memset.p0.i64(ptr align 8 %93, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %93) #8
  %94 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %17, i32 0, i32 5
  call void @llvm.memset.p0.i64(ptr align 8 %94, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorISt8functionIFbvEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %94) #8
  %95 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %17, i32 0, i32 6
  store i8 0, ptr %95, align 8, !tbaa !28
  store i1 false, ptr %31, align 1
  store i1 false, ptr %32, align 1
  invoke void @_ZN4ptne10PTN_Engine16createTransitionERKNS_20TransitionPropertiesE(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(160) %17)
          to label %96 unwind label %191

96:                                               ; preds = %91
  call void @_ZN4ptne20TransitionPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %17) #8
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  %97 = getelementptr inbounds [1 x %"struct.ptne::ArcProperties"], ptr %26, i32 0, i32 0
  %98 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %97, i64 1
  br label %99

99:                                               ; preds = %99, %96
  %100 = phi ptr [ %98, %96 ], [ %101, %99 ]
  %101 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %100, i64 -1
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %101) #8
  %102 = icmp eq ptr %101, %97
  br i1 %102, label %103, label %99

103:                                              ; preds = %99
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr %26) #8
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  %104 = getelementptr inbounds [1 x %"struct.ptne::ArcProperties"], ptr %20, i32 0, i32 0
  %105 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %104, i64 1
  br label %106

106:                                              ; preds = %106, %103
  %107 = phi ptr [ %105, %103 ], [ %108, %106 ]
  %108 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %107, i64 -1
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %108) #8
  %109 = icmp eq ptr %108, %104
  br i1 %109, label %110, label %106

110:                                              ; preds = %106
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr %20) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 160, ptr %33) #8
  %111 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %33, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %111, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %112 unwind label %240

112:                                              ; preds = %110
  store i1 true, ptr %41, align 1
  %113 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %33, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 80, ptr %36) #8
  store i1 true, ptr %39, align 1
  store ptr %36, ptr %37, align 8
  %114 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %36, i32 0, i32 0
  store i64 1, ptr %114, align 8, !tbaa !21
  %115 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %36, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %115, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %116 unwind label %244

116:                                              ; preds = %112
  %117 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %36, i32 0, i32 2
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %117) #8
  %118 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %36, i32 0, i32 3
  store i32 0, ptr %118, align 8, !tbaa !24
  store i1 false, ptr %39, align 1
  %119 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 0
  store ptr %36, ptr %119, align 8, !tbaa !25
  %120 = getelementptr inbounds %"class.std::initializer_list", ptr %35, i32 0, i32 1
  store i64 1, ptr %120, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #8
  call void @_ZNSaIN4ptne13ArcPropertiesEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  %121 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %122 = load ptr, ptr %121, align 8
  %123 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %124 = load i64, ptr %123, align 8
  invoke void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %113, ptr %122, i64 %124, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %125 unwind label %248

125:                                              ; preds = %116
  %126 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %33, i32 0, i32 2
  call void @llvm.memset.p0.i64(ptr align 8 %126, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %126) #8
  %127 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %33, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %127, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %127) #8
  %128 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %33, i32 0, i32 4
  call void @llvm.memset.p0.i64(ptr align 8 %128, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %128) #8
  %129 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %33, i32 0, i32 5
  call void @llvm.memset.p0.i64(ptr align 8 %129, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorISt8functionIFbvEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %129) #8
  %130 = getelementptr inbounds %"struct.ptne::TransitionProperties", ptr %33, i32 0, i32 6
  store i8 0, ptr %130, align 8, !tbaa !28
  store i1 false, ptr %41, align 1
  invoke void @_ZN4ptne10PTN_Engine16createTransitionERKNS_20TransitionPropertiesE(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(160) %33)
          to label %131 unwind label %252

131:                                              ; preds = %125
  call void @_ZN4ptne20TransitionPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %33) #8
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  %132 = getelementptr inbounds [1 x %"struct.ptne::ArcProperties"], ptr %36, i32 0, i32 0
  %133 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %132, i64 1
  br label %134

134:                                              ; preds = %134, %131
  %135 = phi ptr [ %133, %131 ], [ %136, %134 ]
  %136 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %135, i64 -1
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %136) #8
  %137 = icmp eq ptr %136, %132
  br i1 %137, label %138, label %134

138:                                              ; preds = %134
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr %36) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr %33) #8
  ret void

139:                                              ; preds = %2
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %7, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %8, align 4
  br label %161

143:                                              ; preds = %50, %44
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %7, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %8, align 4
  br label %151

147:                                              ; preds = %51
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %7, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %8, align 4
  call void @_ZN4ptne15PlacePropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %5) #8
  br label %151

151:                                              ; preds = %147, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  %152 = load i1, ptr %12, align 1
  br i1 %152, label %153, label %154

153:                                              ; preds = %151
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  br label %154

154:                                              ; preds = %153, %151
  %155 = load i1, ptr %13, align 1
  br i1 %155, label %156, label %157

156:                                              ; preds = %154
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #8
  br label %157

157:                                              ; preds = %156, %154
  %158 = load i1, ptr %14, align 1
  br i1 %158, label %159, label %160

159:                                              ; preds = %157
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  br label %160

160:                                              ; preds = %159, %157
  br label %161

161:                                              ; preds = %160, %139
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 176, ptr %5) #8
  br label %279

162:                                              ; preds = %54
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %7, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %8, align 4
  br label %170

166:                                              ; preds = %56
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %7, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %8, align 4
  call void @_ZN4ptne15PlacePropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %15) #8
  br label %170

170:                                              ; preds = %166, %162
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 176, ptr %15) #8
  br label %279

171:                                              ; preds = %63
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %7, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %8, align 4
  br label %239

175:                                              ; preds = %65
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %7, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %8, align 4
  br label %225

179:                                              ; preds = %69
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %7, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %8, align 4
  br label %217

183:                                              ; preds = %78
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %7, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %8, align 4
  br label %203

187:                                              ; preds = %82
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %7, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %8, align 4
  br label %195

191:                                              ; preds = %91
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %7, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %8, align 4
  call void @_ZN4ptne20TransitionPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %17) #8
  br label %195

195:                                              ; preds = %191, %187
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  %196 = getelementptr inbounds [1 x %"struct.ptne::ArcProperties"], ptr %26, i32 0, i32 0
  %197 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %196, i64 1
  br label %198

198:                                              ; preds = %198, %195
  %199 = phi ptr [ %197, %195 ], [ %200, %198 ]
  %200 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %199, i64 -1
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %200) #8
  %201 = icmp eq ptr %200, %196
  br i1 %201, label %202, label %198

202:                                              ; preds = %198
  br label %203

203:                                              ; preds = %202, %183
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  %204 = load i1, ptr %29, align 1
  br i1 %204, label %205, label %213

205:                                              ; preds = %203
  %206 = load ptr, ptr %27, align 8
  %207 = icmp eq ptr %26, %206
  br i1 %207, label %212, label %208

208:                                              ; preds = %208, %205
  %209 = phi ptr [ %206, %205 ], [ %210, %208 ]
  %210 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %209, i64 -1
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %210) #8
  %211 = icmp eq ptr %210, %26
  br i1 %211, label %212, label %208

212:                                              ; preds = %208, %205
  br label %213

213:                                              ; preds = %212, %203
  call void @llvm.lifetime.end.p0(i64 80, ptr %26) #8
  %214 = load i1, ptr %31, align 1
  br i1 %214, label %215, label %216

215:                                              ; preds = %213
  call void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %66) #8
  br label %216

216:                                              ; preds = %215, %213
  br label %217

217:                                              ; preds = %216, %179
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  %218 = getelementptr inbounds [1 x %"struct.ptne::ArcProperties"], ptr %20, i32 0, i32 0
  %219 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %218, i64 1
  br label %220

220:                                              ; preds = %220, %217
  %221 = phi ptr [ %219, %217 ], [ %222, %220 ]
  %222 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %221, i64 -1
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %222) #8
  %223 = icmp eq ptr %222, %218
  br i1 %223, label %224, label %220

224:                                              ; preds = %220
  br label %225

225:                                              ; preds = %224, %175
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  %226 = load i1, ptr %23, align 1
  br i1 %226, label %227, label %235

227:                                              ; preds = %225
  %228 = load ptr, ptr %21, align 8
  %229 = icmp eq ptr %20, %228
  br i1 %229, label %234, label %230

230:                                              ; preds = %230, %227
  %231 = phi ptr [ %228, %227 ], [ %232, %230 ]
  %232 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %231, i64 -1
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %232) #8
  %233 = icmp eq ptr %232, %20
  br i1 %233, label %234, label %230

234:                                              ; preds = %230, %227
  br label %235

235:                                              ; preds = %234, %225
  call void @llvm.lifetime.end.p0(i64 80, ptr %20) #8
  %236 = load i1, ptr %32, align 1
  br i1 %236, label %237, label %238

237:                                              ; preds = %235
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #8
  br label %238

238:                                              ; preds = %237, %235
  br label %239

239:                                              ; preds = %238, %171
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr %17) #8
  br label %279

240:                                              ; preds = %110
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %7, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %8, align 4
  br label %278

244:                                              ; preds = %112
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %7, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %8, align 4
  br label %264

248:                                              ; preds = %116
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %7, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %8, align 4
  br label %256

252:                                              ; preds = %125
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %7, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %8, align 4
  call void @_ZN4ptne20TransitionPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %33) #8
  br label %256

256:                                              ; preds = %252, %248
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  %257 = getelementptr inbounds [1 x %"struct.ptne::ArcProperties"], ptr %36, i32 0, i32 0
  %258 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %257, i64 1
  br label %259

259:                                              ; preds = %259, %256
  %260 = phi ptr [ %258, %256 ], [ %261, %259 ]
  %261 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %260, i64 -1
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %261) #8
  %262 = icmp eq ptr %261, %257
  br i1 %262, label %263, label %259

263:                                              ; preds = %259
  br label %264

264:                                              ; preds = %263, %244
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  %265 = load i1, ptr %39, align 1
  br i1 %265, label %266, label %274

266:                                              ; preds = %264
  %267 = load ptr, ptr %37, align 8
  %268 = icmp eq ptr %36, %267
  br i1 %268, label %273, label %269

269:                                              ; preds = %269, %266
  %270 = phi ptr [ %267, %266 ], [ %271, %269 ]
  %271 = getelementptr inbounds %"struct.ptne::ArcProperties", ptr %270, i64 -1
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %271) #8
  %272 = icmp eq ptr %271, %36
  br i1 %272, label %273, label %269

273:                                              ; preds = %269, %266
  br label %274

274:                                              ; preds = %273, %264
  call void @llvm.lifetime.end.p0(i64 80, ptr %36) #8
  %275 = load i1, ptr %41, align 1
  br i1 %275, label %276, label %277

276:                                              ; preds = %274
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %111) #8
  br label %277

277:                                              ; preds = %276, %274
  br label %278

278:                                              ; preds = %277, %240
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr %33) #8
  br label %279

279:                                              ; preds = %278, %239, %170, %161
  call void @_ZN4ptne10PTN_EngineD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #8
  br label %280

280:                                              ; preds = %279
  %281 = load ptr, ptr %7, align 8
  %282 = load i32, ptr %8, align 4
  %283 = insertvalue { ptr, i32 } poison, ptr %281, 0
  %284 = insertvalue { ptr, i32 } %283, i32 %282, 1
  resume { ptr, i32 } %284
}

declare void @_ZN4ptne10PTN_EngineC2ENS0_21ACTIONS_THREAD_OPTIONE(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #1

declare void @_ZN4ptne10PTN_Engine11createPlaceERKNS_15PlacePropertiesE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(176)) #1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4bindIM16SimpleControllerFvvEJPS0_EENSt12_Bind_helperIXsr15__is_socketlikeIT_EE5valueES5_JDpT0_EE4typeEOS5_DpOS6_(ptr dead_on_unwind noalias writable sret(%"class.std::_Bind") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #4

declare void @_ZN16SimpleController15collectThreadIdEv(ptr noundef nonnull align 8 dereferenceable(64)) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4ptne15PlacePropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(176)) unnamed_addr #5 align 2

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

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

declare void @_ZN4ptne10PTN_Engine16createTransitionERKNS_20TransitionPropertiesE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(160)) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4ptne20TransitionPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #5 align 2

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

; Function Attrs: nounwind
declare void @_ZN4ptne10PTN_EngineD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !15, i64 32}
!12 = !{!"_ZTSN4ptne15PlacePropertiesE", !13, i64 0, !15, i64 32, !13, i64 40, !13, i64 72, !16, i64 104, !16, i64 136, !18, i64 168}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSSt8functionIFvvEE", !17, i64 0, !6, i64 24}
!17 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!18 = !{!"bool", !7, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!12, !18, i64 168}
!21 = !{!22, !15, i64 0}
!22 = !{!"_ZTSN4ptne13ArcPropertiesE", !15, i64 0, !13, i64 8, !13, i64 40, !23, i64 72}
!23 = !{!"_ZTSN4ptne13ArcProperties4TypeE", !7, i64 0}
!24 = !{!22, !23, i64 72}
!25 = !{!26, !6, i64 0}
!26 = !{!"_ZTSSt16initializer_listIN4ptne13ArcPropertiesEE", !6, i64 0, !15, i64 8}
!27 = !{!26, !15, i64 8}
!28 = !{!29, !18, i64 152}
!29 = !{!"_ZTSN4ptne20TransitionPropertiesE", !13, i64 0, !30, i64 32, !30, i64 56, !30, i64 80, !34, i64 104, !38, i64 128, !18, i64 152}
!30 = !{!"_ZTSSt6vectorIN4ptne13ArcPropertiesESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN4ptne13ArcPropertiesESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN4ptne13ArcPropertiesESaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN4ptne13ArcPropertiesESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"_ZTSSt6vectorISt8functionIFbvEESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseISt8functionIFbvEESaIS2_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseISt8functionIFbvEESaIS2_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseISt8functionIFbvEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}


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

%"struct.ptne::PlaceProperties" = type <{ %"class.std::__cxx11::basic_string", i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::function", %"class.std::function", i8, [7 x i8] }>
%"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::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::allocator" = type { i8 }
%"class.std::_Bind" = type { { i64, i64 }, %"class.std::tuple.2" }
%"class.std::tuple.2" = type { %"struct.std::_Tuple_impl.3" }
%"struct.std::_Tuple_impl.3" = type { %"struct.std::_Head_base.4" }
%"struct.std::_Head_base.4" = type { ptr }
%"struct.ptne::TransitionProperties" = type <{ %"class.std::__cxx11::basic_string", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.11", %"class.std::vector.16", i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<ptne::ArcProperties, std::allocator<ptne::ArcProperties>>::_Vector_impl" }
%"struct.std::_Vector_base<ptne::ArcProperties, std::allocator<ptne::ArcProperties>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptne::ArcProperties, std::allocator<ptne::ArcProperties>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptne::ArcProperties, std::allocator<ptne::ArcProperties>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = 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::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<std::function<bool ()>, std::allocator<std::function<bool ()>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::function<bool ()>, std::allocator<std::function<bool ()>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::function<bool ()>, std::allocator<std::function<bool ()>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::function<bool ()>, std::allocator<std::function<bool ()>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ptne::ArcProperties" = type <{ i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.std::allocator.8" = type { i8 }

@_ZTV14SimplePetriNet = external dso_local unnamed_addr constant { [4 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14SimplePetriNetC2ER16SimpleController(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(64) %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.ptne::PlaceProperties", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.std::_Bind", align 8
  %6 = alloca { i64, i64 }, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.ptne::PlaceProperties", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %"struct.ptne::TransitionProperties", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca [1 x %"struct.ptne::ArcProperties"], align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::allocator.8", align 1
  %15 = alloca [1 x %"struct.ptne::ArcProperties"], align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.std::allocator.8", align 1
  %18 = alloca %"struct.ptne::TransitionProperties", align 8
  %19 = alloca %"class.std::allocator", align 1
  %20 = alloca [1 x %"struct.ptne::ArcProperties"], align 8
  %21 = alloca %"class.std::allocator", align 1
  %22 = alloca %"class.std::allocator.8", align 1
  tail call void @_ZN4ptne10PTN_EngineC2ENS0_21ACTIONS_THREAD_OPTIONE(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef 1)
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTV14SimplePetriNet, i64 16), ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 176, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %23 unwind label %72

23:                                               ; preds = %2
  %24 = getelementptr inbounds i8, ptr %3, i64 32
  store i64 0, ptr %24, align 8, !tbaa !8
  %25 = getelementptr inbounds i8, ptr %3, i64 40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  %26 = getelementptr inbounds i8, ptr %3, i64 72
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  store i64 ptrtoint (ptr @_ZN16SimpleController15collectThreadIdEv to i64), ptr %6, align 8, !tbaa !18
  %.fca.1.gep = getelementptr inbounds i8, ptr %6, i64 8
  store i64 0, ptr %.fca.1.gep, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  store ptr %1, ptr %7, align 8, !tbaa !19
  invoke void @_ZSt4bindIM16SimpleControllerFvvEJPS0_EENSt12_Bind_helperIXsr15__is_socketlikeIT_EE5valueES5_JDpT0_EE4typeEOS5_DpOS6_(ptr dead_on_unwind nonnull writable sret(%"class.std::_Bind") align 8 %5, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %27 unwind label %.critedge

27:                                               ; preds = %23
  %28 = getelementptr inbounds i8, ptr %3, i64 104
  invoke void @_ZNSt8functionIFvvEEC2ISt5_BindIFM16SimpleControllerFvvEPS4_EEvEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %29 unwind label %.critedge

29:                                               ; preds = %27
  %30 = getelementptr inbounds i8, ptr %3, i64 136
  call void @_ZNSt8functionIFvvEEC2EDn(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr null) #8
  %31 = getelementptr inbounds i8, ptr %3, i64 168
  store i8 1, ptr %31, align 8, !tbaa !20
  invoke void @_ZN4ptne10PTN_Engine11createPlaceERKNS_15PlacePropertiesE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(176) %3)
          to label %32 unwind label %74

32:                                               ; preds = %29
  call void @_ZN4ptne15PlacePropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 176, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %33 unwind label %77

33:                                               ; preds = %32
  %34 = getelementptr inbounds i8, ptr %8, i64 32
  store i64 0, ptr %34, align 8, !tbaa !8
  %35 = getelementptr inbounds i8, ptr %8, i64 40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  %36 = getelementptr inbounds i8, ptr %8, i64 72
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  %37 = getelementptr inbounds i8, ptr %8, i64 104
  call void @_ZNSt8functionIFvvEEC2EDn(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr null) #8
  %38 = getelementptr inbounds i8, ptr %8, i64 136
  call void @_ZNSt8functionIFvvEEC2EDn(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr null) #8
  %39 = getelementptr inbounds i8, ptr %8, i64 168
  store i8 0, ptr %39, align 8, !tbaa !20
  invoke void @_ZN4ptne10PTN_Engine11createPlaceERKNS_15PlacePropertiesE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(176) %8)
          to label %40 unwind label %79

40:                                               ; preds = %33
  call void @_ZN4ptne15PlacePropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %8) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %41 unwind label %82

41:                                               ; preds = %40
  %42 = getelementptr inbounds i8, ptr %10, i64 32
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %12) #8
  store i64 1, ptr %12, align 8, !tbaa !21
  %43 = getelementptr inbounds i8, ptr %12, i64 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %44 unwind label %.thread79

44:                                               ; preds = %41
  %45 = getelementptr inbounds i8, ptr %12, i64 40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #8
  %46 = getelementptr inbounds i8, ptr %12, i64 72
  store i32 0, ptr %46, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #8
  call void @_ZNSaIN4ptne13ArcPropertiesEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr nonnull %12, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %47 unwind label %85

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %15) #8
  store i64 1, ptr %15, align 8, !tbaa !21
  %48 = getelementptr inbounds i8, ptr %15, i64 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %49 unwind label %.thread74

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %10, i64 56
  %51 = getelementptr inbounds i8, ptr %15, i64 40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  %52 = getelementptr inbounds i8, ptr %15, i64 72
  store i32 0, ptr %52, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #8
  call void @_ZNSaIN4ptne13ArcPropertiesEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  invoke void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr nonnull %15, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %53 unwind label %88

53:                                               ; preds = %49
  %54 = getelementptr inbounds i8, ptr %10, i64 80
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %54, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  %55 = getelementptr inbounds i8, ptr %10, i64 104
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %55, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #8
  %56 = getelementptr inbounds i8, ptr %10, i64 128
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %56, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorISt8functionIFbvEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  %57 = getelementptr inbounds i8, ptr %10, i64 152
  store i8 0, ptr %57, align 8, !tbaa !25
  invoke void @_ZN4ptne10PTN_Engine16createTransitionERKNS_20TransitionPropertiesE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(160) %10)
          to label %58 unwind label %90

58:                                               ; preds = %53
  call void @_ZN4ptne20TransitionPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %10) #8
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %15) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %15) #8
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %12) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %18) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %59 unwind label %97

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %20) #8
  store i64 1, ptr %20, align 8, !tbaa !21
  %60 = getelementptr inbounds i8, ptr %20, i64 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %61 unwind label %.thread83

61:                                               ; preds = %59
  %62 = getelementptr inbounds i8, ptr %18, i64 32
  %63 = getelementptr inbounds i8, ptr %20, i64 40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #8
  %64 = getelementptr inbounds i8, ptr %20, i64 72
  store i32 0, ptr %64, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #8
  call void @_ZNSaIN4ptne13ArcPropertiesEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  invoke void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr nonnull %20, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %65 unwind label %100

65:                                               ; preds = %61
  %66 = getelementptr inbounds i8, ptr %18, i64 56
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %66, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %66) #8
  %67 = getelementptr inbounds i8, ptr %18, i64 80
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %67, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %67) #8
  %68 = getelementptr inbounds i8, ptr %18, i64 104
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %68, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #8
  %69 = getelementptr inbounds i8, ptr %18, i64 128
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %69, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorISt8functionIFbvEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  %70 = getelementptr inbounds i8, ptr %18, i64 152
  store i8 0, ptr %70, align 8, !tbaa !25
  invoke void @_ZN4ptne10PTN_Engine16createTransitionERKNS_20TransitionPropertiesE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(160) %18)
          to label %71 unwind label %102

71:                                               ; preds = %65
  call void @_ZN4ptne20TransitionPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %18) #8
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %20) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %18) #8
  ret void

72:                                               ; preds = %2
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %.critedge70

74:                                               ; preds = %29
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ptne15PlacePropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  br label %.critedge70

.critedge:                                        ; preds = %23, %27
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #8
  br label %.critedge70

.critedge70:                                      ; preds = %74, %.critedge, %72
  %.pn.pn = phi { ptr, i32 } [ %76, %.critedge ], [ %73, %72 ], [ %75, %74 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %3) #8
  br label %107

77:                                               ; preds = %32
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %81

79:                                               ; preds = %33
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ptne15PlacePropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(176) %8) #8
  br label %81

81:                                               ; preds = %79, %77
  %.pn57 = phi { ptr, i32 } [ %80, %79 ], [ %78, %77 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %8) #8
  br label %107

82:                                               ; preds = %40
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %96

.thread79:                                        ; preds = %41
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %12) #8
  br label %95

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

.thread74:                                        ; preds = %47
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %15) #8
  br label %93

88:                                               ; preds = %49
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %92

90:                                               ; preds = %53
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ptne20TransitionPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %10) #8
  br label %92

92:                                               ; preds = %90, %88
  %.042 = phi i1 [ false, %90 ], [ true, %88 ]
  %.pn59 = phi { ptr, i32 } [ %91, %90 ], [ %89, %88 ]
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %15) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %15) #8
  br i1 %.042, label %93, label %94

93:                                               ; preds = %.thread74, %92
  %.pn59.pn78 = phi { ptr, i32 } [ %87, %.thread74 ], [ %.pn59, %92 ]
  call void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #8
  br label %94

94:                                               ; preds = %92, %93, %85
  %.244 = phi i1 [ true, %93 ], [ false, %92 ], [ true, %85 ]
  %.pn59.pn.pn = phi { ptr, i32 } [ %.pn59.pn78, %93 ], [ %.pn59, %92 ], [ %86, %85 ]
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %12) #8
  br i1 %.244, label %95, label %96

95:                                               ; preds = %.thread79, %94
  %.pn59.pn.pn.pn82 = phi { ptr, i32 } [ %84, %.thread79 ], [ %.pn59.pn.pn, %94 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %96

96:                                               ; preds = %94, %95, %82
  %.pn59.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn59.pn.pn.pn82, %95 ], [ %.pn59.pn.pn, %94 ], [ %83, %82 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %10) #8
  br label %107

97:                                               ; preds = %58
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %106

.thread83:                                        ; preds = %59
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #8
  br label %105

100:                                              ; preds = %61
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %104

102:                                              ; preds = %65
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4ptne20TransitionPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %18) #8
  br label %104

104:                                              ; preds = %102, %100
  %.pn65 = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ]
  %.0 = phi i1 [ false, %102 ], [ true, %100 ]
  call void @_ZNSt15__new_allocatorIN4ptne13ArcPropertiesEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  call void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %20) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %20) #8
  br i1 %.0, label %105, label %106

105:                                              ; preds = %.thread83, %104
  %.pn65.pn86 = phi { ptr, i32 } [ %99, %.thread83 ], [ %.pn65, %104 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %106

106:                                              ; preds = %104, %105, %97
  %.pn65.pn.pn = phi { ptr, i32 } [ %.pn65.pn86, %105 ], [ %.pn65, %104 ], [ %98, %97 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %18) #8
  br label %107

107:                                              ; preds = %106, %96, %81, %.critedge70
  %.pn65.pn.pn.pn = phi { ptr, i32 } [ %.pn65.pn.pn, %106 ], [ %.pn59.pn.pn.pn.pn, %96 ], [ %.pn57, %81 ], [ %.pn.pn, %.critedge70 ]
  call void @_ZN4ptne10PTN_EngineD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #8
  resume { ptr, i32 } %.pn65.pn.pn.pn
}

declare void @_ZN4ptne10PTN_EngineC2ENS0_21ACTIONS_THREAD_OPTIONE(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #1

declare void @_ZN4ptne10PTN_Engine11createPlaceERKNS_15PlacePropertiesE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4bindIM16SimpleControllerFvvEJPS0_EENSt12_Bind_helperIXsr15__is_socketlikeIT_EE5valueES5_JDpT0_EE4typeEOS5_DpOS6_(ptr dead_on_unwind noalias writable sret(%"class.std::_Bind") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare void @_ZN16SimpleController15collectThreadIdEv(ptr noundef nonnull align 8 dereferenceable(64)) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4ptne15PlacePropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(176)) unnamed_addr #5 align 2

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

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

declare void @_ZN4ptne10PTN_Engine16createTransitionERKNS_20TransitionPropertiesE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN4ptne13ArcPropertiesESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4ptne20TransitionPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4ptne13ArcPropertiesD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #5 align 2

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

; Function Attrs: nounwind
declare void @_ZN4ptne10PTN_EngineD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !14, i64 32}
!9 = !{!"_ZTSN4ptne15PlacePropertiesE", !10, i64 0, !14, i64 32, !10, i64 40, !10, i64 72, !15, i64 104, !15, i64 136, !17, i64 168}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !14, i64 8, !13, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !12, i64 0}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !7, i64 0}
!14 = !{!"long", !13, i64 0}
!15 = !{!"_ZTSSt8functionIFvvEE", !16, i64 0, !12, i64 24}
!16 = !{!"_ZTSSt14_Function_base", !13, i64 0, !12, i64 16}
!17 = !{!"bool", !13, i64 0}
!18 = !{!13, !13, i64 0}
!19 = !{!12, !12, i64 0}
!20 = !{!9, !17, i64 168}
!21 = !{!22, !14, i64 0}
!22 = !{!"_ZTSN4ptne13ArcPropertiesE", !14, i64 0, !10, i64 8, !10, i64 40, !23, i64 72}
!23 = !{!"_ZTSN4ptne13ArcProperties4TypeE", !13, i64 0}
!24 = !{!22, !23, i64 72}
!25 = !{!26, !17, i64 152}
!26 = !{!"_ZTSN4ptne20TransitionPropertiesE", !10, i64 0, !27, i64 32, !27, i64 56, !27, i64 80, !31, i64 104, !35, i64 128, !17, i64 152}
!27 = !{!"_ZTSSt6vectorIN4ptne13ArcPropertiesESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN4ptne13ArcPropertiesESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN4ptne13ArcPropertiesESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN4ptne13ArcPropertiesESaIS1_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!31 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!35 = !{!"_ZTSSt6vectorISt8functionIFbvEESaIS2_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseISt8functionIFbvEESaIS2_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseISt8functionIFbvEESaIS2_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseISt8functionIFbvEESaIS2_EE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass