; LLVM IR from Try/Tempest :: Engine/thirdparty/openal-soft/utils/makemhr (makemhr)

; 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.15" = type { ptr }
%"class.al::span.16" = type { ptr }
%"class.al::span.17" = type { ptr, i64 }
%"class.al::span.18" = type { ptr, i64 }
%"class.al::span.21" = type { ptr, i64 }
%struct.HrirDataT = type { i32, i32, i32, i32, i32, i32, double, i32, %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<HrirEvT, std::allocator<HrirEvT>>::_Vector_impl" }
%"struct.std::_Vector_base<HrirEvT, std::allocator<HrirEvT>>::_Vector_impl" = type { %"struct.std::_Vector_base<HrirEvT, std::allocator<HrirEvT>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HrirEvT, std::allocator<HrirEvT>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<HrirAzT, std::allocator<HrirAzT>>::_Vector_impl" }
%"struct.std::_Vector_base<HrirAzT, std::allocator<HrirAzT>>::_Vector_impl" = type { %"struct.std::_Vector_base<HrirAzT, std::allocator<HrirAzT>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HrirAzT, std::allocator<HrirAzT>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<HrirFdT, std::allocator<HrirFdT>>::_Vector_impl" }
%"struct.std::_Vector_base<HrirFdT, std::allocator<HrirFdT>>::_Vector_impl" = type { %"struct.std::_Vector_base<HrirFdT, std::allocator<HrirFdT>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HrirFdT, std::allocator<HrirFdT>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HrirFdT = type { double, i32, %"class.al::span.17" }
%struct.HrirEvT = type { double, %"class.al::span.18" }
%struct.HrirAzT = type { double, i32, %"struct.std::array.19", %"struct.std::array.20" }
%"struct.std::array.19" = type { [2 x double] }
%"struct.std::array.20" = type { [2 x %"class.al::span.21"] }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z15PrepareHrirDataN2al4spanIKdLm18446744073709551615EEENS0_IKjLm16EEENS0_IKSt5arrayIjLm181EELm16EEEP9HrirDataT(ptr %0, i64 %1, ptr %2, ptr %3, ptr noundef %4) #0 {
  %6 = alloca i1, align 1
  %7 = alloca %"class.al::span", align 8
  %8 = alloca %"class.al::span.15", align 8
  %9 = alloca %"class.al::span.16", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca %"class.al::span.17", align 8
  %18 = alloca %"class.al::span.17", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.al::span.18", align 8
  %22 = alloca %"class.al::span.18", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.al::span.21", align 8
  %25 = alloca %"class.al::span.21", align 8
  %26 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  store ptr %0, ptr %26, align 8
  %27 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  store i64 %1, ptr %27, align 8
  %28 = getelementptr inbounds %"class.al::span.15", ptr %8, i32 0, i32 0
  store ptr %2, ptr %28, align 8
  %29 = getelementptr inbounds %"class.al::span.16", ptr %9, i32 0, i32 0
  store ptr %3, ptr %29, align 8
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %30

30:                                               ; preds = %61, %5
  %31 = load i64, ptr %13, align 8, !tbaa !11
  %32 = call noundef i64 @_ZNK2al4spanIKdLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  %33 = icmp ult i64 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %64

35:                                               ; preds = %30
  %36 = load i64, ptr %13, align 8, !tbaa !11
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %36)
  %38 = load i32, ptr %37, align 4, !tbaa !9
  %39 = load i32, ptr %11, align 4, !tbaa !9
  %40 = add i32 %39, %38
  store i32 %40, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !11
  br label %41

41:                                               ; preds = %57, %35
  %42 = load i64, ptr %15, align 8, !tbaa !11
  %43 = load i64, ptr %13, align 8, !tbaa !11
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %43)
  %45 = load i32, ptr %44, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = icmp ult i64 %42, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %41
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %60

49:                                               ; preds = %41
  %50 = load i64, ptr %13, align 8, !tbaa !11
  %51 = call noundef nonnull align 4 dereferenceable(724) ptr @_ZNK2al4spanIKSt5arrayIjLm181EELm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %9, i64 noundef %50)
  %52 = load i64, ptr %15, align 8, !tbaa !11
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIjLm181EEixEm(ptr noundef nonnull align 4 dereferenceable(724) %51, i64 noundef %52) #5
  %54 = load i32, ptr %53, align 4, !tbaa !9
  %55 = load i32, ptr %12, align 4, !tbaa !9
  %56 = add i32 %55, %54
  store i32 %56, ptr %12, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %49
  %58 = load i64, ptr %15, align 8, !tbaa !11
  %59 = add i64 %58, 1
  store i64 %59, ptr %15, align 8, !tbaa !11
  br label %41, !llvm.loop !13

60:                                               ; preds = %48
  br label %61

61:                                               ; preds = %60
  %62 = load i64, ptr %13, align 8, !tbaa !11
  %63 = add i64 %62, 1
  store i64 %63, ptr %13, align 8, !tbaa !11
  br label %30, !llvm.loop !15

64:                                               ; preds = %34
  %65 = load i32, ptr %11, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %67, label %70

67:                                               ; preds = %64
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = icmp ne i32 %68, 0
  br i1 %69, label %71, label %70

70:                                               ; preds = %67, %64
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %293

71:                                               ; preds = %67
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.HrirDataT, ptr %72, i32 0, i32 9
  %74 = load i32, ptr %11, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  call void @_ZNSt6vectorI7HrirEvTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %75)
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.HrirDataT, ptr %76, i32 0, i32 10
  %78 = load i32, ptr %12, align 4, !tbaa !9
  %79 = zext i32 %78 to i64
  call void @_ZNSt6vectorI7HrirAzTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %79)
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.HrirDataT, ptr %80, i32 0, i32 11
  %82 = call noundef i64 @_ZNK2al4spanIKdLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @_ZNSt6vectorI7HrirFdTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %82)
  %83 = load i32, ptr %12, align 4, !tbaa !9
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.HrirDataT, ptr %84, i32 0, i32 7
  store i32 %83, ptr %85, align 8, !tbaa !16
  store i32 0, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !11
  br label %86

86:                                               ; preds = %289, %71
  %87 = load i64, ptr %16, align 8, !tbaa !11
  %88 = call noundef i64 @_ZNK2al4spanIKdLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  %89 = icmp ult i64 %87, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %86
  store i32 8, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %292

91:                                               ; preds = %86
  %92 = load i64, ptr %16, align 8, !tbaa !11
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK2al4spanIKdLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %92)
  %94 = load double, ptr %93, align 8, !tbaa !37
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.HrirDataT, ptr %95, i32 0, i32 11
  %97 = load i64, ptr %16, align 8, !tbaa !11
  %98 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %97) #5
  %99 = getelementptr inbounds %struct.HrirFdT, ptr %98, i32 0, i32 0
  store double %94, ptr %99, align 8, !tbaa !38
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.HrirDataT, ptr %100, i32 0, i32 11
  %102 = load i64, ptr %16, align 8, !tbaa !11
  %103 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %102) #5
  %104 = getelementptr inbounds %struct.HrirFdT, ptr %103, i32 0, i32 1
  store i32 0, ptr %104, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.HrirDataT, ptr %105, i32 0, i32 9
  call void @_ZN2al4spanI7HrirEvTLm18446744073709551615EEC2IRSt6vectorIS1_SaIS1_EETnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S1_EEbE4typeELb1EEEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(24) %106)
  %107 = load i32, ptr %11, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  %109 = load i64, ptr %16, align 8, !tbaa !11
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %109)
  %111 = load i32, ptr %110, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = call { ptr, i64 } @_ZNK2al4spanI7HrirEvTLm18446744073709551615EE7subspanEmm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %108, i64 noundef %112) #5
  %114 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %115 = extractvalue { ptr, i64 } %113, 0
  store ptr %115, ptr %114, align 8
  %116 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %117 = extractvalue { ptr, i64 } %113, 1
  store i64 %117, ptr %116, align 8
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.HrirDataT, ptr %118, i32 0, i32 11
  %120 = load i64, ptr %16, align 8, !tbaa !11
  %121 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %119, i64 noundef %120) #5
  %122 = getelementptr inbounds %struct.HrirFdT, ptr %121, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %122, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !42
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #5
  %123 = load i64, ptr %16, align 8, !tbaa !11
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %123)
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %126 = load i32, ptr %11, align 4, !tbaa !9
  %127 = add i32 %126, %125
  store i32 %127, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %285, %91
  %129 = load i32, ptr %19, align 4, !tbaa !9
  %130 = load i64, ptr %16, align 8, !tbaa !11
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %130)
  %132 = load i32, ptr %131, align 4, !tbaa !9
  %133 = icmp ult i32 %129, %132
  br i1 %133, label %135, label %134

134:                                              ; preds = %128
  store i32 11, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %288

135:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %136 = load i64, ptr %16, align 8, !tbaa !11
  %137 = call noundef nonnull align 4 dereferenceable(724) ptr @_ZNK2al4spanIKSt5arrayIjLm181EELm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %9, i64 noundef %136)
  %138 = load i32, ptr %19, align 4, !tbaa !9
  %139 = zext i32 %138 to i64
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIjLm181EEixEm(ptr noundef nonnull align 4 dereferenceable(724) %137, i64 noundef %139) #5
  %141 = load i32, ptr %140, align 4, !tbaa !9
  store i32 %141, ptr %20, align 4, !tbaa !9
  %142 = load i32, ptr %19, align 4, !tbaa !9
  %143 = uitofp i32 %142 to double
  %144 = fmul double 0x400921FB54442D18, %143
  %145 = load i64, ptr %16, align 8, !tbaa !11
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %145)
  %147 = load i32, ptr %146, align 4, !tbaa !9
  %148 = sub i32 %147, 1
  %149 = uitofp i32 %148 to double
  %150 = fdiv double %144, %149
  %151 = fadd double 0xBFF921FB54442D18, %150
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.HrirDataT, ptr %152, i32 0, i32 11
  %154 = load i64, ptr %16, align 8, !tbaa !11
  %155 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %154) #5
  %156 = getelementptr inbounds %struct.HrirFdT, ptr %155, i32 0, i32 2
  %157 = load i32, ptr %19, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %156, i64 noundef %158)
  %160 = getelementptr inbounds %struct.HrirEvT, ptr %159, i32 0, i32 0
  store double %151, ptr %160, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  %161 = load ptr, ptr %10, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.HrirDataT, ptr %161, i32 0, i32 10
  call void @_ZN2al4spanI7HrirAzTLm18446744073709551615EEC2IRSt6vectorIS1_SaIS1_EETnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S1_EEbE4typeELb1EEEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(24) %162)
  %163 = load i32, ptr %12, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = load i32, ptr %20, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = call { ptr, i64 } @_ZNK2al4spanI7HrirAzTLm18446744073709551615EE7subspanEmm(ptr noundef nonnull align 8 dereferenceable(16) %22, i64 noundef %164, i64 noundef %166) #5
  %168 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %169 = extractvalue { ptr, i64 } %167, 0
  store ptr %169, ptr %168, align 8
  %170 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %171 = extractvalue { ptr, i64 } %167, 1
  store i64 %171, ptr %170, align 8
  %172 = load ptr, ptr %10, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.HrirDataT, ptr %172, i32 0, i32 11
  %174 = load i64, ptr %16, align 8, !tbaa !11
  %175 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %173, i64 noundef %174) #5
  %176 = getelementptr inbounds %struct.HrirFdT, ptr %175, i32 0, i32 2
  %177 = load i32, ptr %19, align 4, !tbaa !9
  %178 = zext i32 %177 to i64
  %179 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %176, i64 noundef %178)
  %180 = getelementptr inbounds %struct.HrirEvT, ptr %179, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %180, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !42
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %181

181:                                              ; preds = %278, %135
  %182 = load i32, ptr %23, align 4, !tbaa !9
  %183 = load i32, ptr %20, align 4, !tbaa !9
  %184 = icmp ult i32 %182, %183
  br i1 %184, label %186, label %185

185:                                              ; preds = %181
  store i32 14, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %281

186:                                              ; preds = %181
  %187 = load i32, ptr %23, align 4, !tbaa !9
  %188 = uitofp i32 %187 to double
  %189 = fmul double 0x401921FB54442D18, %188
  %190 = load i32, ptr %20, align 4, !tbaa !9
  %191 = uitofp i32 %190 to double
  %192 = fdiv double %189, %191
  %193 = load ptr, ptr %10, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.HrirDataT, ptr %193, i32 0, i32 11
  %195 = load i64, ptr %16, align 8, !tbaa !11
  %196 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %194, i64 noundef %195) #5
  %197 = getelementptr inbounds %struct.HrirFdT, ptr %196, i32 0, i32 2
  %198 = load i32, ptr %19, align 4, !tbaa !9
  %199 = zext i32 %198 to i64
  %200 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %197, i64 noundef %199)
  %201 = getelementptr inbounds %struct.HrirEvT, ptr %200, i32 0, i32 1
  %202 = load i32, ptr %23, align 4, !tbaa !9
  %203 = zext i32 %202 to i64
  %204 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %201, i64 noundef %203)
  %205 = getelementptr inbounds %struct.HrirAzT, ptr %204, i32 0, i32 0
  store double %192, ptr %205, align 8, !tbaa !46
  %206 = load i32, ptr %12, align 4, !tbaa !9
  %207 = load i32, ptr %23, align 4, !tbaa !9
  %208 = add i32 %206, %207
  %209 = load ptr, ptr %10, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.HrirDataT, ptr %209, i32 0, i32 11
  %211 = load i64, ptr %16, align 8, !tbaa !11
  %212 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %210, i64 noundef %211) #5
  %213 = getelementptr inbounds %struct.HrirFdT, ptr %212, i32 0, i32 2
  %214 = load i32, ptr %19, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  %216 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %213, i64 noundef %215)
  %217 = getelementptr inbounds %struct.HrirEvT, ptr %216, i32 0, i32 1
  %218 = load i32, ptr %23, align 4, !tbaa !9
  %219 = zext i32 %218 to i64
  %220 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %217, i64 noundef %219)
  %221 = getelementptr inbounds %struct.HrirAzT, ptr %220, i32 0, i32 1
  store i32 %208, ptr %221, align 8, !tbaa !50
  %222 = load ptr, ptr %10, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.HrirDataT, ptr %222, i32 0, i32 11
  %224 = load i64, ptr %16, align 8, !tbaa !11
  %225 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %223, i64 noundef %224) #5
  %226 = getelementptr inbounds %struct.HrirFdT, ptr %225, i32 0, i32 2
  %227 = load i32, ptr %19, align 4, !tbaa !9
  %228 = zext i32 %227 to i64
  %229 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %226, i64 noundef %228)
  %230 = getelementptr inbounds %struct.HrirEvT, ptr %229, i32 0, i32 1
  %231 = load i32, ptr %23, align 4, !tbaa !9
  %232 = zext i32 %231 to i64
  %233 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %230, i64 noundef %232)
  %234 = getelementptr inbounds %struct.HrirAzT, ptr %233, i32 0, i32 2
  %235 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %234, i64 noundef 0) #5
  store double 0.000000e+00, ptr %235, align 8, !tbaa !37
  %236 = load ptr, ptr %10, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.HrirDataT, ptr %236, i32 0, i32 11
  %238 = load i64, ptr %16, align 8, !tbaa !11
  %239 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %237, i64 noundef %238) #5
  %240 = getelementptr inbounds %struct.HrirFdT, ptr %239, i32 0, i32 2
  %241 = load i32, ptr %19, align 4, !tbaa !9
  %242 = zext i32 %241 to i64
  %243 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %240, i64 noundef %242)
  %244 = getelementptr inbounds %struct.HrirEvT, ptr %243, i32 0, i32 1
  %245 = load i32, ptr %23, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  %247 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %244, i64 noundef %246)
  %248 = getelementptr inbounds %struct.HrirAzT, ptr %247, i32 0, i32 2
  %249 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %248, i64 noundef 1) #5
  store double 0.000000e+00, ptr %249, align 8, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 16, i1 false)
  call void @_ZN2al4spanIdLm18446744073709551615EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #5
  %250 = load ptr, ptr %10, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.HrirDataT, ptr %250, i32 0, i32 11
  %252 = load i64, ptr %16, align 8, !tbaa !11
  %253 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %251, i64 noundef %252) #5
  %254 = getelementptr inbounds %struct.HrirFdT, ptr %253, i32 0, i32 2
  %255 = load i32, ptr %19, align 4, !tbaa !9
  %256 = zext i32 %255 to i64
  %257 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %254, i64 noundef %256)
  %258 = getelementptr inbounds %struct.HrirEvT, ptr %257, i32 0, i32 1
  %259 = load i32, ptr %23, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %258, i64 noundef %260)
  %262 = getelementptr inbounds %struct.HrirAzT, ptr %261, i32 0, i32 3
  %263 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN2al4spanIdLm18446744073709551615EEELm2EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %262, i64 noundef 0) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %263, ptr align 8 %24, i64 16, i1 false), !tbaa.struct !42
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 16, i1 false)
  call void @_ZN2al4spanIdLm18446744073709551615EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #5
  %264 = load ptr, ptr %10, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.HrirDataT, ptr %264, i32 0, i32 11
  %266 = load i64, ptr %16, align 8, !tbaa !11
  %267 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %265, i64 noundef %266) #5
  %268 = getelementptr inbounds %struct.HrirFdT, ptr %267, i32 0, i32 2
  %269 = load i32, ptr %19, align 4, !tbaa !9
  %270 = zext i32 %269 to i64
  %271 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %268, i64 noundef %270)
  %272 = getelementptr inbounds %struct.HrirEvT, ptr %271, i32 0, i32 1
  %273 = load i32, ptr %23, align 4, !tbaa !9
  %274 = zext i32 %273 to i64
  %275 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %272, i64 noundef %274)
  %276 = getelementptr inbounds %struct.HrirAzT, ptr %275, i32 0, i32 3
  %277 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN2al4spanIdLm18446744073709551615EEELm2EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %276, i64 noundef 1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %277, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !42
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  br label %278

278:                                              ; preds = %186
  %279 = load i32, ptr %23, align 4, !tbaa !9
  %280 = add i32 %279, 1
  store i32 %280, ptr %23, align 4, !tbaa !9
  br label %181, !llvm.loop !51

281:                                              ; preds = %185
  %282 = load i32, ptr %20, align 4, !tbaa !9
  %283 = load i32, ptr %12, align 4, !tbaa !9
  %284 = add i32 %283, %282
  store i32 %284, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %285

285:                                              ; preds = %281
  %286 = load i32, ptr %19, align 4, !tbaa !9
  %287 = add i32 %286, 1
  store i32 %287, ptr %19, align 4, !tbaa !9
  br label %128, !llvm.loop !52

288:                                              ; preds = %134
  br label %289

289:                                              ; preds = %288
  %290 = load i64, ptr %16, align 8, !tbaa !11
  %291 = add i64 %290, 1
  store i64 %291, ptr %16, align 8, !tbaa !11
  br label %86, !llvm.loop !53

292:                                              ; preds = %90
  store i1 true, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %293

293:                                              ; preds = %292, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %294 = load i1, ptr %6, align 1
  ret i1 %294
}

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIjLm181EEixEm(ptr noundef nonnull align 4 dereferenceable(724), i64 noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7HrirEvTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7HrirAzTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7HrirFdTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2al4spanI7HrirEvTLm18446744073709551615EEC2IRSt6vectorIS1_SaIS1_EETnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S1_EEbE4typeELb1EEEOS9_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

; 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) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2al4spanI7HrirAzTLm18446744073709551615EEC2IRSt6vectorIS1_SaIS1_EETnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S1_EEbE4typeELb1EEEOS9_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !10, i64 32}
!17 = !{!"_ZTS9HrirDataT", !10, i64 0, !18, i64 4, !19, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !20, i64 24, !10, i64 32, !21, i64 40, !25, i64 64, !29, i64 88, !33, i64 112}
!18 = !{!"_ZTS11SampleTypeT", !7, i64 0}
!19 = !{!"_ZTS12ChannelTypeT", !7, i64 0}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTSSt6vectorIdSaIdEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorI7HrirEvTSaIS0_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseI7HrirEvTSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseI7HrirEvTSaIS0_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI7HrirEvTSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt6vectorI7HrirAzTSaIS0_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseI7HrirAzTSaIS0_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseI7HrirAzTSaIS0_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseI7HrirAzTSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorI7HrirFdTSaIS0_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseI7HrirFdTSaIS0_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseI7HrirFdTSaIS0_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseI7HrirFdTSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!20, !20, i64 0}
!38 = !{!39, !20, i64 0}
!39 = !{!"_ZTS7HrirFdT", !20, i64 0, !10, i64 8, !40, i64 16}
!40 = !{!"_ZTSN2al4spanI7HrirEvTLm18446744073709551615EEE", !6, i64 0, !12, i64 8}
!41 = !{!39, !10, i64 8}
!42 = !{i64 0, i64 8, !5, i64 8, i64 8, !11}
!43 = !{!44, !20, i64 0}
!44 = !{!"_ZTS7HrirEvT", !20, i64 0, !45, i64 8}
!45 = !{!"_ZTSN2al4spanI7HrirAzTLm18446744073709551615EEE", !6, i64 0, !12, i64 8}
!46 = !{!47, !20, i64 0}
!47 = !{!"_ZTS7HrirAzT", !20, i64 0, !10, i64 8, !48, i64 16, !49, i64 32}
!48 = !{!"_ZTSSt5arrayIdLm2EE", !7, i64 0}
!49 = !{!"_ZTSSt5arrayIN2al4spanIdLm18446744073709551615EEELm2EE", !7, i64 0}
!50 = !{!47, !10, i64 8}
!51 = distinct !{!51, !14}
!52 = distinct !{!52, !14}
!53 = distinct !{!53, !14}


; 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.15" = type { ptr }
%"class.al::span.16" = type { ptr }
%"class.al::span.17" = type { ptr, i64 }
%"class.al::span.18" = type { ptr, i64 }
%"class.al::span.21" = type { ptr, i64 }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z15PrepareHrirDataN2al4spanIKdLm18446744073709551615EEENS0_IKjLm16EEENS0_IKSt5arrayIjLm181EELm16EEEP9HrirDataT(ptr %0, i64 %1, ptr %2, ptr %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = alloca %"class.al::span", align 8
  %7 = alloca %"class.al::span.15", align 8
  %8 = alloca %"class.al::span.16", align 8
  %9 = alloca %"class.al::span.17", align 8
  %10 = alloca %"class.al::span.18", align 8
  %11 = alloca %"class.al::span.21", align 8
  %12 = alloca %"class.al::span.21", align 8
  store ptr %0, ptr %6, align 8
  %13 = getelementptr inbounds i8, ptr %6, i64 8
  store i64 %1, ptr %13, align 8
  store ptr %2, ptr %7, align 8
  store ptr %3, ptr %8, align 8
  %14 = call noundef i64 @_ZNK2al4spanIKdLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  %.not = icmp eq i64 %14, 0
  br i1 %.not, label %.loopexit, label %.lr.ph101

._crit_edge102:                                   ; preds = %._crit_edge
  %15 = icmp ne i32 %19, 0
  %16 = icmp ne i32 %.188.lcssa, 0
  %or.cond = select i1 %15, i1 %16, i1 false
  br i1 %or.cond, label %34, label %.loopexit

.lr.ph101:                                        ; preds = %5, %._crit_edge
  %.08699 = phi i32 [ %19, %._crit_edge ], [ 0, %5 ]
  %.08798 = phi i32 [ %.188.lcssa, %._crit_edge ], [ 0, %5 ]
  %.09097 = phi i64 [ %22, %._crit_edge ], [ 0, %5 ]
  %17 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %.09097)
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = add i32 %18, %.08699
  %20 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %.09097)
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %.not120 = icmp eq i32 %21, 0
  br i1 %.not120, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph101
  %.188.lcssa = phi i32 [ %.08798, %.lr.ph101 ], [ %28, %.lr.ph ]
  %22 = add nuw i64 %.09097, 1
  %23 = call noundef i64 @_ZNK2al4spanIKdLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  %24 = icmp ult i64 %22, %23
  br i1 %24, label %.lr.ph101, label %._crit_edge102, !llvm.loop !9

.lr.ph:                                           ; preds = %.lr.ph101, %.lr.ph
  %.18896 = phi i32 [ %28, %.lr.ph ], [ %.08798, %.lr.ph101 ]
  %.09295 = phi i64 [ %29, %.lr.ph ], [ 0, %.lr.ph101 ]
  %25 = call noundef nonnull align 4 dereferenceable(724) ptr @_ZNK2al4spanIKSt5arrayIjLm181EELm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %.09097)
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIjLm181EEixEm(ptr noundef nonnull align 4 dereferenceable(724) %25, i64 noundef %.09295) #5
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = add i32 %27, %.18896
  %29 = add nuw nsw i64 %.09295, 1
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %.09097)
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = zext i32 %31 to i64
  %33 = icmp ult i64 %29, %32
  br i1 %33, label %.lr.ph, label %._crit_edge, !llvm.loop !11

34:                                               ; preds = %._crit_edge102
  %35 = getelementptr inbounds i8, ptr %4, i64 64
  %36 = zext i32 %19 to i64
  call void @_ZNSt6vectorI7HrirEvTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %36)
  %37 = getelementptr inbounds i8, ptr %4, i64 88
  %38 = zext i32 %.188.lcssa to i64
  call void @_ZNSt6vectorI7HrirAzTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %38)
  %39 = getelementptr inbounds i8, ptr %4, i64 112
  %40 = call noundef i64 @_ZNK2al4spanIKdLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @_ZNSt6vectorI7HrirFdTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %40)
  %41 = getelementptr inbounds i8, ptr %4, i64 32
  store i32 %.188.lcssa, ptr %41, align 8, !tbaa !12
  %42 = call noundef i64 @_ZNK2al4spanIKdLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  %.not121 = icmp eq i64 %42, 0
  br i1 %.not121, label %.loopexit, label %.lr.ph119

.lr.ph119:                                        ; preds = %34, %._crit_edge113
  %.1117 = phi i32 [ %59, %._crit_edge113 ], [ 0, %34 ]
  %.2116 = phi i32 [ %.3.lcssa, %._crit_edge113 ], [ 0, %34 ]
  %.091115 = phi i64 [ %62, %._crit_edge113 ], [ 0, %34 ]
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK2al4spanIKdLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %.091115)
  %44 = load double, ptr %43, align 8, !tbaa !34
  %45 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  store double %44, ptr %45, align 8, !tbaa !35
  %46 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  %47 = getelementptr inbounds i8, ptr %46, i64 8
  store i32 0, ptr %47, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @_ZN2al4spanI7HrirEvTLm18446744073709551615EEC2IRSt6vectorIS1_SaIS1_EETnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S1_EEbE4typeELb1EEEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(24) %35)
  %48 = zext i32 %.1117 to i64
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %.091115)
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = zext i32 %50 to i64
  %52 = call { ptr, i64 } @_ZNK2al4spanI7HrirEvTLm18446744073709551615EE7subspanEmm(ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef %48, i64 noundef %51) #5
  %53 = extractvalue { ptr, i64 } %52, 0
  %54 = extractvalue { ptr, i64 } %52, 1
  %55 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  %56 = getelementptr inbounds i8, ptr %55, i64 16
  store ptr %53, ptr %56, align 8, !tbaa !40
  %.sroa.428.0..sroa_idx = getelementptr inbounds i8, ptr %55, i64 24
  store i64 %54, ptr %.sroa.428.0..sroa_idx, align 8, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %.091115)
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = add i32 %58, %.1117
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %.091115)
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %.not122 = icmp eq i32 %61, 0
  br i1 %.not122, label %._crit_edge113, label %.lr.ph112

._crit_edge113:                                   ; preds = %._crit_edge108, %.lr.ph119
  %.3.lcssa = phi i32 [ %.2116, %.lr.ph119 ], [ %90, %._crit_edge108 ]
  %62 = add nuw i64 %.091115, 1
  %63 = call noundef i64 @_ZNK2al4spanIKdLm18446744073709551615EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  %64 = icmp ult i64 %62, %63
  br i1 %64, label %.lr.ph119, label %.loopexit, !llvm.loop !42

.lr.ph112:                                        ; preds = %.lr.ph119, %._crit_edge108
  %indvars.iv127 = phi i64 [ %indvars.iv.next128, %._crit_edge108 ], [ 0, %.lr.ph119 ]
  %.3110 = phi i32 [ %90, %._crit_edge108 ], [ %.2116, %.lr.ph119 ]
  %65 = call noundef nonnull align 4 dereferenceable(724) ptr @_ZNK2al4spanIKSt5arrayIjLm181EELm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %.091115)
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIjLm181EEixEm(ptr noundef nonnull align 4 dereferenceable(724) %65, i64 noundef %indvars.iv127) #5
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = trunc nuw i64 %indvars.iv127 to i32
  %69 = uitofp i32 %68 to double
  %70 = fmul double %69, 0x400921FB54442D18
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %.091115)
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = add i32 %72, -1
  %74 = uitofp i32 %73 to double
  %75 = fdiv double %70, %74
  %76 = fadd double %75, 0xBFF921FB54442D18
  %77 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  %79 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %78, i64 noundef %indvars.iv127)
  store double %76, ptr %79, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @_ZN2al4spanI7HrirAzTLm18446744073709551615EEC2IRSt6vectorIS1_SaIS1_EETnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S1_EEbE4typeELb1EEEOS9_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(24) %37)
  %80 = zext i32 %.3110 to i64
  %81 = zext i32 %67 to i64
  %82 = call { ptr, i64 } @_ZNK2al4spanI7HrirAzTLm18446744073709551615EE7subspanEmm(ptr noundef nonnull align 8 dereferenceable(16) %10, i64 noundef %80, i64 noundef %81) #5
  %83 = extractvalue { ptr, i64 } %82, 0
  %84 = extractvalue { ptr, i64 } %82, 1
  %85 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  %86 = getelementptr inbounds i8, ptr %85, i64 16
  %87 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %86, i64 noundef %indvars.iv127)
  %88 = getelementptr inbounds i8, ptr %87, i64 8
  store ptr %83, ptr %88, align 8, !tbaa !40
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %87, i64 16
  store i64 %84, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  %.not123 = icmp eq i32 %67, 0
  br i1 %.not123, label %._crit_edge108, label %.lr.ph107

.lr.ph107:                                        ; preds = %.lr.ph112
  %89 = uitofp i32 %67 to double
  br label %95

._crit_edge108:                                   ; preds = %95, %.lr.ph112
  %90 = add i32 %67, %.3110
  %indvars.iv.next128 = add nuw nsw i64 %indvars.iv127, 1
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK2al4spanIKjLm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %.091115)
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = zext i32 %92 to i64
  %94 = icmp ult i64 %indvars.iv.next128, %93
  br i1 %94, label %.lr.ph112, label %._crit_edge113, !llvm.loop !46

95:                                               ; preds = %.lr.ph107, %95
  %indvars.iv = phi i64 [ 0, %.lr.ph107 ], [ %indvars.iv.next, %95 ]
  %96 = trunc nuw i64 %indvars.iv to i32
  %97 = uitofp i32 %96 to double
  %98 = fmul double %97, 0x401921FB54442D18
  %99 = fdiv double %98, %89
  %100 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  %101 = getelementptr inbounds i8, ptr %100, i64 16
  %102 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %101, i64 noundef %indvars.iv127)
  %103 = getelementptr inbounds i8, ptr %102, i64 8
  %104 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %103, i64 noundef %indvars.iv)
  store double %99, ptr %104, align 8, !tbaa !47
  %105 = add i32 %.3110, %96
  %106 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  %107 = getelementptr inbounds i8, ptr %106, i64 16
  %108 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %107, i64 noundef %indvars.iv127)
  %109 = getelementptr inbounds i8, ptr %108, i64 8
  %110 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %109, i64 noundef %indvars.iv)
  %111 = getelementptr inbounds i8, ptr %110, i64 8
  store i32 %105, ptr %111, align 8, !tbaa !51
  %112 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  %113 = getelementptr inbounds i8, ptr %112, i64 16
  %114 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %113, i64 noundef %indvars.iv127)
  %115 = getelementptr inbounds i8, ptr %114, i64 8
  %116 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %115, i64 noundef %indvars.iv)
  %117 = getelementptr inbounds i8, ptr %116, i64 16
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %117, i64 noundef 0) #5
  store double 0.000000e+00, ptr %118, align 8, !tbaa !34
  %119 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  %120 = getelementptr inbounds i8, ptr %119, i64 16
  %121 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %120, i64 noundef %indvars.iv127)
  %122 = getelementptr inbounds i8, ptr %121, i64 8
  %123 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %122, i64 noundef %indvars.iv)
  %124 = getelementptr inbounds i8, ptr %123, i64 16
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %124, i64 noundef 1) #5
  store double 0.000000e+00, ptr %125, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  call void @_ZN2al4spanIdLm18446744073709551615EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  %126 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  %127 = getelementptr inbounds i8, ptr %126, i64 16
  %128 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %127, i64 noundef %indvars.iv127)
  %129 = getelementptr inbounds i8, ptr %128, i64 8
  %130 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %129, i64 noundef %indvars.iv)
  %131 = getelementptr inbounds i8, ptr %130, i64 32
  %132 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN2al4spanIdLm18446744073709551615EEELm2EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %131, i64 noundef 0) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %132, ptr noundef nonnull align 8 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !52
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %12, i8 0, i64 16, i1 false)
  call void @_ZN2al4spanIdLm18446744073709551615EEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #5
  %133 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.091115) #5
  %134 = getelementptr inbounds i8, ptr %133, i64 16
  %135 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK2al4spanI7HrirEvTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %134, i64 noundef %indvars.iv127)
  %136 = getelementptr inbounds i8, ptr %135, i64 8
  %137 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK2al4spanI7HrirAzTLm18446744073709551615EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %136, i64 noundef %indvars.iv)
  %138 = getelementptr inbounds i8, ptr %137, i64 32
  %139 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5arrayIN2al4spanIdLm18446744073709551615EEELm2EEixEm(ptr noundef nonnull align 8 dereferenceable(32) %138, i64 noundef 1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %139, ptr noundef nonnull align 8 dereferenceable(16) %12, i64 16, i1 false), !tbaa.struct !52
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %81
  br i1 %exitcond.not, label %._crit_edge108, label %95, !llvm.loop !53

.loopexit:                                        ; preds = %._crit_edge113, %5, %34, %._crit_edge102
  %or.cond133 = phi i1 [ true, %34 ], [ false, %._crit_edge102 ], [ false, %5 ], [ %or.cond, %._crit_edge113 ]
  ret i1 %or.cond133
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(724) ptr @_ZNK2al4spanIKSt5arrayIjLm181EELm16EEixEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt5arrayIjLm181EEixEm(ptr noundef nonnull align 4 dereferenceable(724), i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7HrirEvTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7HrirAzTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI7HrirFdTSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI7HrirFdTSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2al4spanI7HrirEvTLm18446744073709551615EEC2IRSt6vectorIS1_SaIS1_EETnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S1_EEbE4typeELb1EEEOS9_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

; 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) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2al4spanI7HrirAzTLm18446744073709551615EEC2IRSt6vectorIS1_SaIS1_EETnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S1_EEbE4typeELb1EEEOS9_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !6, i64 32}
!13 = !{!"_ZTS9HrirDataT", !6, i64 0, !14, i64 4, !15, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !16, i64 24, !6, i64 32, !17, i64 40, !22, i64 64, !26, i64 88, !30, i64 112}
!14 = !{!"_ZTS11SampleTypeT", !7, i64 0}
!15 = !{!"_ZTS12ChannelTypeT", !7, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSSt6vectorIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !21, i64 0, !21, i64 8, !21, i64 16}
!21 = !{!"any pointer", !7, i64 0}
!22 = !{!"_ZTSSt6vectorI7HrirEvTSaIS0_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseI7HrirEvTSaIS0_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI7HrirEvTSaIS0_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseI7HrirEvTSaIS0_EE17_Vector_impl_dataE", !21, i64 0, !21, i64 8, !21, i64 16}
!26 = !{!"_ZTSSt6vectorI7HrirAzTSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseI7HrirAzTSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI7HrirAzTSaIS0_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI7HrirAzTSaIS0_EE17_Vector_impl_dataE", !21, i64 0, !21, i64 8, !21, i64 16}
!30 = !{!"_ZTSSt6vectorI7HrirFdTSaIS0_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseI7HrirFdTSaIS0_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseI7HrirFdTSaIS0_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseI7HrirFdTSaIS0_EE17_Vector_impl_dataE", !21, i64 0, !21, i64 8, !21, i64 16}
!34 = !{!16, !16, i64 0}
!35 = !{!36, !16, i64 0}
!36 = !{!"_ZTS7HrirFdT", !16, i64 0, !6, i64 8, !37, i64 16}
!37 = !{!"_ZTSN2al4spanI7HrirEvTLm18446744073709551615EEE", !21, i64 0, !38, i64 8}
!38 = !{!"long", !7, i64 0}
!39 = !{!36, !6, i64 8}
!40 = !{!21, !21, i64 0}
!41 = !{!38, !38, i64 0}
!42 = distinct !{!42, !10}
!43 = !{!44, !16, i64 0}
!44 = !{!"_ZTS7HrirEvT", !16, i64 0, !45, i64 8}
!45 = !{!"_ZTSN2al4spanI7HrirAzTLm18446744073709551615EEE", !21, i64 0, !38, i64 8}
!46 = distinct !{!46, !10}
!47 = !{!48, !16, i64 0}
!48 = !{!"_ZTS7HrirAzT", !16, i64 0, !6, i64 8, !49, i64 16, !50, i64 32}
!49 = !{!"_ZTSSt5arrayIdLm2EE", !7, i64 0}
!50 = !{!"_ZTSSt5arrayIN2al4spanIdLm18446744073709551615EEELm2EE", !7, i64 0}
!51 = !{!48, !6, i64 8}
!52 = !{i64 0, i64 8, !40, i64 8, i64 8, !41}
!53 = distinct !{!53, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass