; LLVM IR from ThePhysicsGuys/Physics3D :: tests/mathTests.ll (Z13cframeInversev)

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

@.str.4 = 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; 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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13cframeInversev() #5 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::CFrameTemplate", align 8
  %2 = alloca %"struct.P3D::Vector", align 8
  %3 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %4 = alloca %"struct.P3D::CFrameTemplate", align 8
  %5 = alloca %"struct.P3D::Vector", align 8
  %6 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %7 = alloca %class.TolerantAssertComparer, align 8
  %8 = alloca %class.TolerantAssertComparer.17, align 8
  %9 = alloca %struct.TolerantAssertBuilder, align 8
  %10 = alloca %"struct.P3D::CFrameTemplate", align 8
  %11 = alloca %"struct.P3D::CFrameTemplate", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %class.TolerantAssertComparer, align 8
  %15 = alloca %class.TolerantAssertComparer.17, align 8
  %16 = alloca %struct.TolerantAssertBuilder, align 8
  %17 = alloca %"struct.P3D::CFrameTemplate", align 8
  %18 = alloca %"struct.P3D::CFrameTemplate", align 8
  %19 = alloca %class.TolerantAssertComparer, align 8
  %20 = alloca %class.TolerantAssertComparer.17, align 8
  %21 = alloca %struct.TolerantAssertBuilder, align 8
  %22 = alloca %"struct.P3D::CFrameTemplate", align 8
  %23 = alloca %"struct.P3D::CFrameTemplate", align 8
  %24 = alloca %class.TolerantAssertComparer, align 8
  %25 = alloca %class.TolerantAssertComparer.17, align 8
  %26 = alloca %struct.TolerantAssertBuilder, align 8
  %27 = alloca %"struct.P3D::CFrameTemplate", align 8
  %28 = alloca %"struct.P3D::CFrameTemplate", align 8
  %29 = alloca %"struct.P3D::CFrameTemplate", align 8
  %30 = alloca %class.TolerantAssertComparer, align 8
  %31 = alloca %class.TolerantAssertComparer.17, align 8
  %32 = alloca %struct.TolerantAssertBuilder, align 8
  %33 = alloca %"struct.P3D::CFrameTemplate", align 8
  %34 = alloca %"struct.P3D::CFrameTemplate", align 8
  %35 = alloca %"struct.P3D::CFrameTemplate", align 8
  %36 = alloca %class.TolerantAssertComparer, align 8
  %37 = alloca %class.TolerantAssertComparer.17, align 8
  %38 = alloca %struct.TolerantAssertBuilder, align 8
  %39 = alloca %"struct.P3D::CFrameTemplate", align 8
  %40 = alloca %"struct.P3D::CFrameTemplate", align 8
  %41 = alloca %"struct.P3D::CFrameTemplate", align 8
  call void @llvm.lifetime.start.p0(i64 96, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %2) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef 1.000000e+00, double noundef 8.000000e-01, double noundef 9.000000e-01) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr %3) #6
  call void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %3, double noundef 3.000000e-01, double noundef 0x3FE6666666666666, double noundef 9.000000e-01)
  call void @_ZN3P3D14CFrameTemplateIdEC2ERKNS_6VectorIdLm3EEERKNS_22MatrixRotationTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(72) %3)
  call void @llvm.lifetime.end.p0(i64 72, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %5, double noundef 0x4020666666666666, double noundef -8.000000e-01, double noundef 3.400000e+00) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr %6) #6
  call void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %6, double noundef 4.000000e-01, double noundef 4.000000e-01, double noundef 3.000000e-01)
  call void @_ZN3P3D14CFrameTemplateIdEC2ERKNS_6VectorIdLm3EEERKNS_22MatrixRotationTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(96) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(72) %6)
  call void @llvm.lifetime.end.p0(i64 72, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  br label %42

42:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef 126, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %11) #6
  call void @_ZNK3P3D14CFrameTemplateIdE13globalToLocalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %11, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %10, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %11)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.17) align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(96) %10)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(96) %4)
  %43 = getelementptr inbounds %class.TolerantAssertComparer, ptr %7, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = load i8, ptr %44, align 1, !tbaa !12, !range !14, !noundef !15
  %46 = trunc i8 %45 to i1
  %47 = xor i1 %46, true
  call void @llvm.lifetime.end.p0(i64 96, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  br i1 %47, label %48, label %61

48:                                               ; preds = %42
  %49 = call ptr @_ZTW15__testInterface()
  %50 = getelementptr inbounds %class.TestInterface, ptr %49, i32 0, i32 1
  %51 = load i8, ptr %50, align 8, !tbaa !16, !range !14, !noundef !15
  %52 = trunc i8 %51 to i1
  br i1 %52, label %53, label %54

53:                                               ; preds = %48
  br label %54

54:                                               ; preds = %53, %48
  %55 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %55, i32 noundef 126, ptr noundef @.str.4)
          to label %56 unwind label %57

56:                                               ; preds = %54
  call void @__cxa_throw(ptr %55, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

57:                                               ; preds = %54
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %12, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %13, align 4
  call void @__cxa_free_exception(ptr %55) #6
  br label %181

61:                                               ; preds = %42
  %62 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %62)
  br label %63

63:                                               ; preds = %61
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef 127, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %18) #6
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %18, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @_ZNK3P3D14CFrameTemplateIdE13globalToLocalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %17, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %18)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.17) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(96) %17)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(96) %4)
  %66 = getelementptr inbounds %class.TolerantAssertComparer, ptr %14, i32 0, i32 1
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = load i8, ptr %67, align 1, !tbaa !12, !range !14, !noundef !15
  %69 = trunc i8 %68 to i1
  %70 = xor i1 %69, true
  call void @llvm.lifetime.end.p0(i64 96, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  br i1 %70, label %71, label %84

71:                                               ; preds = %65
  %72 = call ptr @_ZTW15__testInterface()
  %73 = getelementptr inbounds %class.TestInterface, ptr %72, i32 0, i32 1
  %74 = load i8, ptr %73, align 8, !tbaa !16, !range !14, !noundef !15
  %75 = trunc i8 %74 to i1
  br i1 %75, label %76, label %77

76:                                               ; preds = %71
  br label %77

77:                                               ; preds = %76, %71
  %78 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %78, i32 noundef 127, ptr noundef @.str.4)
          to label %79 unwind label %80

79:                                               ; preds = %77
  call void @__cxa_throw(ptr %78, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

80:                                               ; preds = %77
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %12, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %13, align 4
  call void @__cxa_free_exception(ptr %78) #6
  br label %181

84:                                               ; preds = %65
  %85 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %85)
  br label %86

86:                                               ; preds = %84
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %21, i32 noundef 128, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr %22) #6
  call void @_ZNK3P3D14CFrameTemplateIdE13globalToLocalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %22, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %1)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.17) align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(96) %22)
  call void @llvm.lifetime.start.p0(i64 96, ptr %23) #6
  call void @_ZN3P3D14CFrameTemplateIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %23)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(96) %23)
  %89 = getelementptr inbounds %class.TolerantAssertComparer, ptr %19, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  %91 = load i8, ptr %90, align 1, !tbaa !12, !range !14, !noundef !15
  %92 = trunc i8 %91 to i1
  %93 = xor i1 %92, true
  call void @llvm.lifetime.end.p0(i64 96, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  br i1 %93, label %94, label %107

94:                                               ; preds = %88
  %95 = call ptr @_ZTW15__testInterface()
  %96 = getelementptr inbounds %class.TestInterface, ptr %95, i32 0, i32 1
  %97 = load i8, ptr %96, align 8, !tbaa !16, !range !14, !noundef !15
  %98 = trunc i8 %97 to i1
  br i1 %98, label %99, label %100

99:                                               ; preds = %94
  br label %100

100:                                              ; preds = %99, %94
  %101 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %101, i32 noundef 128, ptr noundef @.str.4)
          to label %102 unwind label %103

102:                                              ; preds = %100
  call void @__cxa_throw(ptr %101, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

103:                                              ; preds = %100
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %12, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %13, align 4
  call void @__cxa_free_exception(ptr %101) #6
  br label %181

107:                                              ; preds = %88
  %108 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %108)
  br label %109

109:                                              ; preds = %107
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %26, i32 noundef 129, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %28) #6
  call void @_ZNK3P3D14CFrameTemplateIdEcoEv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %28, ptr noundef nonnull align 8 dereferenceable(96) %1)
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %27, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %28)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.17) align 8 %25, ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(96) %27)
  call void @llvm.lifetime.start.p0(i64 96, ptr %29) #6
  call void @_ZN3P3D14CFrameTemplateIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %29)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %24, ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(96) %29)
  %112 = getelementptr inbounds %class.TolerantAssertComparer, ptr %24, i32 0, i32 1
  %113 = load ptr, ptr %112, align 8, !tbaa !5
  %114 = load i8, ptr %113, align 1, !tbaa !12, !range !14, !noundef !15
  %115 = trunc i8 %114 to i1
  %116 = xor i1 %115, true
  call void @llvm.lifetime.end.p0(i64 96, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #6
  br i1 %116, label %117, label %130

117:                                              ; preds = %111
  %118 = call ptr @_ZTW15__testInterface()
  %119 = getelementptr inbounds %class.TestInterface, ptr %118, i32 0, i32 1
  %120 = load i8, ptr %119, align 8, !tbaa !16, !range !14, !noundef !15
  %121 = trunc i8 %120 to i1
  br i1 %121, label %122, label %123

122:                                              ; preds = %117
  br label %123

123:                                              ; preds = %122, %117
  %124 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %124, i32 noundef 129, ptr noundef @.str.4)
          to label %125 unwind label %126

125:                                              ; preds = %123
  call void @__cxa_throw(ptr %124, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

126:                                              ; preds = %123
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %12, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %13, align 4
  call void @__cxa_free_exception(ptr %124) #6
  br label %181

130:                                              ; preds = %111
  %131 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %131)
  br label %132

132:                                              ; preds = %130
  br label %133

133:                                              ; preds = %132
  br label %134

134:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %32, i32 noundef 130, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %34) #6
  call void @_ZNK3P3D14CFrameTemplateIdEcoEv(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %34, ptr noundef nonnull align 8 dereferenceable(96) %1)
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %33, ptr noundef nonnull align 8 dereferenceable(96) %34, ptr noundef nonnull align 8 dereferenceable(96) %1)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.17) align 8 %31, ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(96) %33)
  call void @llvm.lifetime.start.p0(i64 96, ptr %35) #6
  call void @_ZN3P3D14CFrameTemplateIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %35)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %30, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(96) %35)
  %135 = getelementptr inbounds %class.TolerantAssertComparer, ptr %30, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  %137 = load i8, ptr %136, align 1, !tbaa !12, !range !14, !noundef !15
  %138 = trunc i8 %137 to i1
  %139 = xor i1 %138, true
  call void @llvm.lifetime.end.p0(i64 96, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  br i1 %139, label %140, label %153

140:                                              ; preds = %134
  %141 = call ptr @_ZTW15__testInterface()
  %142 = getelementptr inbounds %class.TestInterface, ptr %141, i32 0, i32 1
  %143 = load i8, ptr %142, align 8, !tbaa !16, !range !14, !noundef !15
  %144 = trunc i8 %143 to i1
  br i1 %144, label %145, label %146

145:                                              ; preds = %140
  br label %146

146:                                              ; preds = %145, %140
  %147 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %147, i32 noundef 130, ptr noundef @.str.4)
          to label %148 unwind label %149

148:                                              ; preds = %146
  call void @__cxa_throw(ptr %147, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

149:                                              ; preds = %146
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %12, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %13, align 4
  call void @__cxa_free_exception(ptr %147) #6
  br label %181

153:                                              ; preds = %134
  %154 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %154)
  br label %155

155:                                              ; preds = %153
  br label %156

156:                                              ; preds = %155
  br label %157

157:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %38, i32 noundef 132, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr %40) #6
  call void @_ZNK3P3D14CFrameTemplateIdE15localToRelativeERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %40, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %4)
  %158 = getelementptr inbounds %"struct.P3D::CFrameTemplate", ptr %1, i32 0, i32 0
  call void @_ZNK3P3D14CFrameTemplateIdEplERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %39, ptr noundef nonnull align 8 dereferenceable(96) %40, ptr noundef nonnull align 8 dereferenceable(24) %158)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.17) align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(96) %39)
  call void @llvm.lifetime.start.p0(i64 96, ptr %41) #6
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind writable sret(%"struct.P3D::CFrameTemplate") align 8 %41, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %36, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(96) %41)
  %159 = getelementptr inbounds %class.TolerantAssertComparer, ptr %36, i32 0, i32 1
  %160 = load ptr, ptr %159, align 8, !tbaa !5
  %161 = load i8, ptr %160, align 1, !tbaa !12, !range !14, !noundef !15
  %162 = trunc i8 %161 to i1
  %163 = xor i1 %162, true
  call void @llvm.lifetime.end.p0(i64 96, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #6
  br i1 %163, label %164, label %177

164:                                              ; preds = %157
  %165 = call ptr @_ZTW15__testInterface()
  %166 = getelementptr inbounds %class.TestInterface, ptr %165, i32 0, i32 1
  %167 = load i8, ptr %166, align 8, !tbaa !16, !range !14, !noundef !15
  %168 = trunc i8 %167 to i1
  br i1 %168, label %169, label %170

169:                                              ; preds = %164
  br label %170

170:                                              ; preds = %169, %164
  %171 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %171, i32 noundef 132, ptr noundef @.str.4)
          to label %172 unwind label %173

172:                                              ; preds = %170
  call void @__cxa_throw(ptr %171, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

173:                                              ; preds = %170
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %12, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %13, align 4
  call void @__cxa_free_exception(ptr %171) #6
  br label %181

177:                                              ; preds = %157
  %178 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %178)
  br label %179

179:                                              ; preds = %177
  br label %180

180:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 96, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %1) #6
  ret void

181:                                              ; preds = %173, %149, %126, %103, %80, %57
  call void @llvm.lifetime.end.p0(i64 96, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %1) #6
  br label %182

182:                                              ; preds = %181
  %183 = load ptr, ptr %12, align 8
  %184 = load i32, ptr %13, align 4
  %185 = insertvalue { ptr, i32 } poison, ptr %183, 0
  %186 = insertvalue { ptr, i32 } %185, i32 %184, 1
  resume { ptr, i32 } %186
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind noalias writable sret(%"class.P3D::MatrixRotationTemplate") align 8, double noundef, double noundef, double noundef) #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE13globalToLocalERKS1_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_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)) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdEcoEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE15localToRelativeERKS1_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdEplERKNS_6VectorIdLm3EEE(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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, !10, i64 8}
!6 = !{!"_ZTS22TolerantAssertComparerIbdE", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !13, i64 8}
!17 = !{!"_ZTS13TestInterface", !18, i64 0, !13, i64 8}
!18 = !{!"long", !8, i64 0}


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

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

@.str.4 = 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; 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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13cframeInversev() local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::CFrameTemplate", align 8
  %2 = alloca %"struct.P3D::Vector", align 8
  %3 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %4 = alloca %"struct.P3D::CFrameTemplate", align 8
  %5 = alloca %"struct.P3D::Vector", align 8
  %6 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %7 = alloca %class.TolerantAssertComparer, align 8
  %8 = alloca %class.TolerantAssertComparer.17, align 8
  %9 = alloca %struct.TolerantAssertBuilder, align 8
  %10 = alloca %"struct.P3D::CFrameTemplate", align 8
  %11 = alloca %"struct.P3D::CFrameTemplate", align 8
  %12 = alloca %class.TolerantAssertComparer, align 8
  %13 = alloca %class.TolerantAssertComparer.17, align 8
  %14 = alloca %struct.TolerantAssertBuilder, align 8
  %15 = alloca %"struct.P3D::CFrameTemplate", align 8
  %16 = alloca %"struct.P3D::CFrameTemplate", align 8
  %17 = alloca %class.TolerantAssertComparer, align 8
  %18 = alloca %class.TolerantAssertComparer.17, align 8
  %19 = alloca %struct.TolerantAssertBuilder, align 8
  %20 = alloca %"struct.P3D::CFrameTemplate", align 8
  %21 = alloca %"struct.P3D::CFrameTemplate", align 8
  %22 = alloca %class.TolerantAssertComparer, align 8
  %23 = alloca %class.TolerantAssertComparer.17, align 8
  %24 = alloca %struct.TolerantAssertBuilder, align 8
  %25 = alloca %"struct.P3D::CFrameTemplate", align 8
  %26 = alloca %"struct.P3D::CFrameTemplate", align 8
  %27 = alloca %"struct.P3D::CFrameTemplate", align 8
  %28 = alloca %class.TolerantAssertComparer, align 8
  %29 = alloca %class.TolerantAssertComparer.17, align 8
  %30 = alloca %struct.TolerantAssertBuilder, align 8
  %31 = alloca %"struct.P3D::CFrameTemplate", align 8
  %32 = alloca %"struct.P3D::CFrameTemplate", align 8
  %33 = alloca %"struct.P3D::CFrameTemplate", align 8
  %34 = alloca %class.TolerantAssertComparer, align 8
  %35 = alloca %class.TolerantAssertComparer.17, align 8
  %36 = alloca %struct.TolerantAssertBuilder, align 8
  %37 = alloca %"struct.P3D::CFrameTemplate", align 8
  %38 = alloca %"struct.P3D::CFrameTemplate", align 8
  %39 = alloca %"struct.P3D::CFrameTemplate", align 8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef 1.000000e+00, double noundef 8.000000e-01, double noundef 9.000000e-01) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #6
  call void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind nonnull writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %3, double noundef 3.000000e-01, double noundef 0x3FE6666666666666, double noundef 9.000000e-01)
  call void @_ZN3P3D14CFrameTemplateIdEC2ERKNS_6VectorIdLm3EEERKNS_22MatrixRotationTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(72) %3)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %5, double noundef 0x4020666666666666, double noundef -8.000000e-01, double noundef 3.400000e+00) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %6) #6
  call void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind nonnull writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %6, double noundef 4.000000e-01, double noundef 4.000000e-01, double noundef 3.000000e-01)
  call void @_ZN3P3D14CFrameTemplateIdEC2ERKNS_6VectorIdLm3EEERKNS_22MatrixRotationTemplateIdEE(ptr noundef nonnull align 8 dereferenceable(96) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(72) %6)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef 126, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %11) #6
  call void @_ZNK3P3D14CFrameTemplateIdE13globalToLocalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %11, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %10, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %11)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.17) align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(96) %10)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(96) %4)
  %40 = getelementptr inbounds i8, ptr %7, i64 8
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = load i8, ptr %41, align 1, !tbaa !12, !range !14, !noundef !15
  %43 = trunc nuw i8 %42 to i1
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  %44 = call ptr @_ZTW15__testInterface()
  br i1 %43, label %50, label %45

45:                                               ; preds = %0
  %46 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %46, i32 noundef 126, ptr noundef nonnull @.str.4)
          to label %47 unwind label %48

47:                                               ; preds = %45
  call void @__cxa_throw(ptr nonnull %46, ptr nonnull @_ZTI14AssertionError, ptr null) #7
  unreachable

48:                                               ; preds = %45
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %106

50:                                               ; preds = %0
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %44)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %14, i32 noundef 127, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %16) #6
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %16, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @_ZNK3P3D14CFrameTemplateIdE13globalToLocalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %15, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %16)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.17) align 8 %13, ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(96) %15)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(96) %4)
  %51 = getelementptr inbounds i8, ptr %12, i64 8
  %52 = load ptr, ptr %51, align 8, !tbaa !5
  %53 = load i8, ptr %52, align 1, !tbaa !12, !range !14, !noundef !15
  %54 = trunc nuw i8 %53 to i1
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  %55 = call ptr @_ZTW15__testInterface()
  br i1 %54, label %61, label %56

56:                                               ; preds = %50
  %57 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %57, i32 noundef 127, ptr noundef nonnull @.str.4)
          to label %58 unwind label %59

58:                                               ; preds = %56
  call void @__cxa_throw(ptr nonnull %57, ptr nonnull @_ZTI14AssertionError, ptr null) #7
  unreachable

59:                                               ; preds = %56
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %106

61:                                               ; preds = %50
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %55)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %19, i32 noundef 128, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %20) #6
  call void @_ZNK3P3D14CFrameTemplateIdE13globalToLocalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %20, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %1)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.17) align 8 %18, ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(96) %20)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %21) #6
  call void @_ZN3P3D14CFrameTemplateIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %21)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(96) %21)
  %62 = getelementptr inbounds i8, ptr %17, i64 8
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  %64 = load i8, ptr %63, align 1, !tbaa !12, !range !14, !noundef !15
  %65 = trunc nuw i8 %64 to i1
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  %66 = call ptr @_ZTW15__testInterface()
  br i1 %65, label %72, label %67

67:                                               ; preds = %61
  %68 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %68, i32 noundef 128, ptr noundef nonnull @.str.4)
          to label %69 unwind label %70

69:                                               ; preds = %67
  call void @__cxa_throw(ptr nonnull %68, ptr nonnull @_ZTI14AssertionError, ptr null) #7
  unreachable

70:                                               ; preds = %67
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %106

72:                                               ; preds = %61
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %66)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef 129, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %26) #6
  call void @_ZNK3P3D14CFrameTemplateIdEcoEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %26, ptr noundef nonnull align 8 dereferenceable(96) %1)
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %25, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %26)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.17) align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(96) %25)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %27) #6
  call void @_ZN3P3D14CFrameTemplateIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %27)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_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) %27)
  %73 = getelementptr inbounds i8, ptr %22, i64 8
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  %75 = load i8, ptr %74, align 1, !tbaa !12, !range !14, !noundef !15
  %76 = trunc nuw i8 %75 to i1
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %27) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #6
  %77 = call ptr @_ZTW15__testInterface()
  br i1 %76, label %83, label %78

78:                                               ; preds = %72
  %79 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %79, i32 noundef 129, ptr noundef nonnull @.str.4)
          to label %80 unwind label %81

80:                                               ; preds = %78
  call void @__cxa_throw(ptr nonnull %79, ptr nonnull @_ZTI14AssertionError, ptr null) #7
  unreachable

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

83:                                               ; preds = %72
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %77)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %30, i32 noundef 130, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %32) #6
  call void @_ZNK3P3D14CFrameTemplateIdEcoEv(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %32, ptr noundef nonnull align 8 dereferenceable(96) %1)
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %31, ptr noundef nonnull align 8 dereferenceable(96) %32, ptr noundef nonnull align 8 dereferenceable(96) %1)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.17) align 8 %29, ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(96) %31)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %33) #6
  call void @_ZN3P3D14CFrameTemplateIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %33)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %28, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(96) %33)
  %84 = getelementptr inbounds i8, ptr %28, i64 8
  %85 = load ptr, ptr %84, align 8, !tbaa !5
  %86 = load i8, ptr %85, align 1, !tbaa !12, !range !14, !noundef !15
  %87 = trunc nuw i8 %86 to i1
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %33) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #6
  %88 = call ptr @_ZTW15__testInterface()
  br i1 %87, label %94, label %89

89:                                               ; preds = %83
  %90 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %90, i32 noundef 130, ptr noundef nonnull @.str.4)
          to label %91 unwind label %92

91:                                               ; preds = %89
  call void @__cxa_throw(ptr nonnull %90, ptr nonnull @_ZTI14AssertionError, ptr null) #7
  unreachable

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

94:                                               ; preds = %83
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %88)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %35) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %36, i32 noundef 132, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %37) #6
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %38) #6
  call void @_ZNK3P3D14CFrameTemplateIdE15localToRelativeERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %38, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @_ZNK3P3D14CFrameTemplateIdEplERKNS_6VectorIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %37, ptr noundef nonnull align 8 dereferenceable(96) %38, ptr noundef nonnull align 8 dereferenceable(24) %1)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D14CFrameTemplateIdEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.17) align 8 %35, ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(96) %37)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %39) #6
  call void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::CFrameTemplate") align 8 %39, ptr noundef nonnull align 8 dereferenceable(96) %1, ptr noundef nonnull align 8 dereferenceable(96) %4)
  call void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %34, ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(96) %39)
  %95 = getelementptr inbounds i8, ptr %34, i64 8
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  %97 = load i8, ptr %96, align 1, !tbaa !12, !range !14, !noundef !15
  %98 = trunc nuw i8 %97 to i1
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %39) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %37) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #6
  %99 = call ptr @_ZTW15__testInterface()
  br i1 %98, label %105, label %100

100:                                              ; preds = %94
  %101 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %101, i32 noundef 132, ptr noundef nonnull @.str.4)
          to label %102 unwind label %103

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

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

105:                                              ; preds = %94
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %99)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %1) #6
  ret void

106:                                              ; preds = %103, %92, %81, %70, %59, %48
  %.sink = phi ptr [ %101, %103 ], [ %90, %92 ], [ %79, %81 ], [ %68, %70 ], [ %57, %59 ], [ %46, %48 ]
  %.pn = phi { ptr, i32 } [ %104, %103 ], [ %93, %92 ], [ %82, %81 ], [ %71, %70 ], [ %60, %59 ], [ %49, %48 ]
  call void @__cxa_free_exception(ptr %.sink) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind noalias writable sret(%"class.P3D::MatrixRotationTemplate") align 8, double noundef, double noundef, double noundef) local_unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE13localToGlobalERKS1_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE13globalToLocalERKS1_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK22TolerantAssertComparerIN3P3D14CFrameTemplateIdEEdEeqIS2_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 #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdEcoEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdE15localToRelativeERKS1_(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3P3D14CFrameTemplateIdEplERKNS_6VectorIdLm3EEE(ptr dead_on_unwind noalias writable sret(%"struct.P3D::CFrameTemplate") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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, !10, i64 8}
!6 = !{!"_ZTS22TolerantAssertComparerIbdE", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass