; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z29_hmt_test_QuaternionOps_SLerpP21hmt_testresult_struct)

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

%union.HMM_Quat = type { <4 x float> }
%struct.hmt_testresult_struct = type { i32, i32 }
%struct.anon.18 = type { %union.anon.19, float }
%union.anon.19 = type { %union.HMM_Vec3 }
%union.HMM_Vec3 = type { %struct.anon.3 }
%struct.anon.3 = type { float, float, float }
%struct.anon.20 = type { float, float, float }

@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [20 x i8], align 1

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

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

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

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL5HMM_Qffff(float noundef, float noundef, float noundef, float noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z29_hmt_test_QuaternionOps_SLerpP21hmt_testresult_struct(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca %union.HMM_Quat, align 16
  %4 = alloca %union.HMM_Quat, align 16
  %5 = alloca %union.HMM_Quat, align 16
  %6 = alloca %union.HMM_Quat, align 16
  %7 = alloca %union.HMM_Quat, align 16
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %union.HMM_Quat, align 16
  %17 = alloca %union.HMM_Quat, align 16
  %18 = alloca %union.HMM_Quat, align 16
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca %union.HMM_Quat, align 16
  %28 = alloca %union.HMM_Quat, align 16
  %29 = alloca %union.HMM_Quat, align 16
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %38 = alloca %union.HMM_Quat, align 16
  %39 = alloca %union.HMM_Quat, align 16
  %40 = alloca %union.HMM_Quat, align 16
  %41 = alloca float, align 4
  %42 = alloca float, align 4
  %43 = alloca float, align 4
  %44 = alloca float, align 4
  %45 = alloca float, align 4
  %46 = alloca float, align 4
  %47 = alloca float, align 4
  %48 = alloca float, align 4
  %49 = alloca %union.HMM_Quat, align 16
  %50 = alloca %union.HMM_Quat, align 16
  %51 = alloca %union.HMM_Quat, align 16
  %52 = alloca float, align 4
  %53 = alloca float, align 4
  %54 = alloca float, align 4
  %55 = alloca float, align 4
  %56 = alloca float, align 4
  %57 = alloca float, align 4
  %58 = alloca float, align 4
  %59 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  %60 = call { double, double } @_ZL5HMM_Qffff(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %61 = getelementptr inbounds %union.HMM_Quat, ptr %3, i32 0, i32 0
  %62 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 0
  %63 = extractvalue { double, double } %60, 0
  store double %63, ptr %62, align 16
  %64 = getelementptr inbounds { double, double }, ptr %61, i32 0, i32 1
  %65 = extractvalue { double, double } %60, 1
  store double %65, ptr %64, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #6
  %66 = call { double, double } @_ZL5HMM_Qffff(float noundef 5.000000e-01, float noundef 5.000000e-01, float noundef -5.000000e-01, float noundef 5.000000e-01)
  %67 = getelementptr inbounds %union.HMM_Quat, ptr %4, i32 0, i32 0
  %68 = getelementptr inbounds { double, double }, ptr %67, i32 0, i32 0
  %69 = extractvalue { double, double } %66, 0
  store double %69, ptr %68, align 16
  %70 = getelementptr inbounds { double, double }, ptr %67, i32 0, i32 1
  %71 = extractvalue { double, double } %66, 1
  store double %71, ptr %70, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 %3, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 %4, i64 16, i1 false), !tbaa.struct !9
  %72 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 0
  %73 = load double, ptr %72, align 16
  %74 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 1
  %75 = load double, ptr %74, align 8
  %76 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 0
  %77 = load double, ptr %76, align 16
  %78 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 1
  %79 = load double, ptr %78, align 8
  %80 = call { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double %73, double %75, float noundef 0.000000e+00, double %77, double %79)
  %81 = getelementptr inbounds %union.HMM_Quat, ptr %5, i32 0, i32 0
  %82 = getelementptr inbounds { double, double }, ptr %81, i32 0, i32 0
  %83 = extractvalue { double, double } %80, 0
  store double %83, ptr %82, align 16
  %84 = getelementptr inbounds { double, double }, ptr %81, i32 0, i32 1
  %85 = extractvalue { double, double } %80, 1
  store double %85, ptr %84, align 8
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %86, i32 0, i32 0
  %88 = load i32, ptr %87, align 4, !tbaa !11
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %87, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %90 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 0
  %91 = getelementptr inbounds %struct.anon.20, ptr %90, i32 0, i32 0
  %92 = load float, ptr %91, align 16, !tbaa !10
  store float %92, ptr %8, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %93 = load float, ptr %8, align 4, !tbaa !14
  %94 = fsub float %93, 0.000000e+00
  store float %94, ptr %9, align 4, !tbaa !14
  %95 = load float, ptr %9, align 4, !tbaa !14
  %96 = fcmp olt float %95, 0xBF50624DE0000000
  br i1 %96, label %100, label %97

97:                                               ; preds = %1
  %98 = load float, ptr %9, align 4, !tbaa !14
  %99 = fcmp olt float 0x3F50624DE0000000, %98
  br i1 %99, label %100, label %109

100:                                              ; preds = %97, %1
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %101, i32 0, i32 1
  %103 = load i32, ptr %102, align 4, !tbaa !16
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %102, align 4, !tbaa !16
  %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 74)
  %106 = load float, ptr %8, align 4, !tbaa !14
  %107 = fpext float %106 to double
  %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0.000000e+00, double noundef %107)
  br label %109

109:                                              ; preds = %100, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %110 = load ptr, ptr %2, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %110, i32 0, i32 0
  %112 = load i32, ptr %111, align 4, !tbaa !11
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %111, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %114 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 0
  %115 = getelementptr inbounds %struct.anon.20, ptr %114, i32 0, i32 1
  %116 = load float, ptr %115, align 4, !tbaa !10
  store float %116, ptr %10, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %117 = load float, ptr %10, align 4, !tbaa !14
  %118 = fsub float %117, 0.000000e+00
  store float %118, ptr %11, align 4, !tbaa !14
  %119 = load float, ptr %11, align 4, !tbaa !14
  %120 = fcmp olt float %119, 0xBF50624DE0000000
  br i1 %120, label %124, label %121

121:                                              ; preds = %109
  %122 = load float, ptr %11, align 4, !tbaa !14
  %123 = fcmp olt float 0x3F50624DE0000000, %122
  br i1 %123, label %124, label %133

124:                                              ; preds = %121, %109
  %125 = load ptr, ptr %2, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %125, i32 0, i32 1
  %127 = load i32, ptr %126, align 4, !tbaa !16
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %126, align 4, !tbaa !16
  %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 75)
  %130 = load float, ptr %10, align 4, !tbaa !14
  %131 = fpext float %130 to double
  %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0.000000e+00, double noundef %131)
  br label %133

133:                                              ; preds = %124, %121
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %134, i32 0, i32 0
  %136 = load i32, ptr %135, align 4, !tbaa !11
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %135, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %138 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 0
  %139 = getelementptr inbounds %struct.anon.20, ptr %138, i32 0, i32 2
  %140 = load float, ptr %139, align 8, !tbaa !10
  store float %140, ptr %12, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %141 = load float, ptr %12, align 4, !tbaa !14
  %142 = fsub float %141, 0.000000e+00
  store float %142, ptr %13, align 4, !tbaa !14
  %143 = load float, ptr %13, align 4, !tbaa !14
  %144 = fcmp olt float %143, 0xBF50624DE0000000
  br i1 %144, label %148, label %145

145:                                              ; preds = %133
  %146 = load float, ptr %13, align 4, !tbaa !14
  %147 = fcmp olt float 0x3F50624DE0000000, %146
  br i1 %147, label %148, label %157

148:                                              ; preds = %145, %133
  %149 = load ptr, ptr %2, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %149, i32 0, i32 1
  %151 = load i32, ptr %150, align 4, !tbaa !16
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %150, align 4, !tbaa !16
  %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 76)
  %154 = load float, ptr %12, align 4, !tbaa !14
  %155 = fpext float %154 to double
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0.000000e+00, double noundef %155)
  br label %157

157:                                              ; preds = %148, %145
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  %158 = load ptr, ptr %2, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %158, i32 0, i32 0
  %160 = load i32, ptr %159, align 4, !tbaa !11
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %159, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %162 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 1
  %163 = load float, ptr %162, align 4, !tbaa !10
  store float %163, ptr %14, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %164 = load float, ptr %14, align 4, !tbaa !14
  %165 = fpext float %164 to double
  %166 = fsub double %165, 1.000000e+00
  %167 = fptrunc double %166 to float
  store float %167, ptr %15, align 4, !tbaa !14
  %168 = load float, ptr %15, align 4, !tbaa !14
  %169 = fcmp olt float %168, 0xBF50624DE0000000
  br i1 %169, label %173, label %170

170:                                              ; preds = %157
  %171 = load float, ptr %15, align 4, !tbaa !14
  %172 = fcmp olt float 0x3F50624DE0000000, %171
  br i1 %172, label %173, label %182

173:                                              ; preds = %170, %157
  %174 = load ptr, ptr %2, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %174, i32 0, i32 1
  %176 = load i32, ptr %175, align 4, !tbaa !16
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %175, align 4, !tbaa !16
  %178 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 77)
  %179 = load float, ptr %14, align 4, !tbaa !14
  %180 = fpext float %179 to double
  %181 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %180)
  br label %182

182:                                              ; preds = %173, %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %3, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %4, i64 16, i1 false), !tbaa.struct !9
  %183 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %184 = load double, ptr %183, align 16
  %185 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %186 = load double, ptr %185, align 8
  %187 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %188 = load double, ptr %187, align 16
  %189 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %190 = load double, ptr %189, align 8
  %191 = call { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double %184, double %186, float noundef 2.500000e-01, double %188, double %190)
  %192 = getelementptr inbounds %union.HMM_Quat, ptr %16, i32 0, i32 0
  %193 = getelementptr inbounds { double, double }, ptr %192, i32 0, i32 0
  %194 = extractvalue { double, double } %191, 0
  store double %194, ptr %193, align 16
  %195 = getelementptr inbounds { double, double }, ptr %192, i32 0, i32 1
  %196 = extractvalue { double, double } %191, 1
  store double %196, ptr %195, align 8
  %197 = load ptr, ptr %2, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %197, i32 0, i32 0
  %199 = load i32, ptr %198, align 4, !tbaa !11
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %198, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %201 = getelementptr inbounds %struct.anon.18, ptr %16, i32 0, i32 0
  %202 = getelementptr inbounds %struct.anon.20, ptr %201, i32 0, i32 0
  %203 = load float, ptr %202, align 16, !tbaa !10
  store float %203, ptr %19, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %204 = load float, ptr %19, align 4, !tbaa !14
  %205 = fsub float %204, 0x3FC3207F60000000
  store float %205, ptr %20, align 4, !tbaa !14
  %206 = load float, ptr %20, align 4, !tbaa !14
  %207 = fcmp olt float %206, 0xBF50624DE0000000
  br i1 %207, label %211, label %208

208:                                              ; preds = %182
  %209 = load float, ptr %20, align 4, !tbaa !14
  %210 = fcmp olt float 0x3F50624DE0000000, %209
  br i1 %210, label %211, label %220

211:                                              ; preds = %208, %182
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %212, i32 0, i32 1
  %214 = load i32, ptr %213, align 4, !tbaa !16
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %213, align 4, !tbaa !16
  %216 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 81)
  %217 = load float, ptr %19, align 4, !tbaa !14
  %218 = fpext float %217 to double
  %219 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0x3FC3207F60000000, double noundef %218)
  br label %220

220:                                              ; preds = %211, %208
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  %221 = load ptr, ptr %2, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %221, i32 0, i32 0
  %223 = load i32, ptr %222, align 4, !tbaa !11
  %224 = add nsw i32 %223, 1
  store i32 %224, ptr %222, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %225 = getelementptr inbounds %struct.anon.18, ptr %16, i32 0, i32 0
  %226 = getelementptr inbounds %struct.anon.20, ptr %225, i32 0, i32 1
  %227 = load float, ptr %226, align 4, !tbaa !10
  store float %227, ptr %21, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %228 = load float, ptr %21, align 4, !tbaa !14
  %229 = fsub float %228, 0x3FC3207F60000000
  store float %229, ptr %22, align 4, !tbaa !14
  %230 = load float, ptr %22, align 4, !tbaa !14
  %231 = fcmp olt float %230, 0xBF50624DE0000000
  br i1 %231, label %235, label %232

232:                                              ; preds = %220
  %233 = load float, ptr %22, align 4, !tbaa !14
  %234 = fcmp olt float 0x3F50624DE0000000, %233
  br i1 %234, label %235, label %244

235:                                              ; preds = %232, %220
  %236 = load ptr, ptr %2, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %236, i32 0, i32 1
  %238 = load i32, ptr %237, align 4, !tbaa !16
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %237, align 4, !tbaa !16
  %240 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 82)
  %241 = load float, ptr %21, align 4, !tbaa !14
  %242 = fpext float %241 to double
  %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0x3FC3207F60000000, double noundef %242)
  br label %244

244:                                              ; preds = %235, %232
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  %245 = load ptr, ptr %2, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %245, i32 0, i32 0
  %247 = load i32, ptr %246, align 4, !tbaa !11
  %248 = add nsw i32 %247, 1
  store i32 %248, ptr %246, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %249 = getelementptr inbounds %struct.anon.18, ptr %16, i32 0, i32 0
  %250 = getelementptr inbounds %struct.anon.20, ptr %249, i32 0, i32 2
  %251 = load float, ptr %250, align 8, !tbaa !10
  store float %251, ptr %23, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %252 = load float, ptr %23, align 4, !tbaa !14
  %253 = fsub float %252, 0xBFC3207F60000000
  store float %253, ptr %24, align 4, !tbaa !14
  %254 = load float, ptr %24, align 4, !tbaa !14
  %255 = fcmp olt float %254, 0xBF50624DE0000000
  br i1 %255, label %259, label %256

256:                                              ; preds = %244
  %257 = load float, ptr %24, align 4, !tbaa !14
  %258 = fcmp olt float 0x3F50624DE0000000, %257
  br i1 %258, label %259, label %268

259:                                              ; preds = %256, %244
  %260 = load ptr, ptr %2, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %260, i32 0, i32 1
  %262 = load i32, ptr %261, align 4, !tbaa !16
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %261, align 4, !tbaa !16
  %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 83)
  %265 = load float, ptr %23, align 4, !tbaa !14
  %266 = fpext float %265 to double
  %267 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0xBFC3207F60000000, double noundef %266)
  br label %268

268:                                              ; preds = %259, %256
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  %269 = load ptr, ptr %2, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %269, i32 0, i32 0
  %271 = load i32, ptr %270, align 4, !tbaa !11
  %272 = add nsw i32 %271, 1
  store i32 %272, ptr %270, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %273 = getelementptr inbounds %struct.anon.18, ptr %16, i32 0, i32 1
  %274 = load float, ptr %273, align 4, !tbaa !10
  store float %274, ptr %25, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %275 = load float, ptr %25, align 4, !tbaa !14
  %276 = fsub float %275, 0x3FEEE8DD40000000
  store float %276, ptr %26, align 4, !tbaa !14
  %277 = load float, ptr %26, align 4, !tbaa !14
  %278 = fcmp olt float %277, 0xBF50624DE0000000
  br i1 %278, label %282, label %279

279:                                              ; preds = %268
  %280 = load float, ptr %26, align 4, !tbaa !14
  %281 = fcmp olt float 0x3F50624DE0000000, %280
  br i1 %281, label %282, label %291

282:                                              ; preds = %279, %268
  %283 = load ptr, ptr %2, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %283, i32 0, i32 1
  %285 = load i32, ptr %284, align 4, !tbaa !16
  %286 = add nsw i32 %285, 1
  store i32 %286, ptr %284, align 4, !tbaa !16
  %287 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 84)
  %288 = load float, ptr %25, align 4, !tbaa !14
  %289 = fpext float %288 to double
  %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0x3FEEE8DD40000000, double noundef %289)
  br label %291

291:                                              ; preds = %282, %279
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %3, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %4, i64 16, i1 false), !tbaa.struct !9
  %292 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %293 = load double, ptr %292, align 16
  %294 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %295 = load double, ptr %294, align 8
  %296 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %297 = load double, ptr %296, align 16
  %298 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %299 = load double, ptr %298, align 8
  %300 = call { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double %293, double %295, float noundef 5.000000e-01, double %297, double %299)
  %301 = getelementptr inbounds %union.HMM_Quat, ptr %27, i32 0, i32 0
  %302 = getelementptr inbounds { double, double }, ptr %301, i32 0, i32 0
  %303 = extractvalue { double, double } %300, 0
  store double %303, ptr %302, align 16
  %304 = getelementptr inbounds { double, double }, ptr %301, i32 0, i32 1
  %305 = extractvalue { double, double } %300, 1
  store double %305, ptr %304, align 8
  %306 = load ptr, ptr %2, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %306, i32 0, i32 0
  %308 = load i32, ptr %307, align 4, !tbaa !11
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %307, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %310 = getelementptr inbounds %struct.anon.18, ptr %27, i32 0, i32 0
  %311 = getelementptr inbounds %struct.anon.20, ptr %310, i32 0, i32 0
  %312 = load float, ptr %311, align 16, !tbaa !10
  store float %312, ptr %30, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %313 = load float, ptr %30, align 4, !tbaa !14
  %314 = fsub float %313, 0x3FD279A740000000
  store float %314, ptr %31, align 4, !tbaa !14
  %315 = load float, ptr %31, align 4, !tbaa !14
  %316 = fcmp olt float %315, 0xBF50624DE0000000
  br i1 %316, label %320, label %317

317:                                              ; preds = %291
  %318 = load float, ptr %31, align 4, !tbaa !14
  %319 = fcmp olt float 0x3F50624DE0000000, %318
  br i1 %319, label %320, label %329

320:                                              ; preds = %317, %291
  %321 = load ptr, ptr %2, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %321, i32 0, i32 1
  %323 = load i32, ptr %322, align 4, !tbaa !16
  %324 = add nsw i32 %323, 1
  store i32 %324, ptr %322, align 4, !tbaa !16
  %325 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 88)
  %326 = load float, ptr %30, align 4, !tbaa !14
  %327 = fpext float %326 to double
  %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0x3FD279A740000000, double noundef %327)
  br label %329

329:                                              ; preds = %320, %317
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  %330 = load ptr, ptr %2, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %330, i32 0, i32 0
  %332 = load i32, ptr %331, align 4, !tbaa !11
  %333 = add nsw i32 %332, 1
  store i32 %333, ptr %331, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %334 = getelementptr inbounds %struct.anon.18, ptr %27, i32 0, i32 0
  %335 = getelementptr inbounds %struct.anon.20, ptr %334, i32 0, i32 1
  %336 = load float, ptr %335, align 4, !tbaa !10
  store float %336, ptr %32, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %337 = load float, ptr %32, align 4, !tbaa !14
  %338 = fsub float %337, 0x3FD279A740000000
  store float %338, ptr %33, align 4, !tbaa !14
  %339 = load float, ptr %33, align 4, !tbaa !14
  %340 = fcmp olt float %339, 0xBF50624DE0000000
  br i1 %340, label %344, label %341

341:                                              ; preds = %329
  %342 = load float, ptr %33, align 4, !tbaa !14
  %343 = fcmp olt float 0x3F50624DE0000000, %342
  br i1 %343, label %344, label %353

344:                                              ; preds = %341, %329
  %345 = load ptr, ptr %2, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %345, i32 0, i32 1
  %347 = load i32, ptr %346, align 4, !tbaa !16
  %348 = add nsw i32 %347, 1
  store i32 %348, ptr %346, align 4, !tbaa !16
  %349 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 89)
  %350 = load float, ptr %32, align 4, !tbaa !14
  %351 = fpext float %350 to double
  %352 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0x3FD279A740000000, double noundef %351)
  br label %353

353:                                              ; preds = %344, %341
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  %354 = load ptr, ptr %2, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %354, i32 0, i32 0
  %356 = load i32, ptr %355, align 4, !tbaa !11
  %357 = add nsw i32 %356, 1
  store i32 %357, ptr %355, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %358 = getelementptr inbounds %struct.anon.18, ptr %27, i32 0, i32 0
  %359 = getelementptr inbounds %struct.anon.20, ptr %358, i32 0, i32 2
  %360 = load float, ptr %359, align 8, !tbaa !10
  store float %360, ptr %34, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  %361 = load float, ptr %34, align 4, !tbaa !14
  %362 = fsub float %361, 0xBFD279A740000000
  store float %362, ptr %35, align 4, !tbaa !14
  %363 = load float, ptr %35, align 4, !tbaa !14
  %364 = fcmp olt float %363, 0xBF50624DE0000000
  br i1 %364, label %368, label %365

365:                                              ; preds = %353
  %366 = load float, ptr %35, align 4, !tbaa !14
  %367 = fcmp olt float 0x3F50624DE0000000, %366
  br i1 %367, label %368, label %377

368:                                              ; preds = %365, %353
  %369 = load ptr, ptr %2, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %369, i32 0, i32 1
  %371 = load i32, ptr %370, align 4, !tbaa !16
  %372 = add nsw i32 %371, 1
  store i32 %372, ptr %370, align 4, !tbaa !16
  %373 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 90)
  %374 = load float, ptr %34, align 4, !tbaa !14
  %375 = fpext float %374 to double
  %376 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0xBFD279A740000000, double noundef %375)
  br label %377

377:                                              ; preds = %368, %365
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  %378 = load ptr, ptr %2, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %378, i32 0, i32 0
  %380 = load i32, ptr %379, align 4, !tbaa !11
  %381 = add nsw i32 %380, 1
  store i32 %381, ptr %379, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %382 = getelementptr inbounds %struct.anon.18, ptr %27, i32 0, i32 1
  %383 = load float, ptr %382, align 4, !tbaa !10
  store float %383, ptr %36, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %384 = load float, ptr %36, align 4, !tbaa !14
  %385 = fsub float %384, 0x3FEBB67AE0000000
  store float %385, ptr %37, align 4, !tbaa !14
  %386 = load float, ptr %37, align 4, !tbaa !14
  %387 = fcmp olt float %386, 0xBF50624DE0000000
  br i1 %387, label %391, label %388

388:                                              ; preds = %377
  %389 = load float, ptr %37, align 4, !tbaa !14
  %390 = fcmp olt float 0x3F50624DE0000000, %389
  br i1 %390, label %391, label %400

391:                                              ; preds = %388, %377
  %392 = load ptr, ptr %2, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %392, i32 0, i32 1
  %394 = load i32, ptr %393, align 4, !tbaa !16
  %395 = add nsw i32 %394, 1
  store i32 %395, ptr %393, align 4, !tbaa !16
  %396 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 91)
  %397 = load float, ptr %36, align 4, !tbaa !14
  %398 = fpext float %397 to double
  %399 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0x3FEBB67AE0000000, double noundef %398)
  br label %400

400:                                              ; preds = %391, %388
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %39, ptr align 16 %3, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %40, ptr align 16 %4, i64 16, i1 false), !tbaa.struct !9
  %401 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %402 = load double, ptr %401, align 16
  %403 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %404 = load double, ptr %403, align 8
  %405 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %406 = load double, ptr %405, align 16
  %407 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %408 = load double, ptr %407, align 8
  %409 = call { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double %402, double %404, float noundef 7.500000e-01, double %406, double %408)
  %410 = getelementptr inbounds %union.HMM_Quat, ptr %38, i32 0, i32 0
  %411 = getelementptr inbounds { double, double }, ptr %410, i32 0, i32 0
  %412 = extractvalue { double, double } %409, 0
  store double %412, ptr %411, align 16
  %413 = getelementptr inbounds { double, double }, ptr %410, i32 0, i32 1
  %414 = extractvalue { double, double } %409, 1
  store double %414, ptr %413, align 8
  %415 = load ptr, ptr %2, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %415, i32 0, i32 0
  %417 = load i32, ptr %416, align 4, !tbaa !11
  %418 = add nsw i32 %417, 1
  store i32 %418, ptr %416, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  %419 = getelementptr inbounds %struct.anon.18, ptr %38, i32 0, i32 0
  %420 = getelementptr inbounds %struct.anon.20, ptr %419, i32 0, i32 0
  %421 = load float, ptr %420, align 16, !tbaa !10
  store float %421, ptr %41, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  %422 = load float, ptr %41, align 4, !tbaa !14
  %423 = fsub float %422, 0x3FDA20BD80000000
  store float %423, ptr %42, align 4, !tbaa !14
  %424 = load float, ptr %42, align 4, !tbaa !14
  %425 = fcmp olt float %424, 0xBF50624DE0000000
  br i1 %425, label %429, label %426

426:                                              ; preds = %400
  %427 = load float, ptr %42, align 4, !tbaa !14
  %428 = fcmp olt float 0x3F50624DE0000000, %427
  br i1 %428, label %429, label %438

429:                                              ; preds = %426, %400
  %430 = load ptr, ptr %2, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %430, i32 0, i32 1
  %432 = load i32, ptr %431, align 4, !tbaa !16
  %433 = add nsw i32 %432, 1
  store i32 %433, ptr %431, align 4, !tbaa !16
  %434 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 95)
  %435 = load float, ptr %41, align 4, !tbaa !14
  %436 = fpext float %435 to double
  %437 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0x3FDA20BD80000000, double noundef %436)
  br label %438

438:                                              ; preds = %429, %426
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  %439 = load ptr, ptr %2, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %439, i32 0, i32 0
  %441 = load i32, ptr %440, align 4, !tbaa !11
  %442 = add nsw i32 %441, 1
  store i32 %442, ptr %440, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #6
  %443 = getelementptr inbounds %struct.anon.18, ptr %38, i32 0, i32 0
  %444 = getelementptr inbounds %struct.anon.20, ptr %443, i32 0, i32 1
  %445 = load float, ptr %444, align 4, !tbaa !10
  store float %445, ptr %43, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  %446 = load float, ptr %43, align 4, !tbaa !14
  %447 = fsub float %446, 0x3FDA20BD80000000
  store float %447, ptr %44, align 4, !tbaa !14
  %448 = load float, ptr %44, align 4, !tbaa !14
  %449 = fcmp olt float %448, 0xBF50624DE0000000
  br i1 %449, label %453, label %450

450:                                              ; preds = %438
  %451 = load float, ptr %44, align 4, !tbaa !14
  %452 = fcmp olt float 0x3F50624DE0000000, %451
  br i1 %452, label %453, label %462

453:                                              ; preds = %450, %438
  %454 = load ptr, ptr %2, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %454, i32 0, i32 1
  %456 = load i32, ptr %455, align 4, !tbaa !16
  %457 = add nsw i32 %456, 1
  store i32 %457, ptr %455, align 4, !tbaa !16
  %458 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 96)
  %459 = load float, ptr %43, align 4, !tbaa !14
  %460 = fpext float %459 to double
  %461 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0x3FDA20BD80000000, double noundef %460)
  br label %462

462:                                              ; preds = %453, %450
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  %463 = load ptr, ptr %2, align 8, !tbaa !5
  %464 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %463, i32 0, i32 0
  %465 = load i32, ptr %464, align 4, !tbaa !11
  %466 = add nsw i32 %465, 1
  store i32 %466, ptr %464, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  %467 = getelementptr inbounds %struct.anon.18, ptr %38, i32 0, i32 0
  %468 = getelementptr inbounds %struct.anon.20, ptr %467, i32 0, i32 2
  %469 = load float, ptr %468, align 8, !tbaa !10
  store float %469, ptr %45, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  %470 = load float, ptr %45, align 4, !tbaa !14
  %471 = fsub float %470, 0xBFDA20BD80000000
  store float %471, ptr %46, align 4, !tbaa !14
  %472 = load float, ptr %46, align 4, !tbaa !14
  %473 = fcmp olt float %472, 0xBF50624DE0000000
  br i1 %473, label %477, label %474

474:                                              ; preds = %462
  %475 = load float, ptr %46, align 4, !tbaa !14
  %476 = fcmp olt float 0x3F50624DE0000000, %475
  br i1 %476, label %477, label %486

477:                                              ; preds = %474, %462
  %478 = load ptr, ptr %2, align 8, !tbaa !5
  %479 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %478, i32 0, i32 1
  %480 = load i32, ptr %479, align 4, !tbaa !16
  %481 = add nsw i32 %480, 1
  store i32 %481, ptr %479, align 4, !tbaa !16
  %482 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 97)
  %483 = load float, ptr %45, align 4, !tbaa !14
  %484 = fpext float %483 to double
  %485 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0xBFDA20BD80000000, double noundef %484)
  br label %486

486:                                              ; preds = %477, %474
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  %487 = load ptr, ptr %2, align 8, !tbaa !5
  %488 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %487, i32 0, i32 0
  %489 = load i32, ptr %488, align 4, !tbaa !11
  %490 = add nsw i32 %489, 1
  store i32 %490, ptr %488, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #6
  %491 = getelementptr inbounds %struct.anon.18, ptr %38, i32 0, i32 1
  %492 = load float, ptr %491, align 4, !tbaa !10
  store float %492, ptr %47, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #6
  %493 = load float, ptr %47, align 4, !tbaa !14
  %494 = fsub float %493, 0x3FE6A09E60000000
  store float %494, ptr %48, align 4, !tbaa !14
  %495 = load float, ptr %48, align 4, !tbaa !14
  %496 = fcmp olt float %495, 0xBF50624DE0000000
  br i1 %496, label %500, label %497

497:                                              ; preds = %486
  %498 = load float, ptr %48, align 4, !tbaa !14
  %499 = fcmp olt float 0x3F50624DE0000000, %498
  br i1 %499, label %500, label %509

500:                                              ; preds = %497, %486
  %501 = load ptr, ptr %2, align 8, !tbaa !5
  %502 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %501, i32 0, i32 1
  %503 = load i32, ptr %502, align 4, !tbaa !16
  %504 = add nsw i32 %503, 1
  store i32 %504, ptr %502, align 4, !tbaa !16
  %505 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 98)
  %506 = load float, ptr %47, align 4, !tbaa !14
  %507 = fpext float %506 to double
  %508 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 0x3FE6A09E60000000, double noundef %507)
  br label %509

509:                                              ; preds = %500, %497
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %50, ptr align 16 %3, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %51, ptr align 16 %4, i64 16, i1 false), !tbaa.struct !9
  %510 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %511 = load double, ptr %510, align 16
  %512 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %513 = load double, ptr %512, align 8
  %514 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 0
  %515 = load double, ptr %514, align 16
  %516 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 1
  %517 = load double, ptr %516, align 8
  %518 = call { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double %511, double %513, float noundef 1.000000e+00, double %515, double %517)
  %519 = getelementptr inbounds %union.HMM_Quat, ptr %49, i32 0, i32 0
  %520 = getelementptr inbounds { double, double }, ptr %519, i32 0, i32 0
  %521 = extractvalue { double, double } %518, 0
  store double %521, ptr %520, align 16
  %522 = getelementptr inbounds { double, double }, ptr %519, i32 0, i32 1
  %523 = extractvalue { double, double } %518, 1
  store double %523, ptr %522, align 8
  %524 = load ptr, ptr %2, align 8, !tbaa !5
  %525 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %524, i32 0, i32 0
  %526 = load i32, ptr %525, align 4, !tbaa !11
  %527 = add nsw i32 %526, 1
  store i32 %527, ptr %525, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #6
  %528 = getelementptr inbounds %struct.anon.18, ptr %49, i32 0, i32 0
  %529 = getelementptr inbounds %struct.anon.20, ptr %528, i32 0, i32 0
  %530 = load float, ptr %529, align 16, !tbaa !10
  store float %530, ptr %52, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #6
  %531 = load float, ptr %52, align 4, !tbaa !14
  %532 = fsub float %531, 5.000000e-01
  store float %532, ptr %53, align 4, !tbaa !14
  %533 = load float, ptr %53, align 4, !tbaa !14
  %534 = fcmp olt float %533, 0xBF50624DE0000000
  br i1 %534, label %538, label %535

535:                                              ; preds = %509
  %536 = load float, ptr %53, align 4, !tbaa !14
  %537 = fcmp olt float 0x3F50624DE0000000, %536
  br i1 %537, label %538, label %547

538:                                              ; preds = %535, %509
  %539 = load ptr, ptr %2, align 8, !tbaa !5
  %540 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %539, i32 0, i32 1
  %541 = load i32, ptr %540, align 4, !tbaa !16
  %542 = add nsw i32 %541, 1
  store i32 %542, ptr %540, align 4, !tbaa !16
  %543 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 102)
  %544 = load float, ptr %52, align 4, !tbaa !14
  %545 = fpext float %544 to double
  %546 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 5.000000e-01, double noundef %545)
  br label %547

547:                                              ; preds = %538, %535
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #6
  %548 = load ptr, ptr %2, align 8, !tbaa !5
  %549 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %548, i32 0, i32 0
  %550 = load i32, ptr %549, align 4, !tbaa !11
  %551 = add nsw i32 %550, 1
  store i32 %551, ptr %549, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #6
  %552 = getelementptr inbounds %struct.anon.18, ptr %49, i32 0, i32 0
  %553 = getelementptr inbounds %struct.anon.20, ptr %552, i32 0, i32 1
  %554 = load float, ptr %553, align 4, !tbaa !10
  store float %554, ptr %54, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #6
  %555 = load float, ptr %54, align 4, !tbaa !14
  %556 = fsub float %555, 5.000000e-01
  store float %556, ptr %55, align 4, !tbaa !14
  %557 = load float, ptr %55, align 4, !tbaa !14
  %558 = fcmp olt float %557, 0xBF50624DE0000000
  br i1 %558, label %562, label %559

559:                                              ; preds = %547
  %560 = load float, ptr %55, align 4, !tbaa !14
  %561 = fcmp olt float 0x3F50624DE0000000, %560
  br i1 %561, label %562, label %571

562:                                              ; preds = %559, %547
  %563 = load ptr, ptr %2, align 8, !tbaa !5
  %564 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %563, i32 0, i32 1
  %565 = load i32, ptr %564, align 4, !tbaa !16
  %566 = add nsw i32 %565, 1
  store i32 %566, ptr %564, align 4, !tbaa !16
  %567 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 103)
  %568 = load float, ptr %54, align 4, !tbaa !14
  %569 = fpext float %568 to double
  %570 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 5.000000e-01, double noundef %569)
  br label %571

571:                                              ; preds = %562, %559
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #6
  %572 = load ptr, ptr %2, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %572, i32 0, i32 0
  %574 = load i32, ptr %573, align 4, !tbaa !11
  %575 = add nsw i32 %574, 1
  store i32 %575, ptr %573, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #6
  %576 = getelementptr inbounds %struct.anon.18, ptr %49, i32 0, i32 0
  %577 = getelementptr inbounds %struct.anon.20, ptr %576, i32 0, i32 2
  %578 = load float, ptr %577, align 8, !tbaa !10
  store float %578, ptr %56, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #6
  %579 = load float, ptr %56, align 4, !tbaa !14
  %580 = fsub float %579, -5.000000e-01
  store float %580, ptr %57, align 4, !tbaa !14
  %581 = load float, ptr %57, align 4, !tbaa !14
  %582 = fcmp olt float %581, 0xBF50624DE0000000
  br i1 %582, label %586, label %583

583:                                              ; preds = %571
  %584 = load float, ptr %57, align 4, !tbaa !14
  %585 = fcmp olt float 0x3F50624DE0000000, %584
  br i1 %585, label %586, label %595

586:                                              ; preds = %583, %571
  %587 = load ptr, ptr %2, align 8, !tbaa !5
  %588 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %587, i32 0, i32 1
  %589 = load i32, ptr %588, align 4, !tbaa !16
  %590 = add nsw i32 %589, 1
  store i32 %590, ptr %588, align 4, !tbaa !16
  %591 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 104)
  %592 = load float, ptr %56, align 4, !tbaa !14
  %593 = fpext float %592 to double
  %594 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef -5.000000e-01, double noundef %593)
  br label %595

595:                                              ; preds = %586, %583
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #6
  %596 = load ptr, ptr %2, align 8, !tbaa !5
  %597 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %596, i32 0, i32 0
  %598 = load i32, ptr %597, align 4, !tbaa !11
  %599 = add nsw i32 %598, 1
  store i32 %599, ptr %597, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #6
  %600 = getelementptr inbounds %struct.anon.18, ptr %49, i32 0, i32 1
  %601 = load float, ptr %600, align 4, !tbaa !10
  store float %601, ptr %58, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #6
  %602 = load float, ptr %58, align 4, !tbaa !14
  %603 = fsub float %602, 5.000000e-01
  store float %603, ptr %59, align 4, !tbaa !14
  %604 = load float, ptr %59, align 4, !tbaa !14
  %605 = fcmp olt float %604, 0xBF50624DE0000000
  br i1 %605, label %609, label %606

606:                                              ; preds = %595
  %607 = load float, ptr %59, align 4, !tbaa !14
  %608 = fcmp olt float 0x3F50624DE0000000, %607
  br i1 %608, label %609, label %618

609:                                              ; preds = %606, %595
  %610 = load ptr, ptr %2, align 8, !tbaa !5
  %611 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %610, i32 0, i32 1
  %612 = load i32, ptr %611, align 4, !tbaa !16
  %613 = add nsw i32 %612, 1
  store i32 %613, ptr %611, align 4, !tbaa !16
  %614 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 105)
  %615 = load float, ptr %58, align 4, !tbaa !14
  %616 = fpext float %615 to double
  %617 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 5.000000e-01, double noundef %616)
  br label %618

618:                                              ; preds = %609, %606
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double, double, float noundef, double, double) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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"="128" "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = { 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 = !{i64 0, i64 16, !10}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS21hmt_testresult_struct", !13, i64 0, !13, i64 4}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!12, !13, i64 4}


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

@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL5HMM_Qffff(float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z29_hmt_test_QuaternionOps_SLerpP21hmt_testresult_struct(ptr nocapture noundef %0) local_unnamed_addr #2 {
  %2 = tail call { double, double } @_ZL5HMM_Qffff(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %3 = extractvalue { double, double } %2, 0
  %4 = extractvalue { double, double } %2, 1
  %5 = tail call { double, double } @_ZL5HMM_Qffff(float noundef 5.000000e-01, float noundef 5.000000e-01, float noundef -5.000000e-01, float noundef 5.000000e-01)
  %6 = extractvalue { double, double } %5, 0
  %7 = extractvalue { double, double } %5, 1
  %8 = tail call { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double %3, double %4, float noundef 0.000000e+00, double %6, double %7)
  %9 = extractvalue { double, double } %8, 0
  %10 = extractvalue { double, double } %8, 1
  %11 = load i32, ptr %0, align 4, !tbaa !5
  %12 = add nsw i32 %11, 1
  store i32 %12, ptr %0, align 4, !tbaa !5
  %13 = bitcast double %9 to i64
  %14 = trunc i64 %13 to i32
  %15 = bitcast i32 %14 to float
  %16 = tail call float @llvm.fabs.f32(float %15)
  %or.cond = fcmp ogt float %16, 0x3F50624DE0000000
  %17 = lshr i64 %13, 32
  %18 = trunc nuw i64 %17 to i32
  %19 = bitcast i32 %18 to float
  %20 = bitcast double %10 to i64
  %21 = trunc i64 %20 to i32
  %22 = bitcast i32 %21 to float
  %23 = lshr i64 %20, 32
  %24 = trunc nuw i64 %23 to i32
  %25 = bitcast i32 %24 to float
  br i1 %or.cond, label %26, label %33

26:                                               ; preds = %1
  %27 = getelementptr inbounds i8, ptr %0, i64 4
  %28 = load i32, ptr %27, align 4, !tbaa !10
  %29 = add nsw i32 %28, 1
  store i32 %29, ptr %27, align 4, !tbaa !10
  %30 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 74)
  %31 = fpext float %15 to double
  %32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0.000000e+00, double noundef %31)
  %.pre = load i32, ptr %0, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %1, %26
  %34 = phi i32 [ %12, %1 ], [ %.pre, %26 ]
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %0, align 4, !tbaa !5
  %36 = tail call float @llvm.fabs.f32(float %19)
  %or.cond3 = fcmp ogt float %36, 0x3F50624DE0000000
  br i1 %or.cond3, label %37, label %44

37:                                               ; preds = %33
  %38 = getelementptr inbounds i8, ptr %0, i64 4
  %39 = load i32, ptr %38, align 4, !tbaa !10
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %38, align 4, !tbaa !10
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 75)
  %42 = fpext float %19 to double
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0.000000e+00, double noundef %42)
  %.pre204 = load i32, ptr %0, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %33, %37
  %45 = phi i32 [ %35, %33 ], [ %.pre204, %37 ]
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %0, align 4, !tbaa !5
  %47 = tail call float @llvm.fabs.f32(float %22)
  %or.cond5 = fcmp ogt float %47, 0x3F50624DE0000000
  br i1 %or.cond5, label %48, label %55

48:                                               ; preds = %44
  %49 = getelementptr inbounds i8, ptr %0, i64 4
  %50 = load i32, ptr %49, align 4, !tbaa !10
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %49, align 4, !tbaa !10
  %52 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 76)
  %53 = fpext float %22 to double
  %54 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0.000000e+00, double noundef %53)
  %.pre205 = load i32, ptr %0, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %44, %48
  %56 = phi i32 [ %46, %44 ], [ %.pre205, %48 ]
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %0, align 4, !tbaa !5
  %58 = fadd float %25, -1.000000e+00
  %59 = tail call float @llvm.fabs.f32(float %58)
  %or.cond7 = fcmp ogt float %59, 0x3F50624DE0000000
  br i1 %or.cond7, label %60, label %67

60:                                               ; preds = %55
  %61 = fpext float %25 to double
  %62 = getelementptr inbounds i8, ptr %0, i64 4
  %63 = load i32, ptr %62, align 4, !tbaa !10
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %62, align 4, !tbaa !10
  %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 77)
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %61)
  br label %67

67:                                               ; preds = %55, %60
  %68 = tail call { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double %3, double %4, float noundef 2.500000e-01, double %6, double %7)
  %69 = extractvalue { double, double } %68, 0
  %70 = extractvalue { double, double } %68, 1
  %71 = load i32, ptr %0, align 4, !tbaa !5
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %0, align 4, !tbaa !5
  %73 = bitcast double %69 to i64
  %74 = trunc i64 %73 to i32
  %75 = bitcast i32 %74 to float
  %76 = fadd float %75, 0xBFC3207F60000000
  %77 = tail call float @llvm.fabs.f32(float %76)
  %or.cond9 = fcmp ogt float %77, 0x3F50624DE0000000
  %78 = lshr i64 %73, 32
  %79 = trunc nuw i64 %78 to i32
  %80 = bitcast i32 %79 to float
  %81 = bitcast double %70 to i64
  %82 = trunc i64 %81 to i32
  %83 = bitcast i32 %82 to float
  %84 = lshr i64 %81, 32
  %85 = trunc nuw i64 %84 to i32
  %86 = bitcast i32 %85 to float
  br i1 %or.cond9, label %87, label %94

87:                                               ; preds = %67
  %88 = getelementptr inbounds i8, ptr %0, i64 4
  %89 = load i32, ptr %88, align 4, !tbaa !10
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %88, align 4, !tbaa !10
  %91 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 81)
  %92 = fpext float %75 to double
  %93 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0x3FC3207F60000000, double noundef %92)
  %.pre206 = load i32, ptr %0, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %67, %87
  %95 = phi i32 [ %72, %67 ], [ %.pre206, %87 ]
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %0, align 4, !tbaa !5
  %97 = fadd float %80, 0xBFC3207F60000000
  %98 = tail call float @llvm.fabs.f32(float %97)
  %or.cond11 = fcmp ogt float %98, 0x3F50624DE0000000
  br i1 %or.cond11, label %99, label %106

99:                                               ; preds = %94
  %100 = getelementptr inbounds i8, ptr %0, i64 4
  %101 = load i32, ptr %100, align 4, !tbaa !10
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %100, align 4, !tbaa !10
  %103 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 82)
  %104 = fpext float %80 to double
  %105 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0x3FC3207F60000000, double noundef %104)
  %.pre207 = load i32, ptr %0, align 4, !tbaa !5
  br label %106

106:                                              ; preds = %94, %99
  %107 = phi i32 [ %96, %94 ], [ %.pre207, %99 ]
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %0, align 4, !tbaa !5
  %109 = fadd float %83, 0x3FC3207F60000000
  %110 = tail call float @llvm.fabs.f32(float %109)
  %or.cond13 = fcmp ogt float %110, 0x3F50624DE0000000
  br i1 %or.cond13, label %111, label %118

111:                                              ; preds = %106
  %112 = getelementptr inbounds i8, ptr %0, i64 4
  %113 = load i32, ptr %112, align 4, !tbaa !10
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %112, align 4, !tbaa !10
  %115 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 83)
  %116 = fpext float %83 to double
  %117 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0xBFC3207F60000000, double noundef %116)
  %.pre208 = load i32, ptr %0, align 4, !tbaa !5
  br label %118

118:                                              ; preds = %106, %111
  %119 = phi i32 [ %108, %106 ], [ %.pre208, %111 ]
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %0, align 4, !tbaa !5
  %121 = fadd float %86, 0xBFEEE8DD40000000
  %122 = tail call float @llvm.fabs.f32(float %121)
  %or.cond15 = fcmp ogt float %122, 0x3F50624DE0000000
  br i1 %or.cond15, label %123, label %130

123:                                              ; preds = %118
  %124 = getelementptr inbounds i8, ptr %0, i64 4
  %125 = load i32, ptr %124, align 4, !tbaa !10
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %124, align 4, !tbaa !10
  %127 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 84)
  %128 = fpext float %86 to double
  %129 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0x3FEEE8DD40000000, double noundef %128)
  br label %130

130:                                              ; preds = %118, %123
  %131 = tail call { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double %3, double %4, float noundef 5.000000e-01, double %6, double %7)
  %132 = extractvalue { double, double } %131, 0
  %133 = extractvalue { double, double } %131, 1
  %134 = load i32, ptr %0, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %0, align 4, !tbaa !5
  %136 = bitcast double %132 to i64
  %137 = trunc i64 %136 to i32
  %138 = bitcast i32 %137 to float
  %139 = fadd float %138, 0xBFD279A740000000
  %140 = tail call float @llvm.fabs.f32(float %139)
  %or.cond17 = fcmp ogt float %140, 0x3F50624DE0000000
  %141 = lshr i64 %136, 32
  %142 = trunc nuw i64 %141 to i32
  %143 = bitcast i32 %142 to float
  %144 = bitcast double %133 to i64
  %145 = trunc i64 %144 to i32
  %146 = bitcast i32 %145 to float
  %147 = lshr i64 %144, 32
  %148 = trunc nuw i64 %147 to i32
  %149 = bitcast i32 %148 to float
  br i1 %or.cond17, label %150, label %157

150:                                              ; preds = %130
  %151 = getelementptr inbounds i8, ptr %0, i64 4
  %152 = load i32, ptr %151, align 4, !tbaa !10
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %151, align 4, !tbaa !10
  %154 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 88)
  %155 = fpext float %138 to double
  %156 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0x3FD279A740000000, double noundef %155)
  %.pre209 = load i32, ptr %0, align 4, !tbaa !5
  br label %157

157:                                              ; preds = %130, %150
  %158 = phi i32 [ %135, %130 ], [ %.pre209, %150 ]
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %0, align 4, !tbaa !5
  %160 = fadd float %143, 0xBFD279A740000000
  %161 = tail call float @llvm.fabs.f32(float %160)
  %or.cond19 = fcmp ogt float %161, 0x3F50624DE0000000
  br i1 %or.cond19, label %162, label %169

162:                                              ; preds = %157
  %163 = getelementptr inbounds i8, ptr %0, i64 4
  %164 = load i32, ptr %163, align 4, !tbaa !10
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %163, align 4, !tbaa !10
  %166 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 89)
  %167 = fpext float %143 to double
  %168 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0x3FD279A740000000, double noundef %167)
  %.pre210 = load i32, ptr %0, align 4, !tbaa !5
  br label %169

169:                                              ; preds = %157, %162
  %170 = phi i32 [ %159, %157 ], [ %.pre210, %162 ]
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %0, align 4, !tbaa !5
  %172 = fadd float %146, 0x3FD279A740000000
  %173 = tail call float @llvm.fabs.f32(float %172)
  %or.cond21 = fcmp ogt float %173, 0x3F50624DE0000000
  br i1 %or.cond21, label %174, label %181

174:                                              ; preds = %169
  %175 = getelementptr inbounds i8, ptr %0, i64 4
  %176 = load i32, ptr %175, align 4, !tbaa !10
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %175, align 4, !tbaa !10
  %178 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 90)
  %179 = fpext float %146 to double
  %180 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0xBFD279A740000000, double noundef %179)
  %.pre211 = load i32, ptr %0, align 4, !tbaa !5
  br label %181

181:                                              ; preds = %169, %174
  %182 = phi i32 [ %171, %169 ], [ %.pre211, %174 ]
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %0, align 4, !tbaa !5
  %184 = fadd float %149, 0xBFEBB67AE0000000
  %185 = tail call float @llvm.fabs.f32(float %184)
  %or.cond23 = fcmp ogt float %185, 0x3F50624DE0000000
  br i1 %or.cond23, label %186, label %193

186:                                              ; preds = %181
  %187 = getelementptr inbounds i8, ptr %0, i64 4
  %188 = load i32, ptr %187, align 4, !tbaa !10
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %187, align 4, !tbaa !10
  %190 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 91)
  %191 = fpext float %149 to double
  %192 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0x3FEBB67AE0000000, double noundef %191)
  br label %193

193:                                              ; preds = %181, %186
  %194 = tail call { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double %3, double %4, float noundef 7.500000e-01, double %6, double %7)
  %195 = extractvalue { double, double } %194, 0
  %196 = extractvalue { double, double } %194, 1
  %197 = load i32, ptr %0, align 4, !tbaa !5
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %0, align 4, !tbaa !5
  %199 = bitcast double %195 to i64
  %200 = trunc i64 %199 to i32
  %201 = bitcast i32 %200 to float
  %202 = fadd float %201, 0xBFDA20BD80000000
  %203 = tail call float @llvm.fabs.f32(float %202)
  %or.cond25 = fcmp ogt float %203, 0x3F50624DE0000000
  %204 = lshr i64 %199, 32
  %205 = trunc nuw i64 %204 to i32
  %206 = bitcast i32 %205 to float
  %207 = bitcast double %196 to i64
  %208 = trunc i64 %207 to i32
  %209 = bitcast i32 %208 to float
  %210 = lshr i64 %207, 32
  %211 = trunc nuw i64 %210 to i32
  %212 = bitcast i32 %211 to float
  br i1 %or.cond25, label %213, label %220

213:                                              ; preds = %193
  %214 = getelementptr inbounds i8, ptr %0, i64 4
  %215 = load i32, ptr %214, align 4, !tbaa !10
  %216 = add nsw i32 %215, 1
  store i32 %216, ptr %214, align 4, !tbaa !10
  %217 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 95)
  %218 = fpext float %201 to double
  %219 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0x3FDA20BD80000000, double noundef %218)
  %.pre212 = load i32, ptr %0, align 4, !tbaa !5
  br label %220

220:                                              ; preds = %193, %213
  %221 = phi i32 [ %198, %193 ], [ %.pre212, %213 ]
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %0, align 4, !tbaa !5
  %223 = fadd float %206, 0xBFDA20BD80000000
  %224 = tail call float @llvm.fabs.f32(float %223)
  %or.cond27 = fcmp ogt float %224, 0x3F50624DE0000000
  br i1 %or.cond27, label %225, label %232

225:                                              ; preds = %220
  %226 = getelementptr inbounds i8, ptr %0, i64 4
  %227 = load i32, ptr %226, align 4, !tbaa !10
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %226, align 4, !tbaa !10
  %229 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 96)
  %230 = fpext float %206 to double
  %231 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0x3FDA20BD80000000, double noundef %230)
  %.pre213 = load i32, ptr %0, align 4, !tbaa !5
  br label %232

232:                                              ; preds = %220, %225
  %233 = phi i32 [ %222, %220 ], [ %.pre213, %225 ]
  %234 = add nsw i32 %233, 1
  store i32 %234, ptr %0, align 4, !tbaa !5
  %235 = fadd float %209, 0x3FDA20BD80000000
  %236 = tail call float @llvm.fabs.f32(float %235)
  %or.cond29 = fcmp ogt float %236, 0x3F50624DE0000000
  br i1 %or.cond29, label %237, label %244

237:                                              ; preds = %232
  %238 = getelementptr inbounds i8, ptr %0, i64 4
  %239 = load i32, ptr %238, align 4, !tbaa !10
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %238, align 4, !tbaa !10
  %241 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 97)
  %242 = fpext float %209 to double
  %243 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0xBFDA20BD80000000, double noundef %242)
  %.pre214 = load i32, ptr %0, align 4, !tbaa !5
  br label %244

244:                                              ; preds = %232, %237
  %245 = phi i32 [ %234, %232 ], [ %.pre214, %237 ]
  %246 = add nsw i32 %245, 1
  store i32 %246, ptr %0, align 4, !tbaa !5
  %247 = fadd float %212, 0xBFE6A09E60000000
  %248 = tail call float @llvm.fabs.f32(float %247)
  %or.cond31 = fcmp ogt float %248, 0x3F50624DE0000000
  br i1 %or.cond31, label %249, label %256

249:                                              ; preds = %244
  %250 = getelementptr inbounds i8, ptr %0, i64 4
  %251 = load i32, ptr %250, align 4, !tbaa !10
  %252 = add nsw i32 %251, 1
  store i32 %252, ptr %250, align 4, !tbaa !10
  %253 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 98)
  %254 = fpext float %212 to double
  %255 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 0x3FE6A09E60000000, double noundef %254)
  br label %256

256:                                              ; preds = %244, %249
  %257 = tail call { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double %3, double %4, float noundef 1.000000e+00, double %6, double %7)
  %258 = extractvalue { double, double } %257, 0
  %259 = extractvalue { double, double } %257, 1
  %260 = load i32, ptr %0, align 4, !tbaa !5
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %0, align 4, !tbaa !5
  %262 = bitcast double %258 to i64
  %263 = trunc i64 %262 to i32
  %264 = bitcast i32 %263 to float
  %265 = fadd float %264, -5.000000e-01
  %266 = tail call float @llvm.fabs.f32(float %265)
  %or.cond33 = fcmp ogt float %266, 0x3F50624DE0000000
  %267 = lshr i64 %262, 32
  %268 = trunc nuw i64 %267 to i32
  %269 = bitcast i32 %268 to float
  %270 = bitcast double %259 to i64
  %271 = trunc i64 %270 to i32
  %272 = bitcast i32 %271 to float
  %273 = lshr i64 %270, 32
  %274 = trunc nuw i64 %273 to i32
  %275 = bitcast i32 %274 to float
  br i1 %or.cond33, label %276, label %283

276:                                              ; preds = %256
  %277 = getelementptr inbounds i8, ptr %0, i64 4
  %278 = load i32, ptr %277, align 4, !tbaa !10
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %277, align 4, !tbaa !10
  %280 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 102)
  %281 = fpext float %264 to double
  %282 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 5.000000e-01, double noundef %281)
  %.pre215 = load i32, ptr %0, align 4, !tbaa !5
  br label %283

283:                                              ; preds = %256, %276
  %284 = phi i32 [ %261, %256 ], [ %.pre215, %276 ]
  %285 = add nsw i32 %284, 1
  store i32 %285, ptr %0, align 4, !tbaa !5
  %286 = fadd float %269, -5.000000e-01
  %287 = tail call float @llvm.fabs.f32(float %286)
  %or.cond35 = fcmp ogt float %287, 0x3F50624DE0000000
  br i1 %or.cond35, label %288, label %295

288:                                              ; preds = %283
  %289 = getelementptr inbounds i8, ptr %0, i64 4
  %290 = load i32, ptr %289, align 4, !tbaa !10
  %291 = add nsw i32 %290, 1
  store i32 %291, ptr %289, align 4, !tbaa !10
  %292 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 103)
  %293 = fpext float %269 to double
  %294 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 5.000000e-01, double noundef %293)
  %.pre216 = load i32, ptr %0, align 4, !tbaa !5
  br label %295

295:                                              ; preds = %283, %288
  %296 = phi i32 [ %285, %283 ], [ %.pre216, %288 ]
  %297 = add nsw i32 %296, 1
  store i32 %297, ptr %0, align 4, !tbaa !5
  %298 = fadd float %272, 5.000000e-01
  %299 = tail call float @llvm.fabs.f32(float %298)
  %or.cond37 = fcmp ogt float %299, 0x3F50624DE0000000
  br i1 %or.cond37, label %300, label %307

300:                                              ; preds = %295
  %301 = getelementptr inbounds i8, ptr %0, i64 4
  %302 = load i32, ptr %301, align 4, !tbaa !10
  %303 = add nsw i32 %302, 1
  store i32 %303, ptr %301, align 4, !tbaa !10
  %304 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 104)
  %305 = fpext float %272 to double
  %306 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef -5.000000e-01, double noundef %305)
  %.pre217 = load i32, ptr %0, align 4, !tbaa !5
  br label %307

307:                                              ; preds = %295, %300
  %308 = phi i32 [ %297, %295 ], [ %.pre217, %300 ]
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr %0, align 4, !tbaa !5
  %310 = fadd float %275, -5.000000e-01
  %311 = tail call float @llvm.fabs.f32(float %310)
  %or.cond39 = fcmp ogt float %311, 0x3F50624DE0000000
  br i1 %or.cond39, label %312, label %319

312:                                              ; preds = %307
  %313 = getelementptr inbounds i8, ptr %0, i64 4
  %314 = load i32, ptr %313, align 4, !tbaa !10
  %315 = add nsw i32 %314, 1
  store i32 %315, ptr %313, align 4, !tbaa !10
  %316 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 105)
  %317 = fpext float %275 to double
  %318 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 5.000000e-01, double noundef %317)
  br label %319

319:                                              ; preds = %307, %312
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL9HMM_SLerp8HMM_QuatfS_(double, double, float noundef, double, double) local_unnamed_addr #3

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

attributes #0 = { nofree 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 #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="128" "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 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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, !7, i64 0}
!6 = !{!"_ZTS21hmt_testresult_struct", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass