; LLVM IR from ThePhysicsGuys/Physics3D :: tests/rotationTests.ll (Z37rotationImplementationIdenticalGetXYZv)

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

%class.TolerantAssertComparer.0 = type { i32, ptr, double }
%class.TolerantAssertComparer = type { i32, ptr, double }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x double] }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%"class.P3D::QuaternionRotationTemplate" = type { %"struct.P3D::Quaternion" }
%"struct.P3D::Quaternion" = type { double, %union.anon.8 }
%union.anon.8 = type { %struct.anon.9 }
%struct.anon.9 = type { double, double, double }
%struct.TolerantAssertBuilder = type { i32, double }
%class.TestInterface = type <{ i64, i8, [7 x i8] }>

@.str.3 = 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 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 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: mustprogress uwtable
declare dso_local void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind noalias writable sret(%class.TolerantAssertComparer.0) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

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)) #5 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) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D22MatrixRotationTemplateIdE13localToGlobalERKNS_6VectorIdLm3EEE(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z37rotationImplementationIdenticalGetXYZv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca double, align 8
  %2 = alloca i32, align 4
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %6 = alloca %"class.P3D::QuaternionRotationTemplate", align 8
  %7 = alloca %class.TolerantAssertComparer, align 8
  %8 = alloca %class.TolerantAssertComparer.0, align 8
  %9 = alloca %struct.TolerantAssertBuilder, align 8
  %10 = alloca %"struct.P3D::Vector", align 8
  %11 = alloca %"struct.P3D::Vector", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %class.TolerantAssertComparer, align 8
  %15 = alloca %class.TolerantAssertComparer.0, align 8
  %16 = alloca %struct.TolerantAssertBuilder, align 8
  %17 = alloca %"struct.P3D::Vector", align 8
  %18 = alloca %"struct.P3D::Vector", align 8
  %19 = alloca %class.TolerantAssertComparer, align 8
  %20 = alloca %class.TolerantAssertComparer.0, align 8
  %21 = alloca %struct.TolerantAssertBuilder, align 8
  %22 = alloca %"struct.P3D::Vector", align 8
  %23 = alloca %"struct.P3D::Vector", align 8
  %24 = alloca %class.TolerantAssertComparer, align 8
  %25 = alloca %class.TolerantAssertComparer.0, align 8
  %26 = alloca %struct.TolerantAssertBuilder, align 8
  %27 = alloca %"struct.P3D::Vector", align 8
  %28 = alloca %"struct.P3D::Vector", align 8
  %29 = alloca %"struct.P3D::Vector", align 8
  %30 = alloca %class.TolerantAssertComparer, align 8
  %31 = alloca %class.TolerantAssertComparer.0, align 8
  %32 = alloca %struct.TolerantAssertBuilder, align 8
  %33 = alloca %"struct.P3D::Vector", align 8
  %34 = alloca %"struct.P3D::Vector", align 8
  %35 = alloca %"struct.P3D::Vector", align 8
  %36 = alloca %class.TolerantAssertComparer, align 8
  %37 = alloca %class.TolerantAssertComparer.0, align 8
  %38 = alloca %struct.TolerantAssertBuilder, align 8
  %39 = alloca %"struct.P3D::Vector", align 8
  %40 = alloca %"struct.P3D::Vector", align 8
  %41 = alloca %"struct.P3D::Vector", align 8
  %42 = alloca %class.TolerantAssertComparer, align 8
  %43 = alloca %class.TolerantAssertComparer.0, align 8
  %44 = alloca %struct.TolerantAssertBuilder, align 8
  %45 = alloca %"struct.P3D::Vector", align 8
  %46 = alloca %"struct.P3D::Vector", align 8
  %47 = alloca %"struct.P3D::Vector", align 8
  %48 = alloca %class.TolerantAssertComparer, align 8
  %49 = alloca %class.TolerantAssertComparer.0, align 8
  %50 = alloca %struct.TolerantAssertBuilder, align 8
  %51 = alloca %"struct.P3D::Vector", align 8
  %52 = alloca %"struct.P3D::Vector", align 8
  %53 = alloca %"struct.P3D::Vector", align 8
  %54 = alloca %class.TolerantAssertComparer, align 8
  %55 = alloca %class.TolerantAssertComparer.0, align 8
  %56 = alloca %struct.TolerantAssertBuilder, align 8
  %57 = alloca %"struct.P3D::Vector", align 8
  %58 = alloca %"struct.P3D::Vector", align 8
  %59 = alloca %"struct.P3D::Vector", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #6
  store double 1.500000e+00, ptr %1, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %297, %0
  %61 = load double, ptr %1, align 8, !tbaa !5
  %62 = fcmp olt double %61, 1.500000e+00
  br i1 %62, label %64, label %63

63:                                               ; preds = %60
  store i32 2, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  br label %300

64:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  store double 1.500000e+00, ptr %3, align 8, !tbaa !5
  br label %65

65:                                               ; preds = %293, %64
  %66 = load double, ptr %3, align 8, !tbaa !5
  %67 = fcmp olt double %66, 1.500000e+00
  br i1 %67, label %69, label %68

68:                                               ; preds = %65
  store i32 5, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %296

69:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  store double 1.500000e+00, ptr %4, align 8, !tbaa !5
  br label %70

70:                                               ; preds = %288, %69
  %71 = load double, ptr %4, align 8, !tbaa !5
  %72 = fcmp olt double %71, 1.500000e+00
  br i1 %72, label %74, label %73

73:                                               ; preds = %70
  store i32 8, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  br label %292

74:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 72, ptr %5) #6
  %75 = load double, ptr %1, align 8, !tbaa !5
  %76 = load double, ptr %3, align 8, !tbaa !5
  %77 = load double, ptr %4, align 8, !tbaa !5
  call void @_ZN3P3D22MatrixRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %5, double noundef %75, double noundef %76, double noundef %77)
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  %78 = load double, ptr %1, align 8, !tbaa !5
  %79 = load double, ptr %3, align 8, !tbaa !5
  %80 = load double, ptr %4, align 8, !tbaa !5
  call void @_ZN3P3D26QuaternionRotationTemplateIdE15fromEulerAnglesEddd(ptr dead_on_unwind writable sret(%"class.P3D::QuaternionRotationTemplate") align 8 %6, double noundef %78, double noundef %79, double noundef %80)
  br label %81

81:                                               ; preds = %74
  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 230, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdE4getXEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(72) %5)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  call void @_ZNK3P3D26QuaternionRotationTemplateIdE4getXEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %6)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_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(24) %11)
  %82 = getelementptr inbounds %class.TolerantAssertComparer, ptr %7, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = load i8, ptr %83, align 1, !tbaa !13, !range !15, !noundef !16
  %85 = trunc i8 %84 to i1
  %86 = xor i1 %85, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 24, 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 %86, label %87, label %100

87:                                               ; preds = %81
  %88 = call ptr @_ZTW15__testInterface()
  %89 = getelementptr inbounds %class.TestInterface, ptr %88, i32 0, i32 1
  %90 = load i8, ptr %89, align 8, !tbaa !17, !range !15, !noundef !16
  %91 = trunc i8 %90 to i1
  br i1 %91, label %92, label %93

92:                                               ; preds = %87
  br label %93

93:                                               ; preds = %92, %87
  %94 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %94, i32 noundef 230, ptr noundef @.str.3)
          to label %95 unwind label %96

95:                                               ; preds = %93
  call void @__cxa_throw(ptr %94, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

96:                                               ; preds = %93
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %12, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %13, align 4
  call void @__cxa_free_exception(ptr %94) #6
  br label %291

100:                                              ; preds = %81
  %101 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %101)
  br label %102

102:                                              ; preds = %100
  br label %103

103:                                              ; preds = %102
  br label %104

104:                                              ; preds = %103
  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 231, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdE4getYEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %17, ptr noundef nonnull align 8 dereferenceable(72) %5)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(24) %17)
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  call void @_ZNK3P3D26QuaternionRotationTemplateIdE4getYEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %6)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_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(24) %18)
  %105 = getelementptr inbounds %class.TolerantAssertComparer, ptr %14, i32 0, i32 1
  %106 = load ptr, ptr %105, align 8, !tbaa !9
  %107 = load i8, ptr %106, align 1, !tbaa !13, !range !15, !noundef !16
  %108 = trunc i8 %107 to i1
  %109 = xor i1 %108, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 24, 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 %109, label %110, label %123

110:                                              ; preds = %104
  %111 = call ptr @_ZTW15__testInterface()
  %112 = getelementptr inbounds %class.TestInterface, ptr %111, i32 0, i32 1
  %113 = load i8, ptr %112, align 8, !tbaa !17, !range !15, !noundef !16
  %114 = trunc i8 %113 to i1
  br i1 %114, label %115, label %116

115:                                              ; preds = %110
  br label %116

116:                                              ; preds = %115, %110
  %117 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %117, i32 noundef 231, ptr noundef @.str.3)
          to label %118 unwind label %119

118:                                              ; preds = %116
  call void @__cxa_throw(ptr %117, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

119:                                              ; preds = %116
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %12, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %13, align 4
  call void @__cxa_free_exception(ptr %117) #6
  br label %291

123:                                              ; preds = %104
  %124 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %124)
  br label %125

125:                                              ; preds = %123
  br label %126

126:                                              ; preds = %125
  br label %127

127:                                              ; preds = %126
  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 232, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdE4getZEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %22, ptr noundef nonnull align 8 dereferenceable(72) %5)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(24) %22)
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #6
  call void @_ZNK3P3D26QuaternionRotationTemplateIdE4getZEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %23, ptr noundef nonnull align 8 dereferenceable(32) %6)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_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(24) %23)
  %128 = getelementptr inbounds %class.TolerantAssertComparer, ptr %19, i32 0, i32 1
  %129 = load ptr, ptr %128, align 8, !tbaa !9
  %130 = load i8, ptr %129, align 1, !tbaa !13, !range !15, !noundef !16
  %131 = trunc i8 %130 to i1
  %132 = xor i1 %131, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 24, 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 %132, label %133, label %146

133:                                              ; preds = %127
  %134 = call ptr @_ZTW15__testInterface()
  %135 = getelementptr inbounds %class.TestInterface, ptr %134, i32 0, i32 1
  %136 = load i8, ptr %135, align 8, !tbaa !17, !range !15, !noundef !16
  %137 = trunc i8 %136 to i1
  br i1 %137, label %138, label %139

138:                                              ; preds = %133
  br label %139

139:                                              ; preds = %138, %133
  %140 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %140, i32 noundef 232, ptr noundef @.str.3)
          to label %141 unwind label %142

141:                                              ; preds = %139
  call void @__cxa_throw(ptr %140, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

142:                                              ; preds = %139
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %12, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %13, align 4
  call void @__cxa_free_exception(ptr %140) #6
  br label %291

146:                                              ; preds = %127
  %147 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %147)
  br label %148

148:                                              ; preds = %146
  br label %149

149:                                              ; preds = %148
  br label %150

150:                                              ; preds = %149
  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 234, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdE4getXEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %27, ptr noundef nonnull align 8 dereferenceable(72) %5)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %25, ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(24) %27)
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %29, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdE13localToGlobalERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %28, ptr noundef nonnull align 8 dereferenceable(72) %5, ptr noundef nonnull align 8 dereferenceable(24) %29)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_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(24) %28)
  %151 = getelementptr inbounds %class.TolerantAssertComparer, ptr %24, i32 0, i32 1
  %152 = load ptr, ptr %151, align 8, !tbaa !9
  %153 = load i8, ptr %152, align 1, !tbaa !13, !range !15, !noundef !16
  %154 = trunc i8 %153 to i1
  %155 = xor i1 %154, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 24, 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 %155, label %156, label %169

156:                                              ; preds = %150
  %157 = call ptr @_ZTW15__testInterface()
  %158 = getelementptr inbounds %class.TestInterface, ptr %157, i32 0, i32 1
  %159 = load i8, ptr %158, align 8, !tbaa !17, !range !15, !noundef !16
  %160 = trunc i8 %159 to i1
  br i1 %160, label %161, label %162

161:                                              ; preds = %156
  br label %162

162:                                              ; preds = %161, %156
  %163 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %163, i32 noundef 234, ptr noundef @.str.3)
          to label %164 unwind label %165

164:                                              ; preds = %162
  call void @__cxa_throw(ptr %163, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

165:                                              ; preds = %162
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %12, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %13, align 4
  call void @__cxa_free_exception(ptr %163) #6
  br label %291

169:                                              ; preds = %150
  %170 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %170)
  br label %171

171:                                              ; preds = %169
  br label %172

172:                                              ; preds = %171
  br label %173

173:                                              ; preds = %172
  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 235, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdE4getYEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %33, ptr noundef nonnull align 8 dereferenceable(72) %5)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %31, ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(24) %33)
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %35, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdE13localToGlobalERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %34, ptr noundef nonnull align 8 dereferenceable(72) %5, ptr noundef nonnull align 8 dereferenceable(24) %35)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_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(24) %34)
  %174 = getelementptr inbounds %class.TolerantAssertComparer, ptr %30, i32 0, i32 1
  %175 = load ptr, ptr %174, align 8, !tbaa !9
  %176 = load i8, ptr %175, align 1, !tbaa !13, !range !15, !noundef !16
  %177 = trunc i8 %176 to i1
  %178 = xor i1 %177, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 24, 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 %178, label %179, label %192

179:                                              ; preds = %173
  %180 = call ptr @_ZTW15__testInterface()
  %181 = getelementptr inbounds %class.TestInterface, ptr %180, i32 0, i32 1
  %182 = load i8, ptr %181, align 8, !tbaa !17, !range !15, !noundef !16
  %183 = trunc i8 %182 to i1
  br i1 %183, label %184, label %185

184:                                              ; preds = %179
  br label %185

185:                                              ; preds = %184, %179
  %186 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %186, i32 noundef 235, ptr noundef @.str.3)
          to label %187 unwind label %188

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

188:                                              ; preds = %185
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %12, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %13, align 4
  call void @__cxa_free_exception(ptr %186) #6
  br label %291

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

194:                                              ; preds = %192
  br label %195

195:                                              ; preds = %194
  br label %196

196:                                              ; preds = %195
  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 236, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdE4getZEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %39, ptr noundef nonnull align 8 dereferenceable(72) %5)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %37, ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(24) %39)
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %41, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdE13localToGlobalERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %40, ptr noundef nonnull align 8 dereferenceable(72) %5, ptr noundef nonnull align 8 dereferenceable(24) %41)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_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(24) %40)
  %197 = getelementptr inbounds %class.TolerantAssertComparer, ptr %36, i32 0, i32 1
  %198 = load ptr, ptr %197, align 8, !tbaa !9
  %199 = load i8, ptr %198, align 1, !tbaa !13, !range !15, !noundef !16
  %200 = trunc i8 %199 to i1
  %201 = xor i1 %200, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 24, 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 %201, label %202, label %215

202:                                              ; preds = %196
  %203 = call ptr @_ZTW15__testInterface()
  %204 = getelementptr inbounds %class.TestInterface, ptr %203, i32 0, i32 1
  %205 = load i8, ptr %204, align 8, !tbaa !17, !range !15, !noundef !16
  %206 = trunc i8 %205 to i1
  br i1 %206, label %207, label %208

207:                                              ; preds = %202
  br label %208

208:                                              ; preds = %207, %202
  %209 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %209, i32 noundef 236, ptr noundef @.str.3)
          to label %210 unwind label %211

210:                                              ; preds = %208
  call void @__cxa_throw(ptr %209, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

211:                                              ; preds = %208
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %12, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %13, align 4
  call void @__cxa_free_exception(ptr %209) #6
  br label %291

215:                                              ; preds = %196
  %216 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %216)
  br label %217

217:                                              ; preds = %215
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %44, i32 noundef 238, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #6
  call void @_ZNK3P3D26QuaternionRotationTemplateIdE4getXEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %45, ptr noundef nonnull align 8 dereferenceable(32) %6)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %43, ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(24) %45)
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %47, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) #6
  call void @_ZNK3P3D26QuaternionRotationTemplateIdE13localToGlobalERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %46, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(24) %47)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %42, ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %46)
  %220 = getelementptr inbounds %class.TolerantAssertComparer, ptr %42, i32 0, i32 1
  %221 = load ptr, ptr %220, align 8, !tbaa !9
  %222 = load i8, ptr %221, align 1, !tbaa !13, !range !15, !noundef !16
  %223 = trunc i8 %222 to i1
  %224 = xor i1 %223, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #6
  br i1 %224, label %225, label %238

225:                                              ; preds = %219
  %226 = call ptr @_ZTW15__testInterface()
  %227 = getelementptr inbounds %class.TestInterface, ptr %226, i32 0, i32 1
  %228 = load i8, ptr %227, align 8, !tbaa !17, !range !15, !noundef !16
  %229 = trunc i8 %228 to i1
  br i1 %229, label %230, label %231

230:                                              ; preds = %225
  br label %231

231:                                              ; preds = %230, %225
  %232 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %232, i32 noundef 238, ptr noundef @.str.3)
          to label %233 unwind label %234

233:                                              ; preds = %231
  call void @__cxa_throw(ptr %232, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

234:                                              ; preds = %231
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %12, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %13, align 4
  call void @__cxa_free_exception(ptr %232) #6
  br label %291

238:                                              ; preds = %219
  %239 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %239)
  br label %240

240:                                              ; preds = %238
  br label %241

241:                                              ; preds = %240
  br label %242

242:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %50, i32 noundef 239, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #6
  call void @_ZNK3P3D26QuaternionRotationTemplateIdE4getYEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %51, ptr noundef nonnull align 8 dereferenceable(32) %6)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %49, ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef nonnull align 8 dereferenceable(24) %51)
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %53, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) #6
  call void @_ZNK3P3D26QuaternionRotationTemplateIdE13localToGlobalERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %52, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(24) %53)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %48, ptr noundef nonnull align 8 dereferenceable(24) %49, ptr noundef nonnull align 8 dereferenceable(24) %52)
  %243 = getelementptr inbounds %class.TolerantAssertComparer, ptr %48, i32 0, i32 1
  %244 = load ptr, ptr %243, align 8, !tbaa !9
  %245 = load i8, ptr %244, align 1, !tbaa !13, !range !15, !noundef !16
  %246 = trunc i8 %245 to i1
  %247 = xor i1 %246, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #6
  br i1 %247, label %248, label %261

248:                                              ; preds = %242
  %249 = call ptr @_ZTW15__testInterface()
  %250 = getelementptr inbounds %class.TestInterface, ptr %249, i32 0, i32 1
  %251 = load i8, ptr %250, align 8, !tbaa !17, !range !15, !noundef !16
  %252 = trunc i8 %251 to i1
  br i1 %252, label %253, label %254

253:                                              ; preds = %248
  br label %254

254:                                              ; preds = %253, %248
  %255 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %255, i32 noundef 239, ptr noundef @.str.3)
          to label %256 unwind label %257

256:                                              ; preds = %254
  call void @__cxa_throw(ptr %255, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

257:                                              ; preds = %254
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %12, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %13, align 4
  call void @__cxa_free_exception(ptr %255) #6
  br label %291

261:                                              ; preds = %242
  %262 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %262)
  br label %263

263:                                              ; preds = %261
  br label %264

264:                                              ; preds = %263
  br label %265

265:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %55) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %56, i32 noundef 240, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %57) #6
  call void @_ZNK3P3D26QuaternionRotationTemplateIdE4getZEv(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %57, ptr noundef nonnull align 8 dereferenceable(32) %6)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %55, ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 8 dereferenceable(24) %57)
  call void @llvm.lifetime.start.p0(i64 24, ptr %58) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %59) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %59, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00) #6
  call void @_ZNK3P3D26QuaternionRotationTemplateIdE13localToGlobalERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %58, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(24) %59)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %54, ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %58)
  %266 = getelementptr inbounds %class.TolerantAssertComparer, ptr %54, i32 0, i32 1
  %267 = load ptr, ptr %266, align 8, !tbaa !9
  %268 = load i8, ptr %267, align 1, !tbaa !13, !range !15, !noundef !16
  %269 = trunc i8 %268 to i1
  %270 = xor i1 %269, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #6
  br i1 %270, label %271, label %284

271:                                              ; preds = %265
  %272 = call ptr @_ZTW15__testInterface()
  %273 = getelementptr inbounds %class.TestInterface, ptr %272, i32 0, i32 1
  %274 = load i8, ptr %273, align 8, !tbaa !17, !range !15, !noundef !16
  %275 = trunc i8 %274 to i1
  br i1 %275, label %276, label %277

276:                                              ; preds = %271
  br label %277

277:                                              ; preds = %276, %271
  %278 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %278, i32 noundef 240, ptr noundef @.str.3)
          to label %279 unwind label %280

279:                                              ; preds = %277
  call void @__cxa_throw(ptr %278, ptr @_ZTI14AssertionError, ptr null) #7
  unreachable

280:                                              ; preds = %277
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %12, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %13, align 4
  call void @__cxa_free_exception(ptr %278) #6
  br label %291

284:                                              ; preds = %265
  %285 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %285)
  br label %286

286:                                              ; preds = %284
  br label %287

287:                                              ; preds = %286
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %5) #6
  br label %288

288:                                              ; preds = %287
  %289 = load double, ptr %4, align 8, !tbaa !5
  %290 = fadd double %289, 5.000000e-01
  store double %290, ptr %4, align 8, !tbaa !5
  br label %70, !llvm.loop !20

291:                                              ; preds = %280, %257, %234, %211, %188, %165, %142, %119, %96
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  br label %301

292:                                              ; preds = %73
  br label %293

293:                                              ; preds = %292
  %294 = load double, ptr %3, align 8, !tbaa !5
  %295 = fadd double %294, 5.000000e-01
  store double %295, ptr %3, align 8, !tbaa !5
  br label %65, !llvm.loop !22

296:                                              ; preds = %68
  br label %297

297:                                              ; preds = %296
  %298 = load double, ptr %1, align 8, !tbaa !5
  %299 = fadd double %298, 5.000000e-01
  store double %299, ptr %1, align 8, !tbaa !5
  br label %60, !llvm.loop !23

300:                                              ; preds = %63
  ret void

301:                                              ; preds = %291
  %302 = load ptr, ptr %12, align 8
  %303 = load i32, ptr %13, align 4
  %304 = insertvalue { ptr, i32 } poison, ptr %302, 0
  %305 = insertvalue { ptr, i32 } %304, i32 %303, 1
  resume { ptr, i32 } %305
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D22MatrixRotationTemplateIdE4getXEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D26QuaternionRotationTemplateIdE4getXEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D22MatrixRotationTemplateIdE4getYEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D26QuaternionRotationTemplateIdE4getYEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D22MatrixRotationTemplateIdE4getZEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(72)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D26QuaternionRotationTemplateIdE4getZEv(ptr dead_on_unwind noalias writable sret(%"struct.P3D::Vector") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 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 = { 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 #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"_ZTS22TolerantAssertComparerIbdE", !11, i64 0, !12, i64 8, !6, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !14, i64 8}
!18 = !{!"_ZTS13TestInterface", !19, i64 0, !14, i64 8}
!19 = !{!"long", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}


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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local void @_Z37rotationImplementationIdenticalGetXYZv() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  ret void
}

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) 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" }

!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)"}


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