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

; 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 }
%"struct.P3D::Vector" = type { %union.anon }
%union.anon = type { [3 x double] }
%struct.TolerantAssertBuilder = type { i32, double }
%"class.P3D::MatrixRotationTemplate" = type { %"class.P3D::Matrix" }
%"class.P3D::Matrix" = type { [9 x 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D22MatrixRotationTemplateIdEmlERKNS_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
define dso_local void @_Z13faceDirectionv() #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 %"struct.P3D::Vector", align 8
  %6 = alloca %"struct.P3D::Vector", 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 %"class.P3D::MatrixRotationTemplate", align 8
  %12 = alloca %"struct.P3D::Vector", align 8
  %13 = alloca %"struct.P3D::Vector", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %class.TolerantAssertComparer, align 8
  %17 = alloca %class.TolerantAssertComparer.0, align 8
  %18 = alloca %struct.TolerantAssertBuilder, align 8
  %19 = alloca %"struct.P3D::Vector", align 8
  %20 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %21 = alloca %"struct.P3D::Vector", align 8
  %22 = alloca %"struct.P3D::Vector", align 8
  %23 = alloca %class.TolerantAssertComparer, align 8
  %24 = alloca %class.TolerantAssertComparer.0, align 8
  %25 = alloca %struct.TolerantAssertBuilder, align 8
  %26 = alloca %"struct.P3D::Vector", align 8
  %27 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %28 = alloca %"struct.P3D::Vector", align 8
  %29 = alloca %"struct.P3D::Vector", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #7
  store double -1.500000e+00, ptr %1, align 8, !tbaa !5
  br label %30

30:                                               ; preds = %136, %0
  %31 = load double, ptr %1, align 8, !tbaa !5
  %32 = fcmp olt double %31, 1.500000e+00
  br i1 %32, label %34, label %33

33:                                               ; preds = %30
  store i32 2, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  br label %139

34:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store double -1.500000e+00, ptr %3, align 8, !tbaa !5
  br label %35

35:                                               ; preds = %132, %34
  %36 = load double, ptr %3, align 8, !tbaa !5
  %37 = fcmp olt double %36, 1.500000e+00
  br i1 %37, label %39, label %38

38:                                               ; preds = %35
  store i32 5, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %135

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store double -1.500000e+00, ptr %4, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %127, %39
  %41 = load double, ptr %4, align 8, !tbaa !5
  %42 = fcmp olt double %41, 1.500000e+00
  br i1 %42, label %44, label %43

43:                                               ; preds = %40
  store i32 8, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  br label %131

44:                                               ; preds = %40
  %45 = load double, ptr %1, align 8, !tbaa !5
  %46 = fcmp oeq double %45, 0.000000e+00
  br i1 %46, label %47, label %54

47:                                               ; preds = %44
  %48 = load double, ptr %3, align 8, !tbaa !5
  %49 = fcmp oeq double %48, 0.000000e+00
  br i1 %49, label %50, label %54

50:                                               ; preds = %47
  %51 = load double, ptr %4, align 8, !tbaa !5
  %52 = fcmp oeq double %51, 0.000000e+00
  br i1 %52, label %53, label %54

53:                                               ; preds = %50
  br label %127

54:                                               ; preds = %50, %47, %44
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #7
  %55 = load double, ptr %1, align 8, !tbaa !5
  %56 = load double, ptr %3, align 8, !tbaa !5
  %57 = load double, ptr %4, align 8, !tbaa !5
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %6, double noundef %55, double noundef %56, double noundef %57) #7
  call void @_ZN3P3D9normalizeIdLm3EEENS_6VectorIT_XT0_EEERKS3_(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %5, ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  br label %58

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef 128, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr %11) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %5, i64 24, i1 false), !tbaa.struct !9
  call void @_ZN3P3D22MatrixRotationTemplateIdE5faceXENS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %11, ptr noundef byval(%"struct.P3D::Vector") align 8 %12)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #7
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %13, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) #7
  call void @_ZNK3P3D22MatrixRotationTemplateIdEmlERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %10, ptr noundef nonnull align 8 dereferenceable(72) %11, ptr noundef nonnull align 8 dereferenceable(24) %13)
  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 @_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) %5)
  %59 = getelementptr inbounds %class.TolerantAssertComparer, ptr %7, i32 0, i32 1
  %60 = load ptr, ptr %59, align 8, !tbaa !11
  %61 = load i8, ptr %60, align 1, !tbaa !15, !range !17, !noundef !18
  %62 = trunc i8 %61 to i1
  %63 = xor i1 %62, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  br i1 %63, label %64, label %77

64:                                               ; preds = %58
  %65 = call ptr @_ZTW15__testInterface()
  %66 = getelementptr inbounds %class.TestInterface, ptr %65, i32 0, i32 1
  %67 = load i8, ptr %66, align 8, !tbaa !19, !range !17, !noundef !18
  %68 = trunc i8 %67 to i1
  br i1 %68, label %69, label %70

69:                                               ; preds = %64
  br label %70

70:                                               ; preds = %69, %64
  %71 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %71, i32 noundef 128, ptr noundef @.str.3)
          to label %72 unwind label %73

72:                                               ; preds = %70
  call void @__cxa_throw(ptr %71, ptr @_ZTI14AssertionError, ptr null) #8
  unreachable

73:                                               ; preds = %70
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %14, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %15, align 4
  call void @__cxa_free_exception(ptr %71) #7
  br label %130

77:                                               ; preds = %58
  %78 = call ptr @_ZTW15__testInterface()
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %78)
  br label %79

79:                                               ; preds = %77
  br label %80

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef 129, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr %20) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %5, i64 24, i1 false), !tbaa.struct !9
  call void @_ZN3P3D22MatrixRotationTemplateIdE5faceYENS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %20, ptr noundef byval(%"struct.P3D::Vector") align 8 %21)
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %22, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) #7
  call void @_ZNK3P3D22MatrixRotationTemplateIdEmlERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %19, ptr noundef nonnull align 8 dereferenceable(72) %20, ptr noundef nonnull align 8 dereferenceable(24) %22)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(24) %19)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %5)
  %82 = getelementptr inbounds %class.TolerantAssertComparer, ptr %16, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !11
  %84 = load i8, ptr %83, align 1, !tbaa !15, !range !17, !noundef !18
  %85 = trunc i8 %84 to i1
  %86 = xor i1 %85, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  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 !19, !range !17, !noundef !18
  %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) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %94, i32 noundef 129, ptr noundef @.str.3)
          to label %95 unwind label %96

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

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

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 %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %25, i32 noundef 130, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 72, ptr %27) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %5, i64 24, i1 false), !tbaa.struct !9
  call void @_ZN3P3D22MatrixRotationTemplateIdE5faceZENS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %27, ptr noundef byval(%"struct.P3D::Vector") align 8 %28)
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #7
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %29, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00) #7
  call void @_ZNK3P3D22MatrixRotationTemplateIdEmlERKNS_6VectorIdLm3EEE(ptr dead_on_unwind writable sret(%"struct.P3D::Vector") align 8 %26, ptr noundef nonnull align 8 dereferenceable(72) %27, ptr noundef nonnull align 8 dereferenceable(24) %29)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer.0) align 8 %24, ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(24) %26)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind writable sret(%class.TolerantAssertComparer) align 8 %23, ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %5)
  %105 = getelementptr inbounds %class.TolerantAssertComparer, ptr %23, i32 0, i32 1
  %106 = load ptr, ptr %105, align 8, !tbaa !11
  %107 = load i8, ptr %106, align 1, !tbaa !15, !range !17, !noundef !18
  %108 = trunc i8 %107 to i1
  %109 = xor i1 %108, true
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  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 !19, !range !17, !noundef !18
  %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) #7
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %117, i32 noundef 130, ptr noundef @.str.3)
          to label %118 unwind label %119

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

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

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
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  br label %127

127:                                              ; preds = %126, %53
  %128 = load double, ptr %4, align 8, !tbaa !5
  %129 = fadd double %128, 1.000000e-01
  store double %129, ptr %4, align 8, !tbaa !5
  br label %40, !llvm.loop !22

130:                                              ; preds = %119, %96, %73
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  br label %140

131:                                              ; preds = %43
  br label %132

132:                                              ; preds = %131
  %133 = load double, ptr %3, align 8, !tbaa !5
  %134 = fadd double %133, 1.000000e-01
  store double %134, ptr %3, align 8, !tbaa !5
  br label %35, !llvm.loop !24

135:                                              ; preds = %38
  br label %136

136:                                              ; preds = %135
  %137 = load double, ptr %1, align 8, !tbaa !5
  %138 = fadd double %137, 1.000000e-01
  store double %138, ptr %1, align 8, !tbaa !5
  br label %30, !llvm.loop !25

139:                                              ; preds = %33
  ret void

140:                                              ; preds = %130
  %141 = load ptr, ptr %14, align 8
  %142 = load i32, ptr %15, align 4
  %143 = insertvalue { ptr, i32 } poison, ptr %141, 0
  %144 = insertvalue { ptr, i32 } %143, i32 %142, 1
  resume { ptr, i32 } %144
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D22MatrixRotationTemplateIdE5faceZENS_6VectorIdLm3EEE(ptr dead_on_unwind noalias writable sret(%"class.P3D::MatrixRotationTemplate") align 8, ptr noundef byval(%"struct.P3D::Vector") align 8) #2 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { 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 = !{i64 0, i64 24, !10}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !14, i64 8}
!12 = !{!"_ZTS22TolerantAssertComparerIbdE", !13, i64 0, !14, i64 8, !6, i64 16}
!13 = !{!"int", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!20, !16, i64 8}
!20 = !{!"_ZTS13TestInterface", !21, i64 0, !16, i64 8}
!21 = !{!"long", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}


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

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

@.str.3 = 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 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)) local_unnamed_addr #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)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress 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() local_unnamed_addr #3

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 #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK3P3D22MatrixRotationTemplateIdEmlERKNS_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)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13faceDirectionv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.P3D::Vector", align 8
  %2 = alloca %"struct.P3D::Vector", align 8
  %3 = alloca %class.TolerantAssertComparer, align 8
  %4 = alloca %class.TolerantAssertComparer.0, align 8
  %5 = alloca %struct.TolerantAssertBuilder, align 8
  %6 = alloca %"struct.P3D::Vector", align 8
  %7 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %8 = alloca %"struct.P3D::Vector", align 8
  %9 = alloca %class.TolerantAssertComparer, align 8
  %10 = alloca %class.TolerantAssertComparer.0, align 8
  %11 = alloca %struct.TolerantAssertBuilder, align 8
  %12 = alloca %"struct.P3D::Vector", align 8
  %13 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %14 = alloca %"struct.P3D::Vector", align 8
  %15 = alloca %class.TolerantAssertComparer, align 8
  %16 = alloca %class.TolerantAssertComparer.0, align 8
  %17 = alloca %struct.TolerantAssertBuilder, align 8
  %18 = alloca %"struct.P3D::Vector", align 8
  %19 = alloca %"class.P3D::MatrixRotationTemplate", align 8
  %20 = alloca %"struct.P3D::Vector", align 8
  %21 = getelementptr inbounds i8, ptr %3, i64 8
  %22 = getelementptr inbounds i8, ptr %9, i64 8
  %23 = getelementptr inbounds i8, ptr %15, i64 8
  br label %.preheader21

.preheader21:                                     ; preds = %0, %27
  %.01924 = phi double [ -1.500000e+00, %0 ], [ %28, %27 ]
  %24 = fcmp oeq double %.01924, 0.000000e+00
  br label %.preheader

25:                                               ; preds = %27
  ret void

.preheader:                                       ; preds = %.preheader21, %30
  %.01823 = phi double [ -1.500000e+00, %.preheader21 ], [ %31, %30 ]
  %26 = fcmp oeq double %.01823, 0.000000e+00
  %or.cond = and i1 %24, %26
  br label %33

27:                                               ; preds = %30
  %28 = fadd double %.01924, 1.000000e-01
  %29 = fcmp olt double %28, 1.500000e+00
  br i1 %29, label %.preheader21, label %25, !llvm.loop !5

30:                                               ; preds = %66
  %31 = fadd double %.01823, 1.000000e-01
  %32 = fcmp olt double %31, 1.500000e+00
  br i1 %32, label %.preheader, label %27, !llvm.loop !7

33:                                               ; preds = %.preheader, %66
  %.01722 = phi double [ -1.500000e+00, %.preheader ], [ %67, %66 ]
  %34 = fcmp oeq double %.01722, 0.000000e+00
  %or.cond3 = and i1 %or.cond, %34
  br i1 %or.cond3, label %66, label %35

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 24, 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 %.01924, double noundef %.01823, double noundef %.01722) #6
  call void @_ZN3P3D9normalizeIdLm3EEENS_6VectorIT_XT0_EEERKS3_(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %5, i32 noundef 128, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %7) #6
  call void @_ZN3P3D22MatrixRotationTemplateIdE5faceXENS_6VectorIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %7, ptr noundef nonnull byval(%"struct.P3D::Vector") align 8 %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdEmlERKNS_6VectorIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %6, ptr noundef nonnull align 8 dereferenceable(72) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.0) align 8 %4, ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(24) %6)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %1)
  %36 = load ptr, ptr %21, align 8, !tbaa !8
  %37 = load i8, ptr %36, align 1, !tbaa !15, !range !17, !noundef !18
  %38 = trunc nuw i8 %37 to i1
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  %39 = call ptr @_ZTW15__testInterface()
  br i1 %38, label %45, label %40

40:                                               ; preds = %35
  %41 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %41, i32 noundef 128, ptr noundef nonnull @.str.3)
          to label %42 unwind label %43

42:                                               ; preds = %40
  call void @__cxa_throw(ptr nonnull %41, ptr nonnull @_ZTI14AssertionError, ptr null) #7
  unreachable

43:                                               ; preds = %40
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %69

45:                                               ; preds = %35
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %39)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %11, i32 noundef 129, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %13) #6
  call void @_ZN3P3D22MatrixRotationTemplateIdE5faceYENS_6VectorIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %13, ptr noundef nonnull byval(%"struct.P3D::Vector") align 8 %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %14, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdEmlERKNS_6VectorIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %12, ptr noundef nonnull align 8 dereferenceable(72) %13, ptr noundef nonnull align 8 dereferenceable(24) %14)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.0) align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %1)
  %46 = load ptr, ptr %22, align 8, !tbaa !8
  %47 = load i8, ptr %46, align 1, !tbaa !15, !range !17, !noundef !18
  %48 = trunc nuw i8 %47 to i1
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  %49 = call ptr @_ZTW15__testInterface()
  br i1 %48, label %55, label %50

50:                                               ; preds = %45
  %51 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %51, i32 noundef 129, ptr noundef nonnull @.str.3)
          to label %52 unwind label %53

52:                                               ; preds = %50
  call void @__cxa_throw(ptr nonnull %51, ptr nonnull @_ZTI14AssertionError, ptr null) #7
  unreachable

53:                                               ; preds = %50
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %69

55:                                               ; preds = %45
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %49)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #6
  call void @_ZN21TolerantAssertBuilderIdEC2Eid(ptr noundef nonnull align 8 dereferenceable(16) %17, i32 noundef 130, double noundef 1.000000e-08)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %19) #6
  call void @_ZN3P3D22MatrixRotationTemplateIdE5faceZENS_6VectorIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"class.P3D::MatrixRotationTemplate") align 8 %19, ptr noundef nonnull byval(%"struct.P3D::Vector") align 8 %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #6
  call void @_ZN3P3D6VectorIdLm3EEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %20, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00) #6
  call void @_ZNK3P3D22MatrixRotationTemplateIdEmlERKNS_6VectorIdLm3EEE(ptr dead_on_unwind nonnull writable sret(%"struct.P3D::Vector") align 8 %18, ptr noundef nonnull align 8 dereferenceable(72) %19, ptr noundef nonnull align 8 dereferenceable(24) %20)
  call void @_ZNK21TolerantAssertBuilderIdEltIN3P3D6VectorIdLm3EEEEE22TolerantAssertComparerIT_dERKS6_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer.0) align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(24) %18)
  call void @_ZNK22TolerantAssertComparerIN3P3D6VectorIdLm3EEEdEeqIS2_EES_IbdERKT_(ptr dead_on_unwind nonnull writable sret(%class.TolerantAssertComparer) align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %1)
  %56 = load ptr, ptr %23, align 8, !tbaa !8
  %57 = load i8, ptr %56, align 1, !tbaa !15, !range !17, !noundef !18
  %58 = trunc nuw i8 %57 to i1
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  %59 = call ptr @_ZTW15__testInterface()
  br i1 %58, label %65, label %60

60:                                               ; preds = %55
  %61 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZN14AssertionErrorC1EiPKc(ptr noundef nonnull align 8 dereferenceable(12) %61, i32 noundef 130, ptr noundef nonnull @.str.3)
          to label %62 unwind label %63

62:                                               ; preds = %60
  call void @__cxa_throw(ptr nonnull %61, ptr nonnull @_ZTI14AssertionError, ptr null) #7
  unreachable

63:                                               ; preds = %60
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %69

65:                                               ; preds = %55
  call void @_ZN13TestInterface10markAssertEv(ptr noundef nonnull align 8 dereferenceable(9) %59)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  br label %66

66:                                               ; preds = %33, %65
  %67 = fadd double %.01722, 1.000000e-01
  %68 = fcmp olt double %67, 1.500000e+00
  br i1 %68, label %33, label %30, !llvm.loop !19

69:                                               ; preds = %63, %53, %43
  %.sink = phi ptr [ %61, %63 ], [ %51, %53 ], [ %41, %43 ]
  %.pn = phi { ptr, i32 } [ %64, %63 ], [ %54, %53 ], [ %44, %43 ]
  call void @__cxa_free_exception(ptr %.sink) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3P3D22MatrixRotationTemplateIdE5faceZENS_6VectorIdLm3EEE(ptr dead_on_unwind noalias writable sret(%"class.P3D::MatrixRotationTemplate") align 8, ptr noundef byval(%"struct.P3D::Vector") align 8) local_unnamed_addr #2 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 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = !{!9, !13, i64 8}
!9 = !{!"_ZTS22TolerantAssertComparerIbdE", !10, i64 0, !13, i64 8, !14, i64 16}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"any pointer", !11, i64 0}
!14 = !{!"double", !11, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !11, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !6}


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