; LLVM IR from Xingyu-Lin/softgym :: PyFlex/core/extrude.ll (Z7ExtrudePK8XVector3IfEiRSt6vectorIS0_SaIS0_EES6_RS3_IiSaIiEEfii)

; 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.XVector3 = type { float, float, float }
%class.XMatrix44 = type { [4 x [4 x float]] }
%class.XVector4 = type { float, float, float, float }

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7ExtrudePK8XVector3IfEiRSt6vectorIS0_SaIS0_EES6_RS3_IiSaIiEEfii(ptr noundef %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, float noundef %5, i32 noundef %6, i32 noundef %7) #0 {
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %class.XVector3, align 4
  %18 = alloca %class.XVector3, align 4
  %19 = alloca %class.XVector3, align 4
  %20 = alloca %class.XVector3, align 4
  %21 = alloca %class.XVector3, align 4
  %22 = alloca %class.XVector3, align 4
  %23 = alloca { <2 x float>, float }, align 8
  %24 = alloca %class.XVector3, align 4
  %25 = alloca { <2 x float>, float }, align 8
  %26 = alloca %class.XMatrix44, align 4
  %27 = alloca %class.XVector4, align 4
  %28 = alloca %class.XVector4, align 4
  %29 = alloca %class.XVector4, align 4
  %30 = alloca %class.XVector4, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %class.XVector3, align 4
  %34 = alloca %class.XVector3, align 4
  %35 = alloca %class.XVector3, align 4
  %36 = alloca %class.XVector3, align 4
  %37 = alloca %class.XVector3, align 4
  %38 = alloca { <2 x float>, float }, align 8
  %39 = alloca { <2 x float>, float }, align 8
  %40 = alloca %class.XVector3, align 4
  %41 = alloca %class.XVector3, align 4
  %42 = alloca %class.XVector3, align 4
  %43 = alloca %class.XVector3, align 4
  %44 = alloca { <2 x float>, float }, align 8
  %45 = alloca { <2 x float>, float }, align 8
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca %class.XVector3, align 4
  %51 = alloca %class.XVector3, align 4
  %52 = alloca %class.XVector3, align 4
  %53 = alloca %class.XVector3, align 4
  %54 = alloca %class.XVector3, align 4
  %55 = alloca %class.XVector3, align 4
  %56 = alloca { <2 x float>, float }, align 8
  %57 = alloca { <2 x float>, float }, align 8
  %58 = alloca %class.XVector3, align 4
  %59 = alloca %class.XVector3, align 4
  %60 = alloca %class.XVector3, align 4
  %61 = alloca %class.XVector3, align 4
  %62 = alloca { <2 x float>, float }, align 8
  %63 = alloca { <2 x float>, float }, align 8
  %64 = alloca i32, align 4
  %65 = alloca i32, align 4
  %66 = alloca %class.XVector3, align 4
  %67 = alloca { <2 x float>, float }, align 8
  %68 = alloca %class.XVector3, align 4
  %69 = alloca %class.XVector3, align 4
  %70 = alloca { <2 x float>, float }, align 8
  %71 = alloca { <2 x float>, float }, align 8
  %72 = alloca %class.XVector3, align 4
  %73 = alloca float, align 4
  %74 = alloca %class.XMatrix44, align 4
  %75 = alloca %class.XMatrix44, align 4
  %76 = alloca %class.XVector3, align 4
  %77 = alloca %class.XVector3, align 4
  %78 = alloca { <2 x float>, float }, align 8
  %79 = alloca %class.XVector3, align 4
  %80 = alloca { <2 x float>, float }, align 8
  %81 = alloca i64, align 8
  %82 = alloca i32, align 4
  %83 = alloca float, align 4
  %84 = alloca %class.XVector4, align 4
  %85 = alloca %class.XVector4, align 4
  %86 = alloca %class.XVector3, align 4
  %87 = alloca %class.XVector3, align 4
  %88 = alloca %class.XVector3, align 4
  %89 = alloca { <2 x float>, float }, align 8
  %90 = alloca { <2 x float>, float }, align 8
  %91 = alloca %class.XVector3, align 4
  %92 = alloca i32, align 4
  %93 = alloca i32, align 4
  %94 = alloca i32, align 4
  %95 = alloca i32, align 4
  %96 = alloca i32, align 4
  %97 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store float %5, ptr %14, align 4, !tbaa !11
  store i32 %6, ptr %15, align 4, !tbaa !9
  store i32 %7, ptr %16, align 4, !tbaa !9
  %98 = load i32, ptr %10, align 4, !tbaa !9
  %99 = icmp slt i32 %98, 2
  br i1 %99, label %100, label %101

100:                                              ; preds = %8
  br label %333

101:                                              ; preds = %8
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #10
  call void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %17)
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #10
  call void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %18)
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #10
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds %class.XVector3, ptr %102, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %103, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #10
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = getelementptr inbounds %class.XVector3, ptr %104, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %105, i64 12, i1 false), !tbaa.struct !13
  %106 = call { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %22)
  store { <2 x float>, float } %106, ptr %23, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 8 %23, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #10
  call void @_ZN8XVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %24, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %107 = call { <2 x float>, float } @_Z13SafeNormalizeI8XVector3IfEET_RKS2_S4_(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %24)
  store { <2 x float>, float } %107, ptr %25, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 8 %25, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #10
  call void @_Z15BasisFromVectorRK8XVector3IfEPS0_S3_(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef %17, ptr noundef %18)
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #10
  call void @_ZN9XMatrix44IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %26)
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #10
  %108 = getelementptr inbounds %class.XVector3, ptr %17, i32 0, i32 0
  %109 = load float, ptr %108, align 4, !tbaa !14
  %110 = getelementptr inbounds %class.XVector3, ptr %17, i32 0, i32 1
  %111 = load float, ptr %110, align 4, !tbaa !16
  %112 = getelementptr inbounds %class.XVector3, ptr %17, i32 0, i32 2
  %113 = load float, ptr %112, align 4, !tbaa !17
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %27, float noundef %109, float noundef %111, float noundef %113, float noundef 0.000000e+00)
  call void @_ZN9XMatrix44IfE6SetColEiRK8XVector4IfE(ptr noundef nonnull align 4 dereferenceable(64) %26, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #10
  %114 = getelementptr inbounds %class.XVector3, ptr %18, i32 0, i32 0
  %115 = load float, ptr %114, align 4, !tbaa !14
  %116 = getelementptr inbounds %class.XVector3, ptr %18, i32 0, i32 1
  %117 = load float, ptr %116, align 4, !tbaa !16
  %118 = getelementptr inbounds %class.XVector3, ptr %18, i32 0, i32 2
  %119 = load float, ptr %118, align 4, !tbaa !17
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %28, float noundef %115, float noundef %117, float noundef %119, float noundef 0.000000e+00)
  call void @_ZN9XMatrix44IfE6SetColEiRK8XVector4IfE(ptr noundef nonnull align 4 dereferenceable(64) %26, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(16) %28)
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #10
  %120 = getelementptr inbounds %class.XVector3, ptr %19, i32 0, i32 0
  %121 = load float, ptr %120, align 4, !tbaa !14
  %122 = getelementptr inbounds %class.XVector3, ptr %19, i32 0, i32 1
  %123 = load float, ptr %122, align 4, !tbaa !16
  %124 = getelementptr inbounds %class.XVector3, ptr %19, i32 0, i32 2
  %125 = load float, ptr %124, align 4, !tbaa !17
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %29, float noundef %121, float noundef %123, float noundef %125, float noundef 0.000000e+00)
  call void @_ZN9XMatrix44IfE6SetColEiRK8XVector4IfE(ptr noundef nonnull align 4 dereferenceable(64) %26, i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(16) %29)
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #10
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %30, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @_ZN9XMatrix44IfE6SetColEiRK8XVector4IfE(ptr noundef nonnull align 4 dereferenceable(64) %26, i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(16) %30)
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %126

126:                                              ; preds = %329, %101
  %127 = load i32, ptr %31, align 4, !tbaa !9
  %128 = load i32, ptr %10, align 4, !tbaa !9
  %129 = sub nsw i32 %128, 1
  %130 = icmp slt i32 %127, %129
  br i1 %130, label %132, label %131

131:                                              ; preds = %126
  store i32 2, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  br label %332

132:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #10
  call void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %33)
  %133 = load i32, ptr %31, align 4, !tbaa !9
  %134 = load i32, ptr %10, align 4, !tbaa !9
  %135 = sub nsw i32 %134, 1
  %136 = icmp slt i32 %133, %135
  br i1 %136, label %137, label %150

137:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %35) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %36) #10
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = load i32, ptr %31, align 4, !tbaa !9
  %140 = add nsw i32 %139, 1
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds %class.XVector3, ptr %138, i64 %141
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %142, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %37) #10
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = load i32, ptr %31, align 4, !tbaa !9
  %145 = sub nsw i32 %144, 1
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds %class.XVector3, ptr %143, i64 %146
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %147, i64 12, i1 false), !tbaa.struct !13
  %148 = call { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(12) %37)
  store { <2 x float>, float } %148, ptr %38, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 8 %38, i64 12, i1 false)
  %149 = call { <2 x float>, float } @_Z9NormalizeI8XVector3IfEET_RKS2_(ptr noundef nonnull align 4 dereferenceable(12) %35)
  store { <2 x float>, float } %149, ptr %39, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 8 %39, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %34, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #10
  br label %162

150:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 12, ptr %40) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #10
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = load i32, ptr %31, align 4, !tbaa !9
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds %class.XVector3, ptr %151, i64 %153
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %154, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %43) #10
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = load i32, ptr %31, align 4, !tbaa !9
  %157 = sub nsw i32 %156, 1
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds %class.XVector3, ptr %155, i64 %158
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %159, i64 12, i1 false), !tbaa.struct !13
  %160 = call { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %43)
  store { <2 x float>, float } %160, ptr %44, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 8 %44, i64 12, i1 false)
  %161 = call { <2 x float>, float } @_Z9NormalizeI8XVector3IfEET_RKS2_(ptr noundef nonnull align 4 dereferenceable(12) %41)
  store { <2 x float>, float } %161, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 8 %45, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %40, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 12, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #10
  br label %162

162:                                              ; preds = %150, %137
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #10
  %163 = load i32, ptr %31, align 4, !tbaa !9
  %164 = sub nsw i32 %163, 1
  %165 = call noundef i32 @_Z3MaxIiET_S0_S0_(i32 noundef %164, i32 noundef 0)
  store i32 %165, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #10
  %166 = load i32, ptr %31, align 4, !tbaa !9
  store i32 %166, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #10
  %167 = load i32, ptr %31, align 4, !tbaa !9
  %168 = add nsw i32 %167, 1
  %169 = load i32, ptr %10, align 4, !tbaa !9
  %170 = sub nsw i32 %169, 1
  %171 = call noundef i32 @_Z3MinIiET_S0_S0_(i32 noundef %168, i32 noundef %170)
  store i32 %171, ptr %48, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #10
  %172 = load i32, ptr %31, align 4, !tbaa !9
  %173 = add nsw i32 %172, 2
  %174 = load i32, ptr %10, align 4, !tbaa !9
  %175 = sub nsw i32 %174, 1
  %176 = call noundef i32 @_Z3MinIiET_S0_S0_(i32 noundef %173, i32 noundef %175)
  store i32 %176, ptr %49, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #10
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = load i32, ptr %47, align 4, !tbaa !9
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds %class.XVector3, ptr %177, i64 %179
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %180, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %51) #10
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = load i32, ptr %48, align 4, !tbaa !9
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds %class.XVector3, ptr %181, i64 %183
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %184, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %52) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %53) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %54) #10
  %185 = load ptr, ptr %9, align 8, !tbaa !5
  %186 = load i32, ptr %48, align 4, !tbaa !9
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds %class.XVector3, ptr %185, i64 %187
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %188, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %55) #10
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = load i32, ptr %46, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds %class.XVector3, ptr %189, i64 %191
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %192, i64 12, i1 false), !tbaa.struct !13
  %193 = call { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %54, ptr noundef nonnull align 4 dereferenceable(12) %55)
  store { <2 x float>, float } %193, ptr %56, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 8 %56, i64 12, i1 false)
  %194 = call { <2 x float>, float } @_ZmlIfE8XVector3IT_ES1_RKS2_(float noundef 5.000000e-01, ptr noundef nonnull align 4 dereferenceable(12) %53)
  store { <2 x float>, float } %194, ptr %57, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 8 %57, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %55) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %54) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %53) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %58) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %59) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %60) #10
  %195 = load ptr, ptr %9, align 8, !tbaa !5
  %196 = load i32, ptr %49, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds %class.XVector3, ptr %195, i64 %197
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 4 %198, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %61) #10
  %199 = load ptr, ptr %9, align 8, !tbaa !5
  %200 = load i32, ptr %47, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds %class.XVector3, ptr %199, i64 %201
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %61, ptr align 4 %202, i64 12, i1 false), !tbaa.struct !13
  %203 = call { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %60, ptr noundef nonnull align 4 dereferenceable(12) %61)
  store { <2 x float>, float } %203, ptr %62, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 8 %62, i64 12, i1 false)
  %204 = call { <2 x float>, float } @_ZmlIfE8XVector3IT_ES1_RKS2_(float noundef 5.000000e-01, ptr noundef nonnull align 4 dereferenceable(12) %59)
  store { <2 x float>, float } %204, ptr %63, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 8 %63, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %61) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %60) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #10
  %205 = load i32, ptr %31, align 4, !tbaa !9
  %206 = load i32, ptr %10, align 4, !tbaa !9
  %207 = sub nsw i32 %206, 2
  %208 = icmp slt i32 %205, %207
  br i1 %208, label %209, label %211

209:                                              ; preds = %162
  %210 = load i32, ptr %16, align 4, !tbaa !9
  br label %214

211:                                              ; preds = %162
  %212 = load i32, ptr %16, align 4, !tbaa !9
  %213 = add nsw i32 %212, 1
  br label %214

214:                                              ; preds = %211, %209
  %215 = phi i32 [ %210, %209 ], [ %213, %211 ]
  store i32 %215, ptr %64, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #10
  store i32 0, ptr %65, align 4, !tbaa !9
  br label %216

216:                                              ; preds = %325, %214
  %217 = load i32, ptr %65, align 4, !tbaa !9
  %218 = load i32, ptr %64, align 4, !tbaa !9
  %219 = icmp slt i32 %217, %218
  br i1 %219, label %221, label %220

220:                                              ; preds = %216
  store i32 5, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #10
  br label %328

221:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 12, ptr %66) #10
  %222 = load i32, ptr %65, align 4, !tbaa !9
  %223 = sitofp i32 %222 to float
  %224 = load i32, ptr %16, align 4, !tbaa !9
  %225 = sitofp i32 %224 to float
  %226 = fdiv float %223, %225
  %227 = call { <2 x float>, float } @_Z18HermiteInterpolateI8XVector3IfEET_RKS2_S4_S4_S4_f(ptr noundef nonnull align 4 dereferenceable(12) %50, ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 4 dereferenceable(12) %52, ptr noundef nonnull align 4 dereferenceable(12) %58, float noundef %226)
  store { <2 x float>, float } %227, ptr %67, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 8 %67, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %68) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %69) #10
  %228 = load i32, ptr %65, align 4, !tbaa !9
  %229 = sitofp i32 %228 to float
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = sitofp i32 %230 to float
  %232 = fdiv float %229, %231
  %233 = call { <2 x float>, float } @_Z14HermiteTangentI8XVector3IfEET_RKS2_S4_S4_S4_f(ptr noundef nonnull align 4 dereferenceable(12) %50, ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 4 dereferenceable(12) %52, ptr noundef nonnull align 4 dereferenceable(12) %58, float noundef %232)
  store { <2 x float>, float } %233, ptr %70, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 8 %70, i64 12, i1 false)
  %234 = call { <2 x float>, float } @_Z9NormalizeI8XVector3IfEET_RKS2_(ptr noundef nonnull align 4 dereferenceable(12) %69)
  store { <2 x float>, float } %234, ptr %71, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 8 %71, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %69) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %72) #10
  %235 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9XMatrix44IfE7GetAxisEi(ptr noundef nonnull align 4 dereferenceable(64) %26, i32 noundef 2)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %235, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %73) #10
  %236 = call noundef float @_Z3DotIfET_RK8XVector3IS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12) %72, ptr noundef nonnull align 4 dereferenceable(12) %68)
  %237 = call float @acosf(float noundef %236) #10
  store float %237, ptr %73, align 4, !tbaa !11
  %238 = load float, ptr %73, align 4, !tbaa !11
  %239 = call float @llvm.fabs.f32(float %238)
  %240 = fcmp ogt float %239, 0x3F50624DE0000000
  br i1 %240, label %241, label %245

241:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 64, ptr %74) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %75) #10
  %242 = load float, ptr %73, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr %76) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %77) #10
  %243 = call { <2 x float>, float } @_Z5CrossRK8XVector3IfES2_(ptr noundef nonnull align 4 dereferenceable(12) %72, ptr noundef nonnull align 4 dereferenceable(12) %68)
  store { <2 x float>, float } %243, ptr %78, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 8 %78, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %79) #10
  call void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %79)
  %244 = call { <2 x float>, float } @_Z13SafeNormalizeI8XVector3IfEET_RKS2_S4_(ptr noundef nonnull align 4 dereferenceable(12) %77, ptr noundef nonnull align 4 dereferenceable(12) %79)
  store { <2 x float>, float } %244, ptr %80, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 8 %80, i64 12, i1 false)
  call void @_Z14RotationMatrixfRK8XVector3IfE(ptr dead_on_unwind writable sret(%class.XMatrix44) align 4 %75, float noundef %242, ptr noundef nonnull align 4 dereferenceable(12) %76)
  call void @_ZNK9XMatrix44IfEmlERKS0_(ptr dead_on_unwind writable sret(%class.XMatrix44) align 4 %74, ptr noundef nonnull align 4 dereferenceable(64) %75, ptr noundef nonnull align 4 dereferenceable(64) %26)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %74, i64 64, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 12, ptr %79) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %77) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %75) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %74) #10
  br label %245

245:                                              ; preds = %241, %221
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #10
  %246 = load ptr, ptr %11, align 8, !tbaa !5
  %247 = call noundef i64 @_ZNKSt6vectorI8XVector3IfESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %246) #10
  store i64 %247, ptr %81, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #10
  store i32 0, ptr %82, align 4, !tbaa !9
  br label %248

248:                                              ; preds = %279, %245
  %249 = load i32, ptr %82, align 4, !tbaa !9
  %250 = load i32, ptr %15, align 4, !tbaa !9
  %251 = icmp slt i32 %249, %250
  br i1 %251, label %253, label %252

252:                                              ; preds = %248
  store i32 8, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #10
  br label %282

253:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #10
  %254 = load i32, ptr %15, align 4, !tbaa !9
  %255 = sitofp i32 %254 to float
  %256 = fdiv float 0x401921FB60000000, %255
  store float %256, ptr %83, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %84) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %85) #10
  %257 = load float, ptr %83, align 4, !tbaa !11
  %258 = load i32, ptr %82, align 4, !tbaa !9
  %259 = sitofp i32 %258 to float
  %260 = fmul float %257, %259
  %261 = call float @cosf(float noundef %260) #10
  %262 = load float, ptr %83, align 4, !tbaa !11
  %263 = load i32, ptr %82, align 4, !tbaa !9
  %264 = sitofp i32 %263 to float
  %265 = fmul float %262, %264
  %266 = call float @sinf(float noundef %265) #10
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %85, float noundef %261, float noundef %266, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %267 = call { <2 x float>, <2 x float> } @_ZmlIfE8XVector4IT_ERK9XMatrix44IS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %26, ptr noundef nonnull align 4 dereferenceable(16) %85)
  %268 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %84, i32 0, i32 0
  %269 = extractvalue { <2 x float>, <2 x float> } %267, 0
  store <2 x float> %269, ptr %268, align 4
  %270 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %84, i32 0, i32 1
  %271 = extractvalue { <2 x float>, <2 x float> } %267, 1
  store <2 x float> %271, ptr %270, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %85) #10
  %272 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %86) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %87) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %88) #10
  %273 = call noundef ptr @_ZN8XVector4IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(16) %84)
  call void @_ZN8XVector3IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(12) %88, ptr noundef %273)
  %274 = load float, ptr %14, align 4, !tbaa !11
  %275 = call { <2 x float>, float } @_ZNK8XVector3IfEmlEf(ptr noundef nonnull align 4 dereferenceable(12) %88, float noundef %274)
  store { <2 x float>, float } %275, ptr %89, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %87, ptr align 8 %89, i64 12, i1 false)
  %276 = call { <2 x float>, float } @_ZNK8XVector3IfEplERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %87, ptr noundef nonnull align 4 dereferenceable(12) %66)
  store { <2 x float>, float } %276, ptr %90, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %86, ptr align 8 %90, i64 12, i1 false)
  call void @_ZNSt6vectorI8XVector3IfESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %272, ptr noundef nonnull align 4 dereferenceable(12) %86)
  call void @llvm.lifetime.end.p0(i64 12, ptr %88) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %87) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %86) #10
  %277 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %91) #10
  %278 = call noundef ptr @_ZN8XVector4IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(16) %84)
  call void @_ZN8XVector3IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(12) %91, ptr noundef %278)
  call void @_ZNSt6vectorI8XVector3IfESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %277, ptr noundef nonnull align 4 dereferenceable(12) %91)
  call void @llvm.lifetime.end.p0(i64 12, ptr %91) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %84) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #10
  br label %279

279:                                              ; preds = %253
  %280 = load i32, ptr %82, align 4, !tbaa !9
  %281 = add nsw i32 %280, 1
  store i32 %281, ptr %82, align 4, !tbaa !9
  br label %248, !llvm.loop !22

282:                                              ; preds = %252
  %283 = load i64, ptr %81, align 8, !tbaa !20
  %284 = icmp ne i64 %283, 0
  br i1 %284, label %285, label %324

285:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 4, ptr %92) #10
  store i32 0, ptr %92, align 4, !tbaa !9
  br label %286

286:                                              ; preds = %320, %285
  %287 = load i32, ptr %92, align 4, !tbaa !9
  %288 = load i32, ptr %15, align 4, !tbaa !9
  %289 = icmp slt i32 %287, %288
  br i1 %289, label %291, label %290

290:                                              ; preds = %286
  store i32 11, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %92) #10
  br label %323

291:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 4, ptr %93) #10
  %292 = load i64, ptr %81, align 8, !tbaa !20
  %293 = load i32, ptr %92, align 4, !tbaa !9
  %294 = sext i32 %293 to i64
  %295 = add i64 %292, %294
  %296 = trunc i64 %295 to i32
  store i32 %296, ptr %93, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %94) #10
  %297 = load i64, ptr %81, align 8, !tbaa !20
  %298 = load i32, ptr %92, align 4, !tbaa !9
  %299 = add nsw i32 %298, 1
  %300 = load i32, ptr %15, align 4, !tbaa !9
  %301 = srem i32 %299, %300
  %302 = sext i32 %301 to i64
  %303 = add i64 %297, %302
  %304 = trunc i64 %303 to i32
  store i32 %304, ptr %94, align 4, !tbaa !9
  %305 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %305, ptr noundef nonnull align 4 dereferenceable(4) %93)
  %306 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %95) #10
  %307 = load i32, ptr %93, align 4, !tbaa !9
  %308 = load i32, ptr %15, align 4, !tbaa !9
  %309 = sub nsw i32 %307, %308
  store i32 %309, ptr %95, align 4, !tbaa !9
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %306, ptr noundef nonnull align 4 dereferenceable(4) %95)
  call void @llvm.lifetime.end.p0(i64 4, ptr %95) #10
  %310 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %96) #10
  %311 = load i32, ptr %94, align 4, !tbaa !9
  %312 = load i32, ptr %15, align 4, !tbaa !9
  %313 = sub nsw i32 %311, %312
  store i32 %313, ptr %96, align 4, !tbaa !9
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %310, ptr noundef nonnull align 4 dereferenceable(4) %96)
  call void @llvm.lifetime.end.p0(i64 4, ptr %96) #10
  %314 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %97) #10
  %315 = load i32, ptr %94, align 4, !tbaa !9
  %316 = load i32, ptr %15, align 4, !tbaa !9
  %317 = sub nsw i32 %315, %316
  store i32 %317, ptr %97, align 4, !tbaa !9
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %314, ptr noundef nonnull align 4 dereferenceable(4) %97)
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #10
  %318 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %318, ptr noundef nonnull align 4 dereferenceable(4) %94)
  %319 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %319, ptr noundef nonnull align 4 dereferenceable(4) %93)
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %93) #10
  br label %320

320:                                              ; preds = %291
  %321 = load i32, ptr %92, align 4, !tbaa !9
  %322 = add nsw i32 %321, 1
  store i32 %322, ptr %92, align 4, !tbaa !9
  br label %286, !llvm.loop !24

323:                                              ; preds = %290
  br label %324

324:                                              ; preds = %323, %282
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %72) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %68) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %66) #10
  br label %325

325:                                              ; preds = %324
  %326 = load i32, ptr %65, align 4, !tbaa !9
  %327 = add nsw i32 %326, 1
  store i32 %327, ptr %65, align 4, !tbaa !9
  br label %216, !llvm.loop !25

328:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %58) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #10
  br label %329

329:                                              ; preds = %328
  %330 = load i32, ptr %31, align 4, !tbaa !9
  %331 = add nsw i32 %330, 1
  store i32 %331, ptr %31, align 4, !tbaa !9
  br label %126, !llvm.loop !26

332:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #10
  br label %333

333:                                              ; preds = %332, %100
  ret void
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_Z13SafeNormalizeI8XVector3IfEET_RKS2_S4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8XVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15BasisFromVectorRK8XVector3IfEPS0_S3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9XMatrix44IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9XMatrix44IfE6SetColEiRK8XVector4IfE(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef, ptr noundef nonnull align 4 dereferenceable(16)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_Z9NormalizeI8XVector3IfEET_RKS2_(ptr noundef nonnull align 4 dereferenceable(12)) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3MaxIiET_S0_S0_(i32 noundef, i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3MinIiET_S0_S0_(i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZmlIfE8XVector3IT_ES1_RKS2_(float noundef, ptr noundef nonnull align 4 dereferenceable(12)) #6

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_Z18HermiteInterpolateI8XVector3IfEET_RKS2_S4_S4_S4_f(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_Z14HermiteTangentI8XVector3IfEET_RKS2_S4_S4_S4_f(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9XMatrix44IfE7GetAxisEi(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef) #6 align 2

; Function Attrs: nounwind
declare float @acosf(float noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z3DotIfET_RK8XVector3IS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z14RotationMatrixfRK8XVector3IfE(ptr dead_on_unwind noalias writable sret(%class.XMatrix44) align 4, float noundef, ptr noundef nonnull align 4 dereferenceable(12)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_Z5CrossRK8XVector3IfES2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9XMatrix44IfEmlERKS0_(ptr dead_on_unwind noalias writable sret(%class.XMatrix44) align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZmlIfE8XVector4IT_ERK9XMatrix44IS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16)) #0

; Function Attrs: nounwind
declare float @cosf(float noundef) #8

; Function Attrs: nounwind
declare float @sinf(float noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI8XVector3IfESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8XVector4IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(16)) #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK8XVector3IfEmlEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK8XVector3IfEplERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #7 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{i64 0, i64 4, !11, i64 4, i64 4, !11, i64 8, i64 4, !11}
!14 = !{!15, !12, i64 0}
!15 = !{!"_ZTS8XVector3IfE", !12, i64 0, !12, i64 4, !12, i64 8}
!16 = !{!15, !12, i64 4}
!17 = !{!15, !12, i64 8}
!18 = !{i64 0, i64 64, !19}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !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.XVector3 = type { float, float, float }
%class.XMatrix44 = type { [4 x [4 x float]] }
%class.XVector4 = type { float, float, float, float }

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7ExtrudePK8XVector3IfEiRSt6vectorIS0_SaIS0_EES6_RS3_IiSaIiEEfii(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, float noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #0 {
  %9 = alloca %class.XVector3, align 4
  %10 = alloca %class.XVector3, align 4
  %11 = alloca %class.XVector3, align 8
  %12 = alloca %class.XVector3, align 8
  %13 = alloca %class.XVector3, align 4
  %14 = alloca %class.XVector3, align 4
  %15 = alloca %class.XVector3, align 4
  %16 = alloca %class.XMatrix44, align 4
  %17 = alloca %class.XVector4, align 4
  %18 = alloca %class.XVector4, align 4
  %19 = alloca %class.XVector4, align 4
  %20 = alloca %class.XVector4, align 4
  %21 = alloca %class.XVector3, align 8
  %22 = alloca %class.XVector3, align 8
  %23 = alloca %class.XVector3, align 4
  %24 = alloca %class.XVector3, align 4
  %25 = alloca %class.XVector3, align 4
  %26 = alloca %class.XVector3, align 4
  %27 = alloca %class.XVector3, align 8
  %28 = alloca %class.XVector3, align 8
  %29 = alloca %class.XVector3, align 4
  %30 = alloca %class.XVector3, align 4
  %31 = alloca %class.XVector3, align 8
  %32 = alloca %class.XVector3, align 8
  %33 = alloca %class.XVector3, align 4
  %34 = alloca %class.XVector3, align 4
  %35 = alloca %class.XVector3, align 8
  %36 = alloca %class.XVector3, align 8
  %37 = alloca %class.XVector3, align 8
  %38 = alloca %class.XVector3, align 4
  %39 = alloca %class.XMatrix44, align 4
  %40 = alloca %class.XMatrix44, align 4
  %41 = alloca %class.XVector3, align 8
  %42 = alloca %class.XVector3, align 8
  %43 = alloca %class.XVector3, align 4
  %44 = alloca %class.XVector4, align 8
  %45 = alloca %class.XVector4, align 4
  %46 = alloca %class.XVector3, align 8
  %47 = alloca %class.XVector3, align 8
  %48 = alloca %class.XVector3, align 4
  %49 = alloca %class.XVector3, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = icmp slt i32 %1, 2
  br i1 %55, label %150, label %.lr.ph159

.lr.ph159:                                        ; preds = %8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #10
  call void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %9)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #10
  call void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %10)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #10
  %56 = getelementptr inbounds i8, ptr %0, i64 12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %56, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %0, i64 12, i1 false), !tbaa.struct !5
  %57 = call { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %14)
  %.fca.0.extract100 = extractvalue { <2 x float>, float } %57, 0
  %.fca.1.extract101 = extractvalue { <2 x float>, float } %57, 1
  store <2 x float> %.fca.0.extract100, ptr %12, align 8
  %.sroa.2103.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  store float %.fca.1.extract101, ptr %.sroa.2103.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #10
  call void @_ZN8XVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %58 = call { <2 x float>, float } @_Z13SafeNormalizeI8XVector3IfEET_RKS2_S4_(ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %15)
  %.fca.0.extract96 = extractvalue { <2 x float>, float } %58, 0
  %.fca.1.extract97 = extractvalue { <2 x float>, float } %58, 1
  store <2 x float> %.fca.0.extract96, ptr %11, align 8
  %.sroa.299.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  store float %.fca.1.extract97, ptr %.sroa.299.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #10
  call void @_Z15BasisFromVectorRK8XVector3IfEPS0_S3_(ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull %9, ptr noundef nonnull %10)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #10
  call void @_ZN9XMatrix44IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %16)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #10
  %59 = load float, ptr %9, align 4, !tbaa !10
  %60 = getelementptr inbounds i8, ptr %9, i64 4
  %61 = load float, ptr %60, align 4, !tbaa !12
  %62 = getelementptr inbounds i8, ptr %9, i64 8
  %63 = load float, ptr %62, align 4, !tbaa !13
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %17, float noundef %59, float noundef %61, float noundef %63, float noundef 0.000000e+00)
  call void @_ZN9XMatrix44IfE6SetColEiRK8XVector4IfE(ptr noundef nonnull align 4 dereferenceable(64) %16, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(16) %17)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #10
  %64 = load float, ptr %10, align 4, !tbaa !10
  %65 = getelementptr inbounds i8, ptr %10, i64 4
  %66 = load float, ptr %65, align 4, !tbaa !12
  %67 = getelementptr inbounds i8, ptr %10, i64 8
  %68 = load float, ptr %67, align 4, !tbaa !13
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %18, float noundef %64, float noundef %66, float noundef %68, float noundef 0.000000e+00)
  call void @_ZN9XMatrix44IfE6SetColEiRK8XVector4IfE(ptr noundef nonnull align 4 dereferenceable(64) %16, i32 noundef 1, ptr noundef nonnull align 4 dereferenceable(16) %18)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #10
  %69 = load float, ptr %11, align 8, !tbaa !10
  %70 = getelementptr inbounds i8, ptr %11, i64 4
  %71 = load float, ptr %70, align 4, !tbaa !12
  %72 = load float, ptr %.sroa.299.0..sroa_idx, align 8, !tbaa !13
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %19, float noundef %69, float noundef %71, float noundef %72, float noundef 0.000000e+00)
  call void @_ZN9XMatrix44IfE6SetColEiRK8XVector4IfE(ptr noundef nonnull align 4 dereferenceable(64) %16, i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(16) %19)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #10
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %20, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @_ZN9XMatrix44IfE6SetColEiRK8XVector4IfE(ptr noundef nonnull align 4 dereferenceable(64) %16, i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(16) %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #10
  %73 = add nsw i32 %1, -1
  %.sroa.281.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 8
  %.sroa.483.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 8
  %.sroa.258.0..sroa_idx = getelementptr inbounds i8, ptr %28, i64 8
  %.sroa.254.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  %.sroa.250.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 8
  %.sroa.246.0..sroa_idx = getelementptr inbounds i8, ptr %31, i64 8
  %74 = add nsw i32 %1, -2
  %75 = sitofp i32 %7 to float
  %.sroa.237.0..sroa_idx = getelementptr inbounds i8, ptr %35, i64 8
  %.sroa.233.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 8
  %.sroa.229.0..sroa_idx = getelementptr inbounds i8, ptr %36, i64 8
  %.sroa.223.0..sroa_idx = getelementptr inbounds i8, ptr %42, i64 8
  %.sroa.219.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 8
  %76 = icmp sgt i32 %6, 0
  %77 = sitofp i32 %6 to float
  %78 = fdiv float 0x401921FB60000000, %77
  %79 = getelementptr inbounds i8, ptr %44, i64 8
  %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %47, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %46, i64 8
  %80 = icmp slt i32 %6, 1
  %81 = zext nneg i32 %74 to i64
  %wide.trip.count = zext nneg i32 %73 to i64
  br label %82

._crit_edge160:                                   ; preds = %._crit_edge156
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #10
  br label %150

82:                                               ; preds = %.lr.ph159, %._crit_edge156
  %indvars.iv = phi i64 [ 0, %.lr.ph159 ], [ %indvars.iv.next, %._crit_edge156 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #10
  call void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %21)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %22) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #10
  %83 = getelementptr inbounds %class.XVector3, ptr %0, i64 %indvars.iv
  %84 = getelementptr inbounds i8, ptr %83, i64 12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %84, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #10
  %85 = getelementptr i8, ptr %83, i64 -12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %24, ptr noundef nonnull align 4 dereferenceable(12) %85, i64 12, i1 false), !tbaa.struct !5
  %86 = call { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %24)
  %.fca.0.extract78 = extractvalue { <2 x float>, float } %86, 0
  %.fca.1.extract79 = extractvalue { <2 x float>, float } %86, 1
  store <2 x float> %.fca.0.extract78, ptr %22, align 8
  store float %.fca.1.extract79, ptr %.sroa.281.0..sroa_idx, align 8
  %87 = call { <2 x float>, float } @_Z9NormalizeI8XVector3IfEET_RKS2_(ptr noundef nonnull align 4 dereferenceable(12) %22)
  %.fca.0.extract74 = extractvalue { <2 x float>, float } %87, 0
  %.fca.1.extract75 = extractvalue { <2 x float>, float } %87, 1
  store <2 x float> %.fca.0.extract74, ptr %21, align 8
  store float %.fca.1.extract75, ptr %.sroa.483.0..sroa_idx, align 8, !tbaa !6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #10
  %88 = trunc i64 %indvars.iv to i32
  %89 = add i32 %88, -1
  %90 = call noundef i32 @_Z3MaxIiET_S0_S0_(i32 noundef %89, i32 noundef 0)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %91 = trunc nuw nsw i64 %indvars.iv.next to i32
  %92 = call noundef i32 @_Z3MinIiET_S0_S0_(i32 noundef %91, i32 noundef %73)
  %93 = trunc i64 %indvars.iv to i32
  %94 = add i32 %93, 2
  %95 = call noundef i32 @_Z3MinIiET_S0_S0_(i32 noundef %94, i32 noundef %73)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %83, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #10
  %96 = sext i32 %92 to i64
  %97 = getelementptr inbounds %class.XVector3, ptr %0, i64 %96
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %97, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %29) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(12) %97, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %30) #10
  %98 = sext i32 %90 to i64
  %99 = getelementptr inbounds %class.XVector3, ptr %0, i64 %98
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %30, ptr noundef nonnull align 4 dereferenceable(12) %99, i64 12, i1 false), !tbaa.struct !5
  %100 = call { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(12) %30)
  %.fca.0.extract55 = extractvalue { <2 x float>, float } %100, 0
  %.fca.1.extract56 = extractvalue { <2 x float>, float } %100, 1
  store <2 x float> %.fca.0.extract55, ptr %28, align 8
  store float %.fca.1.extract56, ptr %.sroa.258.0..sroa_idx, align 8
  %101 = call { <2 x float>, float } @_ZmlIfE8XVector3IT_ES1_RKS2_(float noundef 5.000000e-01, ptr noundef nonnull align 4 dereferenceable(12) %28)
  %.fca.0.extract51 = extractvalue { <2 x float>, float } %101, 0
  %.fca.1.extract52 = extractvalue { <2 x float>, float } %101, 1
  store <2 x float> %.fca.0.extract51, ptr %27, align 8
  store float %.fca.1.extract52, ptr %.sroa.254.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %31) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %32) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %33) #10
  %102 = sext i32 %95 to i64
  %103 = getelementptr inbounds %class.XVector3, ptr %0, i64 %102
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %103, i64 12, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %34) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %34, ptr noundef nonnull align 4 dereferenceable(12) %83, i64 12, i1 false), !tbaa.struct !5
  %104 = call { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %34)
  %.fca.0.extract47 = extractvalue { <2 x float>, float } %104, 0
  %.fca.1.extract48 = extractvalue { <2 x float>, float } %104, 1
  store <2 x float> %.fca.0.extract47, ptr %32, align 8
  store float %.fca.1.extract48, ptr %.sroa.250.0..sroa_idx, align 8
  %105 = call { <2 x float>, float } @_ZmlIfE8XVector3IT_ES1_RKS2_(float noundef 5.000000e-01, ptr noundef nonnull align 4 dereferenceable(12) %32)
  %.fca.0.extract43 = extractvalue { <2 x float>, float } %105, 0
  %.fca.1.extract44 = extractvalue { <2 x float>, float } %105, 1
  store <2 x float> %.fca.0.extract43, ptr %31, align 8
  store float %.fca.1.extract44, ptr %.sroa.246.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %34) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %33) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %32) #10
  %106 = icmp uge i64 %indvars.iv, %81
  %107 = zext i1 %106 to i32
  %108 = add nsw i32 %107, %7
  %109 = icmp sgt i32 %108, 0
  br i1 %109, label %.lr.ph155, label %._crit_edge156

._crit_edge156:                                   ; preds = %.loopexit, %82
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #10
  %exitcond165.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond165.not, label %._crit_edge160, label %82, !llvm.loop !14

.lr.ph155:                                        ; preds = %82, %.loopexit
  %.0144153 = phi i32 [ %149, %.loopexit ], [ 0, %82 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %35) #10
  %110 = uitofp nneg i32 %.0144153 to float
  %111 = fdiv float %110, %75
  %112 = call { <2 x float>, float } @_Z18HermiteInterpolateI8XVector3IfEET_RKS2_S4_S4_S4_f(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(12) %31, float noundef %111)
  %.fca.0.extract34 = extractvalue { <2 x float>, float } %112, 0
  %.fca.1.extract35 = extractvalue { <2 x float>, float } %112, 1
  store <2 x float> %.fca.0.extract34, ptr %35, align 8
  store float %.fca.1.extract35, ptr %.sroa.237.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %36) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %37) #10
  %113 = call { <2 x float>, float } @_Z14HermiteTangentI8XVector3IfEET_RKS2_S4_S4_S4_f(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(12) %31, float noundef %111)
  %.fca.0.extract30 = extractvalue { <2 x float>, float } %113, 0
  %.fca.1.extract31 = extractvalue { <2 x float>, float } %113, 1
  store <2 x float> %.fca.0.extract30, ptr %37, align 8
  store float %.fca.1.extract31, ptr %.sroa.233.0..sroa_idx, align 8
  %114 = call { <2 x float>, float } @_Z9NormalizeI8XVector3IfEET_RKS2_(ptr noundef nonnull align 4 dereferenceable(12) %37)
  %.fca.0.extract26 = extractvalue { <2 x float>, float } %114, 0
  %.fca.1.extract27 = extractvalue { <2 x float>, float } %114, 1
  store <2 x float> %.fca.0.extract26, ptr %36, align 8
  store float %.fca.1.extract27, ptr %.sroa.229.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %38) #10
  %115 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9XMatrix44IfE7GetAxisEi(ptr noundef nonnull align 4 dereferenceable(64) %16, i32 noundef 2)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %38, ptr noundef nonnull align 4 dereferenceable(12) %115, i64 12, i1 false), !tbaa.struct !5
  %116 = call noundef float @_Z3DotIfET_RK8XVector3IS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12) %38, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %117 = call float @acosf(float noundef %116) #10
  %118 = call float @llvm.fabs.f32(float %117)
  %119 = fcmp ogt float %118, 0x3F50624DE0000000
  br i1 %119, label %120, label %123

120:                                              ; preds = %.lr.ph155
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %39) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %40) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %41) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %42) #10
  %121 = call { <2 x float>, float } @_Z5CrossRK8XVector3IfES2_(ptr noundef nonnull align 4 dereferenceable(12) %38, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %.fca.0.extract20 = extractvalue { <2 x float>, float } %121, 0
  %.fca.1.extract21 = extractvalue { <2 x float>, float } %121, 1
  store <2 x float> %.fca.0.extract20, ptr %42, align 8
  store float %.fca.1.extract21, ptr %.sroa.223.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %43) #10
  call void @_ZN8XVector3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %43)
  %122 = call { <2 x float>, float } @_Z13SafeNormalizeI8XVector3IfEET_RKS2_S4_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %43)
  %.fca.0.extract16 = extractvalue { <2 x float>, float } %122, 0
  %.fca.1.extract17 = extractvalue { <2 x float>, float } %122, 1
  store <2 x float> %.fca.0.extract16, ptr %41, align 8
  store float %.fca.1.extract17, ptr %.sroa.219.0..sroa_idx, align 8
  call void @_Z14RotationMatrixfRK8XVector3IfE(ptr dead_on_unwind nonnull writable sret(%class.XMatrix44) align 4 %40, float noundef %117, ptr noundef nonnull align 4 dereferenceable(12) %41)
  call void @_ZNK9XMatrix44IfEmlERKS0_(ptr dead_on_unwind nonnull writable sret(%class.XMatrix44) align 4 %39, ptr noundef nonnull align 4 dereferenceable(64) %40, ptr noundef nonnull align 4 dereferenceable(64) %16)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(64) %16, ptr noundef nonnull align 4 dereferenceable(64) %39, i64 64, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %43) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %42) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %41) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %40) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %39) #10
  br label %123

123:                                              ; preds = %120, %.lr.ph155
  %124 = call noundef i64 @_ZNKSt6vectorI8XVector3IfESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #10
  br i1 %76, label %.lr.ph, label %.loopexit

._crit_edge:                                      ; preds = %.lr.ph
  %.not = icmp eq i64 %124, 0
  %brmerge = or i1 %.not, %80
  br i1 %brmerge, label %.loopexit, label %.lr.ph152

.lr.ph152:                                        ; preds = %._crit_edge
  %125 = trunc i64 %124 to i32
  br label %138

.lr.ph:                                           ; preds = %123, %.lr.ph
  %.0145150 = phi i32 [ %137, %.lr.ph ], [ 0, %123 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %44) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %45) #10
  %126 = uitofp nneg i32 %.0145150 to float
  %127 = fmul float %78, %126
  %128 = call float @cosf(float noundef %127) #10
  %129 = call float @sinf(float noundef %127) #10
  call void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %45, float noundef %128, float noundef %129, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %130 = call { <2 x float>, <2 x float> } @_ZmlIfE8XVector4IT_ERK9XMatrix44IS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %16, ptr noundef nonnull align 4 dereferenceable(16) %45)
  %131 = extractvalue { <2 x float>, <2 x float> } %130, 0
  store <2 x float> %131, ptr %44, align 8
  %132 = extractvalue { <2 x float>, <2 x float> } %130, 1
  store <2 x float> %132, ptr %79, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %46) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %47) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %48) #10
  %133 = call noundef ptr @_ZN8XVector4IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(16) %44)
  call void @_ZN8XVector3IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(12) %48, ptr noundef %133)
  %134 = call { <2 x float>, float } @_ZNK8XVector3IfEmlEf(ptr noundef nonnull align 4 dereferenceable(12) %48, float noundef %5)
  %.fca.0.extract4 = extractvalue { <2 x float>, float } %134, 0
  %.fca.1.extract5 = extractvalue { <2 x float>, float } %134, 1
  store <2 x float> %.fca.0.extract4, ptr %47, align 8
  store float %.fca.1.extract5, ptr %.sroa.27.0..sroa_idx, align 8
  %135 = call { <2 x float>, float } @_ZNK8XVector3IfEplERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %47, ptr noundef nonnull align 4 dereferenceable(12) %35)
  %.fca.0.extract = extractvalue { <2 x float>, float } %135, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %135, 1
  store <2 x float> %.fca.0.extract, ptr %46, align 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @_ZNSt6vectorI8XVector3IfESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(12) %46)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %48) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %46) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %49) #10
  %136 = call noundef ptr @_ZN8XVector4IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(16) %44)
  call void @_ZN8XVector3IfEC2EPKf(ptr noundef nonnull align 4 dereferenceable(12) %49, ptr noundef %136)
  call void @_ZNSt6vectorI8XVector3IfESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(12) %49)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %49) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #10
  %137 = add nuw nsw i32 %.0145150, 1
  %exitcond.not = icmp eq i32 %137, %6
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !18

138:                                              ; preds = %.lr.ph152, %138
  %.0151 = phi i32 [ 0, %.lr.ph152 ], [ %140, %138 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #10
  %139 = add i32 %.0151, %125
  store i32 %139, ptr %50, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %51) #10
  %140 = add nuw nsw i32 %.0151, 1
  %141 = icmp eq i32 %140, %6
  %iv.rem = select i1 %141, i32 0, i32 %140
  %142 = add i32 %iv.rem, %125
  store i32 %142, ptr %51, align 4, !tbaa !19
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %50)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %52) #10
  %143 = load i32, ptr %50, align 4, !tbaa !19
  %144 = sub nsw i32 %143, %6
  store i32 %144, ptr %52, align 4, !tbaa !19
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %52)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #10
  %145 = load i32, ptr %51, align 4, !tbaa !19
  %146 = sub nsw i32 %145, %6
  store i32 %146, ptr %53, align 4, !tbaa !19
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %53)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %54) #10
  %147 = load i32, ptr %51, align 4, !tbaa !19
  %148 = sub nsw i32 %147, %6
  store i32 %148, ptr %54, align 4, !tbaa !19
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %54)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #10
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %51)
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %50)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #10
  %exitcond162.not = icmp eq i32 %140, %6
  br i1 %exitcond162.not, label %.loopexit, label %138, !llvm.loop !21

.loopexit:                                        ; preds = %138, %123, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %38) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #10
  %149 = add nuw nsw i32 %.0144153, 1
  %exitcond163.not = icmp eq i32 %149, %108
  br i1 %exitcond163.not, label %._crit_edge156, label %.lr.ph155, !llvm.loop !22

150:                                              ; preds = %8, %._crit_edge160
  ret void
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_Z13SafeNormalizeI8XVector3IfEET_RKS2_S4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK8XVector3IfEmiERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8XVector3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) 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) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z15BasisFromVectorRK8XVector3IfEPS0_S3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9XMatrix44IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9XMatrix44IfE6SetColEiRK8XVector4IfE(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8XVector4IfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_Z9NormalizeI8XVector3IfEET_RKS2_(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3MaxIiET_S0_S0_(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3MinIiET_S0_S0_(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZmlIfE8XVector3IT_ES1_RKS2_(float noundef, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_Z18HermiteInterpolateI8XVector3IfEET_RKS2_S4_S4_S4_f(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_Z14HermiteTangentI8XVector3IfEET_RKS2_S4_S4_S4_f(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9XMatrix44IfE7GetAxisEi(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @acosf(float noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z3DotIfET_RK8XVector3IS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z14RotationMatrixfRK8XVector3IfE(ptr dead_on_unwind noalias writable sret(%class.XMatrix44) align 4, float noundef, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_Z5CrossRK8XVector3IfES2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9XMatrix44IfEmlERKS0_(ptr dead_on_unwind noalias writable sret(%class.XMatrix44) align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZmlIfE8XVector4IT_ERK9XMatrix44IS1_ERKS2_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @cosf(float noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @sinf(float noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI8XVector3IfESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN8XVector4IfEcvPfEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK8XVector3IfEmlEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK8XVector3IfEplERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"_ZTS8XVector3IfE", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!11, !7, i64 4}
!13 = !{!11, !7, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{i64 0, i64 64, !17}
!17 = !{!8, !8, i64 0}
!18 = distinct !{!18, !15}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !8, i64 0}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,PromotePass,SCCPPass,SROAPass,SimplifyCFGPass