; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z31_hmt_test_Transformations_ScaleP21hmt_testresult_struct)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%union.HMM_Mat4 = type { [4 x %union.HMM_Vec4] }
%union.HMM_Vec4 = type { <4 x float> }
%union.HMM_Vec3 = type { %struct.anon.3 }
%struct.anon.3 = type { float, float, float }
%struct.hmt_testresult_struct = type { i32, i32 }
%struct.anon.10 = type { %union.anon, float }
%union.anon = type { %union.HMM_Vec3 }
%struct.anon.11 = type { float, float, float }

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

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

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

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

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

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

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

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

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

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

61:                                               ; preds = %1
  %62 = load float, ptr %15, align 4, !tbaa !15
  %63 = fcmp olt float 0x3F50624DE0000000, %62
  br i1 %63, label %64, label %73

64:                                               ; preds = %61, %1
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %65, i32 0, i32 1
  %67 = load i32, ptr %66, align 4, !tbaa !17
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %66, align 4, !tbaa !17
  %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 56)
  %70 = load float, ptr %14, align 4, !tbaa !15
  %71 = fpext float %70 to double
  %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 2.000000e+00, double noundef %71)
  br label %73

73:                                               ; preds = %64, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %74, i32 0, i32 0
  %76 = load i32, ptr %75, align 4, !tbaa !12
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %75, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %78 = getelementptr inbounds %struct.anon.10, ptr %9, i32 0, i32 0
  %79 = getelementptr inbounds %struct.anon.11, ptr %78, i32 0, i32 1
  %80 = load float, ptr %79, align 4, !tbaa !10
  store float %80, ptr %16, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %81 = load float, ptr %16, align 4, !tbaa !15
  %82 = fsub float %81, -6.000000e+00
  store float %82, ptr %17, align 4, !tbaa !15
  %83 = load float, ptr %17, align 4, !tbaa !15
  %84 = fcmp olt float %83, 0xBF50624DE0000000
  br i1 %84, label %88, label %85

85:                                               ; preds = %73
  %86 = load float, ptr %17, align 4, !tbaa !15
  %87 = fcmp olt float 0x3F50624DE0000000, %86
  br i1 %87, label %88, label %97

88:                                               ; preds = %85, %73
  %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 !17
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %90, align 4, !tbaa !17
  %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 57)
  %94 = load float, ptr %16, align 4, !tbaa !15
  %95 = fpext float %94 to double
  %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef -6.000000e+00, double noundef %95)
  br label %97

97:                                               ; preds = %88, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #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 !12
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %99, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %102 = getelementptr inbounds %struct.anon.10, ptr %9, i32 0, i32 0
  %103 = getelementptr inbounds %struct.anon.11, ptr %102, i32 0, i32 2
  %104 = load float, ptr %103, align 8, !tbaa !10
  store float %104, ptr %18, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %105 = load float, ptr %18, align 4, !tbaa !15
  %106 = fsub float %105, 1.500000e+00
  store float %106, ptr %19, align 4, !tbaa !15
  %107 = load float, ptr %19, align 4, !tbaa !15
  %108 = fcmp olt float %107, 0xBF50624DE0000000
  br i1 %108, label %112, label %109

109:                                              ; preds = %97
  %110 = load float, ptr %19, align 4, !tbaa !15
  %111 = fcmp olt float 0x3F50624DE0000000, %110
  br i1 %111, label %112, label %121

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

121:                                              ; preds = %112, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  %122 = load ptr, ptr %2, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %122, i32 0, i32 0
  %124 = load i32, ptr %123, align 4, !tbaa !12
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %123, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %126 = getelementptr inbounds %struct.anon.10, ptr %9, i32 0, i32 1
  %127 = load float, ptr %126, align 4, !tbaa !10
  store float %127, ptr %20, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %128 = load float, ptr %20, align 4, !tbaa !15
  %129 = fsub float %128, 1.000000e+00
  store float %129, ptr %21, align 4, !tbaa !15
  %130 = load float, ptr %21, align 4, !tbaa !15
  %131 = fcmp olt float %130, 0xBF50624DE0000000
  br i1 %131, label %135, label %132

132:                                              ; preds = %121
  %133 = load float, ptr %21, align 4, !tbaa !15
  %134 = fcmp olt float 0x3F50624DE0000000, %133
  br i1 %134, label %135, label %144

135:                                              ; preds = %132, %121
  %136 = load ptr, ptr %2, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %136, i32 0, i32 1
  %138 = load i32, ptr %137, align 4, !tbaa !17
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %137, align 4, !tbaa !17
  %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 59)
  %141 = load float, ptr %20, align 4, !tbaa !15
  %142 = fpext float %141 to double
  %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef 1.000000e+00, double noundef %142)
  br label %144

144:                                              ; preds = %135, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #7
  ret void
}

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

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

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


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

%union.HMM_Mat4 = type { [4 x %union.HMM_Vec4] }
%union.HMM_Vec4 = type { <4 x float> }

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

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

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

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

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

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

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

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

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

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

28:                                               ; preds = %1
  %29 = getelementptr inbounds i8, ptr %0, i64 4
  %30 = load i32, ptr %29, align 4, !tbaa !12
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %29, align 4, !tbaa !12
  %32 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 56)
  %33 = fpext float %16 to double
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 2.000000e+00, double noundef %33)
  %.pre = load i32, ptr %0, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %1, %28
  %36 = phi i32 [ %13, %1 ], [ %.pre, %28 ]
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %0, align 4, !tbaa !9
  %38 = fadd float %21, 6.000000e+00
  %39 = call float @llvm.fabs.f32(float %38)
  %or.cond3 = fcmp ogt float %39, 0x3F50624DE0000000
  br i1 %or.cond3, label %40, label %47

40:                                               ; preds = %35
  %41 = getelementptr inbounds i8, ptr %0, i64 4
  %42 = load i32, ptr %41, align 4, !tbaa !12
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %41, align 4, !tbaa !12
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 57)
  %45 = fpext float %21 to double
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef -6.000000e+00, double noundef %45)
  %.pre50 = load i32, ptr %0, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %35, %40
  %48 = phi i32 [ %37, %35 ], [ %.pre50, %40 ]
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %0, align 4, !tbaa !9
  %50 = fadd float %24, -1.500000e+00
  %51 = call float @llvm.fabs.f32(float %50)
  %or.cond5 = fcmp ogt float %51, 0x3F50624DE0000000
  br i1 %or.cond5, label %52, label %59

52:                                               ; preds = %47
  %53 = getelementptr inbounds i8, ptr %0, i64 4
  %54 = load i32, ptr %53, align 4, !tbaa !12
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %53, align 4, !tbaa !12
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 58)
  %57 = fpext float %24 to double
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.500000e+00, double noundef %57)
  %.pre51 = load i32, ptr %0, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %47, %52
  %60 = phi i32 [ %49, %47 ], [ %.pre51, %52 ]
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %0, align 4, !tbaa !9
  %62 = fadd float %27, -1.000000e+00
  %63 = call float @llvm.fabs.f32(float %62)
  %or.cond7 = fcmp ogt float %63, 0x3F50624DE0000000
  br i1 %or.cond7, label %64, label %71

64:                                               ; preds = %59
  %65 = getelementptr inbounds i8, ptr %0, i64 4
  %66 = load i32, ptr %65, align 4, !tbaa !12
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %65, align 4, !tbaa !12
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 59)
  %69 = fpext float %27 to double
  %70 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef 1.000000e+00, double noundef %69)
  br label %71

71:                                               ; preds = %59, %64
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  ret void
}

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

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

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

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


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