; LLVM IR from Try/Tempest :: Engine/thirdparty/openal-soft/core/mixer (mixer_sse)

; 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"

%"class.al::span" = type { ptr, i64 }
%"class.al::span.13" = type { ptr, i64 }
%"class.al::span.0" = type { ptr, i64 }
%"class.al::ptr_wrapper" = type { ptr }
%"class.al::ptr_wrapper.14" = type { ptr }
%"class.al::ptr_wrapper.15" = type { ptr }
%"class.al::span.10" = type { ptr }

; 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: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK2al4spanIfLm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Zli3_uzy(i64 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4Mix_I6SSETagEvN2al4spanIKfLm18446744073709551615EEENS2_ISt5arrayIfLm1024EELm18446744073709551615EEENS2_IfLm18446744073709551615EEES4_mm(ptr %0, i64 %1, ptr %2, i64 %3, ptr %4, i64 %5, ptr noundef byval(%"class.al::span") align 8 %6, i64 noundef %7, i64 noundef %8) #3 {
  %10 = alloca %"class.al::span", align 8
  %11 = alloca %"class.al::span.13", align 8
  %12 = alloca %"class.al::span.0", align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca float, align 4
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca %"class.al::ptr_wrapper", align 8
  %22 = alloca %"class.al::ptr_wrapper.14", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.al::ptr_wrapper.15", align 8
  %25 = alloca %"class.al::ptr_wrapper.15", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.al::span", align 8
  %28 = alloca %"class.al::span.0", align 8
  %29 = alloca %"class.al::span.10", align 8
  %30 = alloca %"class.al::ptr_wrapper", align 8
  %31 = alloca %"class.al::ptr_wrapper.14", align 8
  %32 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  store ptr %0, ptr %32, align 8
  %33 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  store i64 %1, ptr %33, align 8
  %34 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  store ptr %2, ptr %34, align 8
  %35 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  store i64 %3, ptr %35, align 8
  %36 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  store ptr %4, ptr %36, align 8
  %37 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  store i64 %5, ptr %37, align 8
  store i64 %7, ptr %13, align 8, !tbaa !5
  store i64 %8, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %38 = load i64, ptr %13, align 8, !tbaa !5
  %39 = icmp ugt i64 %38, 0
  br i1 %39, label %40, label %44

40:                                               ; preds = %9
  %41 = load i64, ptr %13, align 8, !tbaa !5
  %42 = uitofp i64 %41 to float
  %43 = fdiv float 1.000000e+00, %42
  br label %45

44:                                               ; preds = %9
  br label %45

45:                                               ; preds = %44, %40
  %46 = phi float [ %43, %40 ], [ 0.000000e+00, %44 ]
  store float %46, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %47 = call noundef i64 @_ZNK2al4spanIKfLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  store i64 %47, ptr %17, align 8, !tbaa !5
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %49 = load i64, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  store i64 %49, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %50 = load i64, ptr %16, align 8, !tbaa !5
  %51 = call noundef i64 @_Zli3_uzy(i64 noundef 3) #6
  %52 = add i64 %50, %51
  %53 = call noundef i64 @_Zli3_uzy(i64 noundef 3) #6
  %54 = xor i64 %53, -1
  %55 = and i64 %52, %54
  store i64 %55, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %56 = call noundef i64 @_ZNK2al4spanIKfLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  store i64 %56, ptr %20, align 8, !tbaa !5
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %58 = load i64, ptr %57, align 8, !tbaa !5
  %59 = load i64, ptr %16, align 8, !tbaa !5
  %60 = sub i64 %58, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  store i64 %60, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %61 = call ptr @_ZNK2al4spanIfLm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  %62 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %21, i32 0, i32 0
  store ptr %61, ptr %62, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %63 = call ptr @_ZNK2al4spanIKfLm18446744073709551615EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  %64 = getelementptr inbounds %"class.al::ptr_wrapper.14", ptr %22, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  store ptr %11, ptr %23, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %65 = load ptr, ptr %23, align 8, !tbaa !11
  %66 = call ptr @_ZNK2al4spanISt5arrayIfLm1024EELm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %65) #6
  %67 = getelementptr inbounds %"class.al::ptr_wrapper.15", ptr %24, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %68 = load ptr, ptr %23, align 8, !tbaa !11
  %69 = call ptr @_ZNK2al4spanISt5arrayIfLm1024EELm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %68) #6
  %70 = getelementptr inbounds %"class.al::ptr_wrapper.15", ptr %25, i32 0, i32 0
  store ptr %69, ptr %70, align 8
  br label %71

71:                                               ; preds = %102, %45
  %72 = call noundef zeroext i1 @_ZN2alneERKNS_11ptr_wrapperIPSt5arrayIfLm1024EEEES6_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br i1 %72, label %74, label %73

73:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %104

74:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %75 = call noundef nonnull align 4 dereferenceable(4096) ptr @_ZNK2al11ptr_wrapperIPSt5arrayIfLm1024EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  store ptr %75, ptr %26, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %76 = load ptr, ptr %26, align 8, !tbaa !11
  call void @_ZN2al4spanIfLm1024EEC2ILm1024EEERSt5arrayIfXT_EE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(4096) %76) #6
  %77 = load i64, ptr %14, align 8, !tbaa !5
  %78 = call { ptr, i64 } @_ZNK2al4spanIfLm1024EE7subspanEmm(ptr noundef nonnull align 8 dereferenceable(8) %29, i64 noundef %77, i64 noundef -1) #6
  %79 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %80 = extractvalue { ptr, i64 } %78, 0
  store ptr %80, ptr %79, align 8
  %81 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %82 = extractvalue { ptr, i64 } %78, 1
  store i64 %82, ptr %81, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %83 = call ptr @_ZN2al11ptr_wrapperIPfEppEi(ptr noundef nonnull align 8 dereferenceable(8) %21, i32 noundef 0) #6
  %84 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %30, i32 0, i32 0
  store ptr %83, ptr %84, align 8
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al11ptr_wrapperIPfEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %86 = call ptr @_ZN2al11ptr_wrapperIPKfEppEi(ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 0) #6
  %87 = getelementptr inbounds %"class.al::ptr_wrapper.14", ptr %31, i32 0, i32 0
  store ptr %86, ptr %87, align 8
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al11ptr_wrapperIPKfEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  %89 = load float, ptr %88, align 4, !tbaa !9
  %90 = load float, ptr %15, align 4, !tbaa !9
  %91 = load i64, ptr %16, align 8, !tbaa !5
  %92 = load i64, ptr %18, align 8, !tbaa !5
  %93 = load i64, ptr %13, align 8, !tbaa !5
  %94 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8
  %96 = getelementptr inbounds { ptr, i64 }, ptr %27, i32 0, i32 1
  %97 = load i64, ptr %96, align 8
  %98 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8
  %100 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %101 = load i64, ptr %100, align 8
  call void @_ZN12_GLOBAL__N_17MixLineEN2al4spanIKfLm18446744073709551615EEENS1_IfLm18446744073709551615EEERfffmmm(ptr %95, i64 %97, ptr %99, i64 %101, ptr noundef nonnull align 4 dereferenceable(4) %85, float noundef %89, float noundef %90, i64 noundef %91, i64 noundef %92, i64 noundef %93)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %102

102:                                              ; preds = %74
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2al11ptr_wrapperIPSt5arrayIfLm1024EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br label %71

104:                                              ; preds = %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK2al4spanIKfLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK2al4spanIKfLm18446744073709551615EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK2al4spanISt5arrayIfLm1024EELm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK2al4spanISt5arrayIfLm1024EELm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2alneERKNS_11ptr_wrapperIPSt5arrayIfLm1024EEEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4096) ptr @_ZNK2al11ptr_wrapperIPSt5arrayIfLm1024EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_17MixLineEN2al4spanIKfLm18446744073709551615EEENS1_IfLm18446744073709551615EEERfffmmm(ptr, i64, ptr, i64, ptr noundef nonnull align 4 dereferenceable(4), float noundef, float noundef, i64 noundef, i64 noundef, i64 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2al4spanIfLm1024EEC2ILm1024EEERSt5arrayIfXT_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4096)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK2al4spanIfLm1024EE7subspanEmm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef, i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN2al11ptr_wrapperIPfEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al11ptr_wrapperIPfEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN2al11ptr_wrapperIPKfEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al11ptr_wrapperIPKfEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN2al11ptr_wrapperIPSt5arrayIfLm1024EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind 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 = { 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 nounwind 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 = { alwaysinline 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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{i64 0, i64 8, !11, i64 8, i64 8, !5}


; 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"

%"class.al::span" = type { ptr, i64 }
%"class.al::span.13" = type { ptr, i64 }
%"class.al::span.0" = type { ptr, i64 }
%"class.al::ptr_wrapper" = type { ptr }
%"class.al::ptr_wrapper.14" = type { ptr }
%"class.al::ptr_wrapper.15" = type { ptr }
%"class.al::span.10" = type { ptr }

; 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 nounwind uwtable
declare dso_local ptr @_ZNK2al4spanIfLm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Zli3_uzy(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4Mix_I6SSETagEvN2al4spanIKfLm18446744073709551615EEENS2_ISt5arrayIfLm1024EELm18446744073709551615EEENS2_IfLm18446744073709551615EEES4_mm(ptr %0, i64 %1, ptr %2, i64 %3, ptr %4, i64 %5, ptr noundef byval(%"class.al::span") align 8 %6, i64 noundef %7, i64 noundef %8) local_unnamed_addr #2 {
  %10 = alloca %"class.al::span", align 8
  %11 = alloca %"class.al::span.13", align 8
  %12 = alloca %"class.al::span.0", align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca %"class.al::ptr_wrapper", align 8
  %18 = alloca %"class.al::ptr_wrapper.14", align 8
  %19 = alloca %"class.al::ptr_wrapper.15", align 8
  %20 = alloca %"class.al::ptr_wrapper.15", align 8
  %21 = alloca %"class.al::span.10", align 8
  %22 = alloca %"class.al::ptr_wrapper", align 8
  %23 = alloca %"class.al::ptr_wrapper.14", align 8
  store ptr %0, ptr %10, align 8
  %24 = getelementptr inbounds i8, ptr %10, i64 8
  store i64 %1, ptr %24, align 8
  store ptr %2, ptr %11, align 8
  %25 = getelementptr inbounds i8, ptr %11, i64 8
  store i64 %3, ptr %25, align 8
  store ptr %4, ptr %12, align 8
  %26 = getelementptr inbounds i8, ptr %12, i64 8
  store i64 %5, ptr %26, align 8
  store i64 %7, ptr %13, align 8, !tbaa !5
  %.not = icmp eq i64 %7, 0
  %27 = uitofp i64 %7 to float
  %28 = fdiv float 1.000000e+00, %27
  %29 = select i1 %.not, float 0.000000e+00, float %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %30 = call noundef i64 @_ZNK2al4spanIKfLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  store i64 %30, ptr %14, align 8, !tbaa !5
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %32 = load i64, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %33 = call noundef i64 @_Zli3_uzy(i64 noundef 3) #5
  %34 = add i64 %33, %32
  %35 = call noundef i64 @_Zli3_uzy(i64 noundef 3) #5
  %36 = xor i64 %35, -1
  %37 = and i64 %34, %36
  store i64 %37, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %38 = call noundef i64 @_ZNK2al4spanIKfLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  store i64 %38, ptr %16, align 8, !tbaa !5
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %40 = load i64, ptr %39, align 8, !tbaa !5
  %41 = sub i64 %40, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %42 = call ptr @_ZNK2al4spanIfLm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #5
  store ptr %42, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %43 = call ptr @_ZNK2al4spanIKfLm18446744073709551615EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  store ptr %43, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  %44 = call ptr @_ZNK2al4spanISt5arrayIfLm1024EELm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  store ptr %44, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  %45 = call ptr @_ZNK2al4spanISt5arrayIfLm1024EELm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  store ptr %45, ptr %20, align 8
  %46 = call noundef zeroext i1 @_ZN2alneERKNS_11ptr_wrapperIPSt5arrayIfLm1024EEEES6_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br i1 %46, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  ret void

.lr.ph:                                           ; preds = %9, %.lr.ph
  %47 = call noundef nonnull align 4 dereferenceable(4096) ptr @_ZNK2al11ptr_wrapperIPSt5arrayIfLm1024EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %.sroa.01.0.copyload = load ptr, ptr %10, align 8, !tbaa !9
  %.sroa.22.0.copyload = load i64, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
  call void @_ZN2al4spanIfLm1024EEC2ILm1024EEERSt5arrayIfXT_EE(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(4096) %47) #5
  %48 = call { ptr, i64 } @_ZNK2al4spanIfLm1024EE7subspanEmm(ptr noundef nonnull align 8 dereferenceable(8) %21, i64 noundef %8, i64 noundef -1) #5
  %49 = extractvalue { ptr, i64 } %48, 0
  %50 = extractvalue { ptr, i64 } %48, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  %51 = call ptr @_ZN2al11ptr_wrapperIPfEppEi(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0) #5
  store ptr %51, ptr %22, align 8
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al11ptr_wrapperIPfEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  %53 = call ptr @_ZN2al11ptr_wrapperIPKfEppEi(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef 0) #5
  store ptr %53, ptr %23, align 8
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al11ptr_wrapperIPKfEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  %55 = load float, ptr %54, align 4, !tbaa !11
  %56 = load i64, ptr %13, align 8, !tbaa !5
  call void @_ZN12_GLOBAL__N_17MixLineEN2al4spanIKfLm18446744073709551615EEENS1_IfLm18446744073709551615EEERfffmmm(ptr %.sroa.01.0.copyload, i64 %.sroa.22.0.copyload, ptr %49, i64 %50, ptr noundef nonnull align 4 dereferenceable(4) %52, float noundef %55, float noundef %29, i64 noundef %32, i64 noundef %41, i64 noundef %56)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN2al11ptr_wrapperIPSt5arrayIfLm1024EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  %58 = call noundef zeroext i1 @_ZN2alneERKNS_11ptr_wrapperIPSt5arrayIfLm1024EEEES6_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br i1 %58, label %.lr.ph, label %._crit_edge
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK2al4spanIKfLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK2al4spanIKfLm18446744073709551615EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK2al4spanISt5arrayIfLm1024EELm18446744073709551615EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNK2al4spanISt5arrayIfLm1024EELm18446744073709551615EE3endEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2alneERKNS_11ptr_wrapperIPSt5arrayIfLm1024EEEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4096) ptr @_ZNK2al11ptr_wrapperIPSt5arrayIfLm1024EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_17MixLineEN2al4spanIKfLm18446744073709551615EEENS1_IfLm18446744073709551615EEERfffmmm(ptr, i64, ptr, i64, ptr noundef nonnull align 4 dereferenceable(4), float noundef, float noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2al4spanIfLm1024EEC2ILm1024EEERSt5arrayIfXT_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4096)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { ptr, i64 } @_ZNK2al4spanIfLm1024EE7subspanEmm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef, i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN2al11ptr_wrapperIPfEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al11ptr_wrapperIPfEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN2al11ptr_wrapperIPKfEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al11ptr_wrapperIPKfEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN2al11ptr_wrapperIPSt5arrayIfLm1024EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind 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 = { alwaysinline 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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass