; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z32_hmt_test_Transformations_RotateP21hmt_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_Mat4 = type { [4 x %union.HMM_Vec4] }
%union.HMM_Vec4 = type { <4 x float> }
%union.HMM_Vec3 = type { %struct.anon.3 }
%struct.anon.3 = type { float, float, float }
%struct.hmt_testresult_struct = type { i32, i32 }
%struct.anon.10 = type { %union.anon, float }
%union.anon = type { %union.HMM_Vec3 }
%struct.anon.11 = type { float, float, float }

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { <2 x float>, float } @_ZL6HMM_V3fff(float noundef, float noundef, float noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL7HMM_V4V8HMM_Vec3f(<2 x float>, float, float noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL13HMM_Rotate_RHf8HMM_Vec3(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, float noundef, <2 x float>, float) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL13HMM_Rotate_LHf8HMM_Vec3(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, float noundef, <2 x float>, float) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL11HMM_MulM4V48HMM_Mat48HMM_Vec4(ptr noundef byval(%union.HMM_Mat4) align 16, double, double) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z32_hmt_test_Transformations_RotateP21hmt_testresult_struct(ptr noundef %0) #6 {
  %2 = alloca ptr, align 8
  %3 = alloca %union.HMM_Vec3, align 4
  %4 = alloca { <2 x float>, float }, align 8
  %5 = alloca %union.HMM_Mat4, align 16
  %6 = alloca %union.HMM_Vec3, align 4
  %7 = alloca { <2 x float>, float }, align 8
  %8 = alloca { <2 x float>, float }, align 4
  %9 = alloca %union.HMM_Vec4, align 16
  %10 = alloca %union.HMM_Mat4, align 16
  %11 = alloca %union.HMM_Vec4, align 16
  %12 = alloca %union.HMM_Vec3, align 4
  %13 = alloca { <2 x float>, float }, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %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 %union.HMM_Mat4, align 16
  %23 = alloca %union.HMM_Vec3, align 4
  %24 = alloca { <2 x float>, float }, align 8
  %25 = alloca { <2 x float>, float }, align 4
  %26 = alloca %union.HMM_Vec4, align 16
  %27 = alloca %union.HMM_Mat4, align 16
  %28 = alloca %union.HMM_Vec4, align 16
  %29 = alloca %union.HMM_Vec3, align 4
  %30 = alloca { <2 x float>, float }, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca %union.HMM_Mat4, align 16
  %40 = alloca %union.HMM_Vec3, align 4
  %41 = alloca { <2 x float>, float }, align 8
  %42 = alloca { <2 x float>, float }, align 4
  %43 = alloca %union.HMM_Vec4, align 16
  %44 = alloca %union.HMM_Mat4, align 16
  %45 = alloca %union.HMM_Vec4, align 16
  %46 = alloca %union.HMM_Vec3, align 4
  %47 = alloca { <2 x float>, 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
  %53 = alloca float, align 4
  %54 = alloca float, align 4
  %55 = alloca float, align 4
  %56 = alloca %union.HMM_Mat4, align 16
  %57 = alloca %union.HMM_Vec3, align 4
  %58 = alloca { <2 x float>, float }, align 8
  %59 = alloca { <2 x float>, float }, align 4
  %60 = alloca %union.HMM_Vec4, align 16
  %61 = alloca %union.HMM_Mat4, align 16
  %62 = alloca %union.HMM_Vec4, align 16
  %63 = alloca %union.HMM_Vec3, align 4
  %64 = alloca { <2 x float>, float }, align 4
  %65 = alloca float, align 4
  %66 = alloca float, align 4
  %67 = alloca float, align 4
  %68 = alloca float, align 4
  %69 = alloca float, align 4
  %70 = alloca float, align 4
  %71 = alloca float, align 4
  %72 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %3) #7
  %73 = call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %74 = getelementptr inbounds %union.HMM_Vec3, ptr %3, i32 0, i32 0
  store { <2 x float>, float } %73, ptr %4, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %74, ptr align 8 %4, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %5) #7
  %75 = call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %76 = getelementptr inbounds %union.HMM_Vec3, ptr %6, i32 0, i32 0
  store { <2 x float>, float } %75, ptr %7, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 8 %7, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %6, i64 12, i1 false)
  %77 = getelementptr inbounds { <2 x float>, float }, ptr %8, i32 0, i32 0
  %78 = load <2 x float>, ptr %77, align 4
  %79 = getelementptr inbounds { <2 x float>, float }, ptr %8, i32 0, i32 1
  %80 = load float, ptr %79, align 4
  call void @_ZL13HMM_Rotate_RHf8HMM_Vec3(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %5, float noundef 0x3FF921FB60000000, <2 x float> %78, float %80)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 %5, i64 64, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %3, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %12, i64 12, i1 false)
  %81 = getelementptr inbounds { <2 x float>, float }, ptr %13, i32 0, i32 0
  %82 = load <2 x float>, ptr %81, align 4
  %83 = getelementptr inbounds { <2 x float>, float }, ptr %13, i32 0, i32 1
  %84 = load float, ptr %83, align 4
  %85 = call { double, double } @_ZL7HMM_V4V8HMM_Vec3f(<2 x float> %82, float %84, float noundef 1.000000e+00)
  %86 = getelementptr inbounds %union.HMM_Vec4, ptr %11, i32 0, i32 0
  %87 = getelementptr inbounds { double, double }, ptr %86, i32 0, i32 0
  %88 = extractvalue { double, double } %85, 0
  store double %88, ptr %87, align 16
  %89 = getelementptr inbounds { double, double }, ptr %86, i32 0, i32 1
  %90 = extractvalue { double, double } %85, 1
  store double %90, ptr %89, align 8
  %91 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 0
  %92 = load double, ptr %91, align 16
  %93 = getelementptr inbounds { double, double }, ptr %11, i32 0, i32 1
  %94 = load double, ptr %93, align 8
  %95 = call { double, double } @_ZL11HMM_MulM4V48HMM_Mat48HMM_Vec4(ptr noundef byval(%union.HMM_Mat4) align 16 %10, double %92, double %94)
  %96 = getelementptr inbounds %union.HMM_Vec4, ptr %9, i32 0, i32 0
  %97 = getelementptr inbounds { double, double }, ptr %96, i32 0, i32 0
  %98 = extractvalue { double, double } %95, 0
  store double %98, ptr %97, align 16
  %99 = getelementptr inbounds { double, double }, ptr %96, i32 0, i32 1
  %100 = extractvalue { double, double } %95, 1
  store double %100, ptr %99, align 8
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %101, i32 0, i32 0
  %103 = load i32, ptr %102, align 4, !tbaa !12
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %102, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %105 = getelementptr inbounds %struct.anon.10, ptr %9, i32 0, i32 0
  %106 = getelementptr inbounds %struct.anon.11, ptr %105, i32 0, i32 0
  %107 = load float, ptr %106, align 16, !tbaa !10
  store float %107, ptr %14, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %108 = load float, ptr %14, align 4, !tbaa !15
  %109 = fsub float %108, 1.000000e+00
  store float %109, ptr %15, align 4, !tbaa !15
  %110 = load float, ptr %15, align 4, !tbaa !15
  %111 = fcmp olt float %110, 0xBF50624DE0000000
  br i1 %111, label %115, label %112

112:                                              ; preds = %1
  %113 = load float, ptr %15, align 4, !tbaa !15
  %114 = fcmp olt float 0x3F50624DE0000000, %113
  br i1 %114, label %115, label %124

115:                                              ; preds = %112, %1
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %116, i32 0, i32 1
  %118 = load i32, ptr %117, align 4, !tbaa !17
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %117, align 4, !tbaa !17
  %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 22)
  %121 = load float, ptr %14, align 4, !tbaa !15
  %122 = fpext float %121 to double
  %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %122)
  br label %124

124:                                              ; preds = %115, %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  %125 = load ptr, ptr %2, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %125, i32 0, i32 0
  %127 = load i32, ptr %126, align 4, !tbaa !12
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %126, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %129 = getelementptr inbounds %struct.anon.10, ptr %9, i32 0, i32 0
  %130 = getelementptr inbounds %struct.anon.11, ptr %129, i32 0, i32 1
  %131 = load float, ptr %130, align 4, !tbaa !10
  store float %131, ptr %16, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %132 = load float, ptr %16, align 4, !tbaa !15
  %133 = fsub float %132, -1.000000e+00
  store float %133, ptr %17, align 4, !tbaa !15
  %134 = load float, ptr %17, align 4, !tbaa !15
  %135 = fcmp olt float %134, 0xBF50624DE0000000
  br i1 %135, label %139, label %136

136:                                              ; preds = %124
  %137 = load float, ptr %17, align 4, !tbaa !15
  %138 = fcmp olt float 0x3F50624DE0000000, %137
  br i1 %138, label %139, label %148

139:                                              ; preds = %136, %124
  %140 = load ptr, ptr %2, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %140, i32 0, i32 1
  %142 = load i32, ptr %141, align 4, !tbaa !17
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %141, align 4, !tbaa !17
  %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 23)
  %145 = load float, ptr %16, align 4, !tbaa !15
  %146 = fpext float %145 to double
  %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef -1.000000e+00, double noundef %146)
  br label %148

148:                                              ; preds = %139, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  %149 = load ptr, ptr %2, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %149, i32 0, i32 0
  %151 = load i32, ptr %150, align 4, !tbaa !12
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %150, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %153 = getelementptr inbounds %struct.anon.10, ptr %9, i32 0, i32 0
  %154 = getelementptr inbounds %struct.anon.11, ptr %153, i32 0, i32 2
  %155 = load float, ptr %154, align 8, !tbaa !10
  store float %155, ptr %18, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %156 = load float, ptr %18, align 4, !tbaa !15
  %157 = fsub float %156, 1.000000e+00
  store float %157, ptr %19, align 4, !tbaa !15
  %158 = load float, ptr %19, align 4, !tbaa !15
  %159 = fcmp olt float %158, 0xBF50624DE0000000
  br i1 %159, label %163, label %160

160:                                              ; preds = %148
  %161 = load float, ptr %19, align 4, !tbaa !15
  %162 = fcmp olt float 0x3F50624DE0000000, %161
  br i1 %162, label %163, label %172

163:                                              ; preds = %160, %148
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %164, i32 0, i32 1
  %166 = load i32, ptr %165, align 4, !tbaa !17
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %165, align 4, !tbaa !17
  %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 24)
  %169 = load float, ptr %18, align 4, !tbaa !15
  %170 = fpext float %169 to double
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %170)
  br label %172

172:                                              ; preds = %163, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  %173 = load ptr, ptr %2, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %173, i32 0, i32 0
  %175 = load i32, ptr %174, align 4, !tbaa !12
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %174, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %177 = getelementptr inbounds %struct.anon.10, ptr %9, i32 0, i32 1
  %178 = load float, ptr %177, align 4, !tbaa !10
  store float %178, ptr %20, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %179 = load float, ptr %20, align 4, !tbaa !15
  %180 = fsub float %179, 1.000000e+00
  store float %180, ptr %21, align 4, !tbaa !15
  %181 = load float, ptr %21, align 4, !tbaa !15
  %182 = fcmp olt float %181, 0xBF50624DE0000000
  br i1 %182, label %186, label %183

183:                                              ; preds = %172
  %184 = load float, ptr %21, align 4, !tbaa !15
  %185 = fcmp olt float 0x3F50624DE0000000, %184
  br i1 %185, label %186, label %195

186:                                              ; preds = %183, %172
  %187 = load ptr, ptr %2, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %187, i32 0, i32 1
  %189 = load i32, ptr %188, align 4, !tbaa !17
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %188, align 4, !tbaa !17
  %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 25)
  %192 = load float, ptr %20, align 4, !tbaa !15
  %193 = fpext float %192 to double
  %194 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %193)
  br label %195

195:                                              ; preds = %186, %183
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #7
  %196 = call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %197 = getelementptr inbounds %union.HMM_Vec3, ptr %23, i32 0, i32 0
  store { <2 x float>, float } %196, ptr %24, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %197, ptr align 8 %24, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %23, i64 12, i1 false)
  %198 = getelementptr inbounds { <2 x float>, float }, ptr %25, i32 0, i32 0
  %199 = load <2 x float>, ptr %198, align 4
  %200 = getelementptr inbounds { <2 x float>, float }, ptr %25, i32 0, i32 1
  %201 = load float, ptr %200, align 4
  call void @_ZL13HMM_Rotate_RHf8HMM_Vec3(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %22, float noundef 0x3FF921FB60000000, <2 x float> %199, float %201)
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %27, ptr align 16 %22, i64 64, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %3, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %29, i64 12, i1 false)
  %202 = getelementptr inbounds { <2 x float>, float }, ptr %30, i32 0, i32 0
  %203 = load <2 x float>, ptr %202, align 4
  %204 = getelementptr inbounds { <2 x float>, float }, ptr %30, i32 0, i32 1
  %205 = load float, ptr %204, align 4
  %206 = call { double, double } @_ZL7HMM_V4V8HMM_Vec3f(<2 x float> %203, float %205, float noundef 1.000000e+00)
  %207 = getelementptr inbounds %union.HMM_Vec4, ptr %28, i32 0, i32 0
  %208 = getelementptr inbounds { double, double }, ptr %207, i32 0, i32 0
  %209 = extractvalue { double, double } %206, 0
  store double %209, ptr %208, align 16
  %210 = getelementptr inbounds { double, double }, ptr %207, i32 0, i32 1
  %211 = extractvalue { double, double } %206, 1
  store double %211, ptr %210, align 8
  %212 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %213 = load double, ptr %212, align 16
  %214 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %215 = load double, ptr %214, align 8
  %216 = call { double, double } @_ZL11HMM_MulM4V48HMM_Mat48HMM_Vec4(ptr noundef byval(%union.HMM_Mat4) align 16 %27, double %213, double %215)
  %217 = getelementptr inbounds %union.HMM_Vec4, ptr %26, i32 0, i32 0
  %218 = getelementptr inbounds { double, double }, ptr %217, i32 0, i32 0
  %219 = extractvalue { double, double } %216, 0
  store double %219, ptr %218, align 16
  %220 = getelementptr inbounds { double, double }, ptr %217, i32 0, i32 1
  %221 = extractvalue { double, double } %216, 1
  store double %221, ptr %220, align 8
  %222 = load ptr, ptr %2, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %222, i32 0, i32 0
  %224 = load i32, ptr %223, align 4, !tbaa !12
  %225 = add nsw i32 %224, 1
  store i32 %225, ptr %223, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %226 = getelementptr inbounds %struct.anon.10, ptr %26, i32 0, i32 0
  %227 = getelementptr inbounds %struct.anon.11, ptr %226, i32 0, i32 0
  %228 = load float, ptr %227, align 16, !tbaa !10
  store float %228, ptr %31, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  %229 = load float, ptr %31, align 4, !tbaa !15
  %230 = fsub float %229, 1.000000e+00
  store float %230, ptr %32, align 4, !tbaa !15
  %231 = load float, ptr %32, align 4, !tbaa !15
  %232 = fcmp olt float %231, 0xBF50624DE0000000
  br i1 %232, label %236, label %233

233:                                              ; preds = %195
  %234 = load float, ptr %32, align 4, !tbaa !15
  %235 = fcmp olt float 0x3F50624DE0000000, %234
  br i1 %235, label %236, label %245

236:                                              ; preds = %233, %195
  %237 = load ptr, ptr %2, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %237, i32 0, i32 1
  %239 = load i32, ptr %238, align 4, !tbaa !17
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %238, align 4, !tbaa !17
  %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 29)
  %242 = load float, ptr %31, align 4, !tbaa !15
  %243 = fpext float %242 to double
  %244 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %243)
  br label %245

245:                                              ; preds = %236, %233
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  %246 = load ptr, ptr %2, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %246, i32 0, i32 0
  %248 = load i32, ptr %247, align 4, !tbaa !12
  %249 = add nsw i32 %248, 1
  store i32 %249, ptr %247, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  %250 = getelementptr inbounds %struct.anon.10, ptr %26, i32 0, i32 0
  %251 = getelementptr inbounds %struct.anon.11, ptr %250, i32 0, i32 1
  %252 = load float, ptr %251, align 4, !tbaa !10
  store float %252, ptr %33, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  %253 = load float, ptr %33, align 4, !tbaa !15
  %254 = fsub float %253, 1.000000e+00
  store float %254, ptr %34, align 4, !tbaa !15
  %255 = load float, ptr %34, align 4, !tbaa !15
  %256 = fcmp olt float %255, 0xBF50624DE0000000
  br i1 %256, label %260, label %257

257:                                              ; preds = %245
  %258 = load float, ptr %34, align 4, !tbaa !15
  %259 = fcmp olt float 0x3F50624DE0000000, %258
  br i1 %259, label %260, label %269

260:                                              ; preds = %257, %245
  %261 = load ptr, ptr %2, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %261, i32 0, i32 1
  %263 = load i32, ptr %262, align 4, !tbaa !17
  %264 = add nsw i32 %263, 1
  store i32 %264, ptr %262, align 4, !tbaa !17
  %265 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 30)
  %266 = load float, ptr %33, align 4, !tbaa !15
  %267 = fpext float %266 to double
  %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %267)
  br label %269

269:                                              ; preds = %260, %257
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  %270 = load ptr, ptr %2, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %270, i32 0, i32 0
  %272 = load i32, ptr %271, align 4, !tbaa !12
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr %271, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  %274 = getelementptr inbounds %struct.anon.10, ptr %26, i32 0, i32 0
  %275 = getelementptr inbounds %struct.anon.11, ptr %274, i32 0, i32 2
  %276 = load float, ptr %275, align 8, !tbaa !10
  store float %276, ptr %35, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #7
  %277 = load float, ptr %35, align 4, !tbaa !15
  %278 = fsub float %277, -1.000000e+00
  store float %278, ptr %36, align 4, !tbaa !15
  %279 = load float, ptr %36, align 4, !tbaa !15
  %280 = fcmp olt float %279, 0xBF50624DE0000000
  br i1 %280, label %284, label %281

281:                                              ; preds = %269
  %282 = load float, ptr %36, align 4, !tbaa !15
  %283 = fcmp olt float 0x3F50624DE0000000, %282
  br i1 %283, label %284, label %293

284:                                              ; preds = %281, %269
  %285 = load ptr, ptr %2, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %285, i32 0, i32 1
  %287 = load i32, ptr %286, align 4, !tbaa !17
  %288 = add nsw i32 %287, 1
  store i32 %288, ptr %286, align 4, !tbaa !17
  %289 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 31)
  %290 = load float, ptr %35, align 4, !tbaa !15
  %291 = fpext float %290 to double
  %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef -1.000000e+00, double noundef %291)
  br label %293

293:                                              ; preds = %284, %281
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  %294 = load ptr, ptr %2, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %294, i32 0, i32 0
  %296 = load i32, ptr %295, align 4, !tbaa !12
  %297 = add nsw i32 %296, 1
  store i32 %297, ptr %295, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  %298 = getelementptr inbounds %struct.anon.10, ptr %26, i32 0, i32 1
  %299 = load float, ptr %298, align 4, !tbaa !10
  store float %299, ptr %37, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  %300 = load float, ptr %37, align 4, !tbaa !15
  %301 = fsub float %300, 1.000000e+00
  store float %301, ptr %38, align 4, !tbaa !15
  %302 = load float, ptr %38, align 4, !tbaa !15
  %303 = fcmp olt float %302, 0xBF50624DE0000000
  br i1 %303, label %307, label %304

304:                                              ; preds = %293
  %305 = load float, ptr %38, align 4, !tbaa !15
  %306 = fcmp olt float 0x3F50624DE0000000, %305
  br i1 %306, label %307, label %316

307:                                              ; preds = %304, %293
  %308 = load ptr, ptr %2, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %308, i32 0, i32 1
  %310 = load i32, ptr %309, align 4, !tbaa !17
  %311 = add nsw i32 %310, 1
  store i32 %311, ptr %309, align 4, !tbaa !17
  %312 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 32)
  %313 = load float, ptr %37, align 4, !tbaa !15
  %314 = fpext float %313 to double
  %315 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %314)
  br label %316

316:                                              ; preds = %307, %304
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %39) #7
  %317 = call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %318 = getelementptr inbounds %union.HMM_Vec3, ptr %40, i32 0, i32 0
  store { <2 x float>, float } %317, ptr %41, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %318, ptr align 8 %41, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %40, i64 12, i1 false)
  %319 = getelementptr inbounds { <2 x float>, float }, ptr %42, i32 0, i32 0
  %320 = load <2 x float>, ptr %319, align 4
  %321 = getelementptr inbounds { <2 x float>, float }, ptr %42, i32 0, i32 1
  %322 = load float, ptr %321, align 4
  call void @_ZL13HMM_Rotate_RHf8HMM_Vec3(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %39, float noundef 0x3FF921FB60000000, <2 x float> %320, float %322)
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %44, ptr align 16 %39, i64 64, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %3, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %46, i64 12, i1 false)
  %323 = getelementptr inbounds { <2 x float>, float }, ptr %47, i32 0, i32 0
  %324 = load <2 x float>, ptr %323, align 4
  %325 = getelementptr inbounds { <2 x float>, float }, ptr %47, i32 0, i32 1
  %326 = load float, ptr %325, align 4
  %327 = call { double, double } @_ZL7HMM_V4V8HMM_Vec3f(<2 x float> %324, float %326, float noundef 1.000000e+00)
  %328 = getelementptr inbounds %union.HMM_Vec4, ptr %45, i32 0, i32 0
  %329 = getelementptr inbounds { double, double }, ptr %328, i32 0, i32 0
  %330 = extractvalue { double, double } %327, 0
  store double %330, ptr %329, align 16
  %331 = getelementptr inbounds { double, double }, ptr %328, i32 0, i32 1
  %332 = extractvalue { double, double } %327, 1
  store double %332, ptr %331, align 8
  %333 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 0
  %334 = load double, ptr %333, align 16
  %335 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 1
  %336 = load double, ptr %335, align 8
  %337 = call { double, double } @_ZL11HMM_MulM4V48HMM_Mat48HMM_Vec4(ptr noundef byval(%union.HMM_Mat4) align 16 %44, double %334, double %336)
  %338 = getelementptr inbounds %union.HMM_Vec4, ptr %43, i32 0, i32 0
  %339 = getelementptr inbounds { double, double }, ptr %338, i32 0, i32 0
  %340 = extractvalue { double, double } %337, 0
  store double %340, ptr %339, align 16
  %341 = getelementptr inbounds { double, double }, ptr %338, i32 0, i32 1
  %342 = extractvalue { double, double } %337, 1
  store double %342, ptr %341, align 8
  %343 = load ptr, ptr %2, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %343, i32 0, i32 0
  %345 = load i32, ptr %344, align 4, !tbaa !12
  %346 = add nsw i32 %345, 1
  store i32 %346, ptr %344, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  %347 = getelementptr inbounds %struct.anon.10, ptr %43, i32 0, i32 0
  %348 = getelementptr inbounds %struct.anon.11, ptr %347, i32 0, i32 0
  %349 = load float, ptr %348, align 16, !tbaa !10
  store float %349, ptr %48, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #7
  %350 = load float, ptr %48, align 4, !tbaa !15
  %351 = fsub float %350, -1.000000e+00
  store float %351, ptr %49, align 4, !tbaa !15
  %352 = load float, ptr %49, align 4, !tbaa !15
  %353 = fcmp olt float %352, 0xBF50624DE0000000
  br i1 %353, label %357, label %354

354:                                              ; preds = %316
  %355 = load float, ptr %49, align 4, !tbaa !15
  %356 = fcmp olt float 0x3F50624DE0000000, %355
  br i1 %356, label %357, label %366

357:                                              ; preds = %354, %316
  %358 = load ptr, ptr %2, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %358, i32 0, i32 1
  %360 = load i32, ptr %359, align 4, !tbaa !17
  %361 = add nsw i32 %360, 1
  store i32 %361, ptr %359, align 4, !tbaa !17
  %362 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 36)
  %363 = load float, ptr %48, align 4, !tbaa !15
  %364 = fpext float %363 to double
  %365 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef -1.000000e+00, double noundef %364)
  br label %366

366:                                              ; preds = %357, %354
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  %367 = load ptr, ptr %2, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %367, i32 0, i32 0
  %369 = load i32, ptr %368, align 4, !tbaa !12
  %370 = add nsw i32 %369, 1
  store i32 %370, ptr %368, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #7
  %371 = getelementptr inbounds %struct.anon.10, ptr %43, i32 0, i32 0
  %372 = getelementptr inbounds %struct.anon.11, ptr %371, i32 0, i32 1
  %373 = load float, ptr %372, align 4, !tbaa !10
  store float %373, ptr %50, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #7
  %374 = load float, ptr %50, align 4, !tbaa !15
  %375 = fsub float %374, 1.000000e+00
  store float %375, ptr %51, align 4, !tbaa !15
  %376 = load float, ptr %51, align 4, !tbaa !15
  %377 = fcmp olt float %376, 0xBF50624DE0000000
  br i1 %377, label %381, label %378

378:                                              ; preds = %366
  %379 = load float, ptr %51, align 4, !tbaa !15
  %380 = fcmp olt float 0x3F50624DE0000000, %379
  br i1 %380, label %381, label %390

381:                                              ; preds = %378, %366
  %382 = load ptr, ptr %2, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %382, i32 0, i32 1
  %384 = load i32, ptr %383, align 4, !tbaa !17
  %385 = add nsw i32 %384, 1
  store i32 %385, ptr %383, align 4, !tbaa !17
  %386 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 37)
  %387 = load float, ptr %50, align 4, !tbaa !15
  %388 = fpext float %387 to double
  %389 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %388)
  br label %390

390:                                              ; preds = %381, %378
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #7
  %391 = load ptr, ptr %2, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %391, i32 0, i32 0
  %393 = load i32, ptr %392, align 4, !tbaa !12
  %394 = add nsw i32 %393, 1
  store i32 %394, ptr %392, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #7
  %395 = getelementptr inbounds %struct.anon.10, ptr %43, i32 0, i32 0
  %396 = getelementptr inbounds %struct.anon.11, ptr %395, i32 0, i32 2
  %397 = load float, ptr %396, align 8, !tbaa !10
  store float %397, ptr %52, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #7
  %398 = load float, ptr %52, align 4, !tbaa !15
  %399 = fsub float %398, 1.000000e+00
  store float %399, ptr %53, align 4, !tbaa !15
  %400 = load float, ptr %53, align 4, !tbaa !15
  %401 = fcmp olt float %400, 0xBF50624DE0000000
  br i1 %401, label %405, label %402

402:                                              ; preds = %390
  %403 = load float, ptr %53, align 4, !tbaa !15
  %404 = fcmp olt float 0x3F50624DE0000000, %403
  br i1 %404, label %405, label %414

405:                                              ; preds = %402, %390
  %406 = load ptr, ptr %2, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %406, i32 0, i32 1
  %408 = load i32, ptr %407, align 4, !tbaa !17
  %409 = add nsw i32 %408, 1
  store i32 %409, ptr %407, align 4, !tbaa !17
  %410 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 38)
  %411 = load float, ptr %52, align 4, !tbaa !15
  %412 = fpext float %411 to double
  %413 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %412)
  br label %414

414:                                              ; preds = %405, %402
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #7
  %415 = load ptr, ptr %2, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %415, i32 0, i32 0
  %417 = load i32, ptr %416, align 4, !tbaa !12
  %418 = add nsw i32 %417, 1
  store i32 %418, ptr %416, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #7
  %419 = getelementptr inbounds %struct.anon.10, ptr %43, i32 0, i32 1
  %420 = load float, ptr %419, align 4, !tbaa !10
  store float %420, ptr %54, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #7
  %421 = load float, ptr %54, align 4, !tbaa !15
  %422 = fsub float %421, 1.000000e+00
  store float %422, ptr %55, align 4, !tbaa !15
  %423 = load float, ptr %55, align 4, !tbaa !15
  %424 = fcmp olt float %423, 0xBF50624DE0000000
  br i1 %424, label %428, label %425

425:                                              ; preds = %414
  %426 = load float, ptr %55, align 4, !tbaa !15
  %427 = fcmp olt float 0x3F50624DE0000000, %426
  br i1 %427, label %428, label %437

428:                                              ; preds = %425, %414
  %429 = load ptr, ptr %2, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %429, i32 0, i32 1
  %431 = load i32, ptr %430, align 4, !tbaa !17
  %432 = add nsw i32 %431, 1
  store i32 %432, ptr %430, align 4, !tbaa !17
  %433 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 39)
  %434 = load float, ptr %54, align 4, !tbaa !15
  %435 = fpext float %434 to double
  %436 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %435)
  br label %437

437:                                              ; preds = %428, %425
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %56) #7
  %438 = call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %439 = getelementptr inbounds %union.HMM_Vec3, ptr %57, i32 0, i32 0
  store { <2 x float>, float } %438, ptr %58, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %439, ptr align 8 %58, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 4 %57, i64 12, i1 false)
  %440 = getelementptr inbounds { <2 x float>, float }, ptr %59, i32 0, i32 0
  %441 = load <2 x float>, ptr %440, align 4
  %442 = getelementptr inbounds { <2 x float>, float }, ptr %59, i32 0, i32 1
  %443 = load float, ptr %442, align 4
  call void @_ZL13HMM_Rotate_LHf8HMM_Vec3(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %56, float noundef 0x3FF921FB60000000, <2 x float> %441, float %443)
  call void @llvm.lifetime.start.p0(i64 16, ptr %60) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %61, ptr align 16 %56, i64 64, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %3, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %64, ptr align 4 %63, i64 12, i1 false)
  %444 = getelementptr inbounds { <2 x float>, float }, ptr %64, i32 0, i32 0
  %445 = load <2 x float>, ptr %444, align 4
  %446 = getelementptr inbounds { <2 x float>, float }, ptr %64, i32 0, i32 1
  %447 = load float, ptr %446, align 4
  %448 = call { double, double } @_ZL7HMM_V4V8HMM_Vec3f(<2 x float> %445, float %447, float noundef 1.000000e+00)
  %449 = getelementptr inbounds %union.HMM_Vec4, ptr %62, i32 0, i32 0
  %450 = getelementptr inbounds { double, double }, ptr %449, i32 0, i32 0
  %451 = extractvalue { double, double } %448, 0
  store double %451, ptr %450, align 16
  %452 = getelementptr inbounds { double, double }, ptr %449, i32 0, i32 1
  %453 = extractvalue { double, double } %448, 1
  store double %453, ptr %452, align 8
  %454 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 0
  %455 = load double, ptr %454, align 16
  %456 = getelementptr inbounds { double, double }, ptr %62, i32 0, i32 1
  %457 = load double, ptr %456, align 8
  %458 = call { double, double } @_ZL11HMM_MulM4V48HMM_Mat48HMM_Vec4(ptr noundef byval(%union.HMM_Mat4) align 16 %61, double %455, double %457)
  %459 = getelementptr inbounds %union.HMM_Vec4, ptr %60, i32 0, i32 0
  %460 = getelementptr inbounds { double, double }, ptr %459, i32 0, i32 0
  %461 = extractvalue { double, double } %458, 0
  store double %461, ptr %460, align 16
  %462 = getelementptr inbounds { double, double }, ptr %459, i32 0, i32 1
  %463 = extractvalue { double, double } %458, 1
  store double %463, ptr %462, align 8
  %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 !12
  %467 = add nsw i32 %466, 1
  store i32 %467, ptr %465, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #7
  %468 = getelementptr inbounds %struct.anon.10, ptr %60, i32 0, i32 0
  %469 = getelementptr inbounds %struct.anon.11, ptr %468, i32 0, i32 0
  %470 = load float, ptr %469, align 16, !tbaa !10
  store float %470, ptr %65, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #7
  %471 = load float, ptr %65, align 4, !tbaa !15
  %472 = fsub float %471, 1.000000e+00
  store float %472, ptr %66, align 4, !tbaa !15
  %473 = load float, ptr %66, align 4, !tbaa !15
  %474 = fcmp olt float %473, 0xBF50624DE0000000
  br i1 %474, label %478, label %475

475:                                              ; preds = %437
  %476 = load float, ptr %66, align 4, !tbaa !15
  %477 = fcmp olt float 0x3F50624DE0000000, %476
  br i1 %477, label %478, label %487

478:                                              ; preds = %475, %437
  %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 !17
  %482 = add nsw i32 %481, 1
  store i32 %482, ptr %480, align 4, !tbaa !17
  %483 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 43)
  %484 = load float, ptr %65, align 4, !tbaa !15
  %485 = fpext float %484 to double
  %486 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %485)
  br label %487

487:                                              ; preds = %478, %475
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #7
  %488 = load ptr, ptr %2, align 8, !tbaa !5
  %489 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %488, i32 0, i32 0
  %490 = load i32, ptr %489, align 4, !tbaa !12
  %491 = add nsw i32 %490, 1
  store i32 %491, ptr %489, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #7
  %492 = getelementptr inbounds %struct.anon.10, ptr %60, i32 0, i32 0
  %493 = getelementptr inbounds %struct.anon.11, ptr %492, i32 0, i32 1
  %494 = load float, ptr %493, align 4, !tbaa !10
  store float %494, ptr %67, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #7
  %495 = load float, ptr %67, align 4, !tbaa !15
  %496 = fsub float %495, -1.000000e+00
  store float %496, ptr %68, align 4, !tbaa !15
  %497 = load float, ptr %68, align 4, !tbaa !15
  %498 = fcmp olt float %497, 0xBF50624DE0000000
  br i1 %498, label %502, label %499

499:                                              ; preds = %487
  %500 = load float, ptr %68, align 4, !tbaa !15
  %501 = fcmp olt float 0x3F50624DE0000000, %500
  br i1 %501, label %502, label %511

502:                                              ; preds = %499, %487
  %503 = load ptr, ptr %2, align 8, !tbaa !5
  %504 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %503, i32 0, i32 1
  %505 = load i32, ptr %504, align 4, !tbaa !17
  %506 = add nsw i32 %505, 1
  store i32 %506, ptr %504, align 4, !tbaa !17
  %507 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 44)
  %508 = load float, ptr %67, align 4, !tbaa !15
  %509 = fpext float %508 to double
  %510 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef -1.000000e+00, double noundef %509)
  br label %511

511:                                              ; preds = %502, %499
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #7
  %512 = load ptr, ptr %2, align 8, !tbaa !5
  %513 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %512, i32 0, i32 0
  %514 = load i32, ptr %513, align 4, !tbaa !12
  %515 = add nsw i32 %514, 1
  store i32 %515, ptr %513, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #7
  %516 = getelementptr inbounds %struct.anon.10, ptr %60, i32 0, i32 0
  %517 = getelementptr inbounds %struct.anon.11, ptr %516, i32 0, i32 2
  %518 = load float, ptr %517, align 8, !tbaa !10
  store float %518, ptr %69, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #7
  %519 = load float, ptr %69, align 4, !tbaa !15
  %520 = fsub float %519, 1.000000e+00
  store float %520, ptr %70, align 4, !tbaa !15
  %521 = load float, ptr %70, align 4, !tbaa !15
  %522 = fcmp olt float %521, 0xBF50624DE0000000
  br i1 %522, label %526, label %523

523:                                              ; preds = %511
  %524 = load float, ptr %70, align 4, !tbaa !15
  %525 = fcmp olt float 0x3F50624DE0000000, %524
  br i1 %525, label %526, label %535

526:                                              ; preds = %523, %511
  %527 = load ptr, ptr %2, align 8, !tbaa !5
  %528 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %527, i32 0, i32 1
  %529 = load i32, ptr %528, align 4, !tbaa !17
  %530 = add nsw i32 %529, 1
  store i32 %530, ptr %528, align 4, !tbaa !17
  %531 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 45)
  %532 = load float, ptr %69, align 4, !tbaa !15
  %533 = fpext float %532 to double
  %534 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %533)
  br label %535

535:                                              ; preds = %526, %523
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #7
  %536 = load ptr, ptr %2, align 8, !tbaa !5
  %537 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %536, i32 0, i32 0
  %538 = load i32, ptr %537, align 4, !tbaa !12
  %539 = add nsw i32 %538, 1
  store i32 %539, ptr %537, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #7
  %540 = getelementptr inbounds %struct.anon.10, ptr %60, i32 0, i32 1
  %541 = load float, ptr %540, align 4, !tbaa !10
  store float %541, ptr %71, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #7
  %542 = load float, ptr %71, align 4, !tbaa !15
  %543 = fsub float %542, 1.000000e+00
  store float %543, ptr %72, align 4, !tbaa !15
  %544 = load float, ptr %72, align 4, !tbaa !15
  %545 = fcmp olt float %544, 0xBF50624DE0000000
  br i1 %545, label %549, label %546

546:                                              ; preds = %535
  %547 = load float, ptr %72, align 4, !tbaa !15
  %548 = fcmp olt float 0x3F50624DE0000000, %547
  br i1 %548, label %549, label %558

549:                                              ; preds = %546, %535
  %550 = load ptr, ptr %2, align 8, !tbaa !5
  %551 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %550, i32 0, i32 1
  %552 = load i32, ptr %551, align 4, !tbaa !17
  %553 = add nsw i32 %552, 1
  store i32 %553, ptr %551, align 4, !tbaa !17
  %554 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 46)
  %555 = load float, ptr %71, align 4, !tbaa !15
  %556 = fpext float %555 to double
  %557 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %556)
  br label %558

558:                                              ; preds = %549, %546
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %3) #7
  ret void
}

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"="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"="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 #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 64, !10}
!10 = !{!7, !7, i64 0}
!11 = !{i64 0, i64 12, !10}
!12 = !{!13, !14, i64 0}
!13 = !{!"_ZTS21hmt_testresult_struct", !14, i64 0, !14, i64 4}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!13, !14, 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_Mat4 = type { [4 x %union.HMM_Vec4] }
%union.HMM_Vec4 = type { <4 x float> }

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

; Function Attrs: 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 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: 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 #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { <2 x float>, float } @_ZL6HMM_V3fff(float noundef, float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL7HMM_V4V8HMM_Vec3f(<2 x float>, float, float noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL13HMM_Rotate_RHf8HMM_Vec3(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, float noundef, <2 x float>, float) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL13HMM_Rotate_LHf8HMM_Vec3(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, float noundef, <2 x float>, float) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL11HMM_MulM4V48HMM_Mat48HMM_Vec4(ptr noundef byval(%union.HMM_Mat4) align 16, double, double) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z32_hmt_test_Transformations_RotateP21hmt_testresult_struct(ptr nocapture noundef %0) local_unnamed_addr #6 {
  %2 = alloca %union.HMM_Mat4, align 16
  %3 = alloca %union.HMM_Mat4, align 16
  %4 = alloca %union.HMM_Mat4, align 16
  %5 = alloca %union.HMM_Mat4, align 16
  %6 = alloca %union.HMM_Mat4, align 16
  %7 = alloca %union.HMM_Mat4, align 16
  %8 = alloca %union.HMM_Mat4, align 16
  %9 = alloca %union.HMM_Mat4, align 16
  %10 = tail call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %.fca.0.extract158 = extractvalue { <2 x float>, float } %10, 0
  %.fca.1.extract159 = extractvalue { <2 x float>, float } %10, 1
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #8
  %11 = tail call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %.fca.0.extract152 = extractvalue { <2 x float>, float } %11, 0
  %.fca.1.extract153 = extractvalue { <2 x float>, float } %11, 1
  call void @_ZL13HMM_Rotate_RHf8HMM_Vec3(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %2, float noundef 0x3FF921FB60000000, <2 x float> %.fca.0.extract152, float %.fca.1.extract153)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %3, ptr noundef nonnull align 16 dereferenceable(64) %2, i64 64, i1 false), !tbaa.struct !5
  %12 = call { double, double } @_ZL7HMM_V4V8HMM_Vec3f(<2 x float> %.fca.0.extract158, float %.fca.1.extract159, float noundef 1.000000e+00)
  %13 = extractvalue { double, double } %12, 0
  %14 = extractvalue { double, double } %12, 1
  %15 = call { double, double } @_ZL11HMM_MulM4V48HMM_Mat48HMM_Vec4(ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %3, double %13, double %14)
  %16 = extractvalue { double, double } %15, 0
  %17 = extractvalue { double, double } %15, 1
  %18 = load i32, ptr %0, align 4, !tbaa !9
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr %0, align 4, !tbaa !9
  %20 = bitcast double %16 to i64
  %21 = trunc i64 %20 to i32
  %22 = bitcast i32 %21 to float
  %23 = fadd float %22, -1.000000e+00
  %24 = call float @llvm.fabs.f32(float %23)
  %or.cond = fcmp ogt float %24, 0x3F50624DE0000000
  %25 = lshr i64 %20, 32
  %26 = trunc nuw i64 %25 to i32
  %27 = bitcast i32 %26 to float
  %28 = bitcast double %17 to i64
  %29 = trunc i64 %28 to i32
  %30 = bitcast i32 %29 to float
  %31 = lshr i64 %28, 32
  %32 = trunc nuw i64 %31 to i32
  %33 = bitcast i32 %32 to float
  br i1 %or.cond, label %34, label %41

34:                                               ; preds = %1
  %35 = getelementptr inbounds i8, ptr %0, i64 4
  %36 = load i32, ptr %35, align 4, !tbaa !12
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %35, align 4, !tbaa !12
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 22)
  %39 = fpext float %22 to double
  %40 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %39)
  %.pre = load i32, ptr %0, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %1, %34
  %42 = phi i32 [ %19, %1 ], [ %.pre, %34 ]
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %0, align 4, !tbaa !9
  %44 = fadd float %27, 1.000000e+00
  %45 = call float @llvm.fabs.f32(float %44)
  %or.cond3 = fcmp ogt float %45, 0x3F50624DE0000000
  br i1 %or.cond3, label %46, label %53

46:                                               ; preds = %41
  %47 = getelementptr inbounds i8, ptr %0, i64 4
  %48 = load i32, ptr %47, align 4, !tbaa !12
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %47, align 4, !tbaa !12
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 23)
  %51 = fpext float %27 to double
  %52 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef -1.000000e+00, double noundef %51)
  %.pre206 = load i32, ptr %0, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %41, %46
  %54 = phi i32 [ %43, %41 ], [ %.pre206, %46 ]
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %0, align 4, !tbaa !9
  %56 = fadd float %30, -1.000000e+00
  %57 = call float @llvm.fabs.f32(float %56)
  %or.cond5 = fcmp ogt float %57, 0x3F50624DE0000000
  br i1 %or.cond5, label %58, label %65

58:                                               ; preds = %53
  %59 = getelementptr inbounds i8, ptr %0, i64 4
  %60 = load i32, ptr %59, align 4, !tbaa !12
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %59, align 4, !tbaa !12
  %62 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 24)
  %63 = fpext float %30 to double
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %63)
  %.pre207 = load i32, ptr %0, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %53, %58
  %66 = phi i32 [ %55, %53 ], [ %.pre207, %58 ]
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %0, align 4, !tbaa !9
  %68 = fadd float %33, -1.000000e+00
  %69 = call float @llvm.fabs.f32(float %68)
  %or.cond7 = fcmp ogt float %69, 0x3F50624DE0000000
  br i1 %or.cond7, label %70, label %77

70:                                               ; preds = %65
  %71 = getelementptr inbounds i8, ptr %0, i64 4
  %72 = load i32, ptr %71, align 4, !tbaa !12
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %71, align 4, !tbaa !12
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 25)
  %75 = fpext float %33 to double
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %75)
  br label %77

77:                                               ; preds = %65, %70
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #8
  %78 = call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %.fca.0.extract119 = extractvalue { <2 x float>, float } %78, 0
  %.fca.1.extract120 = extractvalue { <2 x float>, float } %78, 1
  call void @_ZL13HMM_Rotate_RHf8HMM_Vec3(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %4, float noundef 0x3FF921FB60000000, <2 x float> %.fca.0.extract119, float %.fca.1.extract120)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %5, ptr noundef nonnull align 16 dereferenceable(64) %4, i64 64, i1 false), !tbaa.struct !5
  %79 = call { double, double } @_ZL7HMM_V4V8HMM_Vec3f(<2 x float> %.fca.0.extract158, float %.fca.1.extract159, float noundef 1.000000e+00)
  %80 = extractvalue { double, double } %79, 0
  %81 = extractvalue { double, double } %79, 1
  %82 = call { double, double } @_ZL11HMM_MulM4V48HMM_Mat48HMM_Vec4(ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %5, double %80, double %81)
  %83 = extractvalue { double, double } %82, 0
  %84 = extractvalue { double, double } %82, 1
  %85 = load i32, ptr %0, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %0, align 4, !tbaa !9
  %87 = bitcast double %83 to i64
  %88 = trunc i64 %87 to i32
  %89 = bitcast i32 %88 to float
  %90 = fadd float %89, -1.000000e+00
  %91 = call float @llvm.fabs.f32(float %90)
  %or.cond9 = fcmp ogt float %91, 0x3F50624DE0000000
  %92 = lshr i64 %87, 32
  %93 = trunc nuw i64 %92 to i32
  %94 = bitcast i32 %93 to float
  %95 = bitcast double %84 to i64
  %96 = trunc i64 %95 to i32
  %97 = bitcast i32 %96 to float
  %98 = lshr i64 %95, 32
  %99 = trunc nuw i64 %98 to i32
  %100 = bitcast i32 %99 to float
  br i1 %or.cond9, label %101, label %108

101:                                              ; preds = %77
  %102 = getelementptr inbounds i8, ptr %0, i64 4
  %103 = load i32, ptr %102, align 4, !tbaa !12
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %102, align 4, !tbaa !12
  %105 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 29)
  %106 = fpext float %89 to double
  %107 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %106)
  %.pre208 = load i32, ptr %0, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %77, %101
  %109 = phi i32 [ %86, %77 ], [ %.pre208, %101 ]
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %0, align 4, !tbaa !9
  %111 = fadd float %94, -1.000000e+00
  %112 = call float @llvm.fabs.f32(float %111)
  %or.cond11 = fcmp ogt float %112, 0x3F50624DE0000000
  br i1 %or.cond11, label %113, label %120

113:                                              ; preds = %108
  %114 = getelementptr inbounds i8, ptr %0, i64 4
  %115 = load i32, ptr %114, align 4, !tbaa !12
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %114, align 4, !tbaa !12
  %117 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 30)
  %118 = fpext float %94 to double
  %119 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %118)
  %.pre209 = load i32, ptr %0, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %108, %113
  %121 = phi i32 [ %110, %108 ], [ %.pre209, %113 ]
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %0, align 4, !tbaa !9
  %123 = fadd float %97, 1.000000e+00
  %124 = call float @llvm.fabs.f32(float %123)
  %or.cond13 = fcmp ogt float %124, 0x3F50624DE0000000
  br i1 %or.cond13, label %125, label %132

125:                                              ; preds = %120
  %126 = getelementptr inbounds i8, ptr %0, i64 4
  %127 = load i32, ptr %126, align 4, !tbaa !12
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %126, align 4, !tbaa !12
  %129 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 31)
  %130 = fpext float %97 to double
  %131 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef -1.000000e+00, double noundef %130)
  %.pre210 = load i32, ptr %0, align 4, !tbaa !9
  br label %132

132:                                              ; preds = %120, %125
  %133 = phi i32 [ %122, %120 ], [ %.pre210, %125 ]
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %0, align 4, !tbaa !9
  %135 = fadd float %100, -1.000000e+00
  %136 = call float @llvm.fabs.f32(float %135)
  %or.cond15 = fcmp ogt float %136, 0x3F50624DE0000000
  br i1 %or.cond15, label %137, label %144

137:                                              ; preds = %132
  %138 = getelementptr inbounds i8, ptr %0, i64 4
  %139 = load i32, ptr %138, align 4, !tbaa !12
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %138, align 4, !tbaa !12
  %141 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 32)
  %142 = fpext float %100 to double
  %143 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %142)
  br label %144

144:                                              ; preds = %132, %137
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #8
  %145 = call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %.fca.0.extract86 = extractvalue { <2 x float>, float } %145, 0
  %.fca.1.extract87 = extractvalue { <2 x float>, float } %145, 1
  call void @_ZL13HMM_Rotate_RHf8HMM_Vec3(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %6, float noundef 0x3FF921FB60000000, <2 x float> %.fca.0.extract86, float %.fca.1.extract87)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %7, ptr noundef nonnull align 16 dereferenceable(64) %6, i64 64, i1 false), !tbaa.struct !5
  %146 = call { double, double } @_ZL7HMM_V4V8HMM_Vec3f(<2 x float> %.fca.0.extract158, float %.fca.1.extract159, float noundef 1.000000e+00)
  %147 = extractvalue { double, double } %146, 0
  %148 = extractvalue { double, double } %146, 1
  %149 = call { double, double } @_ZL11HMM_MulM4V48HMM_Mat48HMM_Vec4(ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %7, double %147, double %148)
  %150 = extractvalue { double, double } %149, 0
  %151 = extractvalue { double, double } %149, 1
  %152 = load i32, ptr %0, align 4, !tbaa !9
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %0, align 4, !tbaa !9
  %154 = bitcast double %150 to i64
  %155 = trunc i64 %154 to i32
  %156 = bitcast i32 %155 to float
  %157 = fadd float %156, 1.000000e+00
  %158 = call float @llvm.fabs.f32(float %157)
  %or.cond17 = fcmp ogt float %158, 0x3F50624DE0000000
  %159 = lshr i64 %154, 32
  %160 = trunc nuw i64 %159 to i32
  %161 = bitcast i32 %160 to float
  %162 = bitcast double %151 to i64
  %163 = trunc i64 %162 to i32
  %164 = bitcast i32 %163 to float
  %165 = lshr i64 %162, 32
  %166 = trunc nuw i64 %165 to i32
  %167 = bitcast i32 %166 to float
  br i1 %or.cond17, label %168, label %175

168:                                              ; preds = %144
  %169 = getelementptr inbounds i8, ptr %0, i64 4
  %170 = load i32, ptr %169, align 4, !tbaa !12
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %169, align 4, !tbaa !12
  %172 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 36)
  %173 = fpext float %156 to double
  %174 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef -1.000000e+00, double noundef %173)
  %.pre211 = load i32, ptr %0, align 4, !tbaa !9
  br label %175

175:                                              ; preds = %144, %168
  %176 = phi i32 [ %153, %144 ], [ %.pre211, %168 ]
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %0, align 4, !tbaa !9
  %178 = fadd float %161, -1.000000e+00
  %179 = call float @llvm.fabs.f32(float %178)
  %or.cond19 = fcmp ogt float %179, 0x3F50624DE0000000
  br i1 %or.cond19, label %180, label %187

180:                                              ; preds = %175
  %181 = getelementptr inbounds i8, ptr %0, i64 4
  %182 = load i32, ptr %181, align 4, !tbaa !12
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %181, align 4, !tbaa !12
  %184 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 37)
  %185 = fpext float %161 to double
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %185)
  %.pre212 = load i32, ptr %0, align 4, !tbaa !9
  br label %187

187:                                              ; preds = %175, %180
  %188 = phi i32 [ %177, %175 ], [ %.pre212, %180 ]
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %0, align 4, !tbaa !9
  %190 = fadd float %164, -1.000000e+00
  %191 = call float @llvm.fabs.f32(float %190)
  %or.cond21 = fcmp ogt float %191, 0x3F50624DE0000000
  br i1 %or.cond21, label %192, label %199

192:                                              ; preds = %187
  %193 = getelementptr inbounds i8, ptr %0, i64 4
  %194 = load i32, ptr %193, align 4, !tbaa !12
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %193, align 4, !tbaa !12
  %196 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 38)
  %197 = fpext float %164 to double
  %198 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %197)
  %.pre213 = load i32, ptr %0, align 4, !tbaa !9
  br label %199

199:                                              ; preds = %187, %192
  %200 = phi i32 [ %189, %187 ], [ %.pre213, %192 ]
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %0, align 4, !tbaa !9
  %202 = fadd float %167, -1.000000e+00
  %203 = call float @llvm.fabs.f32(float %202)
  %or.cond23 = fcmp ogt float %203, 0x3F50624DE0000000
  br i1 %or.cond23, label %204, label %211

204:                                              ; preds = %199
  %205 = getelementptr inbounds i8, ptr %0, i64 4
  %206 = load i32, ptr %205, align 4, !tbaa !12
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %205, align 4, !tbaa !12
  %208 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 39)
  %209 = fpext float %167 to double
  %210 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %209)
  br label %211

211:                                              ; preds = %199, %204
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #8
  %212 = call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  %.fca.0.extract = extractvalue { <2 x float>, float } %212, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %212, 1
  call void @_ZL13HMM_Rotate_LHf8HMM_Vec3(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %8, float noundef 0x3FF921FB60000000, <2 x float> %.fca.0.extract, float %.fca.1.extract)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %9, ptr noundef nonnull align 16 dereferenceable(64) %8, i64 64, i1 false), !tbaa.struct !5
  %213 = call { double, double } @_ZL7HMM_V4V8HMM_Vec3f(<2 x float> %.fca.0.extract158, float %.fca.1.extract159, float noundef 1.000000e+00)
  %214 = extractvalue { double, double } %213, 0
  %215 = extractvalue { double, double } %213, 1
  %216 = call { double, double } @_ZL11HMM_MulM4V48HMM_Mat48HMM_Vec4(ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %9, double %214, double %215)
  %217 = extractvalue { double, double } %216, 0
  %218 = extractvalue { double, double } %216, 1
  %219 = load i32, ptr %0, align 4, !tbaa !9
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %0, align 4, !tbaa !9
  %221 = bitcast double %217 to i64
  %222 = trunc i64 %221 to i32
  %223 = bitcast i32 %222 to float
  %224 = fadd float %223, -1.000000e+00
  %225 = call float @llvm.fabs.f32(float %224)
  %or.cond25 = fcmp ogt float %225, 0x3F50624DE0000000
  %226 = lshr i64 %221, 32
  %227 = trunc nuw i64 %226 to i32
  %228 = bitcast i32 %227 to float
  %229 = bitcast double %218 to i64
  %230 = trunc i64 %229 to i32
  %231 = bitcast i32 %230 to float
  %232 = lshr i64 %229, 32
  %233 = trunc nuw i64 %232 to i32
  %234 = bitcast i32 %233 to float
  br i1 %or.cond25, label %235, label %242

235:                                              ; preds = %211
  %236 = getelementptr inbounds i8, ptr %0, i64 4
  %237 = load i32, ptr %236, align 4, !tbaa !12
  %238 = add nsw i32 %237, 1
  store i32 %238, ptr %236, align 4, !tbaa !12
  %239 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 43)
  %240 = fpext float %223 to double
  %241 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %240)
  %.pre214 = load i32, ptr %0, align 4, !tbaa !9
  br label %242

242:                                              ; preds = %211, %235
  %243 = phi i32 [ %220, %211 ], [ %.pre214, %235 ]
  %244 = add nsw i32 %243, 1
  store i32 %244, ptr %0, align 4, !tbaa !9
  %245 = fadd float %228, 1.000000e+00
  %246 = call float @llvm.fabs.f32(float %245)
  %or.cond27 = fcmp ogt float %246, 0x3F50624DE0000000
  br i1 %or.cond27, label %247, label %254

247:                                              ; preds = %242
  %248 = getelementptr inbounds i8, ptr %0, i64 4
  %249 = load i32, ptr %248, align 4, !tbaa !12
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %248, align 4, !tbaa !12
  %251 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 44)
  %252 = fpext float %228 to double
  %253 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef -1.000000e+00, double noundef %252)
  %.pre215 = load i32, ptr %0, align 4, !tbaa !9
  br label %254

254:                                              ; preds = %242, %247
  %255 = phi i32 [ %244, %242 ], [ %.pre215, %247 ]
  %256 = add nsw i32 %255, 1
  store i32 %256, ptr %0, align 4, !tbaa !9
  %257 = fadd float %231, -1.000000e+00
  %258 = call float @llvm.fabs.f32(float %257)
  %or.cond29 = fcmp ogt float %258, 0x3F50624DE0000000
  br i1 %or.cond29, label %259, label %266

259:                                              ; preds = %254
  %260 = getelementptr inbounds i8, ptr %0, i64 4
  %261 = load i32, ptr %260, align 4, !tbaa !12
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %260, align 4, !tbaa !12
  %263 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 45)
  %264 = fpext float %231 to double
  %265 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %264)
  %.pre216 = load i32, ptr %0, align 4, !tbaa !9
  br label %266

266:                                              ; preds = %254, %259
  %267 = phi i32 [ %256, %254 ], [ %.pre216, %259 ]
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr %0, align 4, !tbaa !9
  %269 = fadd float %234, -1.000000e+00
  %270 = call float @llvm.fabs.f32(float %269)
  %or.cond31 = fcmp ogt float %270, 0x3F50624DE0000000
  br i1 %or.cond31, label %271, label %278

271:                                              ; preds = %266
  %272 = getelementptr inbounds i8, ptr %0, i64 4
  %273 = load i32, ptr %272, align 4, !tbaa !12
  %274 = add nsw i32 %273, 1
  store i32 %274, ptr %272, align 4, !tbaa !12
  %275 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 46)
  %276 = fpext float %234 to double
  %277 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %276)
  br label %278

278:                                              ; preds = %266, %271
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  ret void
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{i64 0, i64 64, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS21hmt_testresult_struct", !11, i64 0, !11, i64 4}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}


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