; LLVM IR from ThePhysicsGuys/Physics3D :: tests/physicalStructureTests.ll (Z28testAdvancedMakeMainPhysicalv)

; 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.P3D::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%"class.P3D::GlobalCFrame" = type { %"struct.P3D::PositionTemplate", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::PositionTemplate" = type { %"struct.P3D::Fix", %"struct.P3D::Fix", %"struct.P3D::Fix" }
%"struct.P3D::Fix" = type { i64 }
%class.TolerantAssertComparer = type { i32, ptr, double }
%class.TolerantAssertComparer.9 = type { i32, ptr, double }
%struct.TolerantAssertBuilder = type { i32, double }
%class.TestInterface = type <{ i64, i8, [7 x i8] }>

@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZTI14AssertionError = external dso_local constant { ptr, ptr }, align 8

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL10createPartv() #1

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL2cfv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8) #1

; Function Attrs: uwtable
declare hidden noundef ptr @_ZTW15__testInterface() #2

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef, ptr noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200)) #3

declare void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) #3

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

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

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

declare noundef ptr @_ZNK3P3D4Part15getMainPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200)) #3

declare noundef ptr @_ZN3P3D8Physical16makeMainPhysicalEv(ptr noundef nonnull align 8 dereferenceable(144)) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z28testAdvancedMakeMainPhysicalv() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.P3D::CFrameTemplate", align 8
  %9 = alloca %"struct.P3D::CFrameTemplate", align 8
  %10 = alloca %"struct.P3D::CFrameTemplate", align 8
  %11 = alloca %"struct.P3D::CFrameTemplate", align 8
  %12 = alloca %"struct.P3D::CFrameTemplate", align 8
  %13 = alloca %"struct.P3D::CFrameTemplate", align 8
  %14 = alloca %"struct.P3D::CFrameTemplate", align 8
  %15 = alloca %"struct.P3D::CFrameTemplate", align 8
  %16 = alloca %"struct.P3D::CFrameTemplate", align 8
  %17 = alloca %"struct.P3D::CFrameTemplate", align 8
  %18 = alloca %"struct.P3D::CFrameTemplate", align 8
  %19 = alloca %"struct.P3D::CFrameTemplate", align 8
  %20 = alloca i32, align 4
  %21 = alloca [7 x ptr], align 16
  %22 = alloca ptr, align 8
  %23 = alloca [7 x %"class.P3D::GlobalCFrame"], align 16
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"class.P3D::GlobalCFrame", align 8
  %27 = alloca %class.TolerantAssertComparer, align 8
  %28 = alloca %class.TolerantAssertComparer.9, align 8
  %29 = alloca %struct.TolerantAssertBuilder, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca %"class.P3D::GlobalCFrame", align 8
  %35 = alloca %class.TolerantAssertComparer, align 8
  %36 = alloca %class.TolerantAssertComparer.9, align 8
  %37 = alloca %struct.TolerantAssertBuilder, align 8
  %38 = alloca i32, align 4
  %39 = alloca %"class.P3D::GlobalCFrame", align 8
  %40 = alloca %class.TolerantAssertComparer, align 8
  %41 = alloca %class.TolerantAssertComparer.9, align 8
  %42 = alloca %struct.TolerantAssertBuilder, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #9
  %43 = call noundef ptr @_ZL10createPartv()
  store ptr %43, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #9
  %44 = call noundef ptr @_ZL10createPartv()
  store ptr %44, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  %45 = call noundef ptr @_ZL10createPartv()
  store ptr %45, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %46 = call noundef ptr @_ZL10createPartv()
  store ptr %46, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  %47 = call noundef ptr @_ZL10createPartv()
  store ptr %47, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %48 = call noundef ptr @_ZL10createPartv()
  store ptr %48, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %49 = call noundef ptr @_ZL10createPartv()
  store ptr %49, ptr %7, align 8, !tbaa !5
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #10
  call void @llvm.memset.p0.i64(ptr align 16 %52, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %52) #9
  call void @llvm.lifetime.start.p0(i64 96, ptr %8) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %8)
  call void @llvm.lifetime.start.p0(i64 96, ptr %9) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %9)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %50, ptr noundef %51, ptr noundef %52, ptr noundef nonnull align 8 dereferenceable(96) %8, ptr noundef nonnull align 8 dereferenceable(96) %9)
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %8) #9
  %53 = load ptr, ptr %1, align 8, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #10
  call void @llvm.memset.p0.i64(ptr align 16 %55, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %55) #9
  call void @llvm.lifetime.start.p0(i64 96, ptr %10) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %10)
  call void @llvm.lifetime.start.p0(i64 96, ptr %11) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %11)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %53, ptr noundef %54, ptr noundef %55, ptr noundef nonnull align 8 dereferenceable(96) %10, ptr noundef nonnull align 8 dereferenceable(96) %11)
  call void @llvm.lifetime.end.p0(i64 96, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #9
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #10
  call void @llvm.memset.p0.i64(ptr align 16 %58, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %58) #9
  call void @llvm.lifetime.start.p0(i64 96, ptr %12) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %12)
  call void @llvm.lifetime.start.p0(i64 96, ptr %13) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %13)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %56, ptr noundef %57, ptr noundef %58, ptr noundef nonnull align 8 dereferenceable(96) %12, ptr noundef nonnull align 8 dereferenceable(96) %13)
  call void @llvm.lifetime.end.p0(i64 96, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %12) #9
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #10
  call void @llvm.memset.p0.i64(ptr align 16 %61, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %61) #9
  call void @llvm.lifetime.start.p0(i64 96, ptr %14) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %14)
  call void @llvm.lifetime.start.p0(i64 96, ptr %15) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %15)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %59, ptr noundef %60, ptr noundef %61, ptr noundef nonnull align 8 dereferenceable(96) %14, ptr noundef nonnull align 8 dereferenceable(96) %15)
  call void @llvm.lifetime.end.p0(i64 96, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %14) #9
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #10
  call void @llvm.memset.p0.i64(ptr align 16 %64, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %64) #9
  call void @llvm.lifetime.start.p0(i64 96, ptr %16) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %16)
  call void @llvm.lifetime.start.p0(i64 96, ptr %17) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %17)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %62, ptr noundef %63, ptr noundef %64, ptr noundef nonnull align 8 dereferenceable(96) %16, ptr noundef nonnull align 8 dereferenceable(96) %17)
  call void @llvm.lifetime.end.p0(i64 96, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %16) #9
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #10
  call void @llvm.memset.p0.i64(ptr align 16 %67, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %67) #9
  call void @llvm.lifetime.start.p0(i64 96, ptr %18) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %18)
  call void @llvm.lifetime.start.p0(i64 96, ptr %19) #9
  call void @_ZL2cfv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %19)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %65, ptr noundef %66, ptr noundef %67, ptr noundef nonnull align 8 dereferenceable(96) %18, ptr noundef nonnull align 8 dereferenceable(96) %19)
  call void @llvm.lifetime.end.p0(i64 96, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 7, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 56, ptr %21) #9
  %68 = load ptr, ptr %1, align 8, !tbaa !5
  store ptr %68, ptr %21, align 8, !tbaa !5
  %69 = getelementptr inbounds ptr, ptr %21, i64 1
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %70, ptr %69, align 8, !tbaa !5
  %71 = getelementptr inbounds ptr, ptr %21, i64 2
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %72, ptr %71, align 8, !tbaa !5
  %73 = getelementptr inbounds ptr, ptr %21, i64 3
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %74, ptr %73, align 8, !tbaa !5
  %75 = getelementptr inbounds ptr, ptr %21, i64 4
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %76, ptr %75, align 8, !tbaa !5
  %77 = getelementptr inbounds ptr, ptr %21, i64 5
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %78, ptr %77, align 8, !tbaa !5
  %79 = getelementptr inbounds ptr, ptr %21, i64 6
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %80, ptr %79, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %81 = load ptr, ptr %1, align 8, !tbaa !5
  %82 = call noundef ptr @_ZNK3P3D4Part15getMainPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %81)
  store ptr %82, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 672, ptr %23) #9
  %83 = getelementptr inbounds [7 x %"class.P3D::GlobalCFrame"], ptr %23, i32 0, i32 0
  %84 = getelementptr inbounds %"class.P3D::GlobalCFrame", ptr %83, i64 7
  br label %85

85:                                               ; preds = %85, %0
  %86 = phi ptr [ %83, %0 ], [ %87, %85 ]
  call void @_ZN3P3D12GlobalCFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %86)
  %87 = getelementptr inbounds %"class.P3D::GlobalCFrame", ptr %86, i64 1
  %88 = icmp eq ptr %87, %84
  br i1 %88, label %89, label %85

89:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %103, %89
  %91 = load i32, ptr %24, align 4, !tbaa !9
  %92 = icmp slt i32 %91, 7
  br i1 %92, label %94, label %93

93:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %106

94:                                               ; preds = %90
  %95 = load i32, ptr %24, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %96
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  %99 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %98)
  %100 = load i32, ptr %24, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [7 x %"class.P3D::GlobalCFrame"], ptr %23, i64 0, i64 %101
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %102, ptr align 8 %99, i64 96, i1 false), !tbaa.struct !11
  br label %103

103:                                              ; preds = %94
  %104 = load i32, ptr %24, align 4, !tbaa !9
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %24, align 4, !tbaa !9
  br label %90, !llvm.loop !15

106:                                              ; preds = %93
  %107 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN3P3D17MotorizedPhysical31fullRefreshOfConnectedPhysicalsEv(ptr noundef nonnull align 8 dereferenceable(416) %107)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %147, %106
  %109 = load i32, ptr %25, align 4, !tbaa !9
  %110 = icmp slt i32 %109, 7
  br i1 %110, label %112, label %111

111:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %150

112:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 96, ptr %26) #9
  %113 = load i32, ptr %25, align 4, !tbaa !9
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %114
  %116 = load ptr, ptr %115, align 8, !tbaa !5
  %117 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %116)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %117, i64 96, i1 false), !tbaa.struct !11
  br label %118

118:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #9
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %29, i32 noundef 175, double noundef 5.000000e-04)
  %119 = load i32, ptr %25, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [7 x %"class.P3D::GlobalCFrame"], ptr %23, i64 0, i64 %120
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.9) align 8 %28, ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(96) %121)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %27, ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(96) %26)
  %122 = getelementptr inbounds %class.TolerantAssertComparer, ptr %27, i32 0, i32 1
  %123 = load ptr, ptr %122, align 8, !tbaa !17
  %124 = load i8, ptr %123, align 1, !tbaa !20, !range !22, !noundef !23
  %125 = trunc i8 %124 to i1
  %126 = xor i1 %125, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #9
  br i1 %126, label %127, label %140

127:                                              ; preds = %118
  %128 = call ptr @_ZTW15__testInterface()
  %129 = getelementptr inbounds %class.TestInterface, ptr %128, i32 0, i32 1
  %130 = load i8, ptr %129, align 8, !tbaa !24, !range !22, !noundef !23
  %131 = trunc i8 %130 to i1
  br i1 %131, label %132, label %133

132:                                              ; preds = %127
  br label %133

133:                                              ; preds = %132, %127
  %134 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %134, i32 noundef 175, ptr noundef @.str.5)
          to label %135 unwind label %136

135:                                              ; preds = %133
  call void @__cxa_throw(ptr %134, ptr @_ZTI14AssertionError, ptr null) #11
  unreachable

136:                                              ; preds = %133
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %30, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %31, align 4
  call void @__cxa_free_exception(ptr %134) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %283

140:                                              ; preds = %118
  %141 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %141)
  br label %142

142:                                              ; preds = %140
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %25, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [7 x %"class.P3D::GlobalCFrame"], ptr %23, i64 0, i64 %145
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %146, ptr align 8 %26, i64 96, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 96, ptr %26) #9
  br label %147

147:                                              ; preds = %143
  %148 = load i32, ptr %25, align 4, !tbaa !9
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %25, align 4, !tbaa !9
  br label %108, !llvm.loop !26

150:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %151)
  %153 = call noundef ptr @_ZN3P3D8Physical16makeMainPhysicalEv(ptr noundef nonnull align 8 dereferenceable(144) %152)
  store ptr %153, ptr %32, align 8, !tbaa !5
  br label %154

154:                                              ; preds = %150
  %155 = load ptr, ptr %32, align 8, !tbaa !5
  %156 = load ptr, ptr %22, align 8, !tbaa !5
  %157 = icmp eq ptr %155, %156
  br i1 %157, label %171, label %158

158:                                              ; preds = %154
  %159 = call ptr @_ZTW15__testInterface()
  %160 = getelementptr inbounds %class.TestInterface, ptr %159, i32 0, i32 1
  %161 = load i8, ptr %160, align 8, !tbaa !24, !range !22, !noundef !23
  %162 = trunc i8 %161 to i1
  br i1 %162, label %163, label %164

163:                                              ; preds = %158
  br label %164

164:                                              ; preds = %163, %158
  %165 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %165, i32 noundef 180, ptr noundef @.str.5)
          to label %166 unwind label %167

166:                                              ; preds = %164
  call void @__cxa_throw(ptr %165, ptr @_ZTI14AssertionError, ptr null) #11
  unreachable

167:                                              ; preds = %164
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %30, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %31, align 4
  call void @__cxa_free_exception(ptr %165) #9
  br label %282

171:                                              ; preds = %154
  %172 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %172)
  br label %173

173:                                              ; preds = %171
  br label %174

174:                                              ; preds = %173
  br label %175

175:                                              ; preds = %174
  %176 = load ptr, ptr %22, align 8, !tbaa !5
  %177 = call noundef zeroext i1 @_ZNK3P3D17MotorizedPhysical7isValidEv(ptr noundef nonnull align 8 dereferenceable(416) %176)
  br i1 %177, label %191, label %178

178:                                              ; preds = %175
  %179 = call ptr @_ZTW15__testInterface()
  %180 = getelementptr inbounds %class.TestInterface, ptr %179, i32 0, i32 1
  %181 = load i8, ptr %180, align 8, !tbaa !24, !range !22, !noundef !23
  %182 = trunc i8 %181 to i1
  br i1 %182, label %183, label %184

183:                                              ; preds = %178
  br label %184

184:                                              ; preds = %183, %178
  %185 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %185, i32 noundef 181, ptr noundef @.str.5)
          to label %186 unwind label %187

186:                                              ; preds = %184
  call void @__cxa_throw(ptr %185, ptr @_ZTI14AssertionError, ptr null) #11
  unreachable

187:                                              ; preds = %184
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %30, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %31, align 4
  call void @__cxa_free_exception(ptr %185) #9
  br label %282

191:                                              ; preds = %175
  %192 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %192)
  br label %193

193:                                              ; preds = %191
  br label %194

194:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  store i32 0, ptr %33, align 4, !tbaa !9
  br label %195

195:                                              ; preds = %234, %194
  %196 = load i32, ptr %33, align 4, !tbaa !9
  %197 = icmp slt i32 %196, 7
  br i1 %197, label %199, label %198

198:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %237

199:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 96, ptr %34) #9
  %200 = load i32, ptr %33, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %201
  %203 = load ptr, ptr %202, align 8, !tbaa !5
  %204 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %203)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %34, ptr align 8 %204, i64 96, i1 false), !tbaa.struct !11
  br label %205

205:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #9
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %37, i32 noundef 185, double noundef 5.000000e-04)
  %206 = load i32, ptr %33, align 4, !tbaa !9
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [7 x %"class.P3D::GlobalCFrame"], ptr %23, i64 0, i64 %207
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.9) align 8 %36, ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 8 dereferenceable(96) %208)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %35, ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(96) %34)
  %209 = getelementptr inbounds %class.TolerantAssertComparer, ptr %35, i32 0, i32 1
  %210 = load ptr, ptr %209, align 8, !tbaa !17
  %211 = load i8, ptr %210, align 1, !tbaa !20, !range !22, !noundef !23
  %212 = trunc i8 %211 to i1
  %213 = xor i1 %212, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #9
  br i1 %213, label %214, label %227

214:                                              ; preds = %205
  %215 = call ptr @_ZTW15__testInterface()
  %216 = getelementptr inbounds %class.TestInterface, ptr %215, i32 0, i32 1
  %217 = load i8, ptr %216, align 8, !tbaa !24, !range !22, !noundef !23
  %218 = trunc i8 %217 to i1
  br i1 %218, label %219, label %220

219:                                              ; preds = %214
  br label %220

220:                                              ; preds = %219, %214
  %221 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %221, i32 noundef 185, ptr noundef @.str.5)
          to label %222 unwind label %223

222:                                              ; preds = %220
  call void @__cxa_throw(ptr %221, ptr @_ZTI14AssertionError, ptr null) #11
  unreachable

223:                                              ; preds = %220
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %30, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %31, align 4
  call void @__cxa_free_exception(ptr %221) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %282

227:                                              ; preds = %205
  %228 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %228)
  br label %229

229:                                              ; preds = %227
  br label %230

230:                                              ; preds = %229
  %231 = load i32, ptr %33, align 4, !tbaa !9
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds [7 x %"class.P3D::GlobalCFrame"], ptr %23, i64 0, i64 %232
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %233, ptr align 8 %34, i64 96, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 96, ptr %34) #9
  br label %234

234:                                              ; preds = %230
  %235 = load i32, ptr %33, align 4, !tbaa !9
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %33, align 4, !tbaa !9
  br label %195, !llvm.loop !27

237:                                              ; preds = %198
  %238 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZN3P3D17MotorizedPhysical31fullRefreshOfConnectedPhysicalsEv(ptr noundef nonnull align 8 dereferenceable(416) %238)
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  store i32 0, ptr %38, align 4, !tbaa !9
  br label %239

239:                                              ; preds = %278, %237
  %240 = load i32, ptr %38, align 4, !tbaa !9
  %241 = icmp slt i32 %240, 7
  br i1 %241, label %243, label %242

242:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  br label %281

243:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 96, ptr %39) #9
  %244 = load i32, ptr %38, align 4, !tbaa !9
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [7 x ptr], ptr %21, i64 0, i64 %245
  %247 = load ptr, ptr %246, align 8, !tbaa !5
  %248 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %247)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %39, ptr align 8 %248, i64 96, i1 false), !tbaa.struct !11
  br label %249

249:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #9
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %42, i32 noundef 191, double noundef 5.000000e-04)
  %250 = load i32, ptr %38, align 4, !tbaa !9
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [7 x %"class.P3D::GlobalCFrame"], ptr %23, i64 0, i64 %251
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.9) align 8 %41, ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(96) %252)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %40, ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(96) %39)
  %253 = getelementptr inbounds %class.TolerantAssertComparer, ptr %40, i32 0, i32 1
  %254 = load ptr, ptr %253, align 8, !tbaa !17
  %255 = load i8, ptr %254, align 1, !tbaa !20, !range !22, !noundef !23
  %256 = trunc i8 %255 to i1
  %257 = xor i1 %256, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #9
  br i1 %257, label %258, label %271

258:                                              ; preds = %249
  %259 = call ptr @_ZTW15__testInterface()
  %260 = getelementptr inbounds %class.TestInterface, ptr %259, i32 0, i32 1
  %261 = load i8, ptr %260, align 8, !tbaa !24, !range !22, !noundef !23
  %262 = trunc i8 %261 to i1
  br i1 %262, label %263, label %264

263:                                              ; preds = %258
  br label %264

264:                                              ; preds = %263, %258
  %265 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %265, i32 noundef 191, ptr noundef @.str.5)
          to label %266 unwind label %267

266:                                              ; preds = %264
  call void @__cxa_throw(ptr %265, ptr @_ZTI14AssertionError, ptr null) #11
  unreachable

267:                                              ; preds = %264
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %30, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %31, align 4
  call void @__cxa_free_exception(ptr %265) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  br label %282

271:                                              ; preds = %249
  %272 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %272)
  br label %273

273:                                              ; preds = %271
  br label %274

274:                                              ; preds = %273
  %275 = load i32, ptr %38, align 4, !tbaa !9
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds [7 x %"class.P3D::GlobalCFrame"], ptr %23, i64 0, i64 %276
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %277, ptr align 8 %39, i64 96, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 96, ptr %39) #9
  br label %278

278:                                              ; preds = %274
  %279 = load i32, ptr %38, align 4, !tbaa !9
  %280 = add nsw i32 %279, 1
  store i32 %280, ptr %38, align 4, !tbaa !9
  br label %239, !llvm.loop !28

281:                                              ; preds = %242
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 672, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #9
  ret void

282:                                              ; preds = %267, %223, %187, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %283

283:                                              ; preds = %282, %136
  call void @llvm.lifetime.end.p0(i64 672, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #9
  br label %284

284:                                              ; preds = %283
  %285 = load ptr, ptr %30, align 8
  %286 = load i32, ptr %31, align 4
  %287 = insertvalue { ptr, i32 } poison, ptr %285, 0
  %288 = insertvalue { ptr, i32 } %287, i32 %286, 1
  resume { ptr, i32 } %288
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200)) #7 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) #8

declare void @_ZN3P3D17MotorizedPhysical31fullRefreshOfConnectedPhysicalsEv(ptr noundef nonnull align 8 dereferenceable(416)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, double noundef) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.9) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(96)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(96)) #1 align 2

declare noundef zeroext i1 @_ZNK3P3D17MotorizedPhysical7isValidEv(ptr noundef nonnull align 8 dereferenceable(416)) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 8, !12, i64 8, i64 8, !12, i64 16, i64 8, !12, i64 24, i64 72, !14}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !6, i64 8}
!18 = !{!"_ZTS22TolerantAssertComparerIbdE", !10, i64 0, !6, i64 8, !19, i64 16}
!19 = !{!"double", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!25, !21, i64 8}
!25 = !{!"_ZTS13TestInterface", !13, i64 0, !21, i64 8}
!26 = distinct !{!26, !16}
!27 = distinct !{!27, !16}
!28 = distinct !{!28, !16}


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

%"struct.P3D::CFrameTemplate" = type { %"struct.P3D::Vector", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%"class.P3D::GlobalCFrame" = type { %"struct.P3D::PositionTemplate", %"class.P3D::MatrixRotationTemplate" }
%"struct.P3D::PositionTemplate" = type { %"struct.P3D::Fix", %"struct.P3D::Fix", %"struct.P3D::Fix" }
%"struct.P3D::Fix" = type { i64 }
%class.TolerantAssertComparer = type { i32, ptr, double }
%class.TolerantAssertComparer.9 = type { i32, ptr, double }
%struct.TolerantAssertBuilder = type { i32, double }

@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZTI14AssertionError = external dso_local constant { ptr, ptr }, align 8

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL10createPartv() 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 uwtable
declare hidden void @_ZL2cfv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8) local_unnamed_addr #1

; Function Attrs: uwtable
declare hidden noundef ptr @_ZTW15__testInterface() local_unnamed_addr #2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef, ptr noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #3

declare void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #3

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

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

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

declare noundef ptr @_ZNK3P3D4Part15getMainPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #3

declare noundef ptr @_ZN3P3D8Physical16makeMainPhysicalEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z28testAdvancedMakeMainPhysicalv() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
.preheader.preheader:
  %0 = alloca %"struct.P3D::CFrameTemplate", align 8
  %1 = alloca %"struct.P3D::CFrameTemplate", align 8
  %2 = alloca %"struct.P3D::CFrameTemplate", align 8
  %3 = alloca %"struct.P3D::CFrameTemplate", align 8
  %4 = alloca %"struct.P3D::CFrameTemplate", align 8
  %5 = alloca %"struct.P3D::CFrameTemplate", align 8
  %6 = alloca %"struct.P3D::CFrameTemplate", align 8
  %7 = alloca %"struct.P3D::CFrameTemplate", align 8
  %8 = alloca %"struct.P3D::CFrameTemplate", align 8
  %9 = alloca %"struct.P3D::CFrameTemplate", align 8
  %10 = alloca %"struct.P3D::CFrameTemplate", align 8
  %11 = alloca %"struct.P3D::CFrameTemplate", align 8
  %12 = alloca [7 x %"class.P3D::GlobalCFrame"], align 16
  %13 = alloca %"class.P3D::GlobalCFrame", align 8
  %14 = alloca %class.TolerantAssertComparer, align 8
  %15 = alloca %class.TolerantAssertComparer.9, align 8
  %16 = alloca %struct.TolerantAssertBuilder, align 8
  %17 = alloca %"class.P3D::GlobalCFrame", align 8
  %18 = alloca %class.TolerantAssertComparer, align 8
  %19 = alloca %class.TolerantAssertComparer.9, align 8
  %20 = alloca %struct.TolerantAssertBuilder, align 8
  %21 = alloca %"class.P3D::GlobalCFrame", align 8
  %22 = alloca %class.TolerantAssertComparer, align 8
  %23 = alloca %class.TolerantAssertComparer.9, align 8
  %24 = alloca %struct.TolerantAssertBuilder, align 8
  %25 = tail call noundef ptr @_ZL10createPartv()
  %26 = tail call noundef ptr @_ZL10createPartv()
  %27 = tail call noundef ptr @_ZL10createPartv()
  %28 = tail call noundef ptr @_ZL10createPartv()
  %29 = tail call noundef ptr @_ZL10createPartv()
  %30 = tail call noundef ptr @_ZL10createPartv()
  %31 = tail call noundef ptr @_ZL10createPartv()
  %32 = tail call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #9
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %32, i8 0, i64 16, i1 false)
  tail call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %32) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %0) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %0)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %1) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %1)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %25, ptr noundef %26, ptr noundef nonnull %32, ptr noundef nonnull align 8 dereferenceable(96) %0, ptr noundef nonnull align 8 dereferenceable(96) %1)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %1) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %0) #10
  %33 = call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %33, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %33) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %2) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %2)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %3) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %3)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %25, ptr noundef %29, ptr noundef nonnull %33, ptr noundef nonnull align 8 dereferenceable(96) %2, ptr noundef nonnull align 8 dereferenceable(96) %3)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %3) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %2) #10
  %34 = call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %34, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %34) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %4)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %5) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %5)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %26, ptr noundef %27, ptr noundef nonnull %34, ptr noundef nonnull align 8 dereferenceable(96) %4, ptr noundef nonnull align 8 dereferenceable(96) %5)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #10
  %35 = call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %35, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %35) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %6) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %6)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %7) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %7)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %26, ptr noundef %28, ptr noundef nonnull %35, ptr noundef nonnull align 8 dereferenceable(96) %6, ptr noundef nonnull align 8 dereferenceable(96) %7)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #10
  %36 = call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %36, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %36) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %8) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %8)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %9) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %9)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %29, ptr noundef %30, ptr noundef nonnull %36, ptr noundef nonnull align 8 dereferenceable(96) %8, ptr noundef nonnull align 8 dereferenceable(96) %9)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %8) #10
  %37 = call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %37, i8 0, i64 16, i1 false)
  call void @_ZN3P3D15FixedConstraintC2Ev(ptr noundef nonnull align 8 dereferenceable(9) %37) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %10) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %10)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %11) #10
  call void @_ZL2cfv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %11)
  call void @_ZN3P3D4Part6attachEPS0_PNS_14HardConstraintERKNS_14CFrameTemplateIdEES7_(ptr noundef nonnull align 8 dereferenceable(200) %30, ptr noundef %31, ptr noundef nonnull %37, ptr noundef nonnull align 8 dereferenceable(96) %10, ptr noundef nonnull align 8 dereferenceable(96) %11)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %10) #10
  %38 = call noundef ptr @_ZNK3P3D4Part15getMainPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %25)
  call void @llvm.lifetime.start.p0(i64 672, ptr nonnull %12) #10
  call void @_ZN3P3D12GlobalCFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %12)
  %.ptr.1 = getelementptr inbounds i8, ptr %12, i64 96
  call void @_ZN3P3D12GlobalCFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %.ptr.1)
  %.ptr.2 = getelementptr inbounds i8, ptr %12, i64 192
  call void @_ZN3P3D12GlobalCFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %.ptr.2)
  %.ptr.3 = getelementptr inbounds i8, ptr %12, i64 288
  call void @_ZN3P3D12GlobalCFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %.ptr.3)
  %.ptr.4 = getelementptr inbounds i8, ptr %12, i64 384
  call void @_ZN3P3D12GlobalCFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %.ptr.4)
  %.ptr.5 = getelementptr inbounds i8, ptr %12, i64 480
  call void @_ZN3P3D12GlobalCFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %.ptr.5)
  %.ptr.6 = getelementptr inbounds i8, ptr %12, i64 576
  call void @_ZN3P3D12GlobalCFrameC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %.ptr.6)
  %39 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %25)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %12, ptr noundef nonnull align 8 dereferenceable(96) %39, i64 96, i1 false), !tbaa.struct !5
  %40 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %26)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.1, ptr noundef nonnull align 8 dereferenceable(96) %40, i64 96, i1 false), !tbaa.struct !5
  %41 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %27)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.2, ptr noundef nonnull align 8 dereferenceable(96) %41, i64 96, i1 false), !tbaa.struct !5
  %42 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %28)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.3, ptr noundef nonnull align 8 dereferenceable(96) %42, i64 96, i1 false), !tbaa.struct !5
  %43 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %29)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.4, ptr noundef nonnull align 8 dereferenceable(96) %43, i64 96, i1 false), !tbaa.struct !5
  %44 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %30)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.5, ptr noundef nonnull align 8 dereferenceable(96) %44, i64 96, i1 false), !tbaa.struct !5
  %45 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %31)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.6, ptr noundef nonnull align 8 dereferenceable(96) %45, i64 96, i1 false), !tbaa.struct !5
  call void @_ZN3P3D17MotorizedPhysical31fullRefreshOfConnectedPhysicalsEv(ptr noundef nonnull align 8 dereferenceable(416) %38)
  %46 = getelementptr inbounds i8, ptr %14, i64 8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %13) #10
  %47 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %25)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %13, ptr noundef nonnull align 8 dereferenceable(96) %47, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 175, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(96) %12)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(96) %13)
  %48 = load ptr, ptr %46, align 8, !tbaa !11
  %49 = load i8, ptr %48, align 1, !tbaa !16, !range !18, !noundef !19
  %50 = trunc nuw i8 %49 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  br i1 %50, label %57, label %51

51:                                               ; preds = %87, %81, %75, %69, %63, %57, %.preheader.preheader
  %52 = call ptr @_ZTW15__testInterface()
  %53 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %53, i32 noundef 175, ptr noundef nonnull @.str.5)
          to label %54 unwind label %55

54:                                               ; preds = %51
  call void @__cxa_throw(ptr nonnull %53, ptr nonnull @_ZTI14AssertionError, ptr null) #11
  unreachable

55:                                               ; preds = %51
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %53) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #10
  br label %211

57:                                               ; preds = %.preheader.preheader
  %58 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %58)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %12, ptr noundef nonnull align 8 dereferenceable(96) %13, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %13) #10
  %59 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %26)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %13, ptr noundef nonnull align 8 dereferenceable(96) %59, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 175, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.1)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(96) %13)
  %60 = load ptr, ptr %46, align 8, !tbaa !11
  %61 = load i8, ptr %60, align 1, !tbaa !16, !range !18, !noundef !19
  %62 = trunc nuw i8 %61 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  br i1 %62, label %63, label %51

63:                                               ; preds = %57
  %64 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %64)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.1, ptr noundef nonnull align 8 dereferenceable(96) %13, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %13) #10
  %65 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %27)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %13, ptr noundef nonnull align 8 dereferenceable(96) %65, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 175, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.2)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(96) %13)
  %66 = load ptr, ptr %46, align 8, !tbaa !11
  %67 = load i8, ptr %66, align 1, !tbaa !16, !range !18, !noundef !19
  %68 = trunc nuw i8 %67 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  br i1 %68, label %69, label %51

69:                                               ; preds = %63
  %70 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %70)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.2, ptr noundef nonnull align 8 dereferenceable(96) %13, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %13) #10
  %71 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %28)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %13, ptr noundef nonnull align 8 dereferenceable(96) %71, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 175, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.3)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(96) %13)
  %72 = load ptr, ptr %46, align 8, !tbaa !11
  %73 = load i8, ptr %72, align 1, !tbaa !16, !range !18, !noundef !19
  %74 = trunc nuw i8 %73 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  br i1 %74, label %75, label %51

75:                                               ; preds = %69
  %76 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %76)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.3, ptr noundef nonnull align 8 dereferenceable(96) %13, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %13) #10
  %77 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %29)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %13, ptr noundef nonnull align 8 dereferenceable(96) %77, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 175, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.4)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(96) %13)
  %78 = load ptr, ptr %46, align 8, !tbaa !11
  %79 = load i8, ptr %78, align 1, !tbaa !16, !range !18, !noundef !19
  %80 = trunc nuw i8 %79 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  br i1 %80, label %81, label %51

81:                                               ; preds = %75
  %82 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %82)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.4, ptr noundef nonnull align 8 dereferenceable(96) %13, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %13) #10
  %83 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %30)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %13, ptr noundef nonnull align 8 dereferenceable(96) %83, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 175, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.5)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(96) %13)
  %84 = load ptr, ptr %46, align 8, !tbaa !11
  %85 = load i8, ptr %84, align 1, !tbaa !16, !range !18, !noundef !19
  %86 = trunc nuw i8 %85 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  br i1 %86, label %87, label %51

87:                                               ; preds = %81
  %88 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %88)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.5, ptr noundef nonnull align 8 dereferenceable(96) %13, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %13) #10
  %89 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %31)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %13, ptr noundef nonnull align 8 dereferenceable(96) %89, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 175, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.6)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(96) %13)
  %90 = load ptr, ptr %46, align 8, !tbaa !11
  %91 = load i8, ptr %90, align 1, !tbaa !16, !range !18, !noundef !19
  %92 = trunc nuw i8 %91 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #10
  br i1 %92, label %93, label %51

93:                                               ; preds = %87
  %94 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %94)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.6, ptr noundef nonnull align 8 dereferenceable(96) %13, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #10
  %95 = call noundef ptr @_ZNK3P3D4Part11getPhysicalEv(ptr noundef nonnull align 8 dereferenceable(200) %30)
  %96 = call noundef ptr @_ZN3P3D8Physical16makeMainPhysicalEv(ptr noundef nonnull align 8 dereferenceable(144) %95)
  %97 = icmp eq ptr %96, %38
  %98 = call ptr @_ZTW15__testInterface()
  br i1 %97, label %104, label %99

99:                                               ; preds = %93
  %100 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %100, i32 noundef 180, ptr noundef nonnull @.str.5)
          to label %101 unwind label %102

101:                                              ; preds = %99
  call void @__cxa_throw(ptr nonnull %100, ptr nonnull @_ZTI14AssertionError, ptr null) #11
  unreachable

102:                                              ; preds = %99
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %100) #10
  br label %211

104:                                              ; preds = %93
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %98)
  %105 = call noundef zeroext i1 @_ZNK3P3D17MotorizedPhysical7isValidEv(ptr noundef nonnull align 8 dereferenceable(416) %38)
  %106 = call ptr @_ZTW15__testInterface()
  br i1 %105, label %112, label %107

107:                                              ; preds = %104
  %108 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %108, i32 noundef 181, ptr noundef nonnull @.str.5)
          to label %109 unwind label %110

109:                                              ; preds = %107
  call void @__cxa_throw(ptr nonnull %108, ptr nonnull @_ZTI14AssertionError, ptr null) #11
  unreachable

110:                                              ; preds = %107
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %108) #10
  br label %211

112:                                              ; preds = %104
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %106)
  %113 = getelementptr inbounds i8, ptr %18, i64 8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %17) #10
  %114 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %25)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(96) %114, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 185, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(96) %12)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(96) %17)
  %115 = load ptr, ptr %113, align 8, !tbaa !11
  %116 = load i8, ptr %115, align 1, !tbaa !16, !range !18, !noundef !19
  %117 = trunc nuw i8 %116 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  br i1 %117, label %124, label %118

118:                                              ; preds = %154, %148, %142, %136, %130, %124, %112
  %119 = call ptr @_ZTW15__testInterface()
  %120 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %120, i32 noundef 185, ptr noundef nonnull @.str.5)
          to label %121 unwind label %122

121:                                              ; preds = %118
  call void @__cxa_throw(ptr nonnull %120, ptr nonnull @_ZTI14AssertionError, ptr null) #11
  unreachable

122:                                              ; preds = %118
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %120) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %17) #10
  br label %211

124:                                              ; preds = %112
  %125 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %125)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %12, ptr noundef nonnull align 8 dereferenceable(96) %17, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %17) #10
  %126 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %26)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(96) %126, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 185, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.1)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(96) %17)
  %127 = load ptr, ptr %113, align 8, !tbaa !11
  %128 = load i8, ptr %127, align 1, !tbaa !16, !range !18, !noundef !19
  %129 = trunc nuw i8 %128 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  br i1 %129, label %130, label %118

130:                                              ; preds = %124
  %131 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %131)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.1, ptr noundef nonnull align 8 dereferenceable(96) %17, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %17) #10
  %132 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %27)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(96) %132, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 185, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.2)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(96) %17)
  %133 = load ptr, ptr %113, align 8, !tbaa !11
  %134 = load i8, ptr %133, align 1, !tbaa !16, !range !18, !noundef !19
  %135 = trunc nuw i8 %134 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  br i1 %135, label %136, label %118

136:                                              ; preds = %130
  %137 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %137)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.2, ptr noundef nonnull align 8 dereferenceable(96) %17, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %17) #10
  %138 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %28)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(96) %138, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 185, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.3)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(96) %17)
  %139 = load ptr, ptr %113, align 8, !tbaa !11
  %140 = load i8, ptr %139, align 1, !tbaa !16, !range !18, !noundef !19
  %141 = trunc nuw i8 %140 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  br i1 %141, label %142, label %118

142:                                              ; preds = %136
  %143 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %143)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.3, ptr noundef nonnull align 8 dereferenceable(96) %17, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %17) #10
  %144 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %29)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(96) %144, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 185, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.4)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(96) %17)
  %145 = load ptr, ptr %113, align 8, !tbaa !11
  %146 = load i8, ptr %145, align 1, !tbaa !16, !range !18, !noundef !19
  %147 = trunc nuw i8 %146 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  br i1 %147, label %148, label %118

148:                                              ; preds = %142
  %149 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %149)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.4, ptr noundef nonnull align 8 dereferenceable(96) %17, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %17) #10
  %150 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %30)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(96) %150, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 185, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.5)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(96) %17)
  %151 = load ptr, ptr %113, align 8, !tbaa !11
  %152 = load i8, ptr %151, align 1, !tbaa !16, !range !18, !noundef !19
  %153 = trunc nuw i8 %152 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  br i1 %153, label %154, label %118

154:                                              ; preds = %148
  %155 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %155)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.5, ptr noundef nonnull align 8 dereferenceable(96) %17, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %17) #10
  %156 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %31)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(96) %156, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 185, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.6)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(96) %17)
  %157 = load ptr, ptr %113, align 8, !tbaa !11
  %158 = load i8, ptr %157, align 1, !tbaa !16, !range !18, !noundef !19
  %159 = trunc nuw i8 %158 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  br i1 %159, label %160, label %118

160:                                              ; preds = %154
  %161 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %161)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.6, ptr noundef nonnull align 8 dereferenceable(96) %17, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %17) #10
  call void @_ZN3P3D17MotorizedPhysical31fullRefreshOfConnectedPhysicalsEv(ptr noundef nonnull align 8 dereferenceable(416) %38)
  %162 = getelementptr inbounds i8, ptr %22, i64 8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %21) #10
  %163 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %25)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %21, ptr noundef nonnull align 8 dereferenceable(96) %163, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef 191, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(96) %12)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(96) %21)
  %164 = load ptr, ptr %162, align 8, !tbaa !11
  %165 = load i8, ptr %164, align 1, !tbaa !16, !range !18, !noundef !19
  %166 = trunc nuw i8 %165 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #10
  br i1 %166, label %173, label %167

167:                                              ; preds = %203, %197, %191, %185, %179, %173, %160
  %168 = call ptr @_ZTW15__testInterface()
  %169 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %169, i32 noundef 191, ptr noundef nonnull @.str.5)
          to label %170 unwind label %171

170:                                              ; preds = %167
  call void @__cxa_throw(ptr nonnull %169, ptr nonnull @_ZTI14AssertionError, ptr null) #11
  unreachable

171:                                              ; preds = %167
  %172 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %169) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #10
  br label %211

173:                                              ; preds = %160
  %174 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %174)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %12, ptr noundef nonnull align 8 dereferenceable(96) %21, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %21) #10
  %175 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %26)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %21, ptr noundef nonnull align 8 dereferenceable(96) %175, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef 191, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.1)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(96) %21)
  %176 = load ptr, ptr %162, align 8, !tbaa !11
  %177 = load i8, ptr %176, align 1, !tbaa !16, !range !18, !noundef !19
  %178 = trunc nuw i8 %177 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #10
  br i1 %178, label %179, label %167

179:                                              ; preds = %173
  %180 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %180)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.1, ptr noundef nonnull align 8 dereferenceable(96) %21, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %21) #10
  %181 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %27)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %21, ptr noundef nonnull align 8 dereferenceable(96) %181, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef 191, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.2)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(96) %21)
  %182 = load ptr, ptr %162, align 8, !tbaa !11
  %183 = load i8, ptr %182, align 1, !tbaa !16, !range !18, !noundef !19
  %184 = trunc nuw i8 %183 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #10
  br i1 %184, label %185, label %167

185:                                              ; preds = %179
  %186 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %186)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.2, ptr noundef nonnull align 8 dereferenceable(96) %21, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %21) #10
  %187 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %28)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %21, ptr noundef nonnull align 8 dereferenceable(96) %187, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef 191, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.3)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(96) %21)
  %188 = load ptr, ptr %162, align 8, !tbaa !11
  %189 = load i8, ptr %188, align 1, !tbaa !16, !range !18, !noundef !19
  %190 = trunc nuw i8 %189 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #10
  br i1 %190, label %191, label %167

191:                                              ; preds = %185
  %192 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %192)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.3, ptr noundef nonnull align 8 dereferenceable(96) %21, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %21) #10
  %193 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %29)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %21, ptr noundef nonnull align 8 dereferenceable(96) %193, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef 191, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.4)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(96) %21)
  %194 = load ptr, ptr %162, align 8, !tbaa !11
  %195 = load i8, ptr %194, align 1, !tbaa !16, !range !18, !noundef !19
  %196 = trunc nuw i8 %195 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #10
  br i1 %196, label %197, label %167

197:                                              ; preds = %191
  %198 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %198)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.4, ptr noundef nonnull align 8 dereferenceable(96) %21, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %21) #10
  %199 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %30)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %21, ptr noundef nonnull align 8 dereferenceable(96) %199, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef 191, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.5)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(96) %21)
  %200 = load ptr, ptr %162, align 8, !tbaa !11
  %201 = load i8, ptr %200, align 1, !tbaa !16, !range !18, !noundef !19
  %202 = trunc nuw i8 %201 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #10
  br i1 %202, label %203, label %167

203:                                              ; preds = %197
  %204 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %204)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(96) %.ptr.5, ptr noundef nonnull align 8 dereferenceable(96) %21, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %21) #10
  %205 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200) %31)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %21, ptr noundef nonnull align 8 dereferenceable(96) %205, i64 96, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #10
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef 191, double noundef 5.000000e-04)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.9) align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(96) %.ptr.6)
  call void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(96) %21)
  %206 = load ptr, ptr %162, align 8, !tbaa !11
  %207 = load i8, ptr %206, align 1, !tbaa !16, !range !18, !noundef !19
  %208 = trunc nuw i8 %207 to i1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #10
  br i1 %208, label %209, label %167

209:                                              ; preds = %203
  %210 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %210)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #10
  call void @llvm.lifetime.end.p0(i64 672, ptr nonnull %12) #10
  ret void

211:                                              ; preds = %102, %110, %122, %171, %55
  %.pn55 = phi { ptr, i32 } [ %56, %55 ], [ %123, %122 ], [ %172, %171 ], [ %111, %110 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 672, ptr nonnull %12) #10
  resume { ptr, i32 } %.pn55
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(96) ptr @_ZNK3P3D4Part9getCFrameEv(ptr noundef nonnull align 8 dereferenceable(200)) local_unnamed_addr #7 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) #8

declare void @_ZN3P3D17MotorizedPhysical31fullRefreshOfConnectedPhysicalsEv(ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, double noundef) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK21TolerantAssertBuilderIdEltIN3P3D12GlobalCFrameEEE22TolerantAssertComparerIT_dERKS5_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.9) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK22TolerantAssertComparerIN3P3D12GlobalCFrameEdEeqIS1_EES_IbdERKT_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #1 align 2

declare noundef zeroext i1 @_ZNK3P3D17MotorizedPhysical7isValidEv(ptr noundef nonnull align 8 dereferenceable(416)) local_unnamed_addr #3

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

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

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


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass