; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z45_hmt_test_Multiplication_QuaternionQuaternionP21hmt_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: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL8HMM_MulQ8HMM_QuatS_(double, double, double, double) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z45_hmt_test_Multiplication_QuaternionQuaternionP21hmt_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
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  %38 = 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)
  %39 = getelementptr inbounds %union.HMM_Quat, ptr %3, i32 0, i32 0
  %40 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %41 = extractvalue { double, double } %38, 0
  store double %41, ptr %40, align 16
  %42 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %43 = extractvalue { double, double } %38, 1
  store double %43, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #6
  %44 = call { double, double } @_ZL5HMM_Qffff(float noundef 5.000000e+00, float noundef 6.000000e+00, float noundef 7.000000e+00, float noundef 8.000000e+00)
  %45 = getelementptr inbounds %union.HMM_Quat, ptr %4, i32 0, i32 0
  %46 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 0
  %47 = extractvalue { double, double } %44, 0
  store double %47, ptr %46, align 16
  %48 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 1
  %49 = extractvalue { double, double } %44, 1
  store double %49, ptr %48, 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
  %50 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 0
  %51 = load double, ptr %50, align 16
  %52 = getelementptr inbounds { double, double }, ptr %6, i32 0, i32 1
  %53 = load double, ptr %52, align 8
  %54 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 0
  %55 = load double, ptr %54, align 16
  %56 = getelementptr inbounds { double, double }, ptr %7, i32 0, i32 1
  %57 = load double, ptr %56, align 8
  %58 = call { double, double } @_ZL8HMM_MulQ8HMM_QuatS_(double %51, double %53, double %55, double %57)
  %59 = getelementptr inbounds %union.HMM_Quat, ptr %5, i32 0, i32 0
  %60 = getelementptr inbounds { double, double }, ptr %59, i32 0, i32 0
  %61 = extractvalue { double, double } %58, 0
  store double %61, ptr %60, align 16
  %62 = getelementptr inbounds { double, double }, ptr %59, i32 0, i32 1
  %63 = extractvalue { double, double } %58, 1
  store double %63, ptr %62, align 8
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %64, i32 0, i32 0
  %66 = load i32, ptr %65, align 4, !tbaa !11
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %65, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %68 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 0
  %69 = getelementptr inbounds %struct.anon.20, ptr %68, i32 0, i32 0
  %70 = load float, ptr %69, align 16, !tbaa !10
  store float %70, ptr %8, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %71 = load float, ptr %8, align 4, !tbaa !14
  %72 = fsub float %71, 2.400000e+01
  store float %72, ptr %9, align 4, !tbaa !14
  %73 = load float, ptr %9, align 4, !tbaa !14
  %74 = fcmp olt float %73, 0xBE80000000000000
  br i1 %74, label %78, label %75

75:                                               ; preds = %1
  %76 = load float, ptr %9, align 4, !tbaa !14
  %77 = fcmp olt float 0x3E80000000000000, %76
  br i1 %77, label %78, label %89

78:                                               ; preds = %75, %1
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %79, i32 0, i32 1
  %81 = load i32, ptr %80, align 4, !tbaa !16
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %80, align 4, !tbaa !16
  %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 796)
  %84 = load float, ptr %8, align 4, !tbaa !14
  %85 = fpext float %84 to double
  %86 = load float, ptr %9, align 4, !tbaa !14
  %87 = fpext float %86 to double
  %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.400000e+01, double noundef %85, double noundef %87)
  br label %89

89:                                               ; preds = %78, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %90, i32 0, i32 0
  %92 = load i32, ptr %91, align 4, !tbaa !11
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %91, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %94 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 0
  %95 = getelementptr inbounds %struct.anon.20, ptr %94, i32 0, i32 1
  %96 = load float, ptr %95, align 4, !tbaa !10
  store float %96, ptr %10, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %97 = load float, ptr %10, align 4, !tbaa !14
  %98 = fsub float %97, 4.800000e+01
  store float %98, ptr %11, align 4, !tbaa !14
  %99 = load float, ptr %11, align 4, !tbaa !14
  %100 = fcmp olt float %99, 0xBE80000000000000
  br i1 %100, label %104, label %101

101:                                              ; preds = %89
  %102 = load float, ptr %11, align 4, !tbaa !14
  %103 = fcmp olt float 0x3E80000000000000, %102
  br i1 %103, label %104, label %115

104:                                              ; preds = %101, %89
  %105 = load ptr, ptr %2, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %105, i32 0, i32 1
  %107 = load i32, ptr %106, align 4, !tbaa !16
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %106, align 4, !tbaa !16
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 797)
  %110 = load float, ptr %10, align 4, !tbaa !14
  %111 = fpext float %110 to double
  %112 = load float, ptr %11, align 4, !tbaa !14
  %113 = fpext float %112 to double
  %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.800000e+01, double noundef %111, double noundef %113)
  br label %115

115:                                              ; preds = %104, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %116, i32 0, i32 0
  %118 = load i32, ptr %117, align 4, !tbaa !11
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %117, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %120 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 0
  %121 = getelementptr inbounds %struct.anon.20, ptr %120, i32 0, i32 2
  %122 = load float, ptr %121, align 8, !tbaa !10
  store float %122, ptr %12, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %123 = load float, ptr %12, align 4, !tbaa !14
  %124 = fsub float %123, 4.800000e+01
  store float %124, ptr %13, align 4, !tbaa !14
  %125 = load float, ptr %13, align 4, !tbaa !14
  %126 = fcmp olt float %125, 0xBE80000000000000
  br i1 %126, label %130, label %127

127:                                              ; preds = %115
  %128 = load float, ptr %13, align 4, !tbaa !14
  %129 = fcmp olt float 0x3E80000000000000, %128
  br i1 %129, label %130, label %141

130:                                              ; preds = %127, %115
  %131 = load ptr, ptr %2, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %131, i32 0, i32 1
  %133 = load i32, ptr %132, align 4, !tbaa !16
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %132, align 4, !tbaa !16
  %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 798)
  %136 = load float, ptr %12, align 4, !tbaa !14
  %137 = fpext float %136 to double
  %138 = load float, ptr %13, align 4, !tbaa !14
  %139 = fpext float %138 to double
  %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.800000e+01, double noundef %137, double noundef %139)
  br label %141

141:                                              ; preds = %130, %127
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  %142 = load ptr, ptr %2, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %142, i32 0, i32 0
  %144 = load i32, ptr %143, align 4, !tbaa !11
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %143, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %146 = getelementptr inbounds %struct.anon.18, ptr %5, i32 0, i32 1
  %147 = load float, ptr %146, align 4, !tbaa !10
  store float %147, ptr %14, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %148 = load float, ptr %14, align 4, !tbaa !14
  %149 = fsub float %148, -6.000000e+00
  store float %149, ptr %15, align 4, !tbaa !14
  %150 = load float, ptr %15, align 4, !tbaa !14
  %151 = fcmp olt float %150, 0xBE80000000000000
  br i1 %151, label %155, label %152

152:                                              ; preds = %141
  %153 = load float, ptr %15, align 4, !tbaa !14
  %154 = fcmp olt float 0x3E80000000000000, %153
  br i1 %154, label %155, label %166

155:                                              ; preds = %152, %141
  %156 = load ptr, ptr %2, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %156, i32 0, i32 1
  %158 = load i32, ptr %157, align 4, !tbaa !16
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %157, align 4, !tbaa !16
  %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 799)
  %161 = load float, ptr %14, align 4, !tbaa !14
  %162 = fpext float %161 to double
  %163 = load float, ptr %15, align 4, !tbaa !14
  %164 = fpext float %163 to double
  %165 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef -6.000000e+00, double noundef %162, double noundef %164)
  br label %166

166:                                              ; preds = %155, %152
  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
  %167 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %168 = load double, ptr %167, align 16
  %169 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %170 = load double, ptr %169, align 8
  %171 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 0
  %172 = load double, ptr %171, align 16
  %173 = getelementptr inbounds { double, double }, ptr %18, i32 0, i32 1
  %174 = load double, ptr %173, align 8
  %175 = call { double, double } @_ZL7HMM_Mul8HMM_QuatS_(double %168, double %170, double %172, double %174)
  %176 = getelementptr inbounds %union.HMM_Quat, ptr %16, i32 0, i32 0
  %177 = getelementptr inbounds { double, double }, ptr %176, i32 0, i32 0
  %178 = extractvalue { double, double } %175, 0
  store double %178, ptr %177, align 16
  %179 = getelementptr inbounds { double, double }, ptr %176, i32 0, i32 1
  %180 = extractvalue { double, double } %175, 1
  store double %180, ptr %179, align 8
  %181 = load ptr, ptr %2, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %181, i32 0, i32 0
  %183 = load i32, ptr %182, align 4, !tbaa !11
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %182, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %185 = getelementptr inbounds %struct.anon.18, ptr %16, i32 0, i32 0
  %186 = getelementptr inbounds %struct.anon.20, ptr %185, i32 0, i32 0
  %187 = load float, ptr %186, align 16, !tbaa !10
  store float %187, ptr %19, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %188 = load float, ptr %19, align 4, !tbaa !14
  %189 = fsub float %188, 2.400000e+01
  store float %189, ptr %20, align 4, !tbaa !14
  %190 = load float, ptr %20, align 4, !tbaa !14
  %191 = fcmp olt float %190, 0xBE80000000000000
  br i1 %191, label %195, label %192

192:                                              ; preds = %166
  %193 = load float, ptr %20, align 4, !tbaa !14
  %194 = fcmp olt float 0x3E80000000000000, %193
  br i1 %194, label %195, label %206

195:                                              ; preds = %192, %166
  %196 = load ptr, ptr %2, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %196, i32 0, i32 1
  %198 = load i32, ptr %197, align 4, !tbaa !16
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %197, align 4, !tbaa !16
  %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 804)
  %201 = load float, ptr %19, align 4, !tbaa !14
  %202 = fpext float %201 to double
  %203 = load float, ptr %20, align 4, !tbaa !14
  %204 = fpext float %203 to double
  %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.400000e+01, double noundef %202, double noundef %204)
  br label %206

206:                                              ; preds = %195, %192
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  %207 = load ptr, ptr %2, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %207, i32 0, i32 0
  %209 = load i32, ptr %208, align 4, !tbaa !11
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %208, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %211 = getelementptr inbounds %struct.anon.18, ptr %16, i32 0, i32 0
  %212 = getelementptr inbounds %struct.anon.20, ptr %211, i32 0, i32 1
  %213 = load float, ptr %212, align 4, !tbaa !10
  store float %213, ptr %21, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %214 = load float, ptr %21, align 4, !tbaa !14
  %215 = fsub float %214, 4.800000e+01
  store float %215, ptr %22, align 4, !tbaa !14
  %216 = load float, ptr %22, align 4, !tbaa !14
  %217 = fcmp olt float %216, 0xBE80000000000000
  br i1 %217, label %221, label %218

218:                                              ; preds = %206
  %219 = load float, ptr %22, align 4, !tbaa !14
  %220 = fcmp olt float 0x3E80000000000000, %219
  br i1 %220, label %221, label %232

221:                                              ; preds = %218, %206
  %222 = load ptr, ptr %2, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %222, i32 0, i32 1
  %224 = load i32, ptr %223, align 4, !tbaa !16
  %225 = add nsw i32 %224, 1
  store i32 %225, ptr %223, align 4, !tbaa !16
  %226 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 805)
  %227 = load float, ptr %21, align 4, !tbaa !14
  %228 = fpext float %227 to double
  %229 = load float, ptr %22, align 4, !tbaa !14
  %230 = fpext float %229 to double
  %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.800000e+01, double noundef %228, double noundef %230)
  br label %232

232:                                              ; preds = %221, %218
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  %233 = load ptr, ptr %2, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %233, i32 0, i32 0
  %235 = load i32, ptr %234, align 4, !tbaa !11
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %234, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %237 = getelementptr inbounds %struct.anon.18, ptr %16, i32 0, i32 0
  %238 = getelementptr inbounds %struct.anon.20, ptr %237, i32 0, i32 2
  %239 = load float, ptr %238, align 8, !tbaa !10
  store float %239, ptr %23, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %240 = load float, ptr %23, align 4, !tbaa !14
  %241 = fsub float %240, 4.800000e+01
  store float %241, ptr %24, align 4, !tbaa !14
  %242 = load float, ptr %24, align 4, !tbaa !14
  %243 = fcmp olt float %242, 0xBE80000000000000
  br i1 %243, label %247, label %244

244:                                              ; preds = %232
  %245 = load float, ptr %24, align 4, !tbaa !14
  %246 = fcmp olt float 0x3E80000000000000, %245
  br i1 %246, label %247, label %258

247:                                              ; preds = %244, %232
  %248 = load ptr, ptr %2, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %248, i32 0, i32 1
  %250 = load i32, ptr %249, align 4, !tbaa !16
  %251 = add nsw i32 %250, 1
  store i32 %251, ptr %249, align 4, !tbaa !16
  %252 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 806)
  %253 = load float, ptr %23, align 4, !tbaa !14
  %254 = fpext float %253 to double
  %255 = load float, ptr %24, align 4, !tbaa !14
  %256 = fpext float %255 to double
  %257 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.800000e+01, double noundef %254, double noundef %256)
  br label %258

258:                                              ; preds = %247, %244
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  %259 = load ptr, ptr %2, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %259, i32 0, i32 0
  %261 = load i32, ptr %260, align 4, !tbaa !11
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %260, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %263 = getelementptr inbounds %struct.anon.18, ptr %16, i32 0, i32 1
  %264 = load float, ptr %263, align 4, !tbaa !10
  store float %264, ptr %25, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %265 = load float, ptr %25, align 4, !tbaa !14
  %266 = fsub float %265, -6.000000e+00
  store float %266, ptr %26, align 4, !tbaa !14
  %267 = load float, ptr %26, align 4, !tbaa !14
  %268 = fcmp olt float %267, 0xBE80000000000000
  br i1 %268, label %272, label %269

269:                                              ; preds = %258
  %270 = load float, ptr %26, align 4, !tbaa !14
  %271 = fcmp olt float 0x3E80000000000000, %270
  br i1 %271, label %272, label %283

272:                                              ; preds = %269, %258
  %273 = load ptr, ptr %2, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %273, i32 0, i32 1
  %275 = load i32, ptr %274, align 4, !tbaa !16
  %276 = add nsw i32 %275, 1
  store i32 %276, ptr %274, align 4, !tbaa !16
  %277 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 807)
  %278 = load float, ptr %25, align 4, !tbaa !14
  %279 = fpext float %278 to double
  %280 = load float, ptr %26, align 4, !tbaa !14
  %281 = fpext float %280 to double
  %282 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef -6.000000e+00, double noundef %279, double noundef %281)
  br label %283

283:                                              ; preds = %272, %269
  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
  %284 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %285 = load double, ptr %284, align 16
  %286 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %287 = load double, ptr %286, align 8
  %288 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %289 = load double, ptr %288, align 16
  %290 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %291 = load double, ptr %290, align 8
  %292 = call { double, double } @_Zml8HMM_QuatS_(double %285, double %287, double %289, double %291)
  %293 = getelementptr inbounds %union.HMM_Quat, ptr %27, 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 !11
  %301 = add nsw i32 %300, 1
  store i32 %301, ptr %299, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %302 = getelementptr inbounds %struct.anon.18, ptr %27, i32 0, i32 0
  %303 = getelementptr inbounds %struct.anon.20, ptr %302, i32 0, i32 0
  %304 = load float, ptr %303, align 16, !tbaa !10
  store float %304, ptr %30, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %305 = load float, ptr %30, align 4, !tbaa !14
  %306 = fsub float %305, 2.400000e+01
  store float %306, ptr %31, align 4, !tbaa !14
  %307 = load float, ptr %31, align 4, !tbaa !14
  %308 = fcmp olt float %307, 0xBE80000000000000
  br i1 %308, label %312, label %309

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

312:                                              ; preds = %309, %283
  %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 813)
  %318 = load float, ptr %30, align 4, !tbaa !14
  %319 = fpext float %318 to double
  %320 = load float, ptr %31, align 4, !tbaa !14
  %321 = fpext float %320 to double
  %322 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 2.400000e+01, double noundef %319, double noundef %321)
  br label %323

323:                                              ; preds = %312, %309
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #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 !11
  %327 = add nsw i32 %326, 1
  store i32 %327, ptr %325, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %328 = getelementptr inbounds %struct.anon.18, ptr %27, i32 0, i32 0
  %329 = getelementptr inbounds %struct.anon.20, ptr %328, i32 0, i32 1
  %330 = load float, ptr %329, align 4, !tbaa !10
  store float %330, ptr %32, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %331 = load float, ptr %32, align 4, !tbaa !14
  %332 = fsub float %331, 4.800000e+01
  store float %332, ptr %33, align 4, !tbaa !14
  %333 = load float, ptr %33, align 4, !tbaa !14
  %334 = fcmp olt float %333, 0xBE80000000000000
  br i1 %334, label %338, label %335

335:                                              ; preds = %323
  %336 = load float, ptr %33, align 4, !tbaa !14
  %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 814)
  %344 = load float, ptr %32, align 4, !tbaa !14
  %345 = fpext float %344 to double
  %346 = load float, ptr %33, align 4, !tbaa !14
  %347 = fpext float %346 to double
  %348 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.800000e+01, double noundef %345, double noundef %347)
  br label %349

349:                                              ; preds = %338, %335
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #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 !11
  %353 = add nsw i32 %352, 1
  store i32 %353, ptr %351, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %354 = getelementptr inbounds %struct.anon.18, ptr %27, i32 0, i32 0
  %355 = getelementptr inbounds %struct.anon.20, ptr %354, i32 0, i32 2
  %356 = load float, ptr %355, align 8, !tbaa !10
  store float %356, ptr %34, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  %357 = load float, ptr %34, align 4, !tbaa !14
  %358 = fsub float %357, 4.800000e+01
  store float %358, ptr %35, align 4, !tbaa !14
  %359 = load float, ptr %35, align 4, !tbaa !14
  %360 = fcmp olt float %359, 0xBE80000000000000
  br i1 %360, label %364, label %361

361:                                              ; preds = %349
  %362 = load float, ptr %35, align 4, !tbaa !14
  %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 815)
  %370 = load float, ptr %34, align 4, !tbaa !14
  %371 = fpext float %370 to double
  %372 = load float, ptr %35, align 4, !tbaa !14
  %373 = fpext float %372 to double
  %374 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 4.800000e+01, double noundef %371, double noundef %373)
  br label %375

375:                                              ; preds = %364, %361
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #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 !11
  %379 = add nsw i32 %378, 1
  store i32 %379, ptr %377, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %380 = getelementptr inbounds %struct.anon.18, ptr %27, i32 0, i32 1
  %381 = load float, ptr %380, align 4, !tbaa !10
  store float %381, ptr %36, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %382 = load float, ptr %36, align 4, !tbaa !14
  %383 = fsub float %382, -6.000000e+00
  store float %383, ptr %37, align 4, !tbaa !14
  %384 = load float, ptr %37, align 4, !tbaa !14
  %385 = fcmp olt float %384, 0xBE80000000000000
  br i1 %385, label %389, label %386

386:                                              ; preds = %375
  %387 = load float, ptr %37, align 4, !tbaa !14
  %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 816)
  %395 = load float, ptr %36, align 4, !tbaa !14
  %396 = fpext float %395 to double
  %397 = load float, ptr %37, align 4, !tbaa !14
  %398 = fpext float %397 to double
  %399 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef -6.000000e+00, double noundef %396, double noundef %398)
  br label %400

400:                                              ; preds = %389, %386
  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.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 } @_ZL7HMM_Mul8HMM_QuatS_(double, double, double, double) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_Zml8HMM_QuatS_(double, double, 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.18 = external hidden unnamed_addr constant [34 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: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL8HMM_MulQ8HMM_QuatS_(double, double, double, double) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z45_hmt_test_Multiplication_QuaternionQuaternionP21hmt_testresult_struct(ptr nocapture noundef %0) local_unnamed_addr #2 {
  %2 = 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)
  %3 = extractvalue { double, double } %2, 0
  %4 = extractvalue { double, double } %2, 1
  %5 = tail call { double, double } @_ZL5HMM_Qffff(float noundef 5.000000e+00, float noundef 6.000000e+00, float noundef 7.000000e+00, float noundef 8.000000e+00)
  %6 = extractvalue { double, double } %5, 0
  %7 = extractvalue { double, double } %5, 1
  %8 = tail call { double, double } @_ZL8HMM_MulQ8HMM_QuatS_(double %3, double %4, 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 = fadd float %15, -2.400000e+01
  %17 = tail call float @llvm.fabs.f32(float %16)
  %or.cond = fcmp ogt float %17, 0x3E80000000000000
  %18 = lshr i64 %13, 32
  %19 = trunc nuw i64 %18 to i32
  %20 = bitcast i32 %19 to float
  %21 = bitcast double %10 to i64
  %22 = trunc i64 %21 to i32
  %23 = bitcast i32 %22 to float
  %24 = lshr i64 %21, 32
  %25 = trunc nuw i64 %24 to i32
  %26 = bitcast i32 %25 to float
  br i1 %or.cond, label %27, label %35

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

35:                                               ; preds = %1, %27
  %36 = phi i32 [ %12, %1 ], [ %.pre, %27 ]
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %0, align 4, !tbaa !5
  %38 = fadd float %20, -4.800000e+01
  %39 = tail call float @llvm.fabs.f32(float %38)
  %or.cond3 = fcmp ogt float %39, 0x3E80000000000000
  br i1 %or.cond3, label %40, label %48

40:                                               ; preds = %35
  %41 = getelementptr inbounds i8, ptr %0, i64 4
  %42 = load i32, ptr %41, align 4, !tbaa !10
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %41, align 4, !tbaa !10
  %44 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 797)
  %45 = fpext float %20 to double
  %46 = fpext float %38 to double
  %47 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.800000e+01, double noundef %45, double noundef %46)
  %.pre134 = load i32, ptr %0, align 4, !tbaa !5
  br label %48

48:                                               ; preds = %35, %40
  %49 = phi i32 [ %37, %35 ], [ %.pre134, %40 ]
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %0, align 4, !tbaa !5
  %51 = fadd float %23, -4.800000e+01
  %52 = tail call float @llvm.fabs.f32(float %51)
  %or.cond5 = fcmp ogt float %52, 0x3E80000000000000
  br i1 %or.cond5, label %53, label %61

53:                                               ; preds = %48
  %54 = getelementptr inbounds i8, ptr %0, i64 4
  %55 = load i32, ptr %54, align 4, !tbaa !10
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %54, align 4, !tbaa !10
  %57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 798)
  %58 = fpext float %23 to double
  %59 = fpext float %51 to double
  %60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.800000e+01, double noundef %58, double noundef %59)
  %.pre135 = load i32, ptr %0, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %48, %53
  %62 = phi i32 [ %50, %48 ], [ %.pre135, %53 ]
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %0, align 4, !tbaa !5
  %64 = fadd float %26, 6.000000e+00
  %65 = tail call float @llvm.fabs.f32(float %64)
  %or.cond7 = fcmp ogt float %65, 0x3E80000000000000
  br i1 %or.cond7, label %66, label %74

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

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

94:                                               ; preds = %74
  %95 = getelementptr inbounds i8, ptr %0, i64 4
  %96 = load i32, ptr %95, align 4, !tbaa !10
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %95, align 4, !tbaa !10
  %98 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 804)
  %99 = fpext float %82 to double
  %100 = fpext float %83 to double
  %101 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 2.400000e+01, double noundef %99, double noundef %100)
  %.pre136 = load i32, ptr %0, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %74, %94
  %103 = phi i32 [ %79, %74 ], [ %.pre136, %94 ]
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %0, align 4, !tbaa !5
  %105 = fadd float %87, -4.800000e+01
  %106 = tail call float @llvm.fabs.f32(float %105)
  %or.cond11 = fcmp ogt float %106, 0x3E80000000000000
  br i1 %or.cond11, label %107, label %115

107:                                              ; preds = %102
  %108 = getelementptr inbounds i8, ptr %0, i64 4
  %109 = load i32, ptr %108, align 4, !tbaa !10
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %108, align 4, !tbaa !10
  %111 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 805)
  %112 = fpext float %87 to double
  %113 = fpext float %105 to double
  %114 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.800000e+01, double noundef %112, double noundef %113)
  %.pre137 = load i32, ptr %0, align 4, !tbaa !5
  br label %115

115:                                              ; preds = %102, %107
  %116 = phi i32 [ %104, %102 ], [ %.pre137, %107 ]
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %0, align 4, !tbaa !5
  %118 = fadd float %90, -4.800000e+01
  %119 = tail call float @llvm.fabs.f32(float %118)
  %or.cond13 = fcmp ogt float %119, 0x3E80000000000000
  br i1 %or.cond13, label %120, label %128

120:                                              ; preds = %115
  %121 = getelementptr inbounds i8, ptr %0, i64 4
  %122 = load i32, ptr %121, align 4, !tbaa !10
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %121, align 4, !tbaa !10
  %124 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 806)
  %125 = fpext float %90 to double
  %126 = fpext float %118 to double
  %127 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.800000e+01, double noundef %125, double noundef %126)
  %.pre138 = load i32, ptr %0, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %115, %120
  %129 = phi i32 [ %117, %115 ], [ %.pre138, %120 ]
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %0, align 4, !tbaa !5
  %131 = fadd float %93, 6.000000e+00
  %132 = tail call float @llvm.fabs.f32(float %131)
  %or.cond15 = fcmp ogt float %132, 0x3E80000000000000
  br i1 %or.cond15, label %133, label %141

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

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

161:                                              ; preds = %141
  %162 = getelementptr inbounds i8, ptr %0, i64 4
  %163 = load i32, ptr %162, align 4, !tbaa !10
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %162, align 4, !tbaa !10
  %165 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 813)
  %166 = fpext float %149 to double
  %167 = fpext float %150 to double
  %168 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 2.400000e+01, double noundef %166, double noundef %167)
  %.pre139 = load i32, ptr %0, align 4, !tbaa !5
  br label %169

169:                                              ; preds = %141, %161
  %170 = phi i32 [ %146, %141 ], [ %.pre139, %161 ]
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %0, align 4, !tbaa !5
  %172 = fadd float %154, -4.800000e+01
  %173 = tail call float @llvm.fabs.f32(float %172)
  %or.cond19 = fcmp ogt float %173, 0x3E80000000000000
  br i1 %or.cond19, label %174, label %182

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 814)
  %179 = fpext float %154 to double
  %180 = fpext float %172 to double
  %181 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.800000e+01, double noundef %179, double noundef %180)
  %.pre140 = load i32, ptr %0, align 4, !tbaa !5
  br label %182

182:                                              ; preds = %169, %174
  %183 = phi i32 [ %171, %169 ], [ %.pre140, %174 ]
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %0, align 4, !tbaa !5
  %185 = fadd float %157, -4.800000e+01
  %186 = tail call float @llvm.fabs.f32(float %185)
  %or.cond21 = fcmp ogt float %186, 0x3E80000000000000
  br i1 %or.cond21, label %187, label %195

187:                                              ; preds = %182
  %188 = getelementptr inbounds i8, ptr %0, i64 4
  %189 = load i32, ptr %188, align 4, !tbaa !10
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %188, align 4, !tbaa !10
  %191 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 815)
  %192 = fpext float %157 to double
  %193 = fpext float %185 to double
  %194 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 4.800000e+01, double noundef %192, double noundef %193)
  %.pre141 = load i32, ptr %0, align 4, !tbaa !5
  br label %195

195:                                              ; preds = %182, %187
  %196 = phi i32 [ %184, %182 ], [ %.pre141, %187 ]
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %0, align 4, !tbaa !5
  %198 = fadd float %160, 6.000000e+00
  %199 = tail call float @llvm.fabs.f32(float %198)
  %or.cond23 = fcmp ogt float %199, 0x3E80000000000000
  br i1 %or.cond23, label %200, label %208

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

208:                                              ; preds = %195, %200
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_Zml8HMM_QuatS_(double, double, 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