; LLVM IR from dennisss/tansa :: src/mocap/optitrack/natnet.ll (ZN5tansa9optitrack18NatNetDescriptions5ParseEPKcPKhPS1_)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.50" = type { i8 }
%"struct.tansa::optitrack::NatNetDescriptions" = type { %"class.std::vector.40" }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetDescription, std::allocator<tansa::optitrack::NatNetDescription>>::_Vector_impl" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetDescription, std::allocator<tansa::optitrack::NatNetDescription>>::_Vector_impl" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetDescription, std::allocator<tansa::optitrack::NatNetDescription>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetDescription, std::allocator<tansa::optitrack::NatNetDescription>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tansa::optitrack::NatNetDescription" = type { i32, ptr }
%"struct.tansa::optitrack::NatNetMarkerSet::Description" = type { [256 x i8], %"class.std::vector.45" }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tansa::optitrack::NatNetSkeleton::Description" = type { [256 x i8], i32, %"class.std::vector.53" }
%"class.std::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetRigidBody::Description, std::allocator<tansa::optitrack::NatNetRigidBody::Description>>::_Vector_impl" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetRigidBody::Description, std::allocator<tansa::optitrack::NatNetRigidBody::Description>>::_Vector_impl" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetRigidBody::Description, std::allocator<tansa::optitrack::NatNetRigidBody::Description>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetRigidBody::Description, std::allocator<tansa::optitrack::NatNetRigidBody::Description>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5tansa9optitrack15NatNetRigidBody11Description5ParseEPKcPKhPS2_(ptr noundef, ptr noundef, ptr noundef) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5tansa9optitrack18NatNetDescriptions5ParseEPKcPKhPS1_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca [256 x i8], align 16
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.50", align 1
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.tansa::optitrack::NatNetDescriptions", ptr %21, i32 0, i32 0
  %23 = load i32, ptr %7, align 4, !tbaa !9
  %24 = zext i32 %23 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack17NatNetDescriptionESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %24)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %157, %3
  %26 = load i32, ptr %8, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.tansa::optitrack::NatNetDescriptions", ptr %28, i32 0, i32 0
  %30 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack17NatNetDescriptionESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  %31 = icmp ult i64 %27, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %25
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  br label %160

33:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.tansa::optitrack::NatNetDescriptions", ptr %34, i32 0, i32 0
  %36 = load i32, ptr %8, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN5tansa9optitrack17NatNetDescriptionESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %37) #8
  store ptr %38, ptr %10, align 8, !tbaa !5
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.tansa::optitrack::NatNetDescription", ptr %39, i32 0, i32 0
  call void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %40)
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.tansa::optitrack::NatNetDescription", ptr %41, i32 0, i32 0
  %43 = load i32, ptr %42, align 8, !tbaa !11
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %45, label %96

45:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %46 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 280) #9
  call void @llvm.memset.p0.i64(ptr align 16 %46, i8 0, i64 280, i1 false)
  call void @_ZN5tansa9optitrack15NatNetMarkerSet11DescriptionC2Ev(ptr noundef nonnull align 8 dereferenceable(280) %46) #8
  store ptr %46, ptr %11, align 8, !tbaa !5
  %47 = load ptr, ptr %11, align 8, !tbaa !5
  %48 = load ptr, ptr %10, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.tansa::optitrack::NatNetDescription", ptr %48, i32 0, i32 1
  store ptr %47, ptr %49, align 8, !tbaa !13
  %50 = load ptr, ptr %11, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.tansa::optitrack::NatNetMarkerSet::Description", ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds [256 x i8], ptr %51, i64 0, i64 0
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = call ptr @strcpy(ptr noundef %52, ptr noundef %53) #8
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.tansa::optitrack::NatNetMarkerSet::Description", ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds [256 x i8], ptr %56, i64 0, i64 0
  %58 = call i64 @strlen(ptr noundef %57) #10
  %59 = add i64 %58, 1
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 %59
  store ptr %61, ptr %4, align 8, !tbaa !5
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.tansa::optitrack::NatNetMarkerSet::Description", ptr %62, i32 0, i32 1
  %64 = load i32, ptr %7, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %65)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %88, %45
  %67 = load i32, ptr %12, align 4, !tbaa !9
  %68 = load i32, ptr %7, align 4, !tbaa !9
  %69 = icmp ult i32 %67, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %66
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %95

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 256, ptr %13) #8
  %72 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = call ptr @strcpy(ptr noundef %72, ptr noundef %73) #8
  %75 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
  %76 = call i64 @strlen(ptr noundef %75) #10
  %77 = add i64 %76, 1
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i64 %77
  store ptr %79, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  %80 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef %80, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %81 unwind label %91

81:                                               ; preds = %71
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.tansa::optitrack::NatNetMarkerSet::Description", ptr %82, i32 0, i32 1
  %84 = load i32, ptr %12, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %85) #8
  %87 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %86, ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr %13) #8
  br label %88

88:                                               ; preds = %81
  %89 = load i32, ptr %12, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %12, align 4, !tbaa !9
  br label %66, !llvm.loop !14

91:                                               ; preds = %71
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %16, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %161

95:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %156

96:                                               ; preds = %33
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.tansa::optitrack::NatNetDescription", ptr %97, i32 0, i32 0
  %99 = load i32, ptr %98, align 8, !tbaa !11
  %100 = icmp eq i32 %99, 1
  br i1 %100, label %101, label %110

101:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %102 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 276) #9
  call void @llvm.memset.p0.i64(ptr align 16 %102, i8 0, i64 276, i1 false)
  store ptr %102, ptr %18, align 8, !tbaa !5
  %103 = load ptr, ptr %18, align 8, !tbaa !5
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.tansa::optitrack::NatNetDescription", ptr %104, i32 0, i32 1
  store ptr %103, ptr %105, align 8, !tbaa !13
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = load ptr, ptr %18, align 8, !tbaa !5
  %109 = call noundef ptr @_ZN5tansa9optitrack15NatNetRigidBody11Description5ParseEPKcPKhPS2_(ptr noundef %106, ptr noundef %107, ptr noundef %108)
  store ptr %109, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %155

110:                                              ; preds = %96
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.tansa::optitrack::NatNetDescription", ptr %111, i32 0, i32 0
  %113 = load i32, ptr %112, align 8, !tbaa !11
  %114 = icmp eq i32 %113, 2
  br i1 %114, label %115, label %154

115:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %116 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 288) #9
  call void @llvm.memset.p0.i64(ptr align 16 %116, i8 0, i64 288, i1 false)
  call void @_ZN5tansa9optitrack14NatNetSkeleton11DescriptionC2Ev(ptr noundef nonnull align 8 dereferenceable(288) %116) #8
  store ptr %116, ptr %19, align 8, !tbaa !5
  %117 = load ptr, ptr %19, align 8, !tbaa !5
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.tansa::optitrack::NatNetDescription", ptr %118, i32 0, i32 1
  store ptr %117, ptr %119, align 8, !tbaa !13
  %120 = load ptr, ptr %19, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.tansa::optitrack::NatNetSkeleton::Description", ptr %120, i32 0, i32 0
  %122 = getelementptr inbounds [256 x i8], ptr %121, i64 0, i64 0
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = call ptr @strcpy(ptr noundef %122, ptr noundef %123) #8
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = call i64 @strlen(ptr noundef %125) #10
  %127 = add i64 %126, 1
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %128, i64 %127
  store ptr %129, ptr %4, align 8, !tbaa !5
  %130 = load ptr, ptr %19, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.tansa::optitrack::NatNetSkeleton::Description", ptr %130, i32 0, i32 1
  call void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %131)
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %132 = load ptr, ptr %19, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.tansa::optitrack::NatNetSkeleton::Description", ptr %132, i32 0, i32 2
  %134 = load i32, ptr %7, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBody11DescriptionESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef %135)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %136

136:                                              ; preds = %150, %115
  %137 = load i32, ptr %20, align 4, !tbaa !9
  %138 = load i32, ptr %7, align 4, !tbaa !9
  %139 = icmp ult i32 %137, %138
  br i1 %139, label %141, label %140

140:                                              ; preds = %136
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %153

141:                                              ; preds = %136
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = load ptr, ptr %19, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.tansa::optitrack::NatNetSkeleton::Description", ptr %144, i32 0, i32 2
  %146 = load i32, ptr %20, align 4, !tbaa !9
  %147 = sext i32 %146 to i64
  %148 = call noundef nonnull align 4 dereferenceable(276) ptr @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBody11DescriptionESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %145, i64 noundef %147) #8
  %149 = call noundef ptr @_ZN5tansa9optitrack15NatNetRigidBody11Description5ParseEPKcPKhPS2_(ptr noundef %142, ptr noundef %143, ptr noundef %148)
  br label %150

150:                                              ; preds = %141
  %151 = load i32, ptr %20, align 4, !tbaa !9
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %20, align 4, !tbaa !9
  br label %136, !llvm.loop !16

153:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %154

154:                                              ; preds = %153, %110
  br label %155

155:                                              ; preds = %154, %101
  br label %156

156:                                              ; preds = %155, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %157

157:                                              ; preds = %156
  %158 = load i32, ptr %8, align 4, !tbaa !9
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %8, align 4, !tbaa !9
  br label %25, !llvm.loop !17

160:                                              ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  ret void

161:                                              ; preds = %91
  %162 = load ptr, ptr %16, align 8
  %163 = load i32, ptr %17, align 4
  %164 = insertvalue { ptr, i32 } poison, ptr %162, 0
  %165 = insertvalue { ptr, i32 } %164, i32 %163, 1
  resume { ptr, i32 } %165
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 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 #5 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(276) ptr @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBody11DescriptionESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #6 align 2

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

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

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

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


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.50" = type { i8 }

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; 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 nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5tansa9optitrack15NatNetRigidBody11Description5ParseEPKcPKhPS2_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5tansa9optitrack18NatNetDescriptions5ParseEPKcPKhPS1_(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca [256 x i8], align 16
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.50", align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %9 = load i32, ptr %5, align 4, !tbaa !9
  %10 = zext i32 %9 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack17NatNetDescriptionESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %10)
  %11 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack17NatNetDescriptionESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %.not = icmp eq i64 %11, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph43

._crit_edge:                                      ; preds = %.loopexit, %3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  ret void

.lr.ph43:                                         ; preds = %3, %.loopexit
  %indvars.iv51 = phi i64 [ %indvars.iv.next52, %.loopexit ], [ 0, %3 ]
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN5tansa9optitrack17NatNetDescriptionESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv51) #8
  call void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %13 = load i32, ptr %12, align 8, !tbaa !11
  switch i32 %13, label %.loopexit [
    i32 0, label %14
    i32 1, label %39
    i32 2, label %44
  ]

14:                                               ; preds = %.lr.ph43
  %15 = call noalias noundef nonnull dereferenceable(280) ptr @_Znwm(i64 noundef 280) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(280) %15, i8 0, i64 280, i1 false)
  call void @_ZN5tansa9optitrack15NatNetMarkerSet11DescriptionC2Ev(ptr noundef nonnull align 8 dereferenceable(280) %15) #8
  %16 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %15, ptr %16, align 8, !tbaa !13
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %15, ptr noundef nonnull dereferenceable(1) %17) #8
  %19 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %15) #10
  %20 = getelementptr i8, ptr %17, i64 %19
  %21 = getelementptr i8, ptr %20, i64 1
  store ptr %21, ptr %4, align 8, !tbaa !5
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %22 = getelementptr inbounds i8, ptr %15, i64 256
  %23 = load i32, ptr %5, align 4, !tbaa !9
  %24 = zext i32 %23 to i64
  call void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %24)
  %25 = load i32, ptr %5, align 4, !tbaa !9
  %.not45 = icmp eq i32 %25, 0
  br i1 %.not45, label %.loopexit, label %.lr.ph41

.lr.ph41:                                         ; preds = %14, %31
  %indvars.iv48 = phi i64 [ %indvars.iv.next49, %31 ], [ 0, %14 ]
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %6) #8
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) %26) #8
  %28 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %6) #10
  %29 = getelementptr i8, ptr %26, i64 %28
  %30 = getelementptr i8, ptr %29, i64 1
  store ptr %30, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull %6, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %31 unwind label %37

31:                                               ; preds = %.lr.ph41
  %32 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %indvars.iv48) #8
  %33 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #8
  %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48, 1
  %34 = load i32, ptr %5, align 4, !tbaa !9
  %35 = zext i32 %34 to i64
  %36 = icmp ult i64 %indvars.iv.next49, %35
  br i1 %36, label %.lr.ph41, label %.loopexit, !llvm.loop !14

37:                                               ; preds = %.lr.ph41
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  resume { ptr, i32 } %38

39:                                               ; preds = %.lr.ph43
  %40 = call noalias noundef nonnull dereferenceable(276) ptr @_Znwm(i64 noundef 276) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(276) %40, i8 0, i64 276, i1 false)
  %41 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %40, ptr %41, align 8, !tbaa !13
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = call noundef ptr @_ZN5tansa9optitrack15NatNetRigidBody11Description5ParseEPKcPKhPS2_(ptr noundef %42, ptr noundef %1, ptr noundef nonnull %40)
  store ptr %43, ptr %4, align 8, !tbaa !5
  br label %.loopexit

44:                                               ; preds = %.lr.ph43
  %45 = call noalias noundef nonnull dereferenceable(288) ptr @_Znwm(i64 noundef 288) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(288) %45, i8 0, i64 288, i1 false)
  call void @_ZN5tansa9optitrack14NatNetSkeleton11DescriptionC2Ev(ptr noundef nonnull align 8 dereferenceable(288) %45) #8
  %46 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %45, ptr %46, align 8, !tbaa !13
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %45, ptr noundef nonnull dereferenceable(1) %47) #8
  %49 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %47) #10
  %50 = getelementptr i8, ptr %47, i64 %49
  %51 = getelementptr i8, ptr %50, i64 1
  store ptr %51, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %45, i64 256
  call void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %52)
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %53 = getelementptr inbounds i8, ptr %45, i64 264
  %54 = load i32, ptr %5, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBody11DescriptionESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %55)
  %56 = load i32, ptr %5, align 4, !tbaa !9
  %.not44 = icmp eq i32 %56, 0
  br i1 %.not44, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %44, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %44 ]
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = call noundef nonnull align 4 dereferenceable(276) ptr @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBody11DescriptionESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %indvars.iv) #8
  %59 = call noundef ptr @_ZN5tansa9optitrack15NatNetRigidBody11Description5ParseEPKcPKhPS2_(ptr noundef %57, ptr noundef %1, ptr noundef nonnull %58)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %60 = load i32, ptr %5, align 4, !tbaa !9
  %61 = zext i32 %60 to i64
  %62 = icmp ult i64 %indvars.iv.next, %61
  br i1 %62, label %.lr.ph, label %.loopexit, !llvm.loop !16

.loopexit:                                        ; preds = %.lr.ph, %31, %44, %14, %.lr.ph43, %39
  %indvars.iv.next52 = add nuw nsw i64 %indvars.iv51, 1
  %63 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack17NatNetDescriptionESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %64 = icmp ugt i64 %63, %indvars.iv.next52
  br i1 %64, label %.lr.ph43, label %._crit_edge, !llvm.loop !17
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 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 #5 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(276) ptr @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBody11DescriptionESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #6 align 2

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

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

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

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


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