; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z29_hmt_test_VectorOps_NormalizeP21hmt_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_Vec2 = type { %struct.anon }
%struct.anon = type { float, float }
%union.HMM_Vec3 = type { %struct.anon.3 }
%struct.anon.3 = type { float, float, float }
%union.HMM_Vec4 = type { <4 x 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
@.str.30 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [31 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> @_ZL6HMM_V2ff(float noundef, float noundef) #3

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef float @_ZL9HMM_LenV48HMM_Vec4(double, double) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z29_hmt_test_VectorOps_NormalizeP21hmt_testresult_struct(ptr noundef %0) #6 {
  %2 = alloca ptr, align 8
  %3 = alloca %union.HMM_Vec2, align 4
  %4 = alloca %union.HMM_Vec3, align 4
  %5 = alloca { <2 x float>, float }, align 8
  %6 = alloca %union.HMM_Vec4, align 16
  %7 = alloca %union.HMM_Vec2, align 4
  %8 = alloca %union.HMM_Vec2, align 4
  %9 = alloca float, align 4
  %10 = alloca %union.HMM_Vec2, align 4
  %11 = alloca float, align 4
  %12 = alloca %union.HMM_Vec3, align 4
  %13 = alloca %union.HMM_Vec3, align 4
  %14 = alloca { <2 x float>, float }, align 4
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca float, align 4
  %17 = alloca %union.HMM_Vec3, align 4
  %18 = alloca { <2 x float>, float }, align 4
  %19 = alloca float, align 4
  %20 = alloca %union.HMM_Vec4, align 16
  %21 = alloca %union.HMM_Vec4, align 16
  %22 = alloca float, align 4
  %23 = alloca %union.HMM_Vec4, align 16
  %24 = alloca float, align 4
  %25 = alloca %union.HMM_Vec2, align 4
  %26 = alloca %union.HMM_Vec2, align 4
  %27 = alloca float, align 4
  %28 = alloca %union.HMM_Vec2, align 4
  %29 = alloca float, align 4
  %30 = alloca %union.HMM_Vec3, align 4
  %31 = alloca %union.HMM_Vec3, align 4
  %32 = alloca { <2 x float>, float }, align 4
  %33 = alloca { <2 x float>, float }, align 8
  %34 = alloca float, align 4
  %35 = alloca %union.HMM_Vec3, align 4
  %36 = alloca { <2 x float>, float }, align 4
  %37 = alloca float, align 4
  %38 = alloca %union.HMM_Vec4, align 16
  %39 = alloca %union.HMM_Vec4, align 16
  %40 = alloca float, align 4
  %41 = alloca %union.HMM_Vec4, align 16
  %42 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %43 = call <2 x float> @_ZL6HMM_V2ff(float noundef 1.000000e+00, float noundef -2.000000e+00)
  %44 = getelementptr inbounds %union.HMM_Vec2, ptr %3, i32 0, i32 0
  store <2 x float> %43, ptr %44, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %4) #7
  %45 = call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 1.000000e+00, float noundef -2.000000e+00, float noundef 3.000000e+00)
  %46 = getelementptr inbounds %union.HMM_Vec3, ptr %4, i32 0, i32 0
  store { <2 x float>, float } %45, ptr %5, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 8 %5, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #7
  %47 = call { double, double } @_ZL6HMM_V4ffff(float noundef 1.000000e+00, float noundef -2.000000e+00, float noundef 3.000000e+00, float noundef -1.000000e+00)
  %48 = getelementptr inbounds %union.HMM_Vec4, ptr %6, i32 0, i32 0
  %49 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %50 = extractvalue { double, double } %47, 0
  store double %50, ptr %49, align 16
  %51 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %52 = extractvalue { double, double } %47, 1
  store double %52, ptr %51, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !9
  %53 = getelementptr inbounds %union.HMM_Vec2, ptr %8, i32 0, i32 0
  %54 = load <2 x float>, ptr %53, align 4
  %55 = call <2 x float> @_ZL10HMM_NormV28HMM_Vec2(<2 x float> %54)
  %56 = getelementptr inbounds %union.HMM_Vec2, ptr %7, i32 0, i32 0
  store <2 x float> %55, ptr %56, align 4
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %57, i32 0, i32 0
  %59 = load i32, ptr %58, align 4, !tbaa !11
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %58, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !9
  %61 = getelementptr inbounds %union.HMM_Vec2, ptr %10, i32 0, i32 0
  %62 = load <2 x float>, ptr %61, align 4
  %63 = call noundef float @_ZL9HMM_LenV28HMM_Vec2(<2 x float> %62)
  store float %63, ptr %9, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %64 = load float, ptr %9, align 4, !tbaa !14
  %65 = fsub float %64, 1.000000e+00
  store float %65, ptr %11, align 4, !tbaa !14
  %66 = load float, ptr %11, align 4, !tbaa !14
  %67 = fcmp olt float %66, 0xBF50624DE0000000
  br i1 %67, label %71, label %68

68:                                               ; preds = %1
  %69 = load float, ptr %11, align 4, !tbaa !14
  %70 = fcmp olt float 0x3F50624DE0000000, %69
  br i1 %70, label %71, label %80

71:                                               ; preds = %68, %1
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %72, i32 0, i32 1
  %74 = load i32, ptr %73, align 4, !tbaa !16
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %73, align 4, !tbaa !16
  %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 45)
  %77 = load float, ptr %9, align 4, !tbaa !14
  %78 = fpext float %77 to double
  %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %78)
  br label %80

80:                                               ; preds = %71, %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %81, i32 0, i32 0
  %83 = load i32, ptr %82, align 4, !tbaa !11
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %82, align 4, !tbaa !11
  %85 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 0
  %86 = load float, ptr %85, align 4, !tbaa !10
  %87 = fcmp ole float %86, 0.000000e+00
  br i1 %87, label %88, label %98

88:                                               ; preds = %80
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %89, i32 0, i32 1
  %91 = load i32, ptr %90, align 4, !tbaa !16
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %90, align 4, !tbaa !16
  %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 46)
  %94 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 0
  %95 = load float, ptr %94, align 4, !tbaa !10
  %96 = fpext float %95 to double
  %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, double noundef %96, double noundef 0.000000e+00)
  br label %98

98:                                               ; preds = %88, %80
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %99, i32 0, i32 0
  %101 = load i32, ptr %100, align 4, !tbaa !11
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %100, align 4, !tbaa !11
  %103 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 1
  %104 = load float, ptr %103, align 4, !tbaa !10
  %105 = fcmp oge float %104, 0.000000e+00
  br i1 %105, label %106, label %116

106:                                              ; preds = %98
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %107, i32 0, i32 1
  %109 = load i32, ptr %108, align 4, !tbaa !16
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %108, align 4, !tbaa !16
  %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 47)
  %112 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 1
  %113 = load float, ptr %112, align 4, !tbaa !10
  %114 = fpext float %113 to double
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, double noundef %114, double noundef 0.000000e+00)
  br label %116

116:                                              ; preds = %106, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %4, i64 12, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %13, i64 12, i1 false)
  %117 = getelementptr inbounds { <2 x float>, float }, ptr %14, i32 0, i32 0
  %118 = load <2 x float>, ptr %117, align 4
  %119 = getelementptr inbounds { <2 x float>, float }, ptr %14, i32 0, i32 1
  %120 = load float, ptr %119, align 4
  %121 = call { <2 x float>, float } @_ZL10HMM_NormV38HMM_Vec3(<2 x float> %118, float %120)
  %122 = getelementptr inbounds %union.HMM_Vec3, ptr %12, i32 0, i32 0
  store { <2 x float>, float } %121, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %122, ptr align 8 %15, i64 12, i1 false)
  %123 = load ptr, ptr %2, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %123, i32 0, i32 0
  %125 = load i32, ptr %124, align 4, !tbaa !11
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %124, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %12, i64 12, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %17, i64 12, i1 false)
  %127 = getelementptr inbounds { <2 x float>, float }, ptr %18, i32 0, i32 0
  %128 = load <2 x float>, ptr %127, align 4
  %129 = getelementptr inbounds { <2 x float>, float }, ptr %18, i32 0, i32 1
  %130 = load float, ptr %129, align 4
  %131 = call noundef float @_ZL9HMM_LenV38HMM_Vec3(<2 x float> %128, float %130)
  store float %131, ptr %16, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %132 = load float, ptr %16, align 4, !tbaa !14
  %133 = fsub float %132, 1.000000e+00
  store float %133, ptr %19, align 4, !tbaa !14
  %134 = load float, ptr %19, align 4, !tbaa !14
  %135 = fcmp olt float %134, 0xBF50624DE0000000
  br i1 %135, label %139, label %136

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

139:                                              ; preds = %136, %116
  %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 !16
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %141, align 4, !tbaa !16
  %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 51)
  %145 = load float, ptr %16, align 4, !tbaa !14
  %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 %19) #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 !11
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %150, align 4, !tbaa !11
  %153 = getelementptr inbounds %struct.anon.3, ptr %12, i32 0, i32 0
  %154 = load float, ptr %153, align 4, !tbaa !10
  %155 = fcmp ole float %154, 0.000000e+00
  br i1 %155, label %156, label %166

156:                                              ; preds = %148
  %157 = load ptr, ptr %2, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %157, i32 0, i32 1
  %159 = load i32, ptr %158, align 4, !tbaa !16
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr %158, align 4, !tbaa !16
  %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 52)
  %162 = getelementptr inbounds %struct.anon.3, ptr %12, i32 0, i32 0
  %163 = load float, ptr %162, align 4, !tbaa !10
  %164 = fpext float %163 to double
  %165 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, double noundef %164, double noundef 0.000000e+00)
  br label %166

166:                                              ; preds = %156, %148
  %167 = load ptr, ptr %2, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %167, i32 0, i32 0
  %169 = load i32, ptr %168, align 4, !tbaa !11
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %168, align 4, !tbaa !11
  %171 = getelementptr inbounds %struct.anon.3, ptr %12, i32 0, i32 1
  %172 = load float, ptr %171, align 4, !tbaa !10
  %173 = fcmp oge float %172, 0.000000e+00
  br i1 %173, label %174, label %184

174:                                              ; preds = %166
  %175 = load ptr, ptr %2, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %175, i32 0, i32 1
  %177 = load i32, ptr %176, align 4, !tbaa !16
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %176, align 4, !tbaa !16
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 53)
  %180 = getelementptr inbounds %struct.anon.3, ptr %12, i32 0, i32 1
  %181 = load float, ptr %180, align 4, !tbaa !10
  %182 = fpext float %181 to double
  %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, double noundef %182, double noundef 0.000000e+00)
  br label %184

184:                                              ; preds = %174, %166
  %185 = load ptr, ptr %2, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %185, i32 0, i32 0
  %187 = load i32, ptr %186, align 4, !tbaa !11
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %186, align 4, !tbaa !11
  %189 = getelementptr inbounds %struct.anon.3, ptr %12, i32 0, i32 2
  %190 = load float, ptr %189, align 4, !tbaa !10
  %191 = fcmp ole float %190, 0.000000e+00
  br i1 %191, label %192, label %202

192:                                              ; preds = %184
  %193 = load ptr, ptr %2, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %193, i32 0, i32 1
  %195 = load i32, ptr %194, align 4, !tbaa !16
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %194, align 4, !tbaa !16
  %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 54)
  %198 = getelementptr inbounds %struct.anon.3, ptr %12, i32 0, i32 2
  %199 = load float, ptr %198, align 4, !tbaa !10
  %200 = fpext float %199 to double
  %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, double noundef %200, double noundef 0.000000e+00)
  br label %202

202:                                              ; preds = %192, %184
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 %6, i64 16, i1 false), !tbaa.struct !18
  %203 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %204 = load double, ptr %203, align 16
  %205 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %206 = load double, ptr %205, align 8
  %207 = call { double, double } @_ZL10HMM_NormV48HMM_Vec4(double %204, double %206)
  %208 = getelementptr inbounds %union.HMM_Vec4, ptr %20, i32 0, i32 0
  %209 = getelementptr inbounds { double, double }, ptr %208, i32 0, i32 0
  %210 = extractvalue { double, double } %207, 0
  store double %210, ptr %209, align 16
  %211 = getelementptr inbounds { double, double }, ptr %208, i32 0, i32 1
  %212 = extractvalue { double, double } %207, 1
  store double %212, ptr %211, align 8
  %213 = load ptr, ptr %2, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %213, i32 0, i32 0
  %215 = load i32, ptr %214, align 4, !tbaa !11
  %216 = add nsw i32 %215, 1
  store i32 %216, ptr %214, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 %20, i64 16, i1 false), !tbaa.struct !18
  %217 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %218 = load double, ptr %217, align 16
  %219 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %220 = load double, ptr %219, align 8
  %221 = call noundef float @_ZL9HMM_LenV48HMM_Vec4(double %218, double %220)
  store float %221, ptr %22, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %222 = load float, ptr %22, align 4, !tbaa !14
  %223 = fsub float %222, 1.000000e+00
  store float %223, ptr %24, align 4, !tbaa !14
  %224 = load float, ptr %24, align 4, !tbaa !14
  %225 = fcmp olt float %224, 0xBF50624DE0000000
  br i1 %225, label %229, label %226

226:                                              ; preds = %202
  %227 = load float, ptr %24, align 4, !tbaa !14
  %228 = fcmp olt float 0x3F50624DE0000000, %227
  br i1 %228, label %229, label %238

229:                                              ; preds = %226, %202
  %230 = load ptr, ptr %2, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %230, i32 0, i32 1
  %232 = load i32, ptr %231, align 4, !tbaa !16
  %233 = add nsw i32 %232, 1
  store i32 %233, ptr %231, align 4, !tbaa !16
  %234 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 58)
  %235 = load float, ptr %22, align 4, !tbaa !14
  %236 = fpext float %235 to double
  %237 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %236)
  br label %238

238:                                              ; preds = %229, %226
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  %239 = load ptr, ptr %2, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %239, i32 0, i32 0
  %241 = load i32, ptr %240, align 4, !tbaa !11
  %242 = add nsw i32 %241, 1
  store i32 %242, ptr %240, align 4, !tbaa !11
  %243 = getelementptr inbounds %struct.anon.10, ptr %20, i32 0, i32 0
  %244 = getelementptr inbounds %struct.anon.11, ptr %243, i32 0, i32 0
  %245 = load float, ptr %244, align 16, !tbaa !10
  %246 = fcmp ole float %245, 0.000000e+00
  br i1 %246, label %247, label %258

247:                                              ; preds = %238
  %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 59)
  %253 = getelementptr inbounds %struct.anon.10, ptr %20, i32 0, i32 0
  %254 = getelementptr inbounds %struct.anon.11, ptr %253, i32 0, i32 0
  %255 = load float, ptr %254, align 16, !tbaa !10
  %256 = fpext float %255 to double
  %257 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, double noundef %256, double noundef 0.000000e+00)
  br label %258

258:                                              ; preds = %247, %238
  %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
  %263 = getelementptr inbounds %struct.anon.10, ptr %20, i32 0, i32 0
  %264 = getelementptr inbounds %struct.anon.11, ptr %263, i32 0, i32 1
  %265 = load float, ptr %264, align 4, !tbaa !10
  %266 = fcmp oge float %265, 0.000000e+00
  br i1 %266, label %267, label %278

267:                                              ; preds = %258
  %268 = load ptr, ptr %2, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %268, i32 0, i32 1
  %270 = load i32, ptr %269, align 4, !tbaa !16
  %271 = add nsw i32 %270, 1
  store i32 %271, ptr %269, align 4, !tbaa !16
  %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 60)
  %273 = getelementptr inbounds %struct.anon.10, ptr %20, i32 0, i32 0
  %274 = getelementptr inbounds %struct.anon.11, ptr %273, i32 0, i32 1
  %275 = load float, ptr %274, align 4, !tbaa !10
  %276 = fpext float %275 to double
  %277 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, double noundef %276, double noundef 0.000000e+00)
  br label %278

278:                                              ; preds = %267, %258
  %279 = load ptr, ptr %2, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %279, i32 0, i32 0
  %281 = load i32, ptr %280, align 4, !tbaa !11
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr %280, align 4, !tbaa !11
  %283 = getelementptr inbounds %struct.anon.10, ptr %20, i32 0, i32 0
  %284 = getelementptr inbounds %struct.anon.11, ptr %283, i32 0, i32 2
  %285 = load float, ptr %284, align 8, !tbaa !10
  %286 = fcmp ole float %285, 0.000000e+00
  br i1 %286, label %287, label %298

287:                                              ; preds = %278
  %288 = load ptr, ptr %2, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %288, i32 0, i32 1
  %290 = load i32, ptr %289, align 4, !tbaa !16
  %291 = add nsw i32 %290, 1
  store i32 %291, ptr %289, align 4, !tbaa !16
  %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 61)
  %293 = getelementptr inbounds %struct.anon.10, ptr %20, i32 0, i32 0
  %294 = getelementptr inbounds %struct.anon.11, ptr %293, i32 0, i32 2
  %295 = load float, ptr %294, align 8, !tbaa !10
  %296 = fpext float %295 to double
  %297 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, double noundef %296, double noundef 0.000000e+00)
  br label %298

298:                                              ; preds = %287, %278
  %299 = load ptr, ptr %2, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %299, i32 0, i32 0
  %301 = load i32, ptr %300, align 4, !tbaa !11
  %302 = add nsw i32 %301, 1
  store i32 %302, ptr %300, align 4, !tbaa !11
  %303 = getelementptr inbounds %struct.anon.10, ptr %20, i32 0, i32 1
  %304 = load float, ptr %303, align 4, !tbaa !10
  %305 = fcmp oge float %304, 0.000000e+00
  br i1 %305, label %306, label %316

306:                                              ; preds = %298
  %307 = load ptr, ptr %2, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %307, i32 0, i32 1
  %309 = load i32, ptr %308, align 4, !tbaa !16
  %310 = add nsw i32 %309, 1
  store i32 %310, ptr %308, align 4, !tbaa !16
  %311 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 62)
  %312 = getelementptr inbounds %struct.anon.10, ptr %20, i32 0, i32 1
  %313 = load float, ptr %312, align 4, !tbaa !10
  %314 = fpext float %313 to double
  %315 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, double noundef %314, double noundef 0.000000e+00)
  br label %316

316:                                              ; preds = %306, %298
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !9
  %317 = getelementptr inbounds %union.HMM_Vec2, ptr %26, i32 0, i32 0
  %318 = load <2 x float>, ptr %317, align 4
  %319 = call <2 x float> @_ZL8HMM_Norm8HMM_Vec2(<2 x float> %318)
  %320 = getelementptr inbounds %union.HMM_Vec2, ptr %25, i32 0, i32 0
  store <2 x float> %319, ptr %320, align 4
  %321 = load ptr, ptr %2, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %321, i32 0, i32 0
  %323 = load i32, ptr %322, align 4, !tbaa !11
  %324 = add nsw i32 %323, 1
  store i32 %324, ptr %322, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !9
  %325 = getelementptr inbounds %union.HMM_Vec2, ptr %28, i32 0, i32 0
  %326 = load <2 x float>, ptr %325, align 4
  %327 = call noundef float @_ZL9HMM_LenV28HMM_Vec2(<2 x float> %326)
  store float %327, ptr %27, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %328 = load float, ptr %27, align 4, !tbaa !14
  %329 = fsub float %328, 1.000000e+00
  store float %329, ptr %29, align 4, !tbaa !14
  %330 = load float, ptr %29, align 4, !tbaa !14
  %331 = fcmp olt float %330, 0xBF50624DE0000000
  br i1 %331, label %335, label %332

332:                                              ; preds = %316
  %333 = load float, ptr %29, align 4, !tbaa !14
  %334 = fcmp olt float 0x3F50624DE0000000, %333
  br i1 %334, label %335, label %344

335:                                              ; preds = %332, %316
  %336 = load ptr, ptr %2, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %336, i32 0, i32 1
  %338 = load i32, ptr %337, align 4, !tbaa !16
  %339 = add nsw i32 %338, 1
  store i32 %339, ptr %337, align 4, !tbaa !16
  %340 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 68)
  %341 = load float, ptr %27, align 4, !tbaa !14
  %342 = fpext float %341 to double
  %343 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %342)
  br label %344

344:                                              ; preds = %335, %332
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  %345 = load ptr, ptr %2, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %345, i32 0, i32 0
  %347 = load i32, ptr %346, align 4, !tbaa !11
  %348 = add nsw i32 %347, 1
  store i32 %348, ptr %346, align 4, !tbaa !11
  %349 = getelementptr inbounds %struct.anon, ptr %25, i32 0, i32 0
  %350 = load float, ptr %349, align 4, !tbaa !10
  %351 = fcmp ole float %350, 0.000000e+00
  br i1 %351, label %352, label %362

352:                                              ; preds = %344
  %353 = load ptr, ptr %2, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %353, i32 0, i32 1
  %355 = load i32, ptr %354, align 4, !tbaa !16
  %356 = add nsw i32 %355, 1
  store i32 %356, ptr %354, align 4, !tbaa !16
  %357 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 69)
  %358 = getelementptr inbounds %struct.anon, ptr %25, i32 0, i32 0
  %359 = load float, ptr %358, align 4, !tbaa !10
  %360 = fpext float %359 to double
  %361 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, double noundef %360, double noundef 0.000000e+00)
  br label %362

362:                                              ; preds = %352, %344
  %363 = load ptr, ptr %2, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %363, i32 0, i32 0
  %365 = load i32, ptr %364, align 4, !tbaa !11
  %366 = add nsw i32 %365, 1
  store i32 %366, ptr %364, align 4, !tbaa !11
  %367 = getelementptr inbounds %struct.anon, ptr %25, i32 0, i32 1
  %368 = load float, ptr %367, align 4, !tbaa !10
  %369 = fcmp oge float %368, 0.000000e+00
  br i1 %369, label %370, label %380

370:                                              ; preds = %362
  %371 = load ptr, ptr %2, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %371, i32 0, i32 1
  %373 = load i32, ptr %372, align 4, !tbaa !16
  %374 = add nsw i32 %373, 1
  store i32 %374, ptr %372, align 4, !tbaa !16
  %375 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 70)
  %376 = getelementptr inbounds %struct.anon, ptr %25, i32 0, i32 1
  %377 = load float, ptr %376, align 4, !tbaa !10
  %378 = fpext float %377 to double
  %379 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, double noundef %378, double noundef 0.000000e+00)
  br label %380

380:                                              ; preds = %370, %362
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %30) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %4, i64 12, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %31, i64 12, i1 false)
  %381 = getelementptr inbounds { <2 x float>, float }, ptr %32, i32 0, i32 0
  %382 = load <2 x float>, ptr %381, align 4
  %383 = getelementptr inbounds { <2 x float>, float }, ptr %32, i32 0, i32 1
  %384 = load float, ptr %383, align 4
  %385 = call { <2 x float>, float } @_ZL8HMM_Norm8HMM_Vec3(<2 x float> %382, float %384)
  %386 = getelementptr inbounds %union.HMM_Vec3, ptr %30, i32 0, i32 0
  store { <2 x float>, float } %385, ptr %33, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %386, ptr align 8 %33, i64 12, i1 false)
  %387 = load ptr, ptr %2, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %387, i32 0, i32 0
  %389 = load i32, ptr %388, align 4, !tbaa !11
  %390 = add nsw i32 %389, 1
  store i32 %390, ptr %388, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %30, i64 12, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %35, i64 12, i1 false)
  %391 = getelementptr inbounds { <2 x float>, float }, ptr %36, i32 0, i32 0
  %392 = load <2 x float>, ptr %391, align 4
  %393 = getelementptr inbounds { <2 x float>, float }, ptr %36, i32 0, i32 1
  %394 = load float, ptr %393, align 4
  %395 = call noundef float @_ZL9HMM_LenV38HMM_Vec3(<2 x float> %392, float %394)
  store float %395, ptr %34, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  %396 = load float, ptr %34, align 4, !tbaa !14
  %397 = fsub float %396, 1.000000e+00
  store float %397, ptr %37, align 4, !tbaa !14
  %398 = load float, ptr %37, align 4, !tbaa !14
  %399 = fcmp olt float %398, 0xBF50624DE0000000
  br i1 %399, label %403, label %400

400:                                              ; preds = %380
  %401 = load float, ptr %37, align 4, !tbaa !14
  %402 = fcmp olt float 0x3F50624DE0000000, %401
  br i1 %402, label %403, label %412

403:                                              ; preds = %400, %380
  %404 = load ptr, ptr %2, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %404, i32 0, i32 1
  %406 = load i32, ptr %405, align 4, !tbaa !16
  %407 = add nsw i32 %406, 1
  store i32 %407, ptr %405, align 4, !tbaa !16
  %408 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 74)
  %409 = load float, ptr %34, align 4, !tbaa !14
  %410 = fpext float %409 to double
  %411 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %410)
  br label %412

412:                                              ; preds = %403, %400
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  %413 = load ptr, ptr %2, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %413, i32 0, i32 0
  %415 = load i32, ptr %414, align 4, !tbaa !11
  %416 = add nsw i32 %415, 1
  store i32 %416, ptr %414, align 4, !tbaa !11
  %417 = getelementptr inbounds %struct.anon.3, ptr %30, i32 0, i32 0
  %418 = load float, ptr %417, align 4, !tbaa !10
  %419 = fcmp ole float %418, 0.000000e+00
  br i1 %419, label %420, label %430

420:                                              ; preds = %412
  %421 = load ptr, ptr %2, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %421, i32 0, i32 1
  %423 = load i32, ptr %422, align 4, !tbaa !16
  %424 = add nsw i32 %423, 1
  store i32 %424, ptr %422, align 4, !tbaa !16
  %425 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 75)
  %426 = getelementptr inbounds %struct.anon.3, ptr %30, i32 0, i32 0
  %427 = load float, ptr %426, align 4, !tbaa !10
  %428 = fpext float %427 to double
  %429 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, double noundef %428, double noundef 0.000000e+00)
  br label %430

430:                                              ; preds = %420, %412
  %431 = load ptr, ptr %2, align 8, !tbaa !5
  %432 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %431, i32 0, i32 0
  %433 = load i32, ptr %432, align 4, !tbaa !11
  %434 = add nsw i32 %433, 1
  store i32 %434, ptr %432, align 4, !tbaa !11
  %435 = getelementptr inbounds %struct.anon.3, ptr %30, i32 0, i32 1
  %436 = load float, ptr %435, align 4, !tbaa !10
  %437 = fcmp oge float %436, 0.000000e+00
  br i1 %437, label %438, label %448

438:                                              ; preds = %430
  %439 = load ptr, ptr %2, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %439, i32 0, i32 1
  %441 = load i32, ptr %440, align 4, !tbaa !16
  %442 = add nsw i32 %441, 1
  store i32 %442, ptr %440, align 4, !tbaa !16
  %443 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 76)
  %444 = getelementptr inbounds %struct.anon.3, ptr %30, i32 0, i32 1
  %445 = load float, ptr %444, align 4, !tbaa !10
  %446 = fpext float %445 to double
  %447 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, double noundef %446, double noundef 0.000000e+00)
  br label %448

448:                                              ; preds = %438, %430
  %449 = load ptr, ptr %2, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %449, i32 0, i32 0
  %451 = load i32, ptr %450, align 4, !tbaa !11
  %452 = add nsw i32 %451, 1
  store i32 %452, ptr %450, align 4, !tbaa !11
  %453 = getelementptr inbounds %struct.anon.3, ptr %30, i32 0, i32 2
  %454 = load float, ptr %453, align 4, !tbaa !10
  %455 = fcmp ole float %454, 0.000000e+00
  br i1 %455, label %456, label %466

456:                                              ; preds = %448
  %457 = load ptr, ptr %2, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %457, i32 0, i32 1
  %459 = load i32, ptr %458, align 4, !tbaa !16
  %460 = add nsw i32 %459, 1
  store i32 %460, ptr %458, align 4, !tbaa !16
  %461 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 77)
  %462 = getelementptr inbounds %struct.anon.3, ptr %30, i32 0, i32 2
  %463 = load float, ptr %462, align 4, !tbaa !10
  %464 = fpext float %463 to double
  %465 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, double noundef %464, double noundef 0.000000e+00)
  br label %466

466:                                              ; preds = %456, %448
  call void @llvm.lifetime.end.p0(i64 12, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %39, ptr align 16 %6, i64 16, i1 false), !tbaa.struct !18
  %467 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %468 = load double, ptr %467, align 16
  %469 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %470 = load double, ptr %469, align 8
  %471 = call { double, double } @_ZL8HMM_Norm8HMM_Vec4(double %468, double %470)
  %472 = getelementptr inbounds %union.HMM_Vec4, ptr %38, i32 0, i32 0
  %473 = getelementptr inbounds { double, double }, ptr %472, i32 0, i32 0
  %474 = extractvalue { double, double } %471, 0
  store double %474, ptr %473, align 16
  %475 = getelementptr inbounds { double, double }, ptr %472, i32 0, i32 1
  %476 = extractvalue { double, double } %471, 1
  store double %476, ptr %475, align 8
  %477 = load ptr, ptr %2, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %477, i32 0, i32 0
  %479 = load i32, ptr %478, align 4, !tbaa !11
  %480 = add nsw i32 %479, 1
  store i32 %480, ptr %478, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 16 %38, i64 16, i1 false), !tbaa.struct !18
  %481 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 0
  %482 = load double, ptr %481, align 16
  %483 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 1
  %484 = load double, ptr %483, align 8
  %485 = call noundef float @_ZL9HMM_LenV48HMM_Vec4(double %482, double %484)
  store float %485, ptr %40, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  %486 = load float, ptr %40, align 4, !tbaa !14
  %487 = fsub float %486, 1.000000e+00
  store float %487, ptr %42, align 4, !tbaa !14
  %488 = load float, ptr %42, align 4, !tbaa !14
  %489 = fcmp olt float %488, 0xBF50624DE0000000
  br i1 %489, label %493, label %490

490:                                              ; preds = %466
  %491 = load float, ptr %42, align 4, !tbaa !14
  %492 = fcmp olt float 0x3F50624DE0000000, %491
  br i1 %492, label %493, label %502

493:                                              ; preds = %490, %466
  %494 = load ptr, ptr %2, align 8, !tbaa !5
  %495 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %494, i32 0, i32 1
  %496 = load i32, ptr %495, align 4, !tbaa !16
  %497 = add nsw i32 %496, 1
  store i32 %497, ptr %495, align 4, !tbaa !16
  %498 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 81)
  %499 = load float, ptr %40, align 4, !tbaa !14
  %500 = fpext float %499 to double
  %501 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %500)
  br label %502

502:                                              ; preds = %493, %490
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  %503 = load ptr, ptr %2, align 8, !tbaa !5
  %504 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %503, i32 0, i32 0
  %505 = load i32, ptr %504, align 4, !tbaa !11
  %506 = add nsw i32 %505, 1
  store i32 %506, ptr %504, align 4, !tbaa !11
  %507 = getelementptr inbounds %struct.anon.10, ptr %38, i32 0, i32 0
  %508 = getelementptr inbounds %struct.anon.11, ptr %507, i32 0, i32 0
  %509 = load float, ptr %508, align 16, !tbaa !10
  %510 = fcmp ole float %509, 0.000000e+00
  br i1 %510, label %511, label %522

511:                                              ; preds = %502
  %512 = load ptr, ptr %2, align 8, !tbaa !5
  %513 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %512, i32 0, i32 1
  %514 = load i32, ptr %513, align 4, !tbaa !16
  %515 = add nsw i32 %514, 1
  store i32 %515, ptr %513, align 4, !tbaa !16
  %516 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 82)
  %517 = getelementptr inbounds %struct.anon.10, ptr %38, i32 0, i32 0
  %518 = getelementptr inbounds %struct.anon.11, ptr %517, i32 0, i32 0
  %519 = load float, ptr %518, align 16, !tbaa !10
  %520 = fpext float %519 to double
  %521 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, double noundef %520, double noundef 0.000000e+00)
  br label %522

522:                                              ; preds = %511, %502
  %523 = load ptr, ptr %2, align 8, !tbaa !5
  %524 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %523, i32 0, i32 0
  %525 = load i32, ptr %524, align 4, !tbaa !11
  %526 = add nsw i32 %525, 1
  store i32 %526, ptr %524, align 4, !tbaa !11
  %527 = getelementptr inbounds %struct.anon.10, ptr %38, i32 0, i32 0
  %528 = getelementptr inbounds %struct.anon.11, ptr %527, i32 0, i32 1
  %529 = load float, ptr %528, align 4, !tbaa !10
  %530 = fcmp oge float %529, 0.000000e+00
  br i1 %530, label %531, label %542

531:                                              ; preds = %522
  %532 = load ptr, ptr %2, align 8, !tbaa !5
  %533 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %532, i32 0, i32 1
  %534 = load i32, ptr %533, align 4, !tbaa !16
  %535 = add nsw i32 %534, 1
  store i32 %535, ptr %533, align 4, !tbaa !16
  %536 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 83)
  %537 = getelementptr inbounds %struct.anon.10, ptr %38, i32 0, i32 0
  %538 = getelementptr inbounds %struct.anon.11, ptr %537, i32 0, i32 1
  %539 = load float, ptr %538, align 4, !tbaa !10
  %540 = fpext float %539 to double
  %541 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, double noundef %540, double noundef 0.000000e+00)
  br label %542

542:                                              ; preds = %531, %522
  %543 = load ptr, ptr %2, align 8, !tbaa !5
  %544 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %543, i32 0, i32 0
  %545 = load i32, ptr %544, align 4, !tbaa !11
  %546 = add nsw i32 %545, 1
  store i32 %546, ptr %544, align 4, !tbaa !11
  %547 = getelementptr inbounds %struct.anon.10, ptr %38, i32 0, i32 0
  %548 = getelementptr inbounds %struct.anon.11, ptr %547, i32 0, i32 2
  %549 = load float, ptr %548, align 8, !tbaa !10
  %550 = fcmp ole float %549, 0.000000e+00
  br i1 %550, label %551, label %562

551:                                              ; preds = %542
  %552 = load ptr, ptr %2, align 8, !tbaa !5
  %553 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %552, i32 0, i32 1
  %554 = load i32, ptr %553, align 4, !tbaa !16
  %555 = add nsw i32 %554, 1
  store i32 %555, ptr %553, align 4, !tbaa !16
  %556 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 84)
  %557 = getelementptr inbounds %struct.anon.10, ptr %38, i32 0, i32 0
  %558 = getelementptr inbounds %struct.anon.11, ptr %557, i32 0, i32 2
  %559 = load float, ptr %558, align 8, !tbaa !10
  %560 = fpext float %559 to double
  %561 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, double noundef %560, double noundef 0.000000e+00)
  br label %562

562:                                              ; preds = %551, %542
  %563 = load ptr, ptr %2, align 8, !tbaa !5
  %564 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %563, i32 0, i32 0
  %565 = load i32, ptr %564, align 4, !tbaa !11
  %566 = add nsw i32 %565, 1
  store i32 %566, ptr %564, align 4, !tbaa !11
  %567 = getelementptr inbounds %struct.anon.10, ptr %38, i32 0, i32 1
  %568 = load float, ptr %567, align 4, !tbaa !10
  %569 = fcmp oge float %568, 0.000000e+00
  br i1 %569, label %570, label %580

570:                                              ; preds = %562
  %571 = load ptr, ptr %2, align 8, !tbaa !5
  %572 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %571, i32 0, i32 1
  %573 = load i32, ptr %572, align 4, !tbaa !16
  %574 = add nsw i32 %573, 1
  store i32 %574, ptr %572, align 4, !tbaa !16
  %575 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 85)
  %576 = getelementptr inbounds %struct.anon.10, ptr %38, i32 0, i32 1
  %577 = load float, ptr %576, align 4, !tbaa !10
  %578 = fpext float %577 to double
  %579 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, double noundef %578, double noundef 0.000000e+00)
  br label %580

580:                                              ; preds = %570, %562
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL10HMM_NormV28HMM_Vec2(<2 x float>) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL10HMM_NormV48HMM_Vec4(double, double) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL8HMM_Norm8HMM_Vec2(<2 x float>) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { double, double } @_ZL8HMM_Norm8HMM_Vec4(double, double) #4

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"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #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 8, !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}
!17 = !{i64 0, i64 12, !10}
!18 = !{i64 0, i64 16, !10}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [31 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 <2 x float> @_ZL6HMM_V2ff(float noundef, float noundef) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef float @_ZL9HMM_LenV28HMM_Vec2(<2 x float>) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef float @_ZL9HMM_LenV38HMM_Vec3(<2 x float>, float) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z29_hmt_test_VectorOps_NormalizeP21hmt_testresult_struct(ptr noundef %0) local_unnamed_addr #4 {
  %2 = tail call <2 x float> @_ZL6HMM_V2ff(float noundef 1.000000e+00, float noundef -2.000000e+00)
  %3 = tail call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 1.000000e+00, float noundef -2.000000e+00, float noundef 3.000000e+00)
  %.fca.0.extract117 = extractvalue { <2 x float>, float } %3, 0
  %.fca.1.extract118 = extractvalue { <2 x float>, float } %3, 1
  %4 = tail call { double, double } @_ZL6HMM_V4ffff(float noundef 1.000000e+00, float noundef -2.000000e+00, float noundef 3.000000e+00, float noundef -1.000000e+00)
  %5 = extractvalue { double, double } %4, 0
  %6 = extractvalue { double, double } %4, 1
  %7 = tail call <2 x float> @_ZL10HMM_NormV28HMM_Vec2(<2 x float> %2)
  %8 = load i32, ptr %0, align 4, !tbaa !5
  %9 = add nsw i32 %8, 1
  store i32 %9, ptr %0, align 4, !tbaa !5
  %10 = tail call noundef float @_ZL9HMM_LenV28HMM_Vec2(<2 x float> %7)
  %11 = fadd float %10, -1.000000e+00
  %12 = tail call float @llvm.fabs.f32(float %11)
  %or.cond = fcmp ogt float %12, 0x3F50624DE0000000
  br i1 %or.cond, label %13, label %20

13:                                               ; preds = %1
  %14 = getelementptr inbounds i8, ptr %0, i64 4
  %15 = load i32, ptr %14, align 4, !tbaa !10
  %16 = add nsw i32 %15, 1
  store i32 %16, ptr %14, align 4, !tbaa !10
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 45)
  %18 = fpext float %10 to double
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %18)
  br label %20

20:                                               ; preds = %1, %13
  %21 = load i32, ptr %0, align 4, !tbaa !5
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %0, align 4, !tbaa !5
  %.sroa.0110.0.vec.extract = extractelement <2 x float> %7, i64 0
  %23 = fcmp ugt float %.sroa.0110.0.vec.extract, 0.000000e+00
  br i1 %23, label %31, label %24

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

31:                                               ; preds = %24, %20
  %32 = phi i32 [ %.pre, %24 ], [ %22, %20 ]
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr %0, align 4, !tbaa !5
  %.sroa.0110.4.vec.extract = extractelement <2 x float> %7, i64 1
  %34 = fcmp ult float %.sroa.0110.4.vec.extract, 0.000000e+00
  br i1 %34, label %42, label %35

35:                                               ; preds = %31
  %36 = getelementptr inbounds i8, ptr %0, i64 4
  %37 = load i32, ptr %36, align 4, !tbaa !10
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %36, align 4, !tbaa !10
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 47)
  %40 = fpext float %.sroa.0110.4.vec.extract to double
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, double noundef %40, double noundef 0.000000e+00)
  br label %42

42:                                               ; preds = %35, %31
  %43 = tail call { <2 x float>, float } @_ZL10HMM_NormV38HMM_Vec3(<2 x float> %.fca.0.extract117, float %.fca.1.extract118)
  %.fca.0.extract88 = extractvalue { <2 x float>, float } %43, 0
  %.fca.1.extract89 = extractvalue { <2 x float>, float } %43, 1
  %44 = load i32, ptr %0, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %0, align 4, !tbaa !5
  %46 = tail call noundef float @_ZL9HMM_LenV38HMM_Vec3(<2 x float> %.fca.0.extract88, float %.fca.1.extract89)
  %47 = fadd float %46, -1.000000e+00
  %48 = tail call float @llvm.fabs.f32(float %47)
  %or.cond3 = fcmp ogt float %48, 0x3F50624DE0000000
  br i1 %or.cond3, label %49, label %56

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

56:                                               ; preds = %42, %49
  %57 = load i32, ptr %0, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %0, align 4, !tbaa !5
  %.sroa.096.0.vec.extract = extractelement <2 x float> %.fca.0.extract88, i64 0
  %59 = fcmp ugt float %.sroa.096.0.vec.extract, 0.000000e+00
  br i1 %59, label %67, label %60

60:                                               ; preds = %56
  %61 = getelementptr inbounds i8, ptr %0, i64 4
  %62 = load i32, ptr %61, align 4, !tbaa !10
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %61, align 4, !tbaa !10
  %64 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 52)
  %65 = fpext float %.sroa.096.0.vec.extract to double
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, double noundef %65, double noundef 0.000000e+00)
  %.pre182 = load i32, ptr %0, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %60, %56
  %68 = phi i32 [ %.pre182, %60 ], [ %58, %56 ]
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %0, align 4, !tbaa !5
  %.sroa.096.4.vec.extract = extractelement <2 x float> %.fca.0.extract88, i64 1
  %70 = fcmp ult float %.sroa.096.4.vec.extract, 0.000000e+00
  br i1 %70, label %78, label %71

71:                                               ; preds = %67
  %72 = getelementptr inbounds i8, ptr %0, i64 4
  %73 = load i32, ptr %72, align 4, !tbaa !10
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %72, align 4, !tbaa !10
  %75 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 53)
  %76 = fpext float %.sroa.096.4.vec.extract to double
  %77 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, double noundef %76, double noundef 0.000000e+00)
  %.pre183 = load i32, ptr %0, align 4, !tbaa !5
  br label %78

78:                                               ; preds = %71, %67
  %79 = phi i32 [ %.pre183, %71 ], [ %69, %67 ]
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %0, align 4, !tbaa !5
  %81 = fcmp ugt float %.fca.1.extract89, 0.000000e+00
  br i1 %81, label %89, label %82

82:                                               ; preds = %78
  %83 = getelementptr inbounds i8, ptr %0, i64 4
  %84 = load i32, ptr %83, align 4, !tbaa !10
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %83, align 4, !tbaa !10
  %86 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 54)
  %87 = fpext float %.fca.1.extract89 to double
  %88 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, double noundef %87, double noundef 0.000000e+00)
  br label %89

89:                                               ; preds = %82, %78
  %90 = tail call { double, double } @_ZL10HMM_NormV48HMM_Vec4(double %5, double %6)
  %91 = extractvalue { double, double } %90, 0
  %92 = extractvalue { double, double } %90, 1
  %93 = load i32, ptr %0, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %0, align 4, !tbaa !5
  %95 = tail call noundef float @_ZL9HMM_LenV48HMM_Vec4(double %91, double %92)
  %96 = fadd float %95, -1.000000e+00
  %97 = tail call float @llvm.fabs.f32(float %96)
  %or.cond5 = fcmp ogt float %97, 0x3F50624DE0000000
  %98 = bitcast double %91 to i64
  %99 = trunc i64 %98 to i32
  %100 = bitcast i32 %99 to float
  %101 = lshr i64 %98, 32
  %102 = trunc nuw i64 %101 to i32
  %103 = bitcast i32 %102 to float
  %104 = bitcast double %92 to i64
  %105 = trunc i64 %104 to i32
  %106 = bitcast i32 %105 to float
  %107 = lshr i64 %104, 32
  %108 = trunc nuw i64 %107 to i32
  %109 = bitcast i32 %108 to float
  br i1 %or.cond5, label %110, label %117

110:                                              ; preds = %89
  %111 = getelementptr inbounds i8, ptr %0, i64 4
  %112 = load i32, ptr %111, align 4, !tbaa !10
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %111, align 4, !tbaa !10
  %114 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 58)
  %115 = fpext float %95 to double
  %116 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %115)
  br label %117

117:                                              ; preds = %89, %110
  %118 = load i32, ptr %0, align 4, !tbaa !5
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %0, align 4, !tbaa !5
  %120 = fcmp ugt float %100, 0.000000e+00
  br i1 %120, label %128, label %121

121:                                              ; preds = %117
  %122 = getelementptr inbounds i8, ptr %0, i64 4
  %123 = load i32, ptr %122, align 4, !tbaa !10
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %122, align 4, !tbaa !10
  %125 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 59)
  %126 = fpext float %100 to double
  %127 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, double noundef %126, double noundef 0.000000e+00)
  %.pre184 = load i32, ptr %0, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %121, %117
  %129 = phi i32 [ %.pre184, %121 ], [ %119, %117 ]
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %0, align 4, !tbaa !5
  %131 = fcmp ult float %103, 0.000000e+00
  br i1 %131, label %139, label %132

132:                                              ; preds = %128
  %133 = getelementptr inbounds i8, ptr %0, i64 4
  %134 = load i32, ptr %133, align 4, !tbaa !10
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %133, align 4, !tbaa !10
  %136 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 60)
  %137 = fpext float %103 to double
  %138 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, double noundef %137, double noundef 0.000000e+00)
  %.pre185 = load i32, ptr %0, align 4, !tbaa !5
  br label %139

139:                                              ; preds = %132, %128
  %140 = phi i32 [ %.pre185, %132 ], [ %130, %128 ]
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %0, align 4, !tbaa !5
  %142 = fcmp ugt float %106, 0.000000e+00
  br i1 %142, label %150, label %143

143:                                              ; preds = %139
  %144 = getelementptr inbounds i8, ptr %0, i64 4
  %145 = load i32, ptr %144, align 4, !tbaa !10
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %144, align 4, !tbaa !10
  %147 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 61)
  %148 = fpext float %106 to double
  %149 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, double noundef %148, double noundef 0.000000e+00)
  %.pre186 = load i32, ptr %0, align 4, !tbaa !5
  br label %150

150:                                              ; preds = %143, %139
  %151 = phi i32 [ %.pre186, %143 ], [ %141, %139 ]
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %0, align 4, !tbaa !5
  %153 = fcmp ult float %109, 0.000000e+00
  br i1 %153, label %161, label %154

154:                                              ; preds = %150
  %155 = getelementptr inbounds i8, ptr %0, i64 4
  %156 = load i32, ptr %155, align 4, !tbaa !10
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %155, align 4, !tbaa !10
  %158 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 62)
  %159 = fpext float %109 to double
  %160 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, double noundef %159, double noundef 0.000000e+00)
  br label %161

161:                                              ; preds = %154, %150
  %162 = tail call <2 x float> @_ZL8HMM_Norm8HMM_Vec2(<2 x float> %2)
  %163 = load i32, ptr %0, align 4, !tbaa !5
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %0, align 4, !tbaa !5
  %165 = tail call noundef float @_ZL9HMM_LenV28HMM_Vec2(<2 x float> %162)
  %166 = fadd float %165, -1.000000e+00
  %167 = tail call float @llvm.fabs.f32(float %166)
  %or.cond7 = fcmp ogt float %167, 0x3F50624DE0000000
  br i1 %or.cond7, label %168, label %175

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

175:                                              ; preds = %161, %168
  %176 = load i32, ptr %0, align 4, !tbaa !5
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %0, align 4, !tbaa !5
  %.sroa.055.0.vec.extract = extractelement <2 x float> %162, i64 0
  %178 = fcmp ugt float %.sroa.055.0.vec.extract, 0.000000e+00
  br i1 %178, label %186, label %179

179:                                              ; preds = %175
  %180 = getelementptr inbounds i8, ptr %0, i64 4
  %181 = load i32, ptr %180, align 4, !tbaa !10
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %180, align 4, !tbaa !10
  %183 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 69)
  %184 = fpext float %.sroa.055.0.vec.extract to double
  %185 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, double noundef %184, double noundef 0.000000e+00)
  %.pre187 = load i32, ptr %0, align 4, !tbaa !5
  br label %186

186:                                              ; preds = %179, %175
  %187 = phi i32 [ %.pre187, %179 ], [ %177, %175 ]
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %0, align 4, !tbaa !5
  %.sroa.055.4.vec.extract = extractelement <2 x float> %162, i64 1
  %189 = fcmp ult float %.sroa.055.4.vec.extract, 0.000000e+00
  br i1 %189, label %197, label %190

190:                                              ; preds = %186
  %191 = getelementptr inbounds i8, ptr %0, i64 4
  %192 = load i32, ptr %191, align 4, !tbaa !10
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %191, align 4, !tbaa !10
  %194 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 70)
  %195 = fpext float %.sroa.055.4.vec.extract to double
  %196 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, double noundef %195, double noundef 0.000000e+00)
  br label %197

197:                                              ; preds = %190, %186
  %198 = tail call { <2 x float>, float } @_ZL8HMM_Norm8HMM_Vec3(<2 x float> %.fca.0.extract117, float %.fca.1.extract118)
  %.fca.0.extract = extractvalue { <2 x float>, float } %198, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %198, 1
  %199 = load i32, ptr %0, align 4, !tbaa !5
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %0, align 4, !tbaa !5
  %201 = tail call noundef float @_ZL9HMM_LenV38HMM_Vec3(<2 x float> %.fca.0.extract, float %.fca.1.extract)
  %202 = fadd float %201, -1.000000e+00
  %203 = tail call float @llvm.fabs.f32(float %202)
  %or.cond9 = fcmp ogt float %203, 0x3F50624DE0000000
  br i1 %or.cond9, label %204, label %211

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

211:                                              ; preds = %197, %204
  %212 = load i32, ptr %0, align 4, !tbaa !5
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %0, align 4, !tbaa !5
  %.sroa.041.0.vec.extract = extractelement <2 x float> %.fca.0.extract, i64 0
  %214 = fcmp ugt float %.sroa.041.0.vec.extract, 0.000000e+00
  br i1 %214, label %222, label %215

215:                                              ; preds = %211
  %216 = getelementptr inbounds i8, ptr %0, i64 4
  %217 = load i32, ptr %216, align 4, !tbaa !10
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %216, align 4, !tbaa !10
  %219 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 75)
  %220 = fpext float %.sroa.041.0.vec.extract to double
  %221 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, double noundef %220, double noundef 0.000000e+00)
  %.pre188 = load i32, ptr %0, align 4, !tbaa !5
  br label %222

222:                                              ; preds = %215, %211
  %223 = phi i32 [ %.pre188, %215 ], [ %213, %211 ]
  %224 = add nsw i32 %223, 1
  store i32 %224, ptr %0, align 4, !tbaa !5
  %.sroa.041.4.vec.extract = extractelement <2 x float> %.fca.0.extract, i64 1
  %225 = fcmp ult float %.sroa.041.4.vec.extract, 0.000000e+00
  br i1 %225, label %233, label %226

226:                                              ; preds = %222
  %227 = getelementptr inbounds i8, ptr %0, i64 4
  %228 = load i32, ptr %227, align 4, !tbaa !10
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr %227, align 4, !tbaa !10
  %230 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 76)
  %231 = fpext float %.sroa.041.4.vec.extract to double
  %232 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, double noundef %231, double noundef 0.000000e+00)
  %.pre189 = load i32, ptr %0, align 4, !tbaa !5
  br label %233

233:                                              ; preds = %226, %222
  %234 = phi i32 [ %.pre189, %226 ], [ %224, %222 ]
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %0, align 4, !tbaa !5
  %236 = fcmp ugt float %.fca.1.extract, 0.000000e+00
  br i1 %236, label %244, label %237

237:                                              ; preds = %233
  %238 = getelementptr inbounds i8, ptr %0, i64 4
  %239 = load i32, ptr %238, align 4, !tbaa !10
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %238, align 4, !tbaa !10
  %241 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 77)
  %242 = fpext float %.fca.1.extract to double
  %243 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, double noundef %242, double noundef 0.000000e+00)
  br label %244

244:                                              ; preds = %237, %233
  %245 = tail call { double, double } @_ZL8HMM_Norm8HMM_Vec4(double %5, double %6)
  %246 = extractvalue { double, double } %245, 0
  %247 = extractvalue { double, double } %245, 1
  %248 = load i32, ptr %0, align 4, !tbaa !5
  %249 = add nsw i32 %248, 1
  store i32 %249, ptr %0, align 4, !tbaa !5
  %250 = tail call noundef float @_ZL9HMM_LenV48HMM_Vec4(double %246, double %247)
  %251 = fadd float %250, -1.000000e+00
  %252 = tail call float @llvm.fabs.f32(float %251)
  %or.cond11 = fcmp ogt float %252, 0x3F50624DE0000000
  %253 = bitcast double %246 to i64
  %254 = trunc i64 %253 to i32
  %255 = bitcast i32 %254 to float
  %256 = lshr i64 %253, 32
  %257 = trunc nuw i64 %256 to i32
  %258 = bitcast i32 %257 to float
  %259 = bitcast double %247 to i64
  %260 = trunc i64 %259 to i32
  %261 = bitcast i32 %260 to float
  %262 = lshr i64 %259, 32
  %263 = trunc nuw i64 %262 to i32
  %264 = bitcast i32 %263 to float
  br i1 %or.cond11, label %265, label %272

265:                                              ; preds = %244
  %266 = getelementptr inbounds i8, ptr %0, i64 4
  %267 = load i32, ptr %266, align 4, !tbaa !10
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr %266, align 4, !tbaa !10
  %269 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 81)
  %270 = fpext float %250 to double
  %271 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %270)
  br label %272

272:                                              ; preds = %244, %265
  %273 = load i32, ptr %0, align 4, !tbaa !5
  %274 = add nsw i32 %273, 1
  store i32 %274, ptr %0, align 4, !tbaa !5
  %275 = fcmp ugt float %255, 0.000000e+00
  br i1 %275, label %283, label %276

276:                                              ; preds = %272
  %277 = getelementptr inbounds i8, ptr %0, i64 4
  %278 = load i32, ptr %277, align 4, !tbaa !10
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %277, align 4, !tbaa !10
  %280 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 82)
  %281 = fpext float %255 to double
  %282 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, double noundef %281, double noundef 0.000000e+00)
  %.pre190 = load i32, ptr %0, align 4, !tbaa !5
  br label %283

283:                                              ; preds = %276, %272
  %284 = phi i32 [ %.pre190, %276 ], [ %274, %272 ]
  %285 = add nsw i32 %284, 1
  store i32 %285, ptr %0, align 4, !tbaa !5
  %286 = fcmp ult float %258, 0.000000e+00
  br i1 %286, label %294, label %287

287:                                              ; preds = %283
  %288 = getelementptr inbounds i8, ptr %0, i64 4
  %289 = load i32, ptr %288, align 4, !tbaa !10
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %288, align 4, !tbaa !10
  %291 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 83)
  %292 = fpext float %258 to double
  %293 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, double noundef %292, double noundef 0.000000e+00)
  %.pre191 = load i32, ptr %0, align 4, !tbaa !5
  br label %294

294:                                              ; preds = %287, %283
  %295 = phi i32 [ %.pre191, %287 ], [ %285, %283 ]
  %296 = add nsw i32 %295, 1
  store i32 %296, ptr %0, align 4, !tbaa !5
  %297 = fcmp ugt float %261, 0.000000e+00
  br i1 %297, label %305, label %298

298:                                              ; preds = %294
  %299 = getelementptr inbounds i8, ptr %0, i64 4
  %300 = load i32, ptr %299, align 4, !tbaa !10
  %301 = add nsw i32 %300, 1
  store i32 %301, ptr %299, align 4, !tbaa !10
  %302 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 84)
  %303 = fpext float %261 to double
  %304 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, double noundef %303, double noundef 0.000000e+00)
  %.pre192 = load i32, ptr %0, align 4, !tbaa !5
  br label %305

305:                                              ; preds = %298, %294
  %306 = phi i32 [ %.pre192, %298 ], [ %296, %294 ]
  %307 = add nsw i32 %306, 1
  store i32 %307, ptr %0, align 4, !tbaa !5
  %308 = fcmp ult float %264, 0.000000e+00
  br i1 %308, label %316, label %309

309:                                              ; preds = %305
  %310 = getelementptr inbounds i8, ptr %0, i64 4
  %311 = load i32, ptr %310, align 4, !tbaa !10
  %312 = add nsw i32 %311, 1
  store i32 %312, ptr %310, align 4, !tbaa !10
  %313 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 85)
  %314 = fpext float %264 to double
  %315 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, double noundef %314, double noundef 0.000000e+00)
  br label %316

316:                                              ; preds = %309, %305
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL10HMM_NormV28HMM_Vec2(<2 x float>) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL8HMM_Norm8HMM_Vec2(<2 x float>) local_unnamed_addr #1

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

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

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

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"="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 #2 = { 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 #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"="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 #5 = { 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,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass