; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z33_hmt_test_VectorOps_NormalizeZeroP21hmt_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.18 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <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 <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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z33_hmt_test_VectorOps_NormalizeZeroP21hmt_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 float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca %union.HMM_Vec3, align 4
  %14 = alloca %union.HMM_Vec3, align 4
  %15 = alloca { <2 x float>, float }, align 4
  %16 = alloca { <2 x float>, float }, align 8
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca %union.HMM_Vec4, align 16
  %24 = alloca %union.HMM_Vec4, align 16
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca %union.HMM_Vec2, align 4
  %34 = alloca %union.HMM_Vec2, 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_Vec3, align 4
  %40 = alloca %union.HMM_Vec3, align 4
  %41 = alloca { <2 x float>, float }, align 4
  %42 = alloca { <2 x float>, float }, align 8
  %43 = alloca float, align 4
  %44 = alloca float, align 4
  %45 = alloca float, align 4
  %46 = alloca float, align 4
  %47 = alloca float, align 4
  %48 = alloca float, align 4
  %49 = alloca %union.HMM_Vec4, align 16
  %50 = alloca %union.HMM_Vec4, align 16
  %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 float, align 4
  %57 = alloca float, align 4
  %58 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %59 = call <2 x float> @_ZL6HMM_V2ff(float noundef 0.000000e+00, float noundef 0.000000e+00)
  %60 = getelementptr inbounds %union.HMM_Vec2, ptr %3, i32 0, i32 0
  store <2 x float> %59, ptr %60, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %4) #7
  %61 = call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %62 = getelementptr inbounds %union.HMM_Vec3, ptr %4, i32 0, i32 0
  store { <2 x float>, float } %61, ptr %5, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 8 %5, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #7
  %63 = call { double, double } @_ZL6HMM_V4ffff(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %64 = getelementptr inbounds %union.HMM_Vec4, ptr %6, i32 0, i32 0
  %65 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 0
  %66 = extractvalue { double, double } %63, 0
  store double %66, ptr %65, align 16
  %67 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 1
  %68 = extractvalue { double, double } %63, 1
  store double %68, ptr %67, 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
  %69 = getelementptr inbounds %union.HMM_Vec2, ptr %8, i32 0, i32 0
  %70 = load <2 x float>, ptr %69, align 4
  %71 = call <2 x float> @_ZL10HMM_NormV28HMM_Vec2(<2 x float> %70)
  %72 = getelementptr inbounds %union.HMM_Vec2, ptr %7, i32 0, i32 0
  store <2 x float> %71, ptr %72, align 4
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 4, !tbaa !11
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %74, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %77 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 0
  %78 = load float, ptr %77, align 4, !tbaa !10
  store float %78, ptr %9, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %79 = load float, ptr %9, align 4, !tbaa !14
  %80 = fsub float %79, 0.000000e+00
  store float %80, ptr %10, align 4, !tbaa !14
  %81 = load float, ptr %10, align 4, !tbaa !14
  %82 = fcmp olt float %81, 0xBE80000000000000
  br i1 %82, label %86, label %83

83:                                               ; preds = %1
  %84 = load float, ptr %10, align 4, !tbaa !14
  %85 = fcmp olt float 0x3E80000000000000, %84
  br i1 %85, label %86, label %97

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

97:                                               ; preds = %86, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %98, i32 0, i32 0
  %100 = load i32, ptr %99, align 4, !tbaa !11
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %99, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %102 = getelementptr inbounds %struct.anon, ptr %7, i32 0, i32 1
  %103 = load float, ptr %102, align 4, !tbaa !10
  store float %103, ptr %11, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %104 = load float, ptr %11, align 4, !tbaa !14
  %105 = fsub float %104, 0.000000e+00
  store float %105, ptr %12, align 4, !tbaa !14
  %106 = load float, ptr %12, align 4, !tbaa !14
  %107 = fcmp olt float %106, 0xBE80000000000000
  br i1 %107, label %111, label %108

108:                                              ; preds = %97
  %109 = load float, ptr %12, align 4, !tbaa !14
  %110 = fcmp olt float 0x3E80000000000000, %109
  br i1 %110, label %111, label %122

111:                                              ; preds = %108, %97
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %112, i32 0, i32 1
  %114 = load i32, ptr %113, align 4, !tbaa !16
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %113, align 4, !tbaa !16
  %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 99)
  %117 = load float, ptr %11, align 4, !tbaa !14
  %118 = fpext float %117 to double
  %119 = load float, ptr %12, align 4, !tbaa !14
  %120 = fpext float %119 to double
  %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %118, double noundef %120)
  br label %122

122:                                              ; preds = %111, %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %4, i64 12, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %14, i64 12, i1 false)
  %123 = getelementptr inbounds { <2 x float>, float }, ptr %15, i32 0, i32 0
  %124 = load <2 x float>, ptr %123, align 4
  %125 = getelementptr inbounds { <2 x float>, float }, ptr %15, i32 0, i32 1
  %126 = load float, ptr %125, align 4
  %127 = call { <2 x float>, float } @_ZL10HMM_NormV38HMM_Vec3(<2 x float> %124, float %126)
  %128 = getelementptr inbounds %union.HMM_Vec3, ptr %13, i32 0, i32 0
  store { <2 x float>, float } %127, ptr %16, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %128, ptr align 8 %16, i64 12, i1 false)
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %129, i32 0, i32 0
  %131 = load i32, ptr %130, align 4, !tbaa !11
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %130, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %133 = getelementptr inbounds %struct.anon.3, ptr %13, i32 0, i32 0
  %134 = load float, ptr %133, align 4, !tbaa !10
  store float %134, ptr %17, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %135 = load float, ptr %17, align 4, !tbaa !14
  %136 = fsub float %135, 0.000000e+00
  store float %136, ptr %18, align 4, !tbaa !14
  %137 = load float, ptr %18, align 4, !tbaa !14
  %138 = fcmp olt float %137, 0xBE80000000000000
  br i1 %138, label %142, label %139

139:                                              ; preds = %122
  %140 = load float, ptr %18, align 4, !tbaa !14
  %141 = fcmp olt float 0x3E80000000000000, %140
  br i1 %141, label %142, label %153

142:                                              ; preds = %139, %122
  %143 = load ptr, ptr %2, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %143, i32 0, i32 1
  %145 = load i32, ptr %144, align 4, !tbaa !16
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %144, align 4, !tbaa !16
  %147 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 103)
  %148 = load float, ptr %17, align 4, !tbaa !14
  %149 = fpext float %148 to double
  %150 = load float, ptr %18, align 4, !tbaa !14
  %151 = fpext float %150 to double
  %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %149, double noundef %151)
  br label %153

153:                                              ; preds = %142, %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  %154 = load ptr, ptr %2, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %154, i32 0, i32 0
  %156 = load i32, ptr %155, align 4, !tbaa !11
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %155, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %158 = getelementptr inbounds %struct.anon.3, ptr %13, i32 0, i32 1
  %159 = load float, ptr %158, align 4, !tbaa !10
  store float %159, ptr %19, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %160 = load float, ptr %19, align 4, !tbaa !14
  %161 = fsub float %160, 0.000000e+00
  store float %161, ptr %20, align 4, !tbaa !14
  %162 = load float, ptr %20, align 4, !tbaa !14
  %163 = fcmp olt float %162, 0xBE80000000000000
  br i1 %163, label %167, label %164

164:                                              ; preds = %153
  %165 = load float, ptr %20, align 4, !tbaa !14
  %166 = fcmp olt float 0x3E80000000000000, %165
  br i1 %166, label %167, label %178

167:                                              ; preds = %164, %153
  %168 = load ptr, ptr %2, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %168, i32 0, i32 1
  %170 = load i32, ptr %169, align 4, !tbaa !16
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %169, align 4, !tbaa !16
  %172 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 104)
  %173 = load float, ptr %19, align 4, !tbaa !14
  %174 = fpext float %173 to double
  %175 = load float, ptr %20, align 4, !tbaa !14
  %176 = fpext float %175 to double
  %177 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %174, double noundef %176)
  br label %178

178:                                              ; preds = %167, %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  %179 = load ptr, ptr %2, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %179, i32 0, i32 0
  %181 = load i32, ptr %180, align 4, !tbaa !11
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %180, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %183 = getelementptr inbounds %struct.anon.3, ptr %13, i32 0, i32 2
  %184 = load float, ptr %183, align 4, !tbaa !10
  store float %184, ptr %21, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %185 = load float, ptr %21, align 4, !tbaa !14
  %186 = fsub float %185, 0.000000e+00
  store float %186, ptr %22, align 4, !tbaa !14
  %187 = load float, ptr %22, align 4, !tbaa !14
  %188 = fcmp olt float %187, 0xBE80000000000000
  br i1 %188, label %192, label %189

189:                                              ; preds = %178
  %190 = load float, ptr %22, align 4, !tbaa !14
  %191 = fcmp olt float 0x3E80000000000000, %190
  br i1 %191, label %192, label %203

192:                                              ; preds = %189, %178
  %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 105)
  %198 = load float, ptr %21, align 4, !tbaa !14
  %199 = fpext float %198 to double
  %200 = load float, ptr %22, align 4, !tbaa !14
  %201 = fpext float %200 to double
  %202 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %199, double noundef %201)
  br label %203

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

225:                                              ; preds = %203
  %226 = load float, ptr %26, align 4, !tbaa !14
  %227 = fcmp olt float 0x3E80000000000000, %226
  br i1 %227, label %228, label %239

228:                                              ; preds = %225, %203
  %229 = load ptr, ptr %2, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %229, i32 0, i32 1
  %231 = load i32, ptr %230, align 4, !tbaa !16
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %230, align 4, !tbaa !16
  %233 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 109)
  %234 = load float, ptr %25, align 4, !tbaa !14
  %235 = fpext float %234 to double
  %236 = load float, ptr %26, align 4, !tbaa !14
  %237 = fpext float %236 to double
  %238 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %235, double noundef %237)
  br label %239

239:                                              ; preds = %228, %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  %240 = load ptr, ptr %2, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %240, i32 0, i32 0
  %242 = load i32, ptr %241, align 4, !tbaa !11
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %241, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %244 = getelementptr inbounds %struct.anon.10, ptr %23, i32 0, i32 0
  %245 = getelementptr inbounds %struct.anon.11, ptr %244, i32 0, i32 1
  %246 = load float, ptr %245, align 4, !tbaa !10
  store float %246, ptr %27, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %247 = load float, ptr %27, align 4, !tbaa !14
  %248 = fsub float %247, 0.000000e+00
  store float %248, ptr %28, align 4, !tbaa !14
  %249 = load float, ptr %28, align 4, !tbaa !14
  %250 = fcmp olt float %249, 0xBE80000000000000
  br i1 %250, label %254, label %251

251:                                              ; preds = %239
  %252 = load float, ptr %28, align 4, !tbaa !14
  %253 = fcmp olt float 0x3E80000000000000, %252
  br i1 %253, label %254, label %265

254:                                              ; preds = %251, %239
  %255 = load ptr, ptr %2, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %255, i32 0, i32 1
  %257 = load i32, ptr %256, align 4, !tbaa !16
  %258 = add nsw i32 %257, 1
  store i32 %258, ptr %256, align 4, !tbaa !16
  %259 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 110)
  %260 = load float, ptr %27, align 4, !tbaa !14
  %261 = fpext float %260 to double
  %262 = load float, ptr %28, align 4, !tbaa !14
  %263 = fpext float %262 to double
  %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %261, double noundef %263)
  br label %265

265:                                              ; preds = %254, %251
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  %266 = load ptr, ptr %2, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %266, i32 0, i32 0
  %268 = load i32, ptr %267, align 4, !tbaa !11
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %267, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %270 = getelementptr inbounds %struct.anon.10, ptr %23, i32 0, i32 0
  %271 = getelementptr inbounds %struct.anon.11, ptr %270, i32 0, i32 2
  %272 = load float, ptr %271, align 8, !tbaa !10
  store float %272, ptr %29, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %273 = load float, ptr %29, align 4, !tbaa !14
  %274 = fsub float %273, 0.000000e+00
  store float %274, ptr %30, align 4, !tbaa !14
  %275 = load float, ptr %30, align 4, !tbaa !14
  %276 = fcmp olt float %275, 0xBE80000000000000
  br i1 %276, label %280, label %277

277:                                              ; preds = %265
  %278 = load float, ptr %30, align 4, !tbaa !14
  %279 = fcmp olt float 0x3E80000000000000, %278
  br i1 %279, label %280, label %291

280:                                              ; preds = %277, %265
  %281 = load ptr, ptr %2, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %281, i32 0, i32 1
  %283 = load i32, ptr %282, align 4, !tbaa !16
  %284 = add nsw i32 %283, 1
  store i32 %284, ptr %282, align 4, !tbaa !16
  %285 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 111)
  %286 = load float, ptr %29, align 4, !tbaa !14
  %287 = fpext float %286 to double
  %288 = load float, ptr %30, align 4, !tbaa !14
  %289 = fpext float %288 to double
  %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %287, double noundef %289)
  br label %291

291:                                              ; preds = %280, %277
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  %292 = load ptr, ptr %2, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %292, i32 0, i32 0
  %294 = load i32, ptr %293, align 4, !tbaa !11
  %295 = add nsw i32 %294, 1
  store i32 %295, ptr %293, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %296 = getelementptr inbounds %struct.anon.10, ptr %23, i32 0, i32 1
  %297 = load float, ptr %296, align 4, !tbaa !10
  store float %297, ptr %31, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  %298 = load float, ptr %31, align 4, !tbaa !14
  %299 = fsub float %298, 0.000000e+00
  store float %299, ptr %32, align 4, !tbaa !14
  %300 = load float, ptr %32, align 4, !tbaa !14
  %301 = fcmp olt float %300, 0xBE80000000000000
  br i1 %301, label %305, label %302

302:                                              ; preds = %291
  %303 = load float, ptr %32, align 4, !tbaa !14
  %304 = fcmp olt float 0x3E80000000000000, %303
  br i1 %304, label %305, label %316

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

316:                                              ; preds = %305, %302
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !9
  %317 = getelementptr inbounds %union.HMM_Vec2, ptr %34, 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 %33, 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 %35) #7
  %325 = getelementptr inbounds %struct.anon, ptr %33, i32 0, i32 0
  %326 = load float, ptr %325, align 4, !tbaa !10
  store float %326, ptr %35, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #7
  %327 = load float, ptr %35, align 4, !tbaa !14
  %328 = fsub float %327, 0.000000e+00
  store float %328, ptr %36, align 4, !tbaa !14
  %329 = load float, ptr %36, align 4, !tbaa !14
  %330 = fcmp olt float %329, 0xBE80000000000000
  br i1 %330, label %334, label %331

331:                                              ; preds = %316
  %332 = load float, ptr %36, align 4, !tbaa !14
  %333 = fcmp olt float 0x3E80000000000000, %332
  br i1 %333, label %334, label %345

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

345:                                              ; preds = %334, %331
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  %346 = load ptr, ptr %2, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %346, i32 0, i32 0
  %348 = load i32, ptr %347, align 4, !tbaa !11
  %349 = add nsw i32 %348, 1
  store i32 %349, ptr %347, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  %350 = getelementptr inbounds %struct.anon, ptr %33, i32 0, i32 1
  %351 = load float, ptr %350, align 4, !tbaa !10
  store float %351, ptr %37, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  %352 = load float, ptr %37, align 4, !tbaa !14
  %353 = fsub float %352, 0.000000e+00
  store float %353, ptr %38, align 4, !tbaa !14
  %354 = load float, ptr %38, align 4, !tbaa !14
  %355 = fcmp olt float %354, 0xBE80000000000000
  br i1 %355, label %359, label %356

356:                                              ; preds = %345
  %357 = load float, ptr %38, align 4, !tbaa !14
  %358 = fcmp olt float 0x3E80000000000000, %357
  br i1 %358, label %359, label %370

359:                                              ; preds = %356, %345
  %360 = load ptr, ptr %2, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %360, i32 0, i32 1
  %362 = load i32, ptr %361, align 4, !tbaa !16
  %363 = add nsw i32 %362, 1
  store i32 %363, ptr %361, align 4, !tbaa !16
  %364 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 119)
  %365 = load float, ptr %37, align 4, !tbaa !14
  %366 = fpext float %365 to double
  %367 = load float, ptr %38, align 4, !tbaa !14
  %368 = fpext float %367 to double
  %369 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %366, double noundef %368)
  br label %370

370:                                              ; preds = %359, %356
  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.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %39) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %4, i64 12, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %40, i64 12, i1 false)
  %371 = getelementptr inbounds { <2 x float>, float }, ptr %41, i32 0, i32 0
  %372 = load <2 x float>, ptr %371, align 4
  %373 = getelementptr inbounds { <2 x float>, float }, ptr %41, i32 0, i32 1
  %374 = load float, ptr %373, align 4
  %375 = call { <2 x float>, float } @_ZL8HMM_Norm8HMM_Vec3(<2 x float> %372, float %374)
  %376 = getelementptr inbounds %union.HMM_Vec3, ptr %39, i32 0, i32 0
  store { <2 x float>, float } %375, ptr %42, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %376, ptr align 8 %42, i64 12, i1 false)
  %377 = load ptr, ptr %2, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %377, i32 0, i32 0
  %379 = load i32, ptr %378, align 4, !tbaa !11
  %380 = add nsw i32 %379, 1
  store i32 %380, ptr %378, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #7
  %381 = getelementptr inbounds %struct.anon.3, ptr %39, i32 0, i32 0
  %382 = load float, ptr %381, align 4, !tbaa !10
  store float %382, ptr %43, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #7
  %383 = load float, ptr %43, align 4, !tbaa !14
  %384 = fsub float %383, 0.000000e+00
  store float %384, ptr %44, align 4, !tbaa !14
  %385 = load float, ptr %44, align 4, !tbaa !14
  %386 = fcmp olt float %385, 0xBE80000000000000
  br i1 %386, label %390, label %387

387:                                              ; preds = %370
  %388 = load float, ptr %44, align 4, !tbaa !14
  %389 = fcmp olt float 0x3E80000000000000, %388
  br i1 %389, label %390, label %401

390:                                              ; preds = %387, %370
  %391 = load ptr, ptr %2, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %391, i32 0, i32 1
  %393 = load i32, ptr %392, align 4, !tbaa !16
  %394 = add nsw i32 %393, 1
  store i32 %394, ptr %392, align 4, !tbaa !16
  %395 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 123)
  %396 = load float, ptr %43, align 4, !tbaa !14
  %397 = fpext float %396 to double
  %398 = load float, ptr %44, align 4, !tbaa !14
  %399 = fpext float %398 to double
  %400 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %397, double noundef %399)
  br label %401

401:                                              ; preds = %390, %387
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  %402 = load ptr, ptr %2, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %402, i32 0, i32 0
  %404 = load i32, ptr %403, align 4, !tbaa !11
  %405 = add nsw i32 %404, 1
  store i32 %405, ptr %403, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #7
  %406 = getelementptr inbounds %struct.anon.3, ptr %39, i32 0, i32 1
  %407 = load float, ptr %406, align 4, !tbaa !10
  store float %407, ptr %45, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  %408 = load float, ptr %45, align 4, !tbaa !14
  %409 = fsub float %408, 0.000000e+00
  store float %409, ptr %46, align 4, !tbaa !14
  %410 = load float, ptr %46, align 4, !tbaa !14
  %411 = fcmp olt float %410, 0xBE80000000000000
  br i1 %411, label %415, label %412

412:                                              ; preds = %401
  %413 = load float, ptr %46, align 4, !tbaa !14
  %414 = fcmp olt float 0x3E80000000000000, %413
  br i1 %414, label %415, label %426

415:                                              ; preds = %412, %401
  %416 = load ptr, ptr %2, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %416, i32 0, i32 1
  %418 = load i32, ptr %417, align 4, !tbaa !16
  %419 = add nsw i32 %418, 1
  store i32 %419, ptr %417, align 4, !tbaa !16
  %420 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 124)
  %421 = load float, ptr %45, align 4, !tbaa !14
  %422 = fpext float %421 to double
  %423 = load float, ptr %46, align 4, !tbaa !14
  %424 = fpext float %423 to double
  %425 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %422, double noundef %424)
  br label %426

426:                                              ; preds = %415, %412
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  %427 = load ptr, ptr %2, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %427, i32 0, i32 0
  %429 = load i32, ptr %428, align 4, !tbaa !11
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr %428, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #7
  %431 = getelementptr inbounds %struct.anon.3, ptr %39, i32 0, i32 2
  %432 = load float, ptr %431, align 4, !tbaa !10
  store float %432, ptr %47, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  %433 = load float, ptr %47, align 4, !tbaa !14
  %434 = fsub float %433, 0.000000e+00
  store float %434, ptr %48, align 4, !tbaa !14
  %435 = load float, ptr %48, align 4, !tbaa !14
  %436 = fcmp olt float %435, 0xBE80000000000000
  br i1 %436, label %440, label %437

437:                                              ; preds = %426
  %438 = load float, ptr %48, align 4, !tbaa !14
  %439 = fcmp olt float 0x3E80000000000000, %438
  br i1 %439, label %440, label %451

440:                                              ; preds = %437, %426
  %441 = load ptr, ptr %2, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %441, i32 0, i32 1
  %443 = load i32, ptr %442, align 4, !tbaa !16
  %444 = add nsw i32 %443, 1
  store i32 %444, ptr %442, align 4, !tbaa !16
  %445 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 125)
  %446 = load float, ptr %47, align 4, !tbaa !14
  %447 = fpext float %446 to double
  %448 = load float, ptr %48, align 4, !tbaa !14
  %449 = fpext float %448 to double
  %450 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %447, double noundef %449)
  br label %451

451:                                              ; preds = %440, %437
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %50, ptr align 16 %6, i64 16, i1 false), !tbaa.struct !18
  %452 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 0
  %453 = load double, ptr %452, align 16
  %454 = getelementptr inbounds { double, double }, ptr %50, i32 0, i32 1
  %455 = load double, ptr %454, align 8
  %456 = call { double, double } @_ZL8HMM_Norm8HMM_Vec4(double %453, double %455)
  %457 = getelementptr inbounds %union.HMM_Vec4, ptr %49, i32 0, i32 0
  %458 = getelementptr inbounds { double, double }, ptr %457, i32 0, i32 0
  %459 = extractvalue { double, double } %456, 0
  store double %459, ptr %458, align 16
  %460 = getelementptr inbounds { double, double }, ptr %457, i32 0, i32 1
  %461 = extractvalue { double, double } %456, 1
  store double %461, ptr %460, align 8
  %462 = load ptr, ptr %2, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %462, i32 0, i32 0
  %464 = load i32, ptr %463, align 4, !tbaa !11
  %465 = add nsw i32 %464, 1
  store i32 %465, ptr %463, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #7
  %466 = getelementptr inbounds %struct.anon.10, ptr %49, i32 0, i32 0
  %467 = getelementptr inbounds %struct.anon.11, ptr %466, i32 0, i32 0
  %468 = load float, ptr %467, align 16, !tbaa !10
  store float %468, ptr %51, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #7
  %469 = load float, ptr %51, align 4, !tbaa !14
  %470 = fsub float %469, 0.000000e+00
  store float %470, ptr %52, align 4, !tbaa !14
  %471 = load float, ptr %52, align 4, !tbaa !14
  %472 = fcmp olt float %471, 0xBE80000000000000
  br i1 %472, label %476, label %473

473:                                              ; preds = %451
  %474 = load float, ptr %52, align 4, !tbaa !14
  %475 = fcmp olt float 0x3E80000000000000, %474
  br i1 %475, label %476, label %487

476:                                              ; preds = %473, %451
  %477 = load ptr, ptr %2, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %477, i32 0, i32 1
  %479 = load i32, ptr %478, align 4, !tbaa !16
  %480 = add nsw i32 %479, 1
  store i32 %480, ptr %478, align 4, !tbaa !16
  %481 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 129)
  %482 = load float, ptr %51, align 4, !tbaa !14
  %483 = fpext float %482 to double
  %484 = load float, ptr %52, align 4, !tbaa !14
  %485 = fpext float %484 to double
  %486 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %483, double noundef %485)
  br label %487

487:                                              ; preds = %476, %473
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #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 !11
  %491 = add nsw i32 %490, 1
  store i32 %491, ptr %489, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #7
  %492 = getelementptr inbounds %struct.anon.10, ptr %49, 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 %53, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #7
  %495 = load float, ptr %53, align 4, !tbaa !14
  %496 = fsub float %495, 0.000000e+00
  store float %496, ptr %54, align 4, !tbaa !14
  %497 = load float, ptr %54, align 4, !tbaa !14
  %498 = fcmp olt float %497, 0xBE80000000000000
  br i1 %498, label %502, label %499

499:                                              ; preds = %487
  %500 = load float, ptr %54, align 4, !tbaa !14
  %501 = fcmp olt float 0x3E80000000000000, %500
  br i1 %501, label %502, label %513

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 !16
  %506 = add nsw i32 %505, 1
  store i32 %506, ptr %504, align 4, !tbaa !16
  %507 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 130)
  %508 = load float, ptr %53, align 4, !tbaa !14
  %509 = fpext float %508 to double
  %510 = load float, ptr %54, align 4, !tbaa !14
  %511 = fpext float %510 to double
  %512 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %509, double noundef %511)
  br label %513

513:                                              ; preds = %502, %499
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #7
  %514 = load ptr, ptr %2, align 8, !tbaa !5
  %515 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %514, i32 0, i32 0
  %516 = load i32, ptr %515, align 4, !tbaa !11
  %517 = add nsw i32 %516, 1
  store i32 %517, ptr %515, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #7
  %518 = getelementptr inbounds %struct.anon.10, ptr %49, i32 0, i32 0
  %519 = getelementptr inbounds %struct.anon.11, ptr %518, i32 0, i32 2
  %520 = load float, ptr %519, align 8, !tbaa !10
  store float %520, ptr %55, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #7
  %521 = load float, ptr %55, align 4, !tbaa !14
  %522 = fsub float %521, 0.000000e+00
  store float %522, ptr %56, align 4, !tbaa !14
  %523 = load float, ptr %56, align 4, !tbaa !14
  %524 = fcmp olt float %523, 0xBE80000000000000
  br i1 %524, label %528, label %525

525:                                              ; preds = %513
  %526 = load float, ptr %56, align 4, !tbaa !14
  %527 = fcmp olt float 0x3E80000000000000, %526
  br i1 %527, label %528, label %539

528:                                              ; preds = %525, %513
  %529 = load ptr, ptr %2, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %529, i32 0, i32 1
  %531 = load i32, ptr %530, align 4, !tbaa !16
  %532 = add nsw i32 %531, 1
  store i32 %532, ptr %530, align 4, !tbaa !16
  %533 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 131)
  %534 = load float, ptr %55, align 4, !tbaa !14
  %535 = fpext float %534 to double
  %536 = load float, ptr %56, align 4, !tbaa !14
  %537 = fpext float %536 to double
  %538 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %535, double noundef %537)
  br label %539

539:                                              ; preds = %528, %525
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #7
  %540 = load ptr, ptr %2, align 8, !tbaa !5
  %541 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %540, i32 0, i32 0
  %542 = load i32, ptr %541, align 4, !tbaa !11
  %543 = add nsw i32 %542, 1
  store i32 %543, ptr %541, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #7
  %544 = getelementptr inbounds %struct.anon.10, ptr %49, i32 0, i32 1
  %545 = load float, ptr %544, align 4, !tbaa !10
  store float %545, ptr %57, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #7
  %546 = load float, ptr %57, align 4, !tbaa !14
  %547 = fsub float %546, 0.000000e+00
  store float %547, ptr %58, align 4, !tbaa !14
  %548 = load float, ptr %58, align 4, !tbaa !14
  %549 = fcmp olt float %548, 0xBE80000000000000
  br i1 %549, label %553, label %550

550:                                              ; preds = %539
  %551 = load float, ptr %58, align 4, !tbaa !14
  %552 = fcmp olt float 0x3E80000000000000, %551
  br i1 %552, label %553, label %564

553:                                              ; preds = %550, %539
  %554 = load ptr, ptr %2, align 8, !tbaa !5
  %555 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %554, i32 0, i32 1
  %556 = load i32, ptr %555, align 4, !tbaa !16
  %557 = add nsw i32 %556, 1
  store i32 %557, ptr %555, align 4, !tbaa !16
  %558 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 132)
  %559 = load float, ptr %57, align 4, !tbaa !14
  %560 = fpext float %559 to double
  %561 = load float, ptr %58, align 4, !tbaa !14
  %562 = fpext float %561 to double
  %563 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef 0.000000e+00, double noundef %560, double noundef %562)
  br label %564

564:                                              ; preds = %553, %550
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #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
}

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.18 = external hidden unnamed_addr constant [34 x i8], align 1

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <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 <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: mustprogress uwtable
define dso_local void @_Z33_hmt_test_VectorOps_NormalizeZeroP21hmt_testresult_struct(ptr nocapture noundef %0) local_unnamed_addr #4 {
  %2 = tail call <2 x float> @_ZL6HMM_V2ff(float noundef 0.000000e+00, float noundef 0.000000e+00)
  %3 = tail call { <2 x float>, float } @_ZL6HMM_V3fff(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %.fca.0.extract156 = extractvalue { <2 x float>, float } %3, 0
  %.fca.1.extract157 = extractvalue { <2 x float>, float } %3, 1
  %4 = tail call { double, double } @_ZL6HMM_V4ffff(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.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
  %.sroa.0153.0.vec.extract = extractelement <2 x float> %7, i64 0
  %10 = tail call float @llvm.fabs.f32(float %.sroa.0153.0.vec.extract)
  %or.cond = fcmp ogt float %10, 0x3E80000000000000
  br i1 %or.cond, label %11, label %18

11:                                               ; preds = %1
  %12 = getelementptr inbounds i8, ptr %0, i64 4
  %13 = load i32, ptr %12, align 4, !tbaa !10
  %14 = add nsw i32 %13, 1
  store i32 %14, ptr %12, align 4, !tbaa !10
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 98)
  %16 = fpext float %.sroa.0153.0.vec.extract to double
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %16, double noundef %16)
  %.pre = load i32, ptr %0, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %1, %11
  %19 = phi i32 [ %9, %1 ], [ %.pre, %11 ]
  %20 = add nsw i32 %19, 1
  store i32 %20, ptr %0, align 4, !tbaa !5
  %.sroa.0153.4.vec.extract = extractelement <2 x float> %7, i64 1
  %21 = tail call float @llvm.fabs.f32(float %.sroa.0153.4.vec.extract)
  %or.cond3 = fcmp ogt float %21, 0x3E80000000000000
  br i1 %or.cond3, label %22, label %29

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

29:                                               ; preds = %18, %22
  %30 = tail call { <2 x float>, float } @_ZL10HMM_NormV38HMM_Vec3(<2 x float> %.fca.0.extract156, float %.fca.1.extract157)
  %.fca.0.extract132 = extractvalue { <2 x float>, float } %30, 0
  %.fca.1.extract133 = extractvalue { <2 x float>, float } %30, 1
  %31 = load i32, ptr %0, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %0, align 4, !tbaa !5
  %.sroa.0140.0.vec.extract = extractelement <2 x float> %.fca.0.extract132, i64 0
  %33 = tail call float @llvm.fabs.f32(float %.sroa.0140.0.vec.extract)
  %or.cond5 = fcmp ogt float %33, 0x3E80000000000000
  br i1 %or.cond5, label %34, label %41

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

41:                                               ; preds = %29, %34
  %42 = phi i32 [ %32, %29 ], [ %.pre205, %34 ]
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %0, align 4, !tbaa !5
  %.sroa.0140.4.vec.extract = extractelement <2 x float> %.fca.0.extract132, i64 1
  %44 = tail call float @llvm.fabs.f32(float %.sroa.0140.4.vec.extract)
  %or.cond7 = fcmp ogt float %44, 0x3E80000000000000
  br i1 %or.cond7, label %45, label %52

45:                                               ; preds = %41
  %46 = getelementptr inbounds i8, ptr %0, i64 4
  %47 = load i32, ptr %46, align 4, !tbaa !10
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %46, align 4, !tbaa !10
  %49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 104)
  %50 = fpext float %.sroa.0140.4.vec.extract to double
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %50, double noundef %50)
  %.pre206 = load i32, ptr %0, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %41, %45
  %53 = phi i32 [ %43, %41 ], [ %.pre206, %45 ]
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %0, align 4, !tbaa !5
  %55 = tail call float @llvm.fabs.f32(float %.fca.1.extract133)
  %or.cond9 = fcmp ogt float %55, 0x3E80000000000000
  br i1 %or.cond9, label %56, label %63

56:                                               ; preds = %52
  %57 = getelementptr inbounds i8, ptr %0, i64 4
  %58 = load i32, ptr %57, align 4, !tbaa !10
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %57, align 4, !tbaa !10
  %60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 105)
  %61 = fpext float %.fca.1.extract133 to double
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %61, double noundef %61)
  br label %63

63:                                               ; preds = %52, %56
  %64 = tail call { double, double } @_ZL10HMM_NormV48HMM_Vec4(double %5, double %6)
  %65 = extractvalue { double, double } %64, 0
  %66 = extractvalue { double, double } %64, 1
  %67 = load i32, ptr %0, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %0, align 4, !tbaa !5
  %69 = bitcast double %65 to i64
  %70 = trunc i64 %69 to i32
  %71 = bitcast i32 %70 to float
  %72 = tail call float @llvm.fabs.f32(float %71)
  %or.cond11 = fcmp ogt float %72, 0x3E80000000000000
  %73 = lshr i64 %69, 32
  %74 = trunc nuw i64 %73 to i32
  %75 = bitcast i32 %74 to float
  %76 = bitcast double %66 to i64
  %77 = trunc i64 %76 to i32
  %78 = bitcast i32 %77 to float
  %79 = lshr i64 %76, 32
  %80 = trunc nuw i64 %79 to i32
  %81 = bitcast i32 %80 to float
  br i1 %or.cond11, label %82, label %89

82:                                               ; preds = %63
  %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 109)
  %87 = fpext float %71 to double
  %88 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %87, double noundef %87)
  %.pre207 = load i32, ptr %0, align 4, !tbaa !5
  br label %89

89:                                               ; preds = %63, %82
  %90 = phi i32 [ %68, %63 ], [ %.pre207, %82 ]
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %0, align 4, !tbaa !5
  %92 = tail call float @llvm.fabs.f32(float %75)
  %or.cond13 = fcmp ogt float %92, 0x3E80000000000000
  br i1 %or.cond13, label %93, label %100

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

100:                                              ; preds = %89, %93
  %101 = phi i32 [ %91, %89 ], [ %.pre208, %93 ]
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %0, align 4, !tbaa !5
  %103 = tail call float @llvm.fabs.f32(float %78)
  %or.cond15 = fcmp ogt float %103, 0x3E80000000000000
  br i1 %or.cond15, label %104, label %111

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

111:                                              ; preds = %100, %104
  %112 = phi i32 [ %102, %100 ], [ %.pre209, %104 ]
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %0, align 4, !tbaa !5
  %114 = tail call float @llvm.fabs.f32(float %81)
  %or.cond17 = fcmp ogt float %114, 0x3E80000000000000
  br i1 %or.cond17, label %115, label %122

115:                                              ; preds = %111
  %116 = getelementptr inbounds i8, ptr %0, i64 4
  %117 = load i32, ptr %116, align 4, !tbaa !10
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %116, align 4, !tbaa !10
  %119 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 112)
  %120 = fpext float %81 to double
  %121 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %120, double noundef %120)
  br label %122

122:                                              ; preds = %111, %115
  %123 = tail call <2 x float> @_ZL8HMM_Norm8HMM_Vec2(<2 x float> %2)
  %124 = load i32, ptr %0, align 4, !tbaa !5
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %0, align 4, !tbaa !5
  %.sroa.091.0.vec.extract = extractelement <2 x float> %123, i64 0
  %126 = tail call float @llvm.fabs.f32(float %.sroa.091.0.vec.extract)
  %or.cond19 = fcmp ogt float %126, 0x3E80000000000000
  br i1 %or.cond19, label %127, label %134

127:                                              ; preds = %122
  %128 = getelementptr inbounds i8, ptr %0, i64 4
  %129 = load i32, ptr %128, align 4, !tbaa !10
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %128, align 4, !tbaa !10
  %131 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 118)
  %132 = fpext float %.sroa.091.0.vec.extract to double
  %133 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %132, double noundef %132)
  %.pre210 = load i32, ptr %0, align 4, !tbaa !5
  br label %134

134:                                              ; preds = %122, %127
  %135 = phi i32 [ %125, %122 ], [ %.pre210, %127 ]
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %0, align 4, !tbaa !5
  %.sroa.091.4.vec.extract = extractelement <2 x float> %123, i64 1
  %137 = tail call float @llvm.fabs.f32(float %.sroa.091.4.vec.extract)
  %or.cond21 = fcmp ogt float %137, 0x3E80000000000000
  br i1 %or.cond21, label %138, label %145

138:                                              ; preds = %134
  %139 = getelementptr inbounds i8, ptr %0, i64 4
  %140 = load i32, ptr %139, align 4, !tbaa !10
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %139, align 4, !tbaa !10
  %142 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 119)
  %143 = fpext float %.sroa.091.4.vec.extract to double
  %144 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %143, double noundef %143)
  br label %145

145:                                              ; preds = %134, %138
  %146 = tail call { <2 x float>, float } @_ZL8HMM_Norm8HMM_Vec3(<2 x float> %.fca.0.extract156, float %.fca.1.extract157)
  %.fca.0.extract = extractvalue { <2 x float>, float } %146, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %146, 1
  %147 = load i32, ptr %0, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %0, align 4, !tbaa !5
  %.sroa.078.0.vec.extract = extractelement <2 x float> %.fca.0.extract, i64 0
  %149 = tail call float @llvm.fabs.f32(float %.sroa.078.0.vec.extract)
  %or.cond23 = fcmp ogt float %149, 0x3E80000000000000
  br i1 %or.cond23, label %150, label %157

150:                                              ; preds = %145
  %151 = getelementptr inbounds i8, ptr %0, i64 4
  %152 = load i32, ptr %151, align 4, !tbaa !10
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %151, align 4, !tbaa !10
  %154 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 123)
  %155 = fpext float %.sroa.078.0.vec.extract to double
  %156 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %155, double noundef %155)
  %.pre211 = load i32, ptr %0, align 4, !tbaa !5
  br label %157

157:                                              ; preds = %145, %150
  %158 = phi i32 [ %148, %145 ], [ %.pre211, %150 ]
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %0, align 4, !tbaa !5
  %.sroa.078.4.vec.extract = extractelement <2 x float> %.fca.0.extract, i64 1
  %160 = tail call float @llvm.fabs.f32(float %.sroa.078.4.vec.extract)
  %or.cond25 = fcmp ogt float %160, 0x3E80000000000000
  br i1 %or.cond25, label %161, label %168

161:                                              ; preds = %157
  %162 = getelementptr inbounds i8, ptr %0, i64 4
  %163 = load i32, ptr %162, align 4, !tbaa !10
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %162, align 4, !tbaa !10
  %165 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 124)
  %166 = fpext float %.sroa.078.4.vec.extract to double
  %167 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %166, double noundef %166)
  %.pre212 = load i32, ptr %0, align 4, !tbaa !5
  br label %168

168:                                              ; preds = %157, %161
  %169 = phi i32 [ %159, %157 ], [ %.pre212, %161 ]
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %0, align 4, !tbaa !5
  %171 = tail call float @llvm.fabs.f32(float %.fca.1.extract)
  %or.cond27 = fcmp ogt float %171, 0x3E80000000000000
  br i1 %or.cond27, label %172, label %179

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

179:                                              ; preds = %168, %172
  %180 = tail call { double, double } @_ZL8HMM_Norm8HMM_Vec4(double %5, double %6)
  %181 = extractvalue { double, double } %180, 0
  %182 = extractvalue { double, double } %180, 1
  %183 = load i32, ptr %0, align 4, !tbaa !5
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %0, align 4, !tbaa !5
  %185 = bitcast double %181 to i64
  %186 = trunc i64 %185 to i32
  %187 = bitcast i32 %186 to float
  %188 = tail call float @llvm.fabs.f32(float %187)
  %or.cond29 = fcmp ogt float %188, 0x3E80000000000000
  %189 = lshr i64 %185, 32
  %190 = trunc nuw i64 %189 to i32
  %191 = bitcast i32 %190 to float
  %192 = bitcast double %182 to i64
  %193 = trunc i64 %192 to i32
  %194 = bitcast i32 %193 to float
  %195 = lshr i64 %192, 32
  %196 = trunc nuw i64 %195 to i32
  %197 = bitcast i32 %196 to float
  br i1 %or.cond29, label %198, label %205

198:                                              ; preds = %179
  %199 = getelementptr inbounds i8, ptr %0, i64 4
  %200 = load i32, ptr %199, align 4, !tbaa !10
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %199, align 4, !tbaa !10
  %202 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 129)
  %203 = fpext float %187 to double
  %204 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %203, double noundef %203)
  %.pre213 = load i32, ptr %0, align 4, !tbaa !5
  br label %205

205:                                              ; preds = %179, %198
  %206 = phi i32 [ %184, %179 ], [ %.pre213, %198 ]
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %0, align 4, !tbaa !5
  %208 = tail call float @llvm.fabs.f32(float %191)
  %or.cond31 = fcmp ogt float %208, 0x3E80000000000000
  br i1 %or.cond31, label %209, label %216

209:                                              ; preds = %205
  %210 = getelementptr inbounds i8, ptr %0, i64 4
  %211 = load i32, ptr %210, align 4, !tbaa !10
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr %210, align 4, !tbaa !10
  %213 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 130)
  %214 = fpext float %191 to double
  %215 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %214, double noundef %214)
  %.pre214 = load i32, ptr %0, align 4, !tbaa !5
  br label %216

216:                                              ; preds = %205, %209
  %217 = phi i32 [ %207, %205 ], [ %.pre214, %209 ]
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %0, align 4, !tbaa !5
  %219 = tail call float @llvm.fabs.f32(float %194)
  %or.cond33 = fcmp ogt float %219, 0x3E80000000000000
  br i1 %or.cond33, label %220, label %227

220:                                              ; preds = %216
  %221 = getelementptr inbounds i8, ptr %0, i64 4
  %222 = load i32, ptr %221, align 4, !tbaa !10
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %221, align 4, !tbaa !10
  %224 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 131)
  %225 = fpext float %194 to double
  %226 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %225, double noundef %225)
  %.pre215 = load i32, ptr %0, align 4, !tbaa !5
  br label %227

227:                                              ; preds = %216, %220
  %228 = phi i32 [ %218, %216 ], [ %.pre215, %220 ]
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr %0, align 4, !tbaa !5
  %230 = tail call float @llvm.fabs.f32(float %197)
  %or.cond35 = fcmp ogt float %230, 0x3E80000000000000
  br i1 %or.cond35, label %231, label %238

231:                                              ; preds = %227
  %232 = getelementptr inbounds i8, ptr %0, i64 4
  %233 = load i32, ptr %232, align 4, !tbaa !10
  %234 = add nsw i32 %233, 1
  store i32 %234, ptr %232, align 4, !tbaa !10
  %235 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 132)
  %236 = fpext float %197 to double
  %237 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef 0.000000e+00, double noundef %236, double noundef %236)
  br label %238

238:                                              ; preds = %227, %231
  ret void
}

; 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,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass