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

; 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.tansa::optitrack::NatNetFrame" = type <{ i32, [4 x i8], %"class.std::vector.10", %"class.std::vector", %"class.std::vector.15", %"class.std::vector.20", %"class.std::vector.25", %"class.std::vector.30", float, %"struct.tansa::optitrack::NatNetTimecode", [4 x i8], double, i16, [6 x i8] }>
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetMarkerSet, std::allocator<tansa::optitrack::NatNetMarkerSet>>::_Vector_impl" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetMarkerSet, std::allocator<tansa::optitrack::NatNetMarkerSet>>::_Vector_impl" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetMarkerSet, std::allocator<tansa::optitrack::NatNetMarkerSet>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetMarkerSet, std::allocator<tansa::optitrack::NatNetMarkerSet>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetPlainMarker, std::allocator<tansa::optitrack::NatNetPlainMarker>>::_Vector_impl" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetPlainMarker, std::allocator<tansa::optitrack::NatNetPlainMarker>>::_Vector_impl" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetPlainMarker, std::allocator<tansa::optitrack::NatNetPlainMarker>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetPlainMarker, std::allocator<tansa::optitrack::NatNetPlainMarker>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetRigidBody, std::allocator<tansa::optitrack::NatNetRigidBody>>::_Vector_impl" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetRigidBody, std::allocator<tansa::optitrack::NatNetRigidBody>>::_Vector_impl" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetRigidBody, std::allocator<tansa::optitrack::NatNetRigidBody>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetRigidBody, std::allocator<tansa::optitrack::NatNetRigidBody>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetSkeleton, std::allocator<tansa::optitrack::NatNetSkeleton>>::_Vector_impl" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetSkeleton, std::allocator<tansa::optitrack::NatNetSkeleton>>::_Vector_impl" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetSkeleton, std::allocator<tansa::optitrack::NatNetSkeleton>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetSkeleton, std::allocator<tansa::optitrack::NatNetSkeleton>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetMarker, std::allocator<tansa::optitrack::NatNetMarker>>::_Vector_impl" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetMarker, std::allocator<tansa::optitrack::NatNetMarker>>::_Vector_impl" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetMarker, std::allocator<tansa::optitrack::NatNetMarker>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetMarker, std::allocator<tansa::optitrack::NatNetMarker>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetForcePlate, std::allocator<tansa::optitrack::NatNetForcePlate>>::_Vector_impl" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetForcePlate, std::allocator<tansa::optitrack::NatNetForcePlate>>::_Vector_impl" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetForcePlate, std::allocator<tansa::optitrack::NatNetForcePlate>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetForcePlate, std::allocator<tansa::optitrack::NatNetForcePlate>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tansa::optitrack::NatNetTimecode" = type { i32, i32 }
%"struct.tansa::optitrack::NatNetMarkerSet" = type { [256 x i8], %"class.std::vector" }
%"struct.tansa::optitrack::NatNetSkeleton" = type { i32, %"class.std::vector.15" }
%"struct.tansa::optitrack::NatNetMarker" = type <{ i32, float, float, float, float, i16 }>
%"struct.tansa::optitrack::NatNetForcePlate" = type <{ i32, [4 x i8], %"class.std::vector.35", i16, [6 x i8] }>
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetAnalogChannel, std::allocator<tansa::optitrack::NatNetAnalogChannel>>::_Vector_impl" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetAnalogChannel, std::allocator<tansa::optitrack::NatNetAnalogChannel>>::_Vector_impl" = type { %"struct.std::_Vector_base<tansa::optitrack::NatNetAnalogChannel, std::allocator<tansa::optitrack::NatNetAnalogChannel>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tansa::optitrack::NatNetAnalogChannel, std::allocator<tansa::optitrack::NatNetAnalogChannel>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.tansa::optitrack::NatNetAnalogChannel" = type { %"class.std::vector.5" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

; 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)) #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(12) ptr @_ZNSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5tansa9optitrack11NatNetFrame5ParseEPKcPKhPS1_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 align 2 {
  %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 i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i16, align 2
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  %21 = 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
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %22, i64 0
  %24 = load i8, ptr %23, align 1, !tbaa !9
  %25 = zext i8 %24 to i32
  store i32 %25, ptr %7, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %26, i64 1
  %28 = load i8, ptr %27, align 1, !tbaa !9
  %29 = zext i8 %28 to i32
  store i32 %29, ptr %8, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %30, i8 0, i64 184, i1 false)
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %31, i32 0, i32 0
  call void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %32)
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %33, i32 0, i32 2
  %35 = load i32, ptr %9, align 4, !tbaa !10
  %36 = zext i32 %35 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %36)
  store i32 0, ptr %10, align 4, !tbaa !10
  br label %37

37:                                               ; preds = %80, %3
  %38 = load i32, ptr %10, align 4, !tbaa !10
  %39 = zext i32 %38 to i64
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %40, i32 0, i32 2
  %42 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  %43 = icmp ult i64 %39, %42
  br i1 %43, label %44, label %83

44:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %45, i32 0, i32 2
  %47 = load i32, ptr %10, align 4, !tbaa !10
  %48 = zext i32 %47 to i64
  %49 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt6vectorIN5tansa9optitrack15NatNetMarkerSetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %48) #8
  store ptr %49, ptr %13, align 8, !tbaa !5
  %50 = load ptr, ptr %13, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.tansa::optitrack::NatNetMarkerSet", 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 %13, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.tansa::optitrack::NatNetMarkerSet", 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) #9
  %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) %9)
  %62 = load ptr, ptr %13, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.tansa::optitrack::NatNetMarkerSet", ptr %62, i32 0, i32 1
  %64 = load i32, ptr %9, align 4, !tbaa !10
  %65 = zext i32 %64 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %65)
  %66 = load i32, ptr %9, align 4, !tbaa !10
  %67 = zext i32 %66 to i64
  %68 = mul i64 %67, 12
  %69 = trunc i64 %68 to i32
  store i32 %69, ptr %12, align 4, !tbaa !10
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.tansa::optitrack::NatNetMarkerSet", ptr %70, i32 0, i32 1
  %72 = call noundef nonnull align 1 dereferenceable(12) ptr @_ZNSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef 0) #8
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = load i32, ptr %12, align 4, !tbaa !10
  %75 = zext i32 %74 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %72, ptr align 1 %73, i64 %75, i1 false)
  %76 = load i32, ptr %12, align 4, !tbaa !10
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = zext i32 %76 to i64
  %79 = getelementptr inbounds i8, ptr %77, i64 %78
  store ptr %79, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %80

80:                                               ; preds = %44
  %81 = load i32, ptr %10, align 4, !tbaa !10
  %82 = add i32 %81, 1
  store i32 %82, ptr %10, align 4, !tbaa !10
  br label %37, !llvm.loop !12

83:                                               ; preds = %37
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %84, i32 0, i32 3
  %86 = load i32, ptr %9, align 4, !tbaa !10
  %87 = zext i32 %86 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87)
  %88 = load i32, ptr %9, align 4, !tbaa !10
  %89 = zext i32 %88 to i64
  %90 = mul i64 %89, 12
  %91 = trunc i64 %90 to i32
  store i32 %91, ptr %12, align 4, !tbaa !10
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %92, i32 0, i32 3
  %94 = call noundef nonnull align 1 dereferenceable(12) ptr @_ZNSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef 0) #8
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = load i32, ptr %12, align 4, !tbaa !10
  %97 = zext i32 %96 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %94, ptr align 1 %95, i64 %97, i1 false)
  %98 = load i32, ptr %12, align 4, !tbaa !10
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = zext i32 %98 to i64
  %101 = getelementptr inbounds i8, ptr %99, i64 %100
  store ptr %101, 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) %9)
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %102, i32 0, i32 4
  %104 = load i32, ptr %9, align 4, !tbaa !10
  %105 = zext i32 %104 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef %105)
  store i32 0, ptr %10, align 4, !tbaa !10
  br label %106

106:                                              ; preds = %119, %83
  %107 = load i32, ptr %10, align 4, !tbaa !10
  %108 = load i32, ptr %9, align 4, !tbaa !10
  %109 = icmp ult i32 %107, %108
  br i1 %109, label %110, label %122

110:                                              ; preds = %106
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %113, i32 0, i32 4
  %115 = load i32, ptr %10, align 4, !tbaa !10
  %116 = zext i32 %115 to i64
  %117 = call noundef nonnull align 8 dereferenceable(110) ptr @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %116) #8
  %118 = call noundef ptr @_ZN5tansa9optitrack15NatNetRigidBody5ParseEPKcPKhPS1_(ptr noundef %111, ptr noundef %112, ptr noundef %117)
  store ptr %118, ptr %4, align 8, !tbaa !5
  br label %119

119:                                              ; preds = %110
  %120 = load i32, ptr %10, align 4, !tbaa !10
  %121 = add i32 %120, 1
  store i32 %121, ptr %10, align 4, !tbaa !10
  br label %106, !llvm.loop !14

122:                                              ; preds = %106
  %123 = load i32, ptr %7, align 4, !tbaa !10
  %124 = icmp eq i32 %123, 2
  br i1 %124, label %125, label %128

125:                                              ; preds = %122
  %126 = load i32, ptr %8, align 4, !tbaa !10
  %127 = icmp sgt i32 %126, 0
  br i1 %127, label %131, label %128

128:                                              ; preds = %125, %122
  %129 = load i32, ptr %7, align 4, !tbaa !10
  %130 = icmp sgt i32 %129, 2
  br i1 %130, label %131, label %179

131:                                              ; preds = %128, %125
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %132, i32 0, i32 5
  %134 = load i32, ptr %9, align 4, !tbaa !10
  %135 = zext i32 %134 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack14NatNetSkeletonESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef %135)
  store i32 0, ptr %10, align 4, !tbaa !10
  br label %136

136:                                              ; preds = %175, %131
  %137 = load i32, ptr %10, align 4, !tbaa !10
  %138 = zext i32 %137 to i64
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %139, i32 0, i32 5
  %141 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack14NatNetSkeletonESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %140) #8
  %142 = icmp ult i64 %138, %141
  br i1 %142, label %143, label %178

143:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %144, i32 0, i32 5
  %146 = load i32, ptr %10, align 4, !tbaa !10
  %147 = zext i32 %146 to i64
  %148 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN5tansa9optitrack14NatNetSkeletonESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %145, i64 noundef %147) #8
  store ptr %148, ptr %14, align 8, !tbaa !5
  %149 = load ptr, ptr %14, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.tansa::optitrack::NatNetSkeleton", ptr %149, i32 0, i32 0
  call void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %150)
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %151 = load ptr, ptr %14, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.tansa::optitrack::NatNetSkeleton", ptr %151, i32 0, i32 1
  %153 = load i32, ptr %9, align 4, !tbaa !10
  %154 = zext i32 %153 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %154)
  store i32 0, ptr %11, align 4, !tbaa !10
  br label %155

155:                                              ; preds = %171, %143
  %156 = load i32, ptr %11, align 4, !tbaa !10
  %157 = zext i32 %156 to i64
  %158 = load ptr, ptr %14, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.tansa::optitrack::NatNetSkeleton", ptr %158, i32 0, i32 1
  %160 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %159) #8
  %161 = icmp ult i64 %157, %160
  br i1 %161, label %162, label %174

162:                                              ; preds = %155
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = load ptr, ptr %5, align 8, !tbaa !5
  %165 = load ptr, ptr %14, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.tansa::optitrack::NatNetSkeleton", ptr %165, i32 0, i32 1
  %167 = load i32, ptr %11, align 4, !tbaa !10
  %168 = zext i32 %167 to i64
  %169 = call noundef nonnull align 8 dereferenceable(110) ptr @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %168) #8
  %170 = call noundef ptr @_ZN5tansa9optitrack15NatNetRigidBody5ParseEPKcPKhPS1_(ptr noundef %163, ptr noundef %164, ptr noundef %169)
  store ptr %170, ptr %4, align 8, !tbaa !5
  br label %171

171:                                              ; preds = %162
  %172 = load i32, ptr %11, align 4, !tbaa !10
  %173 = add i32 %172, 1
  store i32 %173, ptr %11, align 4, !tbaa !10
  br label %155, !llvm.loop !15

174:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %175

175:                                              ; preds = %174
  %176 = load i32, ptr %10, align 4, !tbaa !10
  %177 = add i32 %176, 1
  store i32 %177, ptr %10, align 4, !tbaa !10
  br label %136, !llvm.loop !16

178:                                              ; preds = %136
  br label %179

179:                                              ; preds = %178, %128
  %180 = load i32, ptr %7, align 4, !tbaa !10
  %181 = icmp eq i32 %180, 2
  br i1 %181, label %182, label %185

182:                                              ; preds = %179
  %183 = load i32, ptr %8, align 4, !tbaa !10
  %184 = icmp sge i32 %183, 3
  br i1 %184, label %188, label %185

185:                                              ; preds = %182, %179
  %186 = load i32, ptr %7, align 4, !tbaa !10
  %187 = icmp sgt i32 %186, 2
  br i1 %187, label %188, label %227

188:                                              ; preds = %185, %182
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %189, i32 0, i32 6
  %191 = load i32, ptr %9, align 4, !tbaa !10
  %192 = zext i32 %191 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack12NatNetMarkerESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef %192)
  store i32 0, ptr %10, align 4, !tbaa !10
  br label %193

193:                                              ; preds = %223, %188
  %194 = load i32, ptr %10, align 4, !tbaa !10
  %195 = load i32, ptr %9, align 4, !tbaa !10
  %196 = icmp ult i32 %194, %195
  br i1 %196, label %197, label %226

197:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %198, i32 0, i32 6
  %200 = load i32, ptr %10, align 4, !tbaa !10
  %201 = zext i32 %200 to i64
  %202 = call noundef nonnull align 1 dereferenceable(22) ptr @_ZNSt6vectorIN5tansa9optitrack12NatNetMarkerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %201) #8
  store ptr %202, ptr %15, align 8, !tbaa !5
  %203 = load ptr, ptr %15, align 8, !tbaa !5
  %204 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %203, ptr align 1 %204, i64 20, i1 false)
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = getelementptr inbounds i8, ptr %205, i64 20
  store ptr %206, ptr %4, align 8, !tbaa !5
  %207 = load i32, ptr %7, align 4, !tbaa !10
  %208 = icmp eq i32 %207, 2
  br i1 %208, label %209, label %212

209:                                              ; preds = %197
  %210 = load i32, ptr %8, align 4, !tbaa !10
  %211 = icmp sge i32 %210, 6
  br i1 %211, label %218, label %212

212:                                              ; preds = %209, %197
  %213 = load i32, ptr %7, align 4, !tbaa !10
  %214 = icmp sgt i32 %213, 2
  br i1 %214, label %218, label %215

215:                                              ; preds = %212
  %216 = load i32, ptr %7, align 4, !tbaa !10
  %217 = icmp eq i32 %216, 0
  br i1 %217, label %218, label %222

218:                                              ; preds = %215, %212, %209
  call void @llvm.lifetime.start.p0(i64 2, ptr %16) #8
  call void @_ZN5tansa9optitrack11buffer_readItEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 2 dereferenceable(2) %16)
  %219 = load i16, ptr %16, align 2, !tbaa !17
  %220 = load ptr, ptr %15, align 8, !tbaa !5
  %221 = getelementptr inbounds %"struct.tansa::optitrack::NatNetMarker", ptr %220, i32 0, i32 5
  store i16 %219, ptr %221, align 1, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 2, ptr %16) #8
  br label %222

222:                                              ; preds = %218, %215
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %223

223:                                              ; preds = %222
  %224 = load i32, ptr %10, align 4, !tbaa !10
  %225 = add i32 %224, 1
  store i32 %225, ptr %10, align 4, !tbaa !10
  br label %193, !llvm.loop !22

226:                                              ; preds = %193
  br label %227

227:                                              ; preds = %226, %185
  %228 = load i32, ptr %7, align 4, !tbaa !10
  %229 = icmp eq i32 %228, 2
  br i1 %229, label %230, label %233

230:                                              ; preds = %227
  %231 = load i32, ptr %8, align 4, !tbaa !10
  %232 = icmp sge i32 %231, 9
  br i1 %232, label %236, label %233

233:                                              ; preds = %230, %227
  %234 = load i32, ptr %7, align 4, !tbaa !10
  %235 = icmp sgt i32 %234, 2
  br i1 %235, label %236, label %300

236:                                              ; preds = %233, %230
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %237, i32 0, i32 7
  %239 = load i32, ptr %9, align 4, !tbaa !10
  %240 = zext i32 %239 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack16NatNetForcePlateESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %238, i64 noundef %240)
  store i32 0, ptr %10, align 4, !tbaa !10
  br label %241

241:                                              ; preds = %296, %236
  %242 = load i32, ptr %10, align 4, !tbaa !10
  %243 = zext i32 %242 to i64
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %244, i32 0, i32 7
  %246 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack16NatNetForcePlateESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %245) #8
  %247 = icmp ult i64 %243, %246
  br i1 %247, label %248, label %299

248:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %249, i32 0, i32 7
  %251 = load i32, ptr %10, align 4, !tbaa !10
  %252 = zext i32 %251 to i64
  %253 = call noundef nonnull align 8 dereferenceable(34) ptr @_ZNSt6vectorIN5tansa9optitrack16NatNetForcePlateESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %250, i64 noundef %252) #8
  store ptr %253, ptr %17, align 8, !tbaa !5
  %254 = load ptr, ptr %17, align 8, !tbaa !5
  %255 = getelementptr inbounds %"struct.tansa::optitrack::NatNetForcePlate", ptr %254, i32 0, i32 0
  call void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %255)
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %256 = load ptr, ptr %17, align 8, !tbaa !5
  %257 = getelementptr inbounds %"struct.tansa::optitrack::NatNetForcePlate", ptr %256, i32 0, i32 2
  %258 = load i32, ptr %9, align 4, !tbaa !10
  %259 = zext i32 %258 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack19NatNetAnalogChannelESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %257, i64 noundef %259)
  store i32 0, ptr %11, align 4, !tbaa !10
  br label %260

260:                                              ; preds = %292, %248
  %261 = load i32, ptr %11, align 4, !tbaa !10
  %262 = zext i32 %261 to i64
  %263 = load ptr, ptr %17, align 8, !tbaa !5
  %264 = getelementptr inbounds %"struct.tansa::optitrack::NatNetForcePlate", ptr %263, i32 0, i32 2
  %265 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack19NatNetAnalogChannelESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %264) #8
  %266 = icmp ult i64 %262, %265
  br i1 %266, label %267, label %295

267:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %268 = load ptr, ptr %17, align 8, !tbaa !5
  %269 = getelementptr inbounds %"struct.tansa::optitrack::NatNetForcePlate", ptr %268, i32 0, i32 2
  %270 = load i32, ptr %11, align 4, !tbaa !10
  %271 = zext i32 %270 to i64
  %272 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN5tansa9optitrack19NatNetAnalogChannelESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %269, i64 noundef %271) #8
  store ptr %272, ptr %18, align 8, !tbaa !5
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %273 = load ptr, ptr %18, align 8, !tbaa !5
  %274 = getelementptr inbounds %"struct.tansa::optitrack::NatNetAnalogChannel", ptr %273, i32 0, i32 0
  %275 = load i32, ptr %9, align 4, !tbaa !10
  %276 = zext i32 %275 to i64
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %274, i64 noundef %276)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 0, ptr %19, align 4, !tbaa !10
  br label %277

277:                                              ; preds = %288, %267
  %278 = load i32, ptr %19, align 4, !tbaa !10
  %279 = load i32, ptr %9, align 4, !tbaa !10
  %280 = icmp ult i32 %278, %279
  br i1 %280, label %282, label %281

281:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %291

282:                                              ; preds = %277
  %283 = load ptr, ptr %18, align 8, !tbaa !5
  %284 = getelementptr inbounds %"struct.tansa::optitrack::NatNetAnalogChannel", ptr %283, i32 0, i32 0
  %285 = load i32, ptr %19, align 4, !tbaa !10
  %286 = sext i32 %285 to i64
  %287 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %284, i64 noundef %286) #8
  call void @_ZN5tansa9optitrack11buffer_readIfEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %287)
  br label %288

288:                                              ; preds = %282
  %289 = load i32, ptr %19, align 4, !tbaa !10
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %19, align 4, !tbaa !10
  br label %277, !llvm.loop !23

291:                                              ; preds = %281
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %292

292:                                              ; preds = %291
  %293 = load i32, ptr %11, align 4, !tbaa !10
  %294 = add i32 %293, 1
  store i32 %294, ptr %11, align 4, !tbaa !10
  br label %260, !llvm.loop !24

295:                                              ; preds = %260
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %296

296:                                              ; preds = %295
  %297 = load i32, ptr %10, align 4, !tbaa !10
  %298 = add i32 %297, 1
  store i32 %298, ptr %10, align 4, !tbaa !10
  br label %241, !llvm.loop !25

299:                                              ; preds = %241
  br label %300

300:                                              ; preds = %299, %233
  %301 = load ptr, ptr %6, align 8, !tbaa !5
  %302 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %301, i32 0, i32 8
  call void @_ZN5tansa9optitrack11buffer_readIfEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %302)
  %303 = load ptr, ptr %6, align 8, !tbaa !5
  %304 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %303, i32 0, i32 9
  %305 = getelementptr inbounds %"struct.tansa::optitrack::NatNetTimecode", ptr %304, i32 0, i32 0
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %305)
  %306 = load ptr, ptr %6, align 8, !tbaa !5
  %307 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %306, i32 0, i32 9
  %308 = getelementptr inbounds %"struct.tansa::optitrack::NatNetTimecode", ptr %307, i32 0, i32 1
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %308)
  %309 = load i32, ptr %7, align 4, !tbaa !10
  %310 = icmp eq i32 %309, 2
  br i1 %310, label %311, label %314

311:                                              ; preds = %300
  %312 = load i32, ptr %8, align 4, !tbaa !10
  %313 = icmp sge i32 %312, 7
  br i1 %313, label %317, label %314

314:                                              ; preds = %311, %300
  %315 = load i32, ptr %7, align 4, !tbaa !10
  %316 = icmp sgt i32 %315, 2
  br i1 %316, label %317, label %320

317:                                              ; preds = %314, %311
  %318 = load ptr, ptr %6, align 8, !tbaa !5
  %319 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %318, i32 0, i32 11
  call void @_ZN5tansa9optitrack11buffer_readIdEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %319)
  br label %325

320:                                              ; preds = %314
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store float 0.000000e+00, ptr %20, align 4, !tbaa !26
  call void @_ZN5tansa9optitrack11buffer_readIfEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %20)
  %321 = load float, ptr %20, align 4, !tbaa !26
  %322 = fpext float %321 to double
  %323 = load ptr, ptr %6, align 8, !tbaa !5
  %324 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %323, i32 0, i32 11
  store double %322, ptr %324, align 8, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %325

325:                                              ; preds = %320, %317
  %326 = load ptr, ptr %6, align 8, !tbaa !5
  %327 = getelementptr inbounds %"struct.tansa::optitrack::NatNetFrame", ptr %326, i32 0, i32 12
  call void @_ZN5tansa9optitrack11buffer_readIsEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 2 dereferenceable(2) %327)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !10
  %328 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 1 %328, i64 4, i1 false)
  %329 = load ptr, ptr %4, align 8, !tbaa !5
  %330 = getelementptr inbounds i8, ptr %329, i64 4
  store ptr %330, ptr %4, align 8, !tbaa !5
  %331 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  ret ptr %331
}

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

; 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)) #2

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(22) ptr @_ZNSt6vectorIN5tansa9optitrack12NatNetMarkerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5tansa9optitrack11buffer_readIdEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = !{!18, !18, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!20, !18, i64 20}
!20 = !{!"_ZTSN5tansa9optitrack12NatNetMarkerE", !11, i64 0, !21, i64 4, !21, i64 8, !21, i64 12, !21, i64 16, !18, i64 20}
!21 = !{!"float", !7, i64 0}
!22 = distinct !{!22, !13}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}
!25 = distinct !{!25, !13}
!26 = !{!21, !21, i64 0}
!27 = !{!28, !54, i64 168}
!28 = !{!"_ZTSN5tansa9optitrack11NatNetFrameE", !11, i64 0, !29, i64 8, !33, i64 32, !37, i64 56, !41, i64 80, !45, i64 104, !49, i64 128, !21, i64 152, !53, i64 156, !54, i64 168, !18, i64 176}
!29 = !{!"_ZTSSt6vectorIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSSt6vectorIN5tansa9optitrack14NatNetSkeletonESaIS2_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack14NatNetSkeletonESaIS2_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack14NatNetSkeletonESaIS2_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack14NatNetSkeletonESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTSSt6vectorIN5tansa9optitrack12NatNetMarkerESaIS2_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack12NatNetMarkerESaIS2_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack12NatNetMarkerESaIS2_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack12NatNetMarkerESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!49 = !{!"_ZTSSt6vectorIN5tansa9optitrack16NatNetForcePlateESaIS2_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack16NatNetForcePlateESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack16NatNetForcePlateESaIS2_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack16NatNetForcePlateESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!53 = !{!"_ZTSN5tansa9optitrack14NatNetTimecodeE", !11, i64 0, !11, i64 4}
!54 = !{!"double", !7, i64 0}


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

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

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

; 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 #2

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull ptr @_ZN5tansa9optitrack11NatNetFrame5ParseEPKcPKhPS1_(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2) local_unnamed_addr #0 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i16, align 2
  %7 = alloca float, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  %8 = load i8, ptr %1, align 1, !tbaa !9
  %9 = getelementptr inbounds i8, ptr %1, i64 1
  %10 = load i8, ptr %9, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(184) %2, i8 0, i64 184, i1 false)
  call void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %11 = getelementptr inbounds i8, ptr %2, i64 8
  %12 = load i32, ptr %5, align 4, !tbaa !10
  %13 = zext i32 %12 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %13)
  %14 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  %.not = icmp eq i64 %14, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3, %.lr.ph
  %15 = phi i64 [ %32, %.lr.ph ], [ 0, %3 ]
  %.0117 = phi i32 [ %31, %.lr.ph ], [ 0, %3 ]
  %16 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt6vectorIN5tansa9optitrack15NatNetMarkerSetESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %15) #8
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %16, ptr noundef nonnull dereferenceable(1) %17) #8
  %19 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %16) #9
  %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 %16, i64 256
  %23 = load i32, ptr %5, align 4, !tbaa !10
  %24 = zext i32 %23 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %24)
  %25 = load i32, ptr %5, align 4, !tbaa !10
  %26 = mul i32 %25, 12
  %27 = call noundef nonnull align 1 dereferenceable(12) ptr @_ZNSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #8
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = zext i32 %26 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %27, ptr align 1 %28, i64 %29, i1 false)
  %30 = getelementptr inbounds i8, ptr %28, i64 %29
  store ptr %30, ptr %4, align 8, !tbaa !5
  %31 = add i32 %.0117, 1
  %32 = zext i32 %31 to i64
  %33 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  %34 = icmp ugt i64 %33, %32
  br i1 %34, label %.lr.ph, label %._crit_edge, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph, %3
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %35 = getelementptr inbounds i8, ptr %2, i64 32
  %36 = load i32, ptr %5, align 4, !tbaa !10
  %37 = zext i32 %36 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %37)
  %38 = load i32, ptr %5, align 4, !tbaa !10
  %39 = mul i32 %38, 12
  %40 = call noundef nonnull align 1 dereferenceable(12) ptr @_ZNSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef 0) #8
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = zext i32 %39 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %40, ptr align 1 %41, i64 %42, i1 false)
  %43 = getelementptr inbounds i8, ptr %41, i64 %42
  store ptr %43, 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)
  %44 = getelementptr inbounds i8, ptr %2, i64 56
  %45 = load i32, ptr %5, align 4, !tbaa !10
  %46 = zext i32 %45 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %46)
  %47 = load i32, ptr %5, align 4, !tbaa !10
  %.not143 = icmp eq i32 %47, 0
  br i1 %.not143, label %._crit_edge121, label %.lr.ph120.preheader

.lr.ph120.preheader:                              ; preds = %._crit_edge
  %.pre = load ptr, ptr %4, align 8, !tbaa !5
  br label %.lr.ph120

.lr.ph120:                                        ; preds = %.lr.ph120.preheader, %.lr.ph120
  %48 = phi ptr [ %.pre, %.lr.ph120.preheader ], [ %50, %.lr.ph120 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph120.preheader ], [ %indvars.iv.next, %.lr.ph120 ]
  %49 = call noundef nonnull align 8 dereferenceable(110) ptr @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %indvars.iv) #8
  %50 = call noundef ptr @_ZN5tansa9optitrack15NatNetRigidBody5ParseEPKcPKhPS1_(ptr noundef %48, ptr noundef nonnull %1, ptr noundef nonnull %49)
  store ptr %50, ptr %4, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %51 = load i32, ptr %5, align 4, !tbaa !10
  %52 = zext i32 %51 to i64
  %53 = icmp ult i64 %indvars.iv.next, %52
  br i1 %53, label %.lr.ph120, label %._crit_edge121, !llvm.loop !14

._crit_edge121:                                   ; preds = %.lr.ph120, %._crit_edge
  %54 = icmp eq i8 %8, 2
  %55 = icmp ne i8 %10, 0
  %or.cond = select i1 %54, i1 %55, i1 false
  %56 = icmp ugt i8 %8, 2
  %or.cond3 = or i1 %56, %or.cond
  br i1 %or.cond3, label %57, label %.loopexit116

57:                                               ; preds = %._crit_edge121
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %58 = getelementptr inbounds i8, ptr %2, i64 80
  %59 = load i32, ptr %5, align 4, !tbaa !10
  %60 = zext i32 %59 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack14NatNetSkeletonESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %60)
  %61 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack14NatNetSkeletonESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  %.not144 = icmp eq i64 %61, 0
  br i1 %.not144, label %.loopexit116, label %.lr.ph128

.lr.ph128:                                        ; preds = %57, %._crit_edge125
  %62 = phi i64 [ %77, %._crit_edge125 ], [ 0, %57 ]
  %.2126 = phi i32 [ %76, %._crit_edge125 ], [ 0, %57 ]
  %63 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN5tansa9optitrack14NatNetSkeletonESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %62) #8
  call void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %63)
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %64 = getelementptr inbounds i8, ptr %63, i64 8
  %65 = load i32, ptr %5, align 4, !tbaa !10
  %66 = zext i32 %65 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %66)
  %67 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #8
  %.not145 = icmp eq i64 %67, 0
  br i1 %.not145, label %._crit_edge125, label %.lr.ph124

.lr.ph124:                                        ; preds = %.lr.ph128, %.lr.ph124
  %68 = phi i64 [ %73, %.lr.ph124 ], [ 0, %.lr.ph128 ]
  %.0108122 = phi i32 [ %72, %.lr.ph124 ], [ 0, %.lr.ph128 ]
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = call noundef nonnull align 8 dereferenceable(110) ptr @_ZNSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %68) #8
  %71 = call noundef ptr @_ZN5tansa9optitrack15NatNetRigidBody5ParseEPKcPKhPS1_(ptr noundef %69, ptr noundef nonnull %1, ptr noundef nonnull %70)
  store ptr %71, ptr %4, align 8, !tbaa !5
  %72 = add i32 %.0108122, 1
  %73 = zext i32 %72 to i64
  %74 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #8
  %75 = icmp ugt i64 %74, %73
  br i1 %75, label %.lr.ph124, label %._crit_edge125, !llvm.loop !15

._crit_edge125:                                   ; preds = %.lr.ph124, %.lr.ph128
  %76 = add i32 %.2126, 1
  %77 = zext i32 %76 to i64
  %78 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack14NatNetSkeletonESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  %79 = icmp ugt i64 %78, %77
  br i1 %79, label %.lr.ph128, label %.loopexit116, !llvm.loop !16

.loopexit116:                                     ; preds = %._crit_edge125, %57, %._crit_edge121
  %80 = icmp ugt i8 %10, 2
  %or.cond5 = select i1 %54, i1 %80, i1 false
  %or.cond7 = or i1 %56, %or.cond5
  br i1 %or.cond7, label %81, label %.loopexit115

81:                                               ; preds = %.loopexit116
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %82 = getelementptr inbounds i8, ptr %2, i64 104
  %83 = load i32, ptr %5, align 4, !tbaa !10
  %84 = zext i32 %83 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack12NatNetMarkerESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %84)
  %85 = load i32, ptr %5, align 4, !tbaa !10
  %.not146 = icmp eq i32 %85, 0
  br i1 %.not146, label %.loopexit115, label %.lr.ph131

.lr.ph131:                                        ; preds = %81
  %86 = icmp ugt i8 %10, 5
  %or.cond9 = select i1 %54, i1 %86, i1 false
  %87 = add i8 %8, -3
  %88 = icmp ult i8 %87, -2
  %or.cond13 = or i1 %88, %or.cond9
  %or.cond13.fr = freeze i1 %or.cond13
  br i1 %or.cond13.fr, label %.lr.ph131.split.us, label %.lr.ph131.split

.lr.ph131.split.us:                               ; preds = %.lr.ph131, %.lr.ph131.split.us
  %indvars.iv155 = phi i64 [ %indvars.iv.next156, %.lr.ph131.split.us ], [ 0, %.lr.ph131 ]
  %89 = call noundef nonnull align 1 dereferenceable(22) ptr @_ZNSt6vectorIN5tansa9optitrack12NatNetMarkerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %indvars.iv155) #8
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(20) %89, ptr noundef nonnull align 1 dereferenceable(20) %90, i64 20, i1 false)
  %91 = getelementptr inbounds i8, ptr %90, i64 20
  store ptr %91, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #8
  call void @_ZN5tansa9optitrack11buffer_readItEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 2 dereferenceable(2) %6)
  %92 = load i16, ptr %6, align 2, !tbaa !17
  %93 = getelementptr inbounds i8, ptr %89, i64 20
  store i16 %92, ptr %93, align 1, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #8
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %94 = load i32, ptr %5, align 4, !tbaa !10
  %95 = zext i32 %94 to i64
  %96 = icmp ult i64 %indvars.iv.next156, %95
  br i1 %96, label %.lr.ph131.split.us, label %.loopexit115, !llvm.loop !22

.lr.ph131.split:                                  ; preds = %.lr.ph131, %.lr.ph131.split
  %indvars.iv152 = phi i64 [ %indvars.iv.next153, %.lr.ph131.split ], [ 0, %.lr.ph131 ]
  %97 = call noundef nonnull align 1 dereferenceable(22) ptr @_ZNSt6vectorIN5tansa9optitrack12NatNetMarkerESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %indvars.iv152) #8
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(20) %97, ptr noundef nonnull align 1 dereferenceable(20) %98, i64 20, i1 false)
  %99 = getelementptr inbounds i8, ptr %98, i64 20
  store ptr %99, ptr %4, align 8, !tbaa !5
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %100 = load i32, ptr %5, align 4, !tbaa !10
  %101 = zext i32 %100 to i64
  %102 = icmp ult i64 %indvars.iv.next153, %101
  br i1 %102, label %.lr.ph131.split, label %.loopexit115, !llvm.loop !22

.loopexit115:                                     ; preds = %.lr.ph131.split, %.lr.ph131.split.us, %81, %.loopexit116
  %103 = icmp ugt i8 %10, 8
  %or.cond15 = select i1 %54, i1 %103, i1 false
  %or.cond17 = or i1 %56, %or.cond15
  br i1 %or.cond17, label %104, label %.loopexit

104:                                              ; preds = %.loopexit115
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %105 = getelementptr inbounds i8, ptr %2, i64 128
  %106 = load i32, ptr %5, align 4, !tbaa !10
  %107 = zext i32 %106 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack16NatNetForcePlateESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %107)
  %108 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack16NatNetForcePlateESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #8
  %.not147 = icmp eq i64 %108, 0
  br i1 %.not147, label %.loopexit, label %.lr.ph142

.lr.ph142:                                        ; preds = %104, %._crit_edge139
  %109 = phi i64 [ %129, %._crit_edge139 ], [ 0, %104 ]
  %.4140 = phi i32 [ %128, %._crit_edge139 ], [ 0, %104 ]
  %110 = call noundef nonnull align 8 dereferenceable(34) ptr @_ZNSt6vectorIN5tansa9optitrack16NatNetForcePlateESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %109) #8
  call void @_ZN5tansa9optitrack11buffer_readIiEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %110)
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %111 = getelementptr inbounds i8, ptr %110, i64 8
  %112 = load i32, ptr %5, align 4, !tbaa !10
  %113 = zext i32 %112 to i64
  call void @_ZNSt6vectorIN5tansa9optitrack19NatNetAnalogChannelESaIS2_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef %113)
  %114 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack19NatNetAnalogChannelESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #8
  %.not148 = icmp eq i64 %114, 0
  br i1 %.not148, label %._crit_edge139, label %.lr.ph138

.lr.ph138:                                        ; preds = %.lr.ph142, %._crit_edge135
  %115 = phi i64 [ %121, %._crit_edge135 ], [ 0, %.lr.ph142 ]
  %.1109136 = phi i32 [ %120, %._crit_edge135 ], [ 0, %.lr.ph142 ]
  %116 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN5tansa9optitrack19NatNetAnalogChannelESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef %115) #8
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %117 = load i32, ptr %5, align 4, !tbaa !10
  %118 = zext i32 %117 to i64
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %118)
  %119 = load i32, ptr %5, align 4, !tbaa !10
  %.not149 = icmp eq i32 %119, 0
  br i1 %.not149, label %._crit_edge135, label %.lr.ph134

._crit_edge135:                                   ; preds = %.lr.ph134, %.lr.ph138
  %120 = add i32 %.1109136, 1
  %121 = zext i32 %120 to i64
  %122 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack19NatNetAnalogChannelESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #8
  %123 = icmp ugt i64 %122, %121
  br i1 %123, label %.lr.ph138, label %._crit_edge139, !llvm.loop !23

.lr.ph134:                                        ; preds = %.lr.ph138, %.lr.ph134
  %indvars.iv158 = phi i64 [ %indvars.iv.next159, %.lr.ph134 ], [ 0, %.lr.ph138 ]
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %indvars.iv158) #8
  call void @_ZN5tansa9optitrack11buffer_readIfEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %124)
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %125 = load i32, ptr %5, align 4, !tbaa !10
  %126 = zext i32 %125 to i64
  %127 = icmp ult i64 %indvars.iv.next159, %126
  br i1 %127, label %.lr.ph134, label %._crit_edge135, !llvm.loop !24

._crit_edge139:                                   ; preds = %._crit_edge135, %.lr.ph142
  %128 = add i32 %.4140, 1
  %129 = zext i32 %128 to i64
  %130 = call noundef i64 @_ZNKSt6vectorIN5tansa9optitrack16NatNetForcePlateESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #8
  %131 = icmp ugt i64 %130, %129
  br i1 %131, label %.lr.ph142, label %.loopexit, !llvm.loop !25

.loopexit:                                        ; preds = %._crit_edge139, %104, %.loopexit115
  %132 = getelementptr inbounds i8, ptr %2, i64 152
  call void @_ZN5tansa9optitrack11buffer_readIfEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %132)
  %133 = getelementptr inbounds i8, ptr %2, i64 156
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %133)
  %134 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZN5tansa9optitrack11buffer_readIjEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %134)
  %135 = icmp ugt i8 %10, 6
  %or.cond19 = select i1 %54, i1 %135, i1 false
  %or.cond21 = or i1 %56, %or.cond19
  br i1 %or.cond21, label %136, label %138

136:                                              ; preds = %.loopexit
  %137 = getelementptr inbounds i8, ptr %2, i64 168
  call void @_ZN5tansa9optitrack11buffer_readIdEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %137)
  br label %142

138:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  store float 0.000000e+00, ptr %7, align 4, !tbaa !26
  call void @_ZN5tansa9optitrack11buffer_readIfEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %139 = load float, ptr %7, align 4, !tbaa !26
  %140 = fpext float %139 to double
  %141 = getelementptr inbounds i8, ptr %2, i64 168
  store double %140, ptr %141, align 8, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  br label %142

142:                                              ; preds = %138, %136
  %143 = getelementptr inbounds i8, ptr %2, i64 176
  call void @_ZN5tansa9optitrack11buffer_readIsEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 2 dereferenceable(2) %143)
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = getelementptr inbounds i8, ptr %144, i64 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  ret ptr %145
}

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

; 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 #2

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

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

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

; 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 #6

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5tansa9optitrack11buffer_readIdEEvRPKcRT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = !{!18, !18, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!20, !18, i64 20}
!20 = !{!"_ZTSN5tansa9optitrack12NatNetMarkerE", !11, i64 0, !21, i64 4, !21, i64 8, !21, i64 12, !21, i64 16, !18, i64 20}
!21 = !{!"float", !7, i64 0}
!22 = distinct !{!22, !13}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}
!25 = distinct !{!25, !13}
!26 = !{!21, !21, i64 0}
!27 = !{!28, !54, i64 168}
!28 = !{!"_ZTSN5tansa9optitrack11NatNetFrameE", !11, i64 0, !29, i64 8, !33, i64 32, !37, i64 56, !41, i64 80, !45, i64 104, !49, i64 128, !21, i64 152, !53, i64 156, !54, i64 168, !18, i64 176}
!29 = !{!"_ZTSSt6vectorIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack15NatNetMarkerSetESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack17NatNetPlainMarkerESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack15NatNetRigidBodyESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSSt6vectorIN5tansa9optitrack14NatNetSkeletonESaIS2_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack14NatNetSkeletonESaIS2_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack14NatNetSkeletonESaIS2_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack14NatNetSkeletonESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTSSt6vectorIN5tansa9optitrack12NatNetMarkerESaIS2_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack12NatNetMarkerESaIS2_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack12NatNetMarkerESaIS2_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack12NatNetMarkerESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!49 = !{!"_ZTSSt6vectorIN5tansa9optitrack16NatNetForcePlateESaIS2_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIN5tansa9optitrack16NatNetForcePlateESaIS2_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack16NatNetForcePlateESaIS2_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN5tansa9optitrack16NatNetForcePlateESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!53 = !{!"_ZTSN5tansa9optitrack14NatNetTimecodeE", !11, i64 0, !11, i64 4}
!54 = !{!"double", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass