; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z41_hmt_test_Multiplication_QuaternionScalarP21hmt_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.18 = external hidden unnamed_addr constant [34 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 @_Z41_hmt_test_Multiplication_QuaternionScalarP21hmt_testresult_struct(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca %union.HMM_Quat, align 16
  %4 = alloca float, align 4
  %5 = alloca %union.HMM_Quat, align 16
  %6 = alloca %union.HMM_Quat, align 16
  %7 = alloca float, align 4
  %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 %union.HMM_Quat, align 16
  %16 = alloca %union.HMM_Quat, align 16
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %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 %union.HMM_Quat, align 16
  %26 = alloca %union.HMM_Quat, align 16
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %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 %union.HMM_Quat, align 16
  %36 = alloca %union.HMM_Quat, align 16
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca float, align 4
  %40 = alloca float, align 4
  %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 float, align 4
  %50 = alloca float, align 4
  %51 = alloca float, align 4
  %52 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  %53 = call { double, double } @_ZL5HMM_Qffff(float noundef 1.000000e+00, float noundef 2.000000e+00, float noundef 3.000000e+00, float noundef 4.000000e+00)
  %54 = getelementptr inbounds %union.HMM_Quat, ptr %3, i32 0, i32 0
  %55 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 0
  %56 = extractvalue { double, double } %53, 0
  store double %56, ptr %55, align 16
  %57 = getelementptr inbounds { double, double }, ptr %54, i32 0, i32 1
  %58 = extractvalue { double, double } %53, 1
  store double %58, ptr %57, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store float 2.000000e+00, ptr %4, align 4, !tbaa !9
  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 !11
  %59 = load float, ptr %4, align 4, !tbaa !9
  %60 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 0
  %61 = load double, ptr %60, align 16
  %62 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 1
  %63 = load double, ptr %62, align 8
  %64 = call { double, double } @_ZL9HMM_MulQF8HMM_Quatf(double %61, double %63, float noundef %59)
  %65 = getelementptr inbounds %union.HMM_Quat, ptr %5, i32 0, i32 0
  %66 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 0
  %67 = extractvalue { double, double } %64, 0
  store double %67, ptr %66, align 16
  %68 = getelementptr inbounds { double, double }, ptr %65, i32 0, i32 1
  %69 = extractvalue { double, double } %64, 1
  store double %69, ptr %68, align 8
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %70, i32 0, i32 0
  %72 = load i32, ptr %71, align 4, !tbaa !13
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %71, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %74 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 0
  %75 = getelementptr inbounds %struct.anon.20, ptr %74, i32 0, i32 0
  %76 = load float, ptr %75, align 16, !tbaa !12
  store float %76, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %77 = load float, ptr %7, align 4, !tbaa !9
  %78 = fsub float %77, 2.000000e+00
  store float %78, ptr %8, align 4, !tbaa !9
  %79 = load float, ptr %8, align 4, !tbaa !9
  %80 = fcmp olt float %79, 0xBE80000000000000
  br i1 %80, label %84, label %81

81:                                               ; preds = %1
  %82 = load float, ptr %8, align 4, !tbaa !9
  %83 = fcmp olt float 0x3E80000000000000, %82
  br i1 %83, label %84, label %95

84:                                               ; preds = %81, %1
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %85, i32 0, i32 1
  %87 = load i32, ptr %86, align 4, !tbaa !16
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %86, align 4, !tbaa !16
  %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 832)
  %90 = load float, ptr %7, align 4, !tbaa !9
  %91 = fpext float %90 to double
  %92 = load float, ptr %8, align 4, !tbaa !9
  %93 = fpext float %92 to double
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.000000e+00, double noundef %91, double noundef %93)
  br label %95

95:                                               ; preds = %84, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %96, i32 0, i32 0
  %98 = load i32, ptr %97, align 4, !tbaa !13
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %97, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %100 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 0
  %101 = getelementptr inbounds %struct.anon.20, ptr %100, i32 0, i32 1
  %102 = load float, ptr %101, align 4, !tbaa !12
  store float %102, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %103 = load float, ptr %9, align 4, !tbaa !9
  %104 = fsub float %103, 4.000000e+00
  store float %104, ptr %10, align 4, !tbaa !9
  %105 = load float, ptr %10, align 4, !tbaa !9
  %106 = fcmp olt float %105, 0xBE80000000000000
  br i1 %106, label %110, label %107

107:                                              ; preds = %95
  %108 = load float, ptr %10, align 4, !tbaa !9
  %109 = fcmp olt float 0x3E80000000000000, %108
  br i1 %109, label %110, label %121

110:                                              ; preds = %107, %95
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %111, i32 0, i32 1
  %113 = load i32, ptr %112, align 4, !tbaa !16
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %112, align 4, !tbaa !16
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 833)
  %116 = load float, ptr %9, align 4, !tbaa !9
  %117 = fpext float %116 to double
  %118 = load float, ptr %10, align 4, !tbaa !9
  %119 = fpext float %118 to double
  %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.000000e+00, double noundef %117, double noundef %119)
  br label %121

121:                                              ; preds = %110, %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  %122 = load ptr, ptr %2, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %122, i32 0, i32 0
  %124 = load i32, ptr %123, align 4, !tbaa !13
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %123, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %126 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 0
  %127 = getelementptr inbounds %struct.anon.20, ptr %126, i32 0, i32 2
  %128 = load float, ptr %127, align 8, !tbaa !12
  store float %128, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %129 = load float, ptr %11, align 4, !tbaa !9
  %130 = fsub float %129, 6.000000e+00
  store float %130, ptr %12, align 4, !tbaa !9
  %131 = load float, ptr %12, align 4, !tbaa !9
  %132 = fcmp olt float %131, 0xBE80000000000000
  br i1 %132, label %136, label %133

133:                                              ; preds = %121
  %134 = load float, ptr %12, align 4, !tbaa !9
  %135 = fcmp olt float 0x3E80000000000000, %134
  br i1 %135, label %136, label %147

136:                                              ; preds = %133, %121
  %137 = load ptr, ptr %2, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %137, i32 0, i32 1
  %139 = load i32, ptr %138, align 4, !tbaa !16
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %138, align 4, !tbaa !16
  %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 834)
  %142 = load float, ptr %11, align 4, !tbaa !9
  %143 = fpext float %142 to double
  %144 = load float, ptr %12, align 4, !tbaa !9
  %145 = fpext float %144 to double
  %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 6.000000e+00, double noundef %143, double noundef %145)
  br label %147

147:                                              ; preds = %136, %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  %148 = load ptr, ptr %2, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %148, i32 0, i32 0
  %150 = load i32, ptr %149, align 4, !tbaa !13
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %149, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %152 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 1
  %153 = load float, ptr %152, align 4, !tbaa !12
  store float %153, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %154 = load float, ptr %13, align 4, !tbaa !9
  %155 = fsub float %154, 8.000000e+00
  store float %155, ptr %14, align 4, !tbaa !9
  %156 = load float, ptr %14, align 4, !tbaa !9
  %157 = fcmp olt float %156, 0xBE80000000000000
  br i1 %157, label %161, label %158

158:                                              ; preds = %147
  %159 = load float, ptr %14, align 4, !tbaa !9
  %160 = fcmp olt float 0x3E80000000000000, %159
  br i1 %160, label %161, label %172

161:                                              ; preds = %158, %147
  %162 = load ptr, ptr %2, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %162, i32 0, i32 1
  %164 = load i32, ptr %163, align 4, !tbaa !16
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %163, align 4, !tbaa !16
  %166 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 835)
  %167 = load float, ptr %13, align 4, !tbaa !9
  %168 = fpext float %167 to double
  %169 = load float, ptr %14, align 4, !tbaa !9
  %170 = fpext float %169 to double
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 8.000000e+00, double noundef %168, double noundef %170)
  br label %172

172:                                              ; preds = %161, %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %3, i64 16, i1 false), !tbaa.struct !11
  %173 = load float, ptr %4, align 4, !tbaa !9
  %174 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %175 = load double, ptr %174, align 16
  %176 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %177 = load double, ptr %176, align 8
  %178 = call { double, double } @_ZL7HMM_Mul8HMM_Quatf(double %175, double %177, float noundef %173)
  %179 = getelementptr inbounds %union.HMM_Quat, ptr %15, i32 0, i32 0
  %180 = getelementptr inbounds { double, double }, ptr %179, i32 0, i32 0
  %181 = extractvalue { double, double } %178, 0
  store double %181, ptr %180, align 16
  %182 = getelementptr inbounds { double, double }, ptr %179, i32 0, i32 1
  %183 = extractvalue { double, double } %178, 1
  store double %183, ptr %182, align 8
  %184 = load ptr, ptr %2, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %184, i32 0, i32 0
  %186 = load i32, ptr %185, align 4, !tbaa !13
  %187 = add nsw i32 %186, 1
  store i32 %187, ptr %185, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %188 = getelementptr inbounds %struct.anon.18, ptr %15, i32 0, i32 0
  %189 = getelementptr inbounds %struct.anon.20, ptr %188, i32 0, i32 0
  %190 = load float, ptr %189, align 16, !tbaa !12
  store float %190, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %191 = load float, ptr %17, align 4, !tbaa !9
  %192 = fsub float %191, 2.000000e+00
  store float %192, ptr %18, align 4, !tbaa !9
  %193 = load float, ptr %18, align 4, !tbaa !9
  %194 = fcmp olt float %193, 0xBE80000000000000
  br i1 %194, label %198, label %195

195:                                              ; preds = %172
  %196 = load float, ptr %18, align 4, !tbaa !9
  %197 = fcmp olt float 0x3E80000000000000, %196
  br i1 %197, label %198, label %209

198:                                              ; preds = %195, %172
  %199 = load ptr, ptr %2, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %199, i32 0, i32 1
  %201 = load i32, ptr %200, align 4, !tbaa !16
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %200, align 4, !tbaa !16
  %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 840)
  %204 = load float, ptr %17, align 4, !tbaa !9
  %205 = fpext float %204 to double
  %206 = load float, ptr %18, align 4, !tbaa !9
  %207 = fpext float %206 to double
  %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.000000e+00, double noundef %205, double noundef %207)
  br label %209

209:                                              ; preds = %198, %195
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  %210 = load ptr, ptr %2, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %210, i32 0, i32 0
  %212 = load i32, ptr %211, align 4, !tbaa !13
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %211, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %214 = getelementptr inbounds %struct.anon.18, ptr %15, i32 0, i32 0
  %215 = getelementptr inbounds %struct.anon.20, ptr %214, i32 0, i32 1
  %216 = load float, ptr %215, align 4, !tbaa !12
  store float %216, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %217 = load float, ptr %19, align 4, !tbaa !9
  %218 = fsub float %217, 4.000000e+00
  store float %218, ptr %20, align 4, !tbaa !9
  %219 = load float, ptr %20, align 4, !tbaa !9
  %220 = fcmp olt float %219, 0xBE80000000000000
  br i1 %220, label %224, label %221

221:                                              ; preds = %209
  %222 = load float, ptr %20, align 4, !tbaa !9
  %223 = fcmp olt float 0x3E80000000000000, %222
  br i1 %223, label %224, label %235

224:                                              ; preds = %221, %209
  %225 = load ptr, ptr %2, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %225, i32 0, i32 1
  %227 = load i32, ptr %226, align 4, !tbaa !16
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %226, align 4, !tbaa !16
  %229 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 841)
  %230 = load float, ptr %19, align 4, !tbaa !9
  %231 = fpext float %230 to double
  %232 = load float, ptr %20, align 4, !tbaa !9
  %233 = fpext float %232 to double
  %234 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.000000e+00, double noundef %231, double noundef %233)
  br label %235

235:                                              ; preds = %224, %221
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  %236 = load ptr, ptr %2, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %236, i32 0, i32 0
  %238 = load i32, ptr %237, align 4, !tbaa !13
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %237, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %240 = getelementptr inbounds %struct.anon.18, ptr %15, i32 0, i32 0
  %241 = getelementptr inbounds %struct.anon.20, ptr %240, i32 0, i32 2
  %242 = load float, ptr %241, align 8, !tbaa !12
  store float %242, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %243 = load float, ptr %21, align 4, !tbaa !9
  %244 = fsub float %243, 6.000000e+00
  store float %244, ptr %22, align 4, !tbaa !9
  %245 = load float, ptr %22, align 4, !tbaa !9
  %246 = fcmp olt float %245, 0xBE80000000000000
  br i1 %246, label %250, label %247

247:                                              ; preds = %235
  %248 = load float, ptr %22, align 4, !tbaa !9
  %249 = fcmp olt float 0x3E80000000000000, %248
  br i1 %249, label %250, label %261

250:                                              ; preds = %247, %235
  %251 = load ptr, ptr %2, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %251, i32 0, i32 1
  %253 = load i32, ptr %252, align 4, !tbaa !16
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %252, align 4, !tbaa !16
  %255 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 842)
  %256 = load float, ptr %21, align 4, !tbaa !9
  %257 = fpext float %256 to double
  %258 = load float, ptr %22, align 4, !tbaa !9
  %259 = fpext float %258 to double
  %260 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 6.000000e+00, double noundef %257, double noundef %259)
  br label %261

261:                                              ; preds = %250, %247
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  %262 = load ptr, ptr %2, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %262, i32 0, i32 0
  %264 = load i32, ptr %263, align 4, !tbaa !13
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr %263, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %266 = getelementptr inbounds %struct.anon.18, ptr %15, i32 0, i32 1
  %267 = load float, ptr %266, align 4, !tbaa !12
  store float %267, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %268 = load float, ptr %23, align 4, !tbaa !9
  %269 = fsub float %268, 8.000000e+00
  store float %269, ptr %24, align 4, !tbaa !9
  %270 = load float, ptr %24, align 4, !tbaa !9
  %271 = fcmp olt float %270, 0xBE80000000000000
  br i1 %271, label %275, label %272

272:                                              ; preds = %261
  %273 = load float, ptr %24, align 4, !tbaa !9
  %274 = fcmp olt float 0x3E80000000000000, %273
  br i1 %274, label %275, label %286

275:                                              ; preds = %272, %261
  %276 = load ptr, ptr %2, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %276, i32 0, i32 1
  %278 = load i32, ptr %277, align 4, !tbaa !16
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %277, align 4, !tbaa !16
  %280 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 843)
  %281 = load float, ptr %23, align 4, !tbaa !9
  %282 = fpext float %281 to double
  %283 = load float, ptr %24, align 4, !tbaa !9
  %284 = fpext float %283 to double
  %285 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 8.000000e+00, double noundef %282, double noundef %284)
  br label %286

286:                                              ; preds = %275, %272
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %3, i64 16, i1 false), !tbaa.struct !11
  %287 = load float, ptr %4, align 4, !tbaa !9
  %288 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %289 = load double, ptr %288, align 16
  %290 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %291 = load double, ptr %290, align 8
  %292 = call { double, double } @_Zml8HMM_Quatf(double %289, double %291, float noundef %287)
  %293 = getelementptr inbounds %union.HMM_Quat, ptr %25, i32 0, i32 0
  %294 = getelementptr inbounds { double, double }, ptr %293, i32 0, i32 0
  %295 = extractvalue { double, double } %292, 0
  store double %295, ptr %294, align 16
  %296 = getelementptr inbounds { double, double }, ptr %293, i32 0, i32 1
  %297 = extractvalue { double, double } %292, 1
  store double %297, ptr %296, align 8
  %298 = load ptr, ptr %2, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %298, i32 0, i32 0
  %300 = load i32, ptr %299, align 4, !tbaa !13
  %301 = add nsw i32 %300, 1
  store i32 %301, ptr %299, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %302 = getelementptr inbounds %struct.anon.18, ptr %25, i32 0, i32 0
  %303 = getelementptr inbounds %struct.anon.20, ptr %302, i32 0, i32 0
  %304 = load float, ptr %303, align 16, !tbaa !12
  store float %304, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %305 = load float, ptr %27, align 4, !tbaa !9
  %306 = fsub float %305, 2.000000e+00
  store float %306, ptr %28, align 4, !tbaa !9
  %307 = load float, ptr %28, align 4, !tbaa !9
  %308 = fcmp olt float %307, 0xBE80000000000000
  br i1 %308, label %312, label %309

309:                                              ; preds = %286
  %310 = load float, ptr %28, align 4, !tbaa !9
  %311 = fcmp olt float 0x3E80000000000000, %310
  br i1 %311, label %312, label %323

312:                                              ; preds = %309, %286
  %313 = load ptr, ptr %2, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %313, i32 0, i32 1
  %315 = load i32, ptr %314, align 4, !tbaa !16
  %316 = add nsw i32 %315, 1
  store i32 %316, ptr %314, align 4, !tbaa !16
  %317 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 849)
  %318 = load float, ptr %27, align 4, !tbaa !9
  %319 = fpext float %318 to double
  %320 = load float, ptr %28, align 4, !tbaa !9
  %321 = fpext float %320 to double
  %322 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.000000e+00, double noundef %319, double noundef %321)
  br label %323

323:                                              ; preds = %312, %309
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  %324 = load ptr, ptr %2, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %324, i32 0, i32 0
  %326 = load i32, ptr %325, align 4, !tbaa !13
  %327 = add nsw i32 %326, 1
  store i32 %327, ptr %325, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %328 = getelementptr inbounds %struct.anon.18, ptr %25, i32 0, i32 0
  %329 = getelementptr inbounds %struct.anon.20, ptr %328, i32 0, i32 1
  %330 = load float, ptr %329, align 4, !tbaa !12
  store float %330, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %331 = load float, ptr %29, align 4, !tbaa !9
  %332 = fsub float %331, 4.000000e+00
  store float %332, ptr %30, align 4, !tbaa !9
  %333 = load float, ptr %30, align 4, !tbaa !9
  %334 = fcmp olt float %333, 0xBE80000000000000
  br i1 %334, label %338, label %335

335:                                              ; preds = %323
  %336 = load float, ptr %30, align 4, !tbaa !9
  %337 = fcmp olt float 0x3E80000000000000, %336
  br i1 %337, label %338, label %349

338:                                              ; preds = %335, %323
  %339 = load ptr, ptr %2, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %339, i32 0, i32 1
  %341 = load i32, ptr %340, align 4, !tbaa !16
  %342 = add nsw i32 %341, 1
  store i32 %342, ptr %340, align 4, !tbaa !16
  %343 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 850)
  %344 = load float, ptr %29, align 4, !tbaa !9
  %345 = fpext float %344 to double
  %346 = load float, ptr %30, align 4, !tbaa !9
  %347 = fpext float %346 to double
  %348 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.000000e+00, double noundef %345, double noundef %347)
  br label %349

349:                                              ; preds = %338, %335
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  %350 = load ptr, ptr %2, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %350, i32 0, i32 0
  %352 = load i32, ptr %351, align 4, !tbaa !13
  %353 = add nsw i32 %352, 1
  store i32 %353, ptr %351, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %354 = getelementptr inbounds %struct.anon.18, ptr %25, i32 0, i32 0
  %355 = getelementptr inbounds %struct.anon.20, ptr %354, i32 0, i32 2
  %356 = load float, ptr %355, align 8, !tbaa !12
  store float %356, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %357 = load float, ptr %31, align 4, !tbaa !9
  %358 = fsub float %357, 6.000000e+00
  store float %358, ptr %32, align 4, !tbaa !9
  %359 = load float, ptr %32, align 4, !tbaa !9
  %360 = fcmp olt float %359, 0xBE80000000000000
  br i1 %360, label %364, label %361

361:                                              ; preds = %349
  %362 = load float, ptr %32, align 4, !tbaa !9
  %363 = fcmp olt float 0x3E80000000000000, %362
  br i1 %363, label %364, label %375

364:                                              ; preds = %361, %349
  %365 = load ptr, ptr %2, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %365, i32 0, i32 1
  %367 = load i32, ptr %366, align 4, !tbaa !16
  %368 = add nsw i32 %367, 1
  store i32 %368, ptr %366, align 4, !tbaa !16
  %369 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 851)
  %370 = load float, ptr %31, align 4, !tbaa !9
  %371 = fpext float %370 to double
  %372 = load float, ptr %32, align 4, !tbaa !9
  %373 = fpext float %372 to double
  %374 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 6.000000e+00, double noundef %371, double noundef %373)
  br label %375

375:                                              ; preds = %364, %361
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  %376 = load ptr, ptr %2, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %376, i32 0, i32 0
  %378 = load i32, ptr %377, align 4, !tbaa !13
  %379 = add nsw i32 %378, 1
  store i32 %379, ptr %377, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %380 = getelementptr inbounds %struct.anon.18, ptr %25, i32 0, i32 1
  %381 = load float, ptr %380, align 4, !tbaa !12
  store float %381, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %382 = load float, ptr %33, align 4, !tbaa !9
  %383 = fsub float %382, 8.000000e+00
  store float %383, ptr %34, align 4, !tbaa !9
  %384 = load float, ptr %34, align 4, !tbaa !9
  %385 = fcmp olt float %384, 0xBE80000000000000
  br i1 %385, label %389, label %386

386:                                              ; preds = %375
  %387 = load float, ptr %34, align 4, !tbaa !9
  %388 = fcmp olt float 0x3E80000000000000, %387
  br i1 %388, label %389, label %400

389:                                              ; preds = %386, %375
  %390 = load ptr, ptr %2, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %390, i32 0, i32 1
  %392 = load i32, ptr %391, align 4, !tbaa !16
  %393 = add nsw i32 %392, 1
  store i32 %393, ptr %391, align 4, !tbaa !16
  %394 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 852)
  %395 = load float, ptr %33, align 4, !tbaa !9
  %396 = fpext float %395 to double
  %397 = load float, ptr %34, align 4, !tbaa !9
  %398 = fpext float %397 to double
  %399 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 8.000000e+00, double noundef %396, double noundef %398)
  br label %400

400:                                              ; preds = %389, %386
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #6
  %401 = load float, ptr %4, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %36, ptr align 16 %3, i64 16, i1 false), !tbaa.struct !11
  %402 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %403 = load double, ptr %402, align 16
  %404 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %405 = load double, ptr %404, align 8
  %406 = call { double, double } @_Zmlf8HMM_Quat(float noundef %401, double %403, double %405)
  %407 = getelementptr inbounds %union.HMM_Quat, ptr %35, i32 0, i32 0
  %408 = getelementptr inbounds { double, double }, ptr %407, i32 0, i32 0
  %409 = extractvalue { double, double } %406, 0
  store double %409, ptr %408, align 16
  %410 = getelementptr inbounds { double, double }, ptr %407, i32 0, i32 1
  %411 = extractvalue { double, double } %406, 1
  store double %411, ptr %410, align 8
  %412 = load ptr, ptr %2, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %412, i32 0, i32 0
  %414 = load i32, ptr %413, align 4, !tbaa !13
  %415 = add nsw i32 %414, 1
  store i32 %415, ptr %413, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %416 = getelementptr inbounds %struct.anon.18, ptr %35, i32 0, i32 0
  %417 = getelementptr inbounds %struct.anon.20, ptr %416, i32 0, i32 0
  %418 = load float, ptr %417, align 16, !tbaa !12
  store float %418, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  %419 = load float, ptr %37, align 4, !tbaa !9
  %420 = fsub float %419, 2.000000e+00
  store float %420, ptr %38, align 4, !tbaa !9
  %421 = load float, ptr %38, align 4, !tbaa !9
  %422 = fcmp olt float %421, 0xBE80000000000000
  br i1 %422, label %426, label %423

423:                                              ; preds = %400
  %424 = load float, ptr %38, align 4, !tbaa !9
  %425 = fcmp olt float 0x3E80000000000000, %424
  br i1 %425, label %426, label %437

426:                                              ; preds = %423, %400
  %427 = load ptr, ptr %2, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %427, i32 0, i32 1
  %429 = load i32, ptr %428, align 4, !tbaa !16
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr %428, align 4, !tbaa !16
  %431 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 856)
  %432 = load float, ptr %37, align 4, !tbaa !9
  %433 = fpext float %432 to double
  %434 = load float, ptr %38, align 4, !tbaa !9
  %435 = fpext float %434 to double
  %436 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.000000e+00, double noundef %433, double noundef %435)
  br label %437

437:                                              ; preds = %426, %423
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  %438 = load ptr, ptr %2, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %438, i32 0, i32 0
  %440 = load i32, ptr %439, align 4, !tbaa !13
  %441 = add nsw i32 %440, 1
  store i32 %441, ptr %439, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  %442 = getelementptr inbounds %struct.anon.18, ptr %35, i32 0, i32 0
  %443 = getelementptr inbounds %struct.anon.20, ptr %442, i32 0, i32 1
  %444 = load float, ptr %443, align 4, !tbaa !12
  store float %444, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  %445 = load float, ptr %39, align 4, !tbaa !9
  %446 = fsub float %445, 4.000000e+00
  store float %446, ptr %40, align 4, !tbaa !9
  %447 = load float, ptr %40, align 4, !tbaa !9
  %448 = fcmp olt float %447, 0xBE80000000000000
  br i1 %448, label %452, label %449

449:                                              ; preds = %437
  %450 = load float, ptr %40, align 4, !tbaa !9
  %451 = fcmp olt float 0x3E80000000000000, %450
  br i1 %451, label %452, label %463

452:                                              ; preds = %449, %437
  %453 = load ptr, ptr %2, align 8, !tbaa !5
  %454 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %453, i32 0, i32 1
  %455 = load i32, ptr %454, align 4, !tbaa !16
  %456 = add nsw i32 %455, 1
  store i32 %456, ptr %454, align 4, !tbaa !16
  %457 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 857)
  %458 = load float, ptr %39, align 4, !tbaa !9
  %459 = fpext float %458 to double
  %460 = load float, ptr %40, align 4, !tbaa !9
  %461 = fpext float %460 to double
  %462 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.000000e+00, double noundef %459, double noundef %461)
  br label %463

463:                                              ; preds = %452, %449
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  %464 = load ptr, ptr %2, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %464, i32 0, i32 0
  %466 = load i32, ptr %465, align 4, !tbaa !13
  %467 = add nsw i32 %466, 1
  store i32 %467, ptr %465, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  %468 = getelementptr inbounds %struct.anon.18, ptr %35, i32 0, i32 0
  %469 = getelementptr inbounds %struct.anon.20, ptr %468, i32 0, i32 2
  %470 = load float, ptr %469, align 8, !tbaa !12
  store float %470, ptr %41, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  %471 = load float, ptr %41, align 4, !tbaa !9
  %472 = fsub float %471, 6.000000e+00
  store float %472, ptr %42, align 4, !tbaa !9
  %473 = load float, ptr %42, align 4, !tbaa !9
  %474 = fcmp olt float %473, 0xBE80000000000000
  br i1 %474, label %478, label %475

475:                                              ; preds = %463
  %476 = load float, ptr %42, align 4, !tbaa !9
  %477 = fcmp olt float 0x3E80000000000000, %476
  br i1 %477, label %478, label %489

478:                                              ; preds = %475, %463
  %479 = load ptr, ptr %2, align 8, !tbaa !5
  %480 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %479, i32 0, i32 1
  %481 = load i32, ptr %480, align 4, !tbaa !16
  %482 = add nsw i32 %481, 1
  store i32 %482, ptr %480, align 4, !tbaa !16
  %483 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 858)
  %484 = load float, ptr %41, align 4, !tbaa !9
  %485 = fpext float %484 to double
  %486 = load float, ptr %42, align 4, !tbaa !9
  %487 = fpext float %486 to double
  %488 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 6.000000e+00, double noundef %485, double noundef %487)
  br label %489

489:                                              ; preds = %478, %475
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  %490 = load ptr, ptr %2, align 8, !tbaa !5
  %491 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %490, i32 0, i32 0
  %492 = load i32, ptr %491, align 4, !tbaa !13
  %493 = add nsw i32 %492, 1
  store i32 %493, ptr %491, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #6
  %494 = getelementptr inbounds %struct.anon.18, ptr %35, i32 0, i32 1
  %495 = load float, ptr %494, align 4, !tbaa !12
  store float %495, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  %496 = load float, ptr %43, align 4, !tbaa !9
  %497 = fsub float %496, 8.000000e+00
  store float %497, ptr %44, align 4, !tbaa !9
  %498 = load float, ptr %44, align 4, !tbaa !9
  %499 = fcmp olt float %498, 0xBE80000000000000
  br i1 %499, label %503, label %500

500:                                              ; preds = %489
  %501 = load float, ptr %44, align 4, !tbaa !9
  %502 = fcmp olt float 0x3E80000000000000, %501
  br i1 %502, label %503, label %514

503:                                              ; preds = %500, %489
  %504 = load ptr, ptr %2, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %504, i32 0, i32 1
  %506 = load i32, ptr %505, align 4, !tbaa !16
  %507 = add nsw i32 %506, 1
  store i32 %507, ptr %505, align 4, !tbaa !16
  %508 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 859)
  %509 = load float, ptr %43, align 4, !tbaa !9
  %510 = fpext float %509 to double
  %511 = load float, ptr %44, align 4, !tbaa !9
  %512 = fpext float %511 to double
  %513 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 8.000000e+00, double noundef %510, double noundef %512)
  br label %514

514:                                              ; preds = %503, %500
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #6
  %515 = load float, ptr %4, align 4, !tbaa !9
  %516 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZmLR8HMM_Quatf(ptr noundef nonnull align 16 dereferenceable(16) %3, float noundef %515)
  %517 = load ptr, ptr %2, align 8, !tbaa !5
  %518 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %517, i32 0, i32 0
  %519 = load i32, ptr %518, align 4, !tbaa !13
  %520 = add nsw i32 %519, 1
  store i32 %520, ptr %518, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  %521 = getelementptr inbounds %struct.anon.18, ptr %3, i32 0, i32 0
  %522 = getelementptr inbounds %struct.anon.20, ptr %521, i32 0, i32 0
  %523 = load float, ptr %522, align 16, !tbaa !12
  store float %523, ptr %45, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  %524 = load float, ptr %45, align 4, !tbaa !9
  %525 = fsub float %524, 2.000000e+00
  store float %525, ptr %46, align 4, !tbaa !9
  %526 = load float, ptr %46, align 4, !tbaa !9
  %527 = fcmp olt float %526, 0xBE80000000000000
  br i1 %527, label %531, label %528

528:                                              ; preds = %514
  %529 = load float, ptr %46, align 4, !tbaa !9
  %530 = fcmp olt float 0x3E80000000000000, %529
  br i1 %530, label %531, label %542

531:                                              ; preds = %528, %514
  %532 = load ptr, ptr %2, align 8, !tbaa !5
  %533 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %532, i32 0, i32 1
  %534 = load i32, ptr %533, align 4, !tbaa !16
  %535 = add nsw i32 %534, 1
  store i32 %535, ptr %533, align 4, !tbaa !16
  %536 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 863)
  %537 = load float, ptr %45, align 4, !tbaa !9
  %538 = fpext float %537 to double
  %539 = load float, ptr %46, align 4, !tbaa !9
  %540 = fpext float %539 to double
  %541 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.000000e+00, double noundef %538, double noundef %540)
  br label %542

542:                                              ; preds = %531, %528
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  %543 = load ptr, ptr %2, align 8, !tbaa !5
  %544 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %543, i32 0, i32 0
  %545 = load i32, ptr %544, align 4, !tbaa !13
  %546 = add nsw i32 %545, 1
  store i32 %546, ptr %544, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #6
  %547 = getelementptr inbounds %struct.anon.18, ptr %3, i32 0, i32 0
  %548 = getelementptr inbounds %struct.anon.20, ptr %547, i32 0, i32 1
  %549 = load float, ptr %548, align 4, !tbaa !12
  store float %549, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #6
  %550 = load float, ptr %47, align 4, !tbaa !9
  %551 = fsub float %550, 4.000000e+00
  store float %551, ptr %48, align 4, !tbaa !9
  %552 = load float, ptr %48, align 4, !tbaa !9
  %553 = fcmp olt float %552, 0xBE80000000000000
  br i1 %553, label %557, label %554

554:                                              ; preds = %542
  %555 = load float, ptr %48, align 4, !tbaa !9
  %556 = fcmp olt float 0x3E80000000000000, %555
  br i1 %556, label %557, label %568

557:                                              ; preds = %554, %542
  %558 = load ptr, ptr %2, align 8, !tbaa !5
  %559 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %558, i32 0, i32 1
  %560 = load i32, ptr %559, align 4, !tbaa !16
  %561 = add nsw i32 %560, 1
  store i32 %561, ptr %559, align 4, !tbaa !16
  %562 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 864)
  %563 = load float, ptr %47, align 4, !tbaa !9
  %564 = fpext float %563 to double
  %565 = load float, ptr %48, align 4, !tbaa !9
  %566 = fpext float %565 to double
  %567 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.000000e+00, double noundef %564, double noundef %566)
  br label %568

568:                                              ; preds = %557, %554
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  %569 = load ptr, ptr %2, align 8, !tbaa !5
  %570 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %569, i32 0, i32 0
  %571 = load i32, ptr %570, align 4, !tbaa !13
  %572 = add nsw i32 %571, 1
  store i32 %572, ptr %570, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #6
  %573 = getelementptr inbounds %struct.anon.18, ptr %3, i32 0, i32 0
  %574 = getelementptr inbounds %struct.anon.20, ptr %573, i32 0, i32 2
  %575 = load float, ptr %574, align 8, !tbaa !12
  store float %575, ptr %49, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #6
  %576 = load float, ptr %49, align 4, !tbaa !9
  %577 = fsub float %576, 6.000000e+00
  store float %577, ptr %50, align 4, !tbaa !9
  %578 = load float, ptr %50, align 4, !tbaa !9
  %579 = fcmp olt float %578, 0xBE80000000000000
  br i1 %579, label %583, label %580

580:                                              ; preds = %568
  %581 = load float, ptr %50, align 4, !tbaa !9
  %582 = fcmp olt float 0x3E80000000000000, %581
  br i1 %582, label %583, label %594

583:                                              ; preds = %580, %568
  %584 = load ptr, ptr %2, align 8, !tbaa !5
  %585 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %584, i32 0, i32 1
  %586 = load i32, ptr %585, align 4, !tbaa !16
  %587 = add nsw i32 %586, 1
  store i32 %587, ptr %585, align 4, !tbaa !16
  %588 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 865)
  %589 = load float, ptr %49, align 4, !tbaa !9
  %590 = fpext float %589 to double
  %591 = load float, ptr %50, align 4, !tbaa !9
  %592 = fpext float %591 to double
  %593 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 6.000000e+00, double noundef %590, double noundef %592)
  br label %594

594:                                              ; preds = %583, %580
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #6
  %595 = load ptr, ptr %2, align 8, !tbaa !5
  %596 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %595, i32 0, i32 0
  %597 = load i32, ptr %596, align 4, !tbaa !13
  %598 = add nsw i32 %597, 1
  store i32 %598, ptr %596, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #6
  %599 = getelementptr inbounds %struct.anon.18, ptr %3, i32 0, i32 1
  %600 = load float, ptr %599, align 4, !tbaa !12
  store float %600, ptr %51, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #6
  %601 = load float, ptr %51, align 4, !tbaa !9
  %602 = fsub float %601, 8.000000e+00
  store float %602, ptr %52, align 4, !tbaa !9
  %603 = load float, ptr %52, align 4, !tbaa !9
  %604 = fcmp olt float %603, 0xBE80000000000000
  br i1 %604, label %608, label %605

605:                                              ; preds = %594
  %606 = load float, ptr %52, align 4, !tbaa !9
  %607 = fcmp olt float 0x3E80000000000000, %606
  br i1 %607, label %608, label %619

608:                                              ; preds = %605, %594
  %609 = load ptr, ptr %2, align 8, !tbaa !5
  %610 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %609, i32 0, i32 1
  %611 = load i32, ptr %610, align 4, !tbaa !16
  %612 = add nsw i32 %611, 1
  store i32 %612, ptr %610, align 4, !tbaa !16
  %613 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 866)
  %614 = load float, ptr %51, align 4, !tbaa !9
  %615 = fpext float %614 to double
  %616 = load float, ptr %52, align 4, !tbaa !9
  %617 = fpext float %616 to double
  %618 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 8.000000e+00, double noundef %615, double noundef %617)
  br label %619

619:                                              ; preds = %608, %605
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 4, 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_MulQF8HMM_Quatf(double, double, float noundef) #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 16 dereferenceable(16) ptr @_ZmLR8HMM_Quatf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) #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 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{i64 0, i64 16, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS21hmt_testresult_struct", !15, i64 0, !15, i64 4}
!15 = !{!"int", !7, i64 0}
!16 = !{!14, !15, 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"

%union.HMM_Quat = type { <4 x float> }

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z41_hmt_test_Multiplication_QuaternionScalarP21hmt_testresult_struct(ptr nocapture noundef %0) local_unnamed_addr #3 {
  %2 = alloca %union.HMM_Quat, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  %3 = tail call { double, double } @_ZL5HMM_Qffff(float noundef 1.000000e+00, float noundef 2.000000e+00, float noundef 3.000000e+00, float noundef 4.000000e+00)
  %4 = extractvalue { double, double } %3, 0
  store double %4, ptr %2, align 16
  %5 = getelementptr inbounds i8, ptr %2, i64 8
  %6 = extractvalue { double, double } %3, 1
  store double %6, ptr %5, align 8
  %7 = tail call { double, double } @_ZL9HMM_MulQF8HMM_Quatf(double %4, double %6, float noundef 2.000000e+00)
  %8 = extractvalue { double, double } %7, 0
  %9 = extractvalue { double, double } %7, 1
  %10 = load i32, ptr %0, align 4, !tbaa !5
  %11 = add nsw i32 %10, 1
  store i32 %11, ptr %0, align 4, !tbaa !5
  %12 = bitcast double %8 to i64
  %13 = trunc i64 %12 to i32
  %14 = bitcast i32 %13 to float
  %15 = fadd float %14, -2.000000e+00
  %16 = tail call float @llvm.fabs.f32(float %15)
  %or.cond = fcmp ogt float %16, 0x3E80000000000000
  %17 = lshr i64 %12, 32
  %18 = trunc nuw i64 %17 to i32
  %19 = bitcast i32 %18 to float
  %20 = bitcast double %9 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 %34

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 832)
  %31 = fpext float %14 to double
  %32 = fpext float %15 to double
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 2.000000e+00, double noundef %31, double noundef %32)
  %.pre = load i32, ptr %0, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %1, %26
  %35 = phi i32 [ %11, %1 ], [ %.pre, %26 ]
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %0, align 4, !tbaa !5
  %37 = fadd float %19, -4.000000e+00
  %38 = tail call float @llvm.fabs.f32(float %37)
  %or.cond3 = fcmp ogt float %38, 0x3E80000000000000
  br i1 %or.cond3, label %39, label %47

39:                                               ; preds = %34
  %40 = getelementptr inbounds i8, ptr %0, i64 4
  %41 = load i32, ptr %40, align 4, !tbaa !10
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %40, align 4, !tbaa !10
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 833)
  %44 = fpext float %19 to double
  %45 = fpext float %37 to double
  %46 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.000000e+00, double noundef %44, double noundef %45)
  %.pre209 = load i32, ptr %0, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %34, %39
  %48 = phi i32 [ %36, %34 ], [ %.pre209, %39 ]
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %0, align 4, !tbaa !5
  %50 = fadd float %22, -6.000000e+00
  %51 = tail call float @llvm.fabs.f32(float %50)
  %or.cond5 = fcmp ogt float %51, 0x3E80000000000000
  br i1 %or.cond5, label %52, label %60

52:                                               ; preds = %47
  %53 = getelementptr inbounds i8, ptr %0, i64 4
  %54 = load i32, ptr %53, align 4, !tbaa !10
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %53, align 4, !tbaa !10
  %56 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 834)
  %57 = fpext float %22 to double
  %58 = fpext float %50 to double
  %59 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 6.000000e+00, double noundef %57, double noundef %58)
  %.pre210 = load i32, ptr %0, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %47, %52
  %61 = phi i32 [ %49, %47 ], [ %.pre210, %52 ]
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %0, align 4, !tbaa !5
  %63 = fadd float %25, -8.000000e+00
  %64 = tail call float @llvm.fabs.f32(float %63)
  %or.cond7 = fcmp ogt float %64, 0x3E80000000000000
  br i1 %or.cond7, label %65, label %73

65:                                               ; preds = %60
  %66 = getelementptr inbounds i8, ptr %0, i64 4
  %67 = load i32, ptr %66, align 4, !tbaa !10
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %66, align 4, !tbaa !10
  %69 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 835)
  %70 = fpext float %25 to double
  %71 = fpext float %63 to double
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 8.000000e+00, double noundef %70, double noundef %71)
  br label %73

73:                                               ; preds = %60, %65
  %74 = tail call { double, double } @_ZL7HMM_Mul8HMM_Quatf(double %4, double %6, float noundef 2.000000e+00)
  %75 = extractvalue { double, double } %74, 0
  %76 = extractvalue { double, double } %74, 1
  %77 = load i32, ptr %0, align 4, !tbaa !5
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %0, align 4, !tbaa !5
  %79 = bitcast double %75 to i64
  %80 = trunc i64 %79 to i32
  %81 = bitcast i32 %80 to float
  %82 = fadd float %81, -2.000000e+00
  %83 = tail call float @llvm.fabs.f32(float %82)
  %or.cond9 = fcmp ogt float %83, 0x3E80000000000000
  %84 = lshr i64 %79, 32
  %85 = trunc nuw i64 %84 to i32
  %86 = bitcast i32 %85 to float
  %87 = bitcast double %76 to i64
  %88 = trunc i64 %87 to i32
  %89 = bitcast i32 %88 to float
  %90 = lshr i64 %87, 32
  %91 = trunc nuw i64 %90 to i32
  %92 = bitcast i32 %91 to float
  br i1 %or.cond9, label %93, label %101

93:                                               ; preds = %73
  %94 = getelementptr inbounds i8, ptr %0, i64 4
  %95 = load i32, ptr %94, align 4, !tbaa !10
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %94, align 4, !tbaa !10
  %97 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 840)
  %98 = fpext float %81 to double
  %99 = fpext float %82 to double
  %100 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 2.000000e+00, double noundef %98, double noundef %99)
  %.pre211 = load i32, ptr %0, align 4, !tbaa !5
  br label %101

101:                                              ; preds = %73, %93
  %102 = phi i32 [ %78, %73 ], [ %.pre211, %93 ]
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %0, align 4, !tbaa !5
  %104 = fadd float %86, -4.000000e+00
  %105 = tail call float @llvm.fabs.f32(float %104)
  %or.cond11 = fcmp ogt float %105, 0x3E80000000000000
  br i1 %or.cond11, label %106, label %114

106:                                              ; preds = %101
  %107 = getelementptr inbounds i8, ptr %0, i64 4
  %108 = load i32, ptr %107, align 4, !tbaa !10
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %107, align 4, !tbaa !10
  %110 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 841)
  %111 = fpext float %86 to double
  %112 = fpext float %104 to double
  %113 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.000000e+00, double noundef %111, double noundef %112)
  %.pre212 = load i32, ptr %0, align 4, !tbaa !5
  br label %114

114:                                              ; preds = %101, %106
  %115 = phi i32 [ %103, %101 ], [ %.pre212, %106 ]
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %0, align 4, !tbaa !5
  %117 = fadd float %89, -6.000000e+00
  %118 = tail call float @llvm.fabs.f32(float %117)
  %or.cond13 = fcmp ogt float %118, 0x3E80000000000000
  br i1 %or.cond13, label %119, label %127

119:                                              ; preds = %114
  %120 = getelementptr inbounds i8, ptr %0, i64 4
  %121 = load i32, ptr %120, align 4, !tbaa !10
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %120, align 4, !tbaa !10
  %123 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 842)
  %124 = fpext float %89 to double
  %125 = fpext float %117 to double
  %126 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 6.000000e+00, double noundef %124, double noundef %125)
  %.pre213 = load i32, ptr %0, align 4, !tbaa !5
  br label %127

127:                                              ; preds = %114, %119
  %128 = phi i32 [ %116, %114 ], [ %.pre213, %119 ]
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %0, align 4, !tbaa !5
  %130 = fadd float %92, -8.000000e+00
  %131 = tail call float @llvm.fabs.f32(float %130)
  %or.cond15 = fcmp ogt float %131, 0x3E80000000000000
  br i1 %or.cond15, label %132, label %140

132:                                              ; preds = %127
  %133 = getelementptr inbounds i8, ptr %0, i64 4
  %134 = load i32, ptr %133, align 4, !tbaa !10
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %133, align 4, !tbaa !10
  %136 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 843)
  %137 = fpext float %92 to double
  %138 = fpext float %130 to double
  %139 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 8.000000e+00, double noundef %137, double noundef %138)
  br label %140

140:                                              ; preds = %127, %132
  %141 = tail call { double, double } @_Zml8HMM_Quatf(double %4, double %6, float noundef 2.000000e+00)
  %142 = extractvalue { double, double } %141, 0
  %143 = extractvalue { double, double } %141, 1
  %144 = load i32, ptr %0, align 4, !tbaa !5
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %0, align 4, !tbaa !5
  %146 = bitcast double %142 to i64
  %147 = trunc i64 %146 to i32
  %148 = bitcast i32 %147 to float
  %149 = fadd float %148, -2.000000e+00
  %150 = tail call float @llvm.fabs.f32(float %149)
  %or.cond17 = fcmp ogt float %150, 0x3E80000000000000
  %151 = lshr i64 %146, 32
  %152 = trunc nuw i64 %151 to i32
  %153 = bitcast i32 %152 to float
  %154 = bitcast double %143 to i64
  %155 = trunc i64 %154 to i32
  %156 = bitcast i32 %155 to float
  %157 = lshr i64 %154, 32
  %158 = trunc nuw i64 %157 to i32
  %159 = bitcast i32 %158 to float
  br i1 %or.cond17, label %160, label %168

160:                                              ; preds = %140
  %161 = getelementptr inbounds i8, ptr %0, i64 4
  %162 = load i32, ptr %161, align 4, !tbaa !10
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %161, align 4, !tbaa !10
  %164 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 849)
  %165 = fpext float %148 to double
  %166 = fpext float %149 to double
  %167 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 2.000000e+00, double noundef %165, double noundef %166)
  %.pre214 = load i32, ptr %0, align 4, !tbaa !5
  br label %168

168:                                              ; preds = %140, %160
  %169 = phi i32 [ %145, %140 ], [ %.pre214, %160 ]
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %0, align 4, !tbaa !5
  %171 = fadd float %153, -4.000000e+00
  %172 = tail call float @llvm.fabs.f32(float %171)
  %or.cond19 = fcmp ogt float %172, 0x3E80000000000000
  br i1 %or.cond19, label %173, label %181

173:                                              ; preds = %168
  %174 = getelementptr inbounds i8, ptr %0, i64 4
  %175 = load i32, ptr %174, align 4, !tbaa !10
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %174, align 4, !tbaa !10
  %177 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 850)
  %178 = fpext float %153 to double
  %179 = fpext float %171 to double
  %180 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.000000e+00, double noundef %178, double noundef %179)
  %.pre215 = load i32, ptr %0, align 4, !tbaa !5
  br label %181

181:                                              ; preds = %168, %173
  %182 = phi i32 [ %170, %168 ], [ %.pre215, %173 ]
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %0, align 4, !tbaa !5
  %184 = fadd float %156, -6.000000e+00
  %185 = tail call float @llvm.fabs.f32(float %184)
  %or.cond21 = fcmp ogt float %185, 0x3E80000000000000
  br i1 %or.cond21, label %186, label %194

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 851)
  %191 = fpext float %156 to double
  %192 = fpext float %184 to double
  %193 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 6.000000e+00, double noundef %191, double noundef %192)
  %.pre216 = load i32, ptr %0, align 4, !tbaa !5
  br label %194

194:                                              ; preds = %181, %186
  %195 = phi i32 [ %183, %181 ], [ %.pre216, %186 ]
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %0, align 4, !tbaa !5
  %197 = fadd float %159, -8.000000e+00
  %198 = tail call float @llvm.fabs.f32(float %197)
  %or.cond23 = fcmp ogt float %198, 0x3E80000000000000
  br i1 %or.cond23, label %199, label %207

199:                                              ; preds = %194
  %200 = getelementptr inbounds i8, ptr %0, i64 4
  %201 = load i32, ptr %200, align 4, !tbaa !10
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %200, align 4, !tbaa !10
  %203 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 852)
  %204 = fpext float %159 to double
  %205 = fpext float %197 to double
  %206 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 8.000000e+00, double noundef %204, double noundef %205)
  br label %207

207:                                              ; preds = %194, %199
  %208 = tail call { double, double } @_Zmlf8HMM_Quat(float noundef 2.000000e+00, double %4, double %6)
  %209 = extractvalue { double, double } %208, 0
  %210 = extractvalue { double, double } %208, 1
  %211 = load i32, ptr %0, align 4, !tbaa !5
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr %0, align 4, !tbaa !5
  %213 = bitcast double %209 to i64
  %214 = trunc i64 %213 to i32
  %215 = bitcast i32 %214 to float
  %216 = fadd float %215, -2.000000e+00
  %217 = tail call float @llvm.fabs.f32(float %216)
  %or.cond25 = fcmp ogt float %217, 0x3E80000000000000
  %218 = lshr i64 %213, 32
  %219 = trunc nuw i64 %218 to i32
  %220 = bitcast i32 %219 to float
  %221 = bitcast double %210 to i64
  %222 = trunc i64 %221 to i32
  %223 = bitcast i32 %222 to float
  %224 = lshr i64 %221, 32
  %225 = trunc nuw i64 %224 to i32
  %226 = bitcast i32 %225 to float
  br i1 %or.cond25, label %227, label %235

227:                                              ; preds = %207
  %228 = getelementptr inbounds i8, ptr %0, i64 4
  %229 = load i32, ptr %228, align 4, !tbaa !10
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %228, align 4, !tbaa !10
  %231 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 856)
  %232 = fpext float %215 to double
  %233 = fpext float %216 to double
  %234 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 2.000000e+00, double noundef %232, double noundef %233)
  %.pre217 = load i32, ptr %0, align 4, !tbaa !5
  br label %235

235:                                              ; preds = %207, %227
  %236 = phi i32 [ %212, %207 ], [ %.pre217, %227 ]
  %237 = add nsw i32 %236, 1
  store i32 %237, ptr %0, align 4, !tbaa !5
  %238 = fadd float %220, -4.000000e+00
  %239 = tail call float @llvm.fabs.f32(float %238)
  %or.cond27 = fcmp ogt float %239, 0x3E80000000000000
  br i1 %or.cond27, label %240, label %248

240:                                              ; preds = %235
  %241 = getelementptr inbounds i8, ptr %0, i64 4
  %242 = load i32, ptr %241, align 4, !tbaa !10
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %241, align 4, !tbaa !10
  %244 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 857)
  %245 = fpext float %220 to double
  %246 = fpext float %238 to double
  %247 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.000000e+00, double noundef %245, double noundef %246)
  %.pre218 = load i32, ptr %0, align 4, !tbaa !5
  br label %248

248:                                              ; preds = %235, %240
  %249 = phi i32 [ %237, %235 ], [ %.pre218, %240 ]
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %0, align 4, !tbaa !5
  %251 = fadd float %223, -6.000000e+00
  %252 = tail call float @llvm.fabs.f32(float %251)
  %or.cond29 = fcmp ogt float %252, 0x3E80000000000000
  br i1 %or.cond29, label %253, label %261

253:                                              ; preds = %248
  %254 = getelementptr inbounds i8, ptr %0, i64 4
  %255 = load i32, ptr %254, align 4, !tbaa !10
  %256 = add nsw i32 %255, 1
  store i32 %256, ptr %254, align 4, !tbaa !10
  %257 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 858)
  %258 = fpext float %223 to double
  %259 = fpext float %251 to double
  %260 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 6.000000e+00, double noundef %258, double noundef %259)
  %.pre219 = load i32, ptr %0, align 4, !tbaa !5
  br label %261

261:                                              ; preds = %248, %253
  %262 = phi i32 [ %250, %248 ], [ %.pre219, %253 ]
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %0, align 4, !tbaa !5
  %264 = fadd float %226, -8.000000e+00
  %265 = tail call float @llvm.fabs.f32(float %264)
  %or.cond31 = fcmp ogt float %265, 0x3E80000000000000
  br i1 %or.cond31, label %266, label %274

266:                                              ; preds = %261
  %267 = getelementptr inbounds i8, ptr %0, i64 4
  %268 = load i32, ptr %267, align 4, !tbaa !10
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %267, align 4, !tbaa !10
  %270 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 859)
  %271 = fpext float %226 to double
  %272 = fpext float %264 to double
  %273 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 8.000000e+00, double noundef %271, double noundef %272)
  br label %274

274:                                              ; preds = %261, %266
  %275 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZmLR8HMM_Quatf(ptr noundef nonnull align 16 dereferenceable(16) %2, float noundef 2.000000e+00)
  %276 = load i32, ptr %0, align 4, !tbaa !5
  %277 = add nsw i32 %276, 1
  store i32 %277, ptr %0, align 4, !tbaa !5
  %278 = load float, ptr %2, align 16, !tbaa !11
  %279 = fadd float %278, -2.000000e+00
  %280 = call float @llvm.fabs.f32(float %279)
  %or.cond33 = fcmp ogt float %280, 0x3E80000000000000
  br i1 %or.cond33, label %281, label %289

281:                                              ; preds = %274
  %282 = getelementptr inbounds i8, ptr %0, i64 4
  %283 = load i32, ptr %282, align 4, !tbaa !10
  %284 = add nsw i32 %283, 1
  store i32 %284, ptr %282, align 4, !tbaa !10
  %285 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 863)
  %286 = fpext float %278 to double
  %287 = fpext float %279 to double
  %288 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 2.000000e+00, double noundef %286, double noundef %287)
  %.pre220 = load i32, ptr %0, align 4, !tbaa !5
  br label %289

289:                                              ; preds = %274, %281
  %290 = phi i32 [ %277, %274 ], [ %.pre220, %281 ]
  %291 = add nsw i32 %290, 1
  store i32 %291, ptr %0, align 4, !tbaa !5
  %292 = getelementptr inbounds i8, ptr %2, i64 4
  %293 = load float, ptr %292, align 4, !tbaa !11
  %294 = fadd float %293, -4.000000e+00
  %295 = call float @llvm.fabs.f32(float %294)
  %or.cond35 = fcmp ogt float %295, 0x3E80000000000000
  br i1 %or.cond35, label %296, label %304

296:                                              ; preds = %289
  %297 = getelementptr inbounds i8, ptr %0, i64 4
  %298 = load i32, ptr %297, align 4, !tbaa !10
  %299 = add nsw i32 %298, 1
  store i32 %299, ptr %297, align 4, !tbaa !10
  %300 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 864)
  %301 = fpext float %293 to double
  %302 = fpext float %294 to double
  %303 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.000000e+00, double noundef %301, double noundef %302)
  %.pre221 = load i32, ptr %0, align 4, !tbaa !5
  br label %304

304:                                              ; preds = %289, %296
  %305 = phi i32 [ %291, %289 ], [ %.pre221, %296 ]
  %306 = add nsw i32 %305, 1
  store i32 %306, ptr %0, align 4, !tbaa !5
  %307 = load float, ptr %5, align 8, !tbaa !11
  %308 = fadd float %307, -6.000000e+00
  %309 = call float @llvm.fabs.f32(float %308)
  %or.cond37 = fcmp ogt float %309, 0x3E80000000000000
  br i1 %or.cond37, label %310, label %318

310:                                              ; preds = %304
  %311 = getelementptr inbounds i8, ptr %0, i64 4
  %312 = load i32, ptr %311, align 4, !tbaa !10
  %313 = add nsw i32 %312, 1
  store i32 %313, ptr %311, align 4, !tbaa !10
  %314 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 865)
  %315 = fpext float %307 to double
  %316 = fpext float %308 to double
  %317 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 6.000000e+00, double noundef %315, double noundef %316)
  %.pre222 = load i32, ptr %0, align 4, !tbaa !5
  br label %318

318:                                              ; preds = %304, %310
  %319 = phi i32 [ %306, %304 ], [ %.pre222, %310 ]
  %320 = add nsw i32 %319, 1
  store i32 %320, ptr %0, align 4, !tbaa !5
  %321 = getelementptr inbounds i8, ptr %2, i64 12
  %322 = load float, ptr %321, align 4, !tbaa !11
  %323 = fadd float %322, -8.000000e+00
  %324 = call float @llvm.fabs.f32(float %323)
  %or.cond39 = fcmp ogt float %324, 0x3E80000000000000
  br i1 %or.cond39, label %325, label %333

325:                                              ; preds = %318
  %326 = getelementptr inbounds i8, ptr %0, i64 4
  %327 = load i32, ptr %326, align 4, !tbaa !10
  %328 = add nsw i32 %327, 1
  store i32 %328, ptr %326, align 4, !tbaa !10
  %329 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 866)
  %330 = fpext float %322 to double
  %331 = fpext float %323 to double
  %332 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 8.000000e+00, double noundef %330, double noundef %331)
  br label %333

333:                                              ; preds = %318, %325
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  ret void
}

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 16 dereferenceable(16) ptr @_ZmLR8HMM_Quatf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !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}
!11 = !{!8, !8, i64 0}


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