; LLVM IR from Overload-Technologies/Overload :: Dependencies/soloud/src/core (soloud_core_3d)

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

%"struct.SoLoud::vec3" = type { float, float, float }
%"struct.SoLoud::mat3" = type { [3 x %"struct.SoLoud::vec3"] }
%"class.SoLoud::Soloud" = type <{ ptr, ptr, i8, [7 x i8], ptr, ptr, ptr, i32, i32, %"class.SoLoud::AlignedFloatBuffer", i32, [4 x i8], %"class.SoLoud::AlignedFloatBuffer", ptr, %"class.SoLoud::AlignedFloatBuffer", ptr, [1024 x ptr], i32, i32, i32, i32, ptr, i32, i32, float, float, i32, i32, %"class.SoLoud::Fader", double, double, [8 x ptr], [8 x ptr], [8 x float], [256 x float], [256 x float], [256 x float], [3 x float], [3 x float], [3 x float], [3 x float], float, [24 x float], [4 x i8], [1024 x %"class.SoLoud::AudioSourceInstance3dData"], ptr, i32, [1024 x i32], i32, i8, [7 x i8] }>
%"class.SoLoud::AlignedFloatBuffer" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.SoLoud::Fader" = type { float, float, float, double, double, double, float, i32 }
%"class.SoLoud::AudioSourceInstance3dData" = type <{ [3 x float], [3 x float], float, float, float, i32, float, [4 x i8], ptr, ptr, i32, float, float, [8 x float], i32, i32, [4 x i8] }>

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN6SoLoud7dopplerENS_4vec3ERKS0_S2_ff(<2 x float>, float, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN6SoLoud4vec33magEv(ptr noundef nonnull align 4 dereferenceable(12)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6SoLoud4vec33dotERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6SoLoud20attenuateInvDistanceEffff(float noundef, float noundef, float noundef, float noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6SoLoud23attenuateLinearDistanceEffff(float noundef, float noundef, float noundef, float noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN6SoLoud28attenuateExponentialDistanceEffff(float noundef, float noundef, float noundef, float noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6SoLoud6Soloud23update3dVoices_internalEPjj(ptr noundef nonnull align 8 dereferenceable(138833) %0, ptr noundef %1, i32 noundef %2) #0 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca [8 x %"struct.SoLoud::vec3"], align 16
  %8 = alloca i32, align 4
  %9 = alloca %"struct.SoLoud::vec3", align 4
  %10 = alloca %"struct.SoLoud::vec3", align 4
  %11 = alloca %"struct.SoLoud::vec3", align 4
  %12 = alloca %"struct.SoLoud::vec3", align 4
  %13 = alloca %"struct.SoLoud::mat3", align 4
  %14 = alloca %"struct.SoLoud::vec3", align 4
  %15 = alloca { <2 x float>, float }, align 4
  %16 = alloca %"struct.SoLoud::vec3", align 4
  %17 = alloca { <2 x float>, float }, align 4
  %18 = alloca ptr, align 8
  %19 = alloca float, align 4
  %20 = alloca %"struct.SoLoud::vec3", align 4
  %21 = alloca %"struct.SoLoud::vec3", align 4
  %22 = alloca %"struct.SoLoud::vec3", align 4
  %23 = alloca { <2 x float>, float }, align 8
  %24 = alloca float, align 4
  %25 = alloca %"struct.SoLoud::vec3", align 4
  %26 = alloca { <2 x float>, float }, align 4
  %27 = alloca %"struct.SoLoud::vec3", align 4
  %28 = alloca { <2 x float>, float }, align 8
  %29 = alloca i32, align 4
  %30 = alloca float, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %31 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 96, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %74, %3
  %33 = load i32, ptr %8, align 4, !tbaa !9
  %34 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 19
  %35 = load i32, ptr %34, align 8, !tbaa !11
  %36 = icmp slt i32 %33, %35
  br i1 %36, label %37, label %77

37:                                               ; preds = %32
  %38 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 42
  %39 = load i32, ptr %8, align 4, !tbaa !9
  %40 = mul nsw i32 3, %39
  %41 = add nsw i32 %40, 0
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [24 x float], ptr %38, i64 0, i64 %42
  %44 = load float, ptr %43, align 4, !tbaa !18
  %45 = load i32, ptr %8, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %7, i64 0, i64 %46
  %48 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %47, i32 0, i32 0
  store float %44, ptr %48, align 4, !tbaa !19
  %49 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 42
  %50 = load i32, ptr %8, align 4, !tbaa !9
  %51 = mul nsw i32 3, %50
  %52 = add nsw i32 %51, 1
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [24 x float], ptr %49, i64 0, i64 %53
  %55 = load float, ptr %54, align 4, !tbaa !18
  %56 = load i32, ptr %8, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %7, i64 0, i64 %57
  %59 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %58, i32 0, i32 1
  store float %55, ptr %59, align 4, !tbaa !21
  %60 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 42
  %61 = load i32, ptr %8, align 4, !tbaa !9
  %62 = mul nsw i32 3, %61
  %63 = add nsw i32 %62, 2
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [24 x float], ptr %60, i64 0, i64 %64
  %66 = load float, ptr %65, align 4, !tbaa !18
  %67 = load i32, ptr %8, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %7, i64 0, i64 %68
  %70 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %69, i32 0, i32 2
  store float %66, ptr %70, align 4, !tbaa !22
  %71 = load i32, ptr %8, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %7, i64 0, i64 %72
  call void @_ZN6SoLoud4vec39normalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %73)
  br label %74

74:                                               ; preds = %37
  %75 = load i32, ptr %8, align 4, !tbaa !9
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %8, align 4, !tbaa !9
  br label %32, !llvm.loop !23

77:                                               ; preds = %32
  br label %78

78:                                               ; preds = %94, %77
  %79 = load i32, ptr %8, align 4, !tbaa !9
  %80 = icmp slt i32 %79, 8
  br i1 %80, label %81, label %97

81:                                               ; preds = %78
  %82 = load i32, ptr %8, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %7, i64 0, i64 %83
  %85 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %84, i32 0, i32 0
  store float 0.000000e+00, ptr %85, align 4, !tbaa !19
  %86 = load i32, ptr %8, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %7, i64 0, i64 %87
  %89 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %88, i32 0, i32 1
  store float 0.000000e+00, ptr %89, align 4, !tbaa !21
  %90 = load i32, ptr %8, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %7, i64 0, i64 %91
  %93 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %92, i32 0, i32 2
  store float 0.000000e+00, ptr %93, align 4, !tbaa !22
  br label %94

94:                                               ; preds = %81
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %8, align 4, !tbaa !9
  br label %78, !llvm.loop !25

97:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #5
  %98 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 38
  %99 = getelementptr inbounds [3 x float], ptr %98, i64 0, i64 0
  %100 = load float, ptr %99, align 4, !tbaa !18
  %101 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %11, i32 0, i32 0
  store float %100, ptr %101, align 4, !tbaa !19
  %102 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 38
  %103 = getelementptr inbounds [3 x float], ptr %102, i64 0, i64 1
  %104 = load float, ptr %103, align 4, !tbaa !18
  %105 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %11, i32 0, i32 1
  store float %104, ptr %105, align 4, !tbaa !21
  %106 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 38
  %107 = getelementptr inbounds [3 x float], ptr %106, i64 0, i64 2
  %108 = load float, ptr %107, align 4, !tbaa !18
  %109 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %11, i32 0, i32 2
  store float %108, ptr %109, align 4, !tbaa !22
  %110 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 39
  %111 = getelementptr inbounds [3 x float], ptr %110, i64 0, i64 0
  %112 = load float, ptr %111, align 8, !tbaa !18
  %113 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %12, i32 0, i32 0
  store float %112, ptr %113, align 4, !tbaa !19
  %114 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 39
  %115 = getelementptr inbounds [3 x float], ptr %114, i64 0, i64 1
  %116 = load float, ptr %115, align 4, !tbaa !18
  %117 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %12, i32 0, i32 1
  store float %116, ptr %117, align 4, !tbaa !21
  %118 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 39
  %119 = getelementptr inbounds [3 x float], ptr %118, i64 0, i64 2
  %120 = load float, ptr %119, align 8, !tbaa !18
  %121 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %12, i32 0, i32 2
  store float %120, ptr %121, align 4, !tbaa !22
  %122 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 37
  %123 = getelementptr inbounds [3 x float], ptr %122, i64 0, i64 0
  %124 = load float, ptr %123, align 8, !tbaa !18
  %125 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %9, i32 0, i32 0
  store float %124, ptr %125, align 4, !tbaa !19
  %126 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 37
  %127 = getelementptr inbounds [3 x float], ptr %126, i64 0, i64 1
  %128 = load float, ptr %127, align 4, !tbaa !18
  %129 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %9, i32 0, i32 1
  store float %128, ptr %129, align 4, !tbaa !21
  %130 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 37
  %131 = getelementptr inbounds [3 x float], ptr %130, i64 0, i64 2
  %132 = load float, ptr %131, align 8, !tbaa !18
  %133 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %9, i32 0, i32 2
  store float %132, ptr %133, align 4, !tbaa !22
  %134 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 40
  %135 = getelementptr inbounds [3 x float], ptr %134, i64 0, i64 0
  %136 = load float, ptr %135, align 4, !tbaa !18
  %137 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %10, i32 0, i32 0
  store float %136, ptr %137, align 4, !tbaa !19
  %138 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 40
  %139 = getelementptr inbounds [3 x float], ptr %138, i64 0, i64 1
  %140 = load float, ptr %139, align 4, !tbaa !18
  %141 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %10, i32 0, i32 1
  store float %140, ptr %141, align 4, !tbaa !21
  %142 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 40
  %143 = getelementptr inbounds [3 x float], ptr %142, i64 0, i64 2
  %144 = load float, ptr %143, align 4, !tbaa !18
  %145 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %10, i32 0, i32 2
  store float %144, ptr %145, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 36, ptr %13) #5
  %146 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 23
  %147 = load i32, ptr %146, align 4, !tbaa !26
  %148 = and i32 %147, 4
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %155

150:                                              ; preds = %97
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %12, i64 12, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %14, i64 12, i1 false)
  %151 = getelementptr inbounds { <2 x float>, float }, ptr %15, i32 0, i32 0
  %152 = load <2 x float>, ptr %151, align 4
  %153 = getelementptr inbounds { <2 x float>, float }, ptr %15, i32 0, i32 1
  %154 = load float, ptr %153, align 4
  call void @_ZN6SoLoud4mat38lookatLHERKNS_4vec3ES1_(ptr noundef nonnull align 4 dereferenceable(36) %13, ptr noundef nonnull align 4 dereferenceable(12) %11, <2 x float> %152, float %154)
  br label %160

155:                                              ; preds = %97
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %12, i64 12, i1 false), !tbaa.struct !27
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %16, i64 12, i1 false)
  %156 = getelementptr inbounds { <2 x float>, float }, ptr %17, i32 0, i32 0
  %157 = load <2 x float>, ptr %156, align 4
  %158 = getelementptr inbounds { <2 x float>, float }, ptr %17, i32 0, i32 1
  %159 = load float, ptr %158, align 4
  call void @_ZN6SoLoud4mat38lookatRHERKNS_4vec3ES1_(ptr noundef nonnull align 4 dereferenceable(36) %13, ptr noundef nonnull align 4 dereferenceable(12) %11, <2 x float> %157, float %159)
  br label %160

160:                                              ; preds = %155, %150
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %161

161:                                              ; preds = %364, %160
  %162 = load i32, ptr %8, align 4, !tbaa !9
  %163 = load i32, ptr %6, align 4, !tbaa !9
  %164 = icmp slt i32 %162, %163
  br i1 %164, label %165, label %367

165:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %166 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 44
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  %168 = load i32, ptr %8, align 4, !tbaa !9
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds i32, ptr %167, i64 %169
  %171 = load i32, ptr %170, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = getelementptr inbounds [1024 x %"class.SoLoud::AudioSourceInstance3dData"], ptr %166, i64 0, i64 %172
  store ptr %173, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store float 1.000000e+00, ptr %19, align 4, !tbaa !18
  %174 = load ptr, ptr %18, align 8, !tbaa !5
  %175 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %174, i32 0, i32 8
  %176 = load ptr, ptr %175, align 8, !tbaa !28
  %177 = icmp ne ptr %176, null
  br i1 %177, label %178, label %192

178:                                              ; preds = %165
  %179 = load ptr, ptr %18, align 8, !tbaa !5
  %180 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %179, i32 0, i32 8
  %181 = load ptr, ptr %180, align 8, !tbaa !28
  %182 = load ptr, ptr %18, align 8, !tbaa !5
  %183 = load ptr, ptr %18, align 8, !tbaa !5
  %184 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %183, i32 0, i32 10
  %185 = load i32, ptr %184, align 8, !tbaa !30
  %186 = load ptr, ptr %181, align 8, !tbaa !31
  %187 = getelementptr inbounds ptr, ptr %186, i64 0
  %188 = load ptr, ptr %187, align 8
  %189 = call noundef float %188(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef %31, ptr noundef %182, i32 noundef %185)
  %190 = load float, ptr %19, align 4, !tbaa !18
  %191 = fmul float %190, %189
  store float %191, ptr %19, align 4, !tbaa !18
  br label %192

192:                                              ; preds = %178, %165
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #5
  %193 = load ptr, ptr %18, align 8, !tbaa !5
  %194 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %193, i32 0, i32 0
  %195 = getelementptr inbounds [3 x float], ptr %194, i64 0, i64 0
  %196 = load float, ptr %195, align 8, !tbaa !18
  %197 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %20, i32 0, i32 0
  store float %196, ptr %197, align 4, !tbaa !19
  %198 = load ptr, ptr %18, align 8, !tbaa !5
  %199 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %198, i32 0, i32 0
  %200 = getelementptr inbounds [3 x float], ptr %199, i64 0, i64 1
  %201 = load float, ptr %200, align 4, !tbaa !18
  %202 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %20, i32 0, i32 1
  store float %201, ptr %202, align 4, !tbaa !21
  %203 = load ptr, ptr %18, align 8, !tbaa !5
  %204 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %203, i32 0, i32 0
  %205 = getelementptr inbounds [3 x float], ptr %204, i64 0, i64 2
  %206 = load float, ptr %205, align 8, !tbaa !18
  %207 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %20, i32 0, i32 2
  store float %206, ptr %207, align 4, !tbaa !22
  %208 = load ptr, ptr %18, align 8, !tbaa !5
  %209 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %208, i32 0, i32 1
  %210 = getelementptr inbounds [3 x float], ptr %209, i64 0, i64 0
  %211 = load float, ptr %210, align 4, !tbaa !18
  %212 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %21, i32 0, i32 0
  store float %211, ptr %212, align 4, !tbaa !19
  %213 = load ptr, ptr %18, align 8, !tbaa !5
  %214 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %213, i32 0, i32 1
  %215 = getelementptr inbounds [3 x float], ptr %214, i64 0, i64 1
  %216 = load float, ptr %215, align 4, !tbaa !18
  %217 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %21, i32 0, i32 1
  store float %216, ptr %217, align 4, !tbaa !21
  %218 = load ptr, ptr %18, align 8, !tbaa !5
  %219 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %218, i32 0, i32 1
  %220 = getelementptr inbounds [3 x float], ptr %219, i64 0, i64 2
  %221 = load float, ptr %220, align 4, !tbaa !18
  %222 = getelementptr inbounds %"struct.SoLoud::vec3", ptr %21, i32 0, i32 2
  store float %221, ptr %222, align 4, !tbaa !22
  %223 = load ptr, ptr %18, align 8, !tbaa !5
  %224 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %223, i32 0, i32 14
  %225 = load i32, ptr %224, align 4, !tbaa !33
  %226 = and i32 %225, 16
  %227 = icmp ne i32 %226, 0
  br i1 %227, label %230, label %228

228:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #5
  %229 = call { <2 x float>, float } @_ZN6SoLoud4vec33subERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %9)
  store { <2 x float>, float } %229, ptr %23, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 8 %23, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %22, i64 12, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #5
  br label %230

230:                                              ; preds = %228, %192
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %231 = call noundef float @_ZN6SoLoud4vec33magEv(ptr noundef nonnull align 4 dereferenceable(12) %20)
  store float %231, ptr %24, align 4, !tbaa !18
  %232 = load ptr, ptr %18, align 8, !tbaa !5
  %233 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %232, i32 0, i32 9
  %234 = load ptr, ptr %233, align 8, !tbaa !34
  %235 = icmp ne ptr %234, null
  br i1 %235, label %236, label %256

236:                                              ; preds = %230
  %237 = load ptr, ptr %18, align 8, !tbaa !5
  %238 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %237, i32 0, i32 9
  %239 = load ptr, ptr %238, align 8, !tbaa !34
  %240 = load float, ptr %24, align 4, !tbaa !18
  %241 = load ptr, ptr %18, align 8, !tbaa !5
  %242 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %241, i32 0, i32 2
  %243 = load float, ptr %242, align 8, !tbaa !35
  %244 = load ptr, ptr %18, align 8, !tbaa !5
  %245 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %244, i32 0, i32 3
  %246 = load float, ptr %245, align 4, !tbaa !36
  %247 = load ptr, ptr %18, align 8, !tbaa !5
  %248 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %247, i32 0, i32 4
  %249 = load float, ptr %248, align 8, !tbaa !37
  %250 = load ptr, ptr %239, align 8, !tbaa !31
  %251 = getelementptr inbounds ptr, ptr %250, i64 0
  %252 = load ptr, ptr %251, align 8
  %253 = call noundef float %252(ptr noundef nonnull align 8 dereferenceable(8) %239, float noundef %240, float noundef %243, float noundef %246, float noundef %249)
  %254 = load float, ptr %19, align 4, !tbaa !18
  %255 = fmul float %254, %253
  store float %255, ptr %19, align 4, !tbaa !18
  br label %304

256:                                              ; preds = %230
  %257 = load ptr, ptr %18, align 8, !tbaa !5
  %258 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %257, i32 0, i32 5
  %259 = load i32, ptr %258, align 4, !tbaa !38
  switch i32 %259, label %302 [
    i32 1, label %260
    i32 2, label %274
    i32 3, label %288
  ]

260:                                              ; preds = %256
  %261 = load float, ptr %24, align 4, !tbaa !18
  %262 = load ptr, ptr %18, align 8, !tbaa !5
  %263 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %262, i32 0, i32 2
  %264 = load float, ptr %263, align 8, !tbaa !35
  %265 = load ptr, ptr %18, align 8, !tbaa !5
  %266 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %265, i32 0, i32 3
  %267 = load float, ptr %266, align 4, !tbaa !36
  %268 = load ptr, ptr %18, align 8, !tbaa !5
  %269 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %268, i32 0, i32 4
  %270 = load float, ptr %269, align 8, !tbaa !37
  %271 = call noundef float @_ZN6SoLoud20attenuateInvDistanceEffff(float noundef %261, float noundef %264, float noundef %267, float noundef %270)
  %272 = load float, ptr %19, align 4, !tbaa !18
  %273 = fmul float %272, %271
  store float %273, ptr %19, align 4, !tbaa !18
  br label %303

274:                                              ; preds = %256
  %275 = load float, ptr %24, align 4, !tbaa !18
  %276 = load ptr, ptr %18, align 8, !tbaa !5
  %277 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %276, i32 0, i32 2
  %278 = load float, ptr %277, align 8, !tbaa !35
  %279 = load ptr, ptr %18, align 8, !tbaa !5
  %280 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %279, i32 0, i32 3
  %281 = load float, ptr %280, align 4, !tbaa !36
  %282 = load ptr, ptr %18, align 8, !tbaa !5
  %283 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %282, i32 0, i32 4
  %284 = load float, ptr %283, align 8, !tbaa !37
  %285 = call noundef float @_ZN6SoLoud23attenuateLinearDistanceEffff(float noundef %275, float noundef %278, float noundef %281, float noundef %284)
  %286 = load float, ptr %19, align 4, !tbaa !18
  %287 = fmul float %286, %285
  store float %287, ptr %19, align 4, !tbaa !18
  br label %303

288:                                              ; preds = %256
  %289 = load float, ptr %24, align 4, !tbaa !18
  %290 = load ptr, ptr %18, align 8, !tbaa !5
  %291 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %290, i32 0, i32 2
  %292 = load float, ptr %291, align 8, !tbaa !35
  %293 = load ptr, ptr %18, align 8, !tbaa !5
  %294 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %293, i32 0, i32 3
  %295 = load float, ptr %294, align 4, !tbaa !36
  %296 = load ptr, ptr %18, align 8, !tbaa !5
  %297 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %296, i32 0, i32 4
  %298 = load float, ptr %297, align 8, !tbaa !37
  %299 = call noundef float @_ZN6SoLoud28attenuateExponentialDistanceEffff(float noundef %289, float noundef %292, float noundef %295, float noundef %298)
  %300 = load float, ptr %19, align 4, !tbaa !18
  %301 = fmul float %300, %299
  store float %301, ptr %19, align 4, !tbaa !18
  br label %303

302:                                              ; preds = %256
  br label %303

303:                                              ; preds = %302, %288, %274, %260
  br label %304

304:                                              ; preds = %303, %236
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %20, i64 12, i1 false), !tbaa.struct !27
  %305 = load ptr, ptr %18, align 8, !tbaa !5
  %306 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %305, i32 0, i32 6
  %307 = load float, ptr %306, align 8, !tbaa !39
  %308 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 41
  %309 = load float, ptr %308, align 8, !tbaa !40
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %25, i64 12, i1 false)
  %310 = getelementptr inbounds { <2 x float>, float }, ptr %26, i32 0, i32 0
  %311 = load <2 x float>, ptr %310, align 4
  %312 = getelementptr inbounds { <2 x float>, float }, ptr %26, i32 0, i32 1
  %313 = load float, ptr %312, align 4
  %314 = call noundef float @_ZN6SoLoud7dopplerENS_4vec3ERKS0_S2_ff(<2 x float> %311, float %313, ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %10, float noundef %307, float noundef %309)
  %315 = load ptr, ptr %18, align 8, !tbaa !5
  %316 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %315, i32 0, i32 11
  store float %314, ptr %316, align 4, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 12, ptr %27) #5
  %317 = call { <2 x float>, float } @_ZN6SoLoud4mat33mulERKNS_4vec3E(ptr noundef nonnull align 4 dereferenceable(36) %13, ptr noundef nonnull align 4 dereferenceable(12) %20)
  store { <2 x float>, float } %317, ptr %28, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 8 %28, i64 12, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %27, i64 12, i1 false), !tbaa.struct !27
  call void @llvm.lifetime.end.p0(i64 12, ptr %27) #5
  call void @_ZN6SoLoud4vec39normalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %20)
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %318

318:                                              ; preds = %344, %304
  %319 = load i32, ptr %29, align 4, !tbaa !9
  %320 = getelementptr inbounds %"class.SoLoud::Soloud", ptr %31, i32 0, i32 19
  %321 = load i32, ptr %320, align 8, !tbaa !11
  %322 = icmp slt i32 %319, %321
  br i1 %322, label %323, label %347

323:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  %324 = load i32, ptr %29, align 4, !tbaa !9
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %7, i64 0, i64 %325
  %327 = call noundef float @_ZN6SoLoud4vec33dotERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %326, ptr noundef nonnull align 4 dereferenceable(12) %20)
  %328 = fadd float %327, 1.000000e+00
  %329 = fdiv float %328, 2.000000e+00
  store float %329, ptr %30, align 4, !tbaa !18
  %330 = load i32, ptr %29, align 4, !tbaa !9
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %7, i64 0, i64 %331
  %333 = call noundef zeroext i1 @_ZN6SoLoud4vec34nullEv(ptr noundef nonnull align 4 dereferenceable(12) %332)
  br i1 %333, label %334, label %335

334:                                              ; preds = %323
  store float 1.000000e+00, ptr %30, align 4, !tbaa !18
  br label %335

335:                                              ; preds = %334, %323
  %336 = load float, ptr %19, align 4, !tbaa !18
  %337 = load float, ptr %30, align 4, !tbaa !18
  %338 = fmul float %336, %337
  %339 = load ptr, ptr %18, align 8, !tbaa !5
  %340 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %339, i32 0, i32 13
  %341 = load i32, ptr %29, align 4, !tbaa !9
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds [8 x float], ptr %340, i64 0, i64 %342
  store float %338, ptr %343, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %344

344:                                              ; preds = %335
  %345 = load i32, ptr %29, align 4, !tbaa !9
  %346 = add nsw i32 %345, 1
  store i32 %346, ptr %29, align 4, !tbaa !9
  br label %318, !llvm.loop !42

347:                                              ; preds = %318
  br label %348

348:                                              ; preds = %357, %347
  %349 = load i32, ptr %29, align 4, !tbaa !9
  %350 = icmp slt i32 %349, 8
  br i1 %350, label %351, label %360

351:                                              ; preds = %348
  %352 = load ptr, ptr %18, align 8, !tbaa !5
  %353 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %352, i32 0, i32 13
  %354 = load i32, ptr %29, align 4, !tbaa !9
  %355 = sext i32 %354 to i64
  %356 = getelementptr inbounds [8 x float], ptr %353, i64 0, i64 %355
  store float 0.000000e+00, ptr %356, align 4, !tbaa !18
  br label %357

357:                                              ; preds = %351
  %358 = load i32, ptr %29, align 4, !tbaa !9
  %359 = add nsw i32 %358, 1
  store i32 %359, ptr %29, align 4, !tbaa !9
  br label %348, !llvm.loop !43

360:                                              ; preds = %348
  %361 = load float, ptr %19, align 4, !tbaa !18
  %362 = load ptr, ptr %18, align 8, !tbaa !5
  %363 = getelementptr inbounds %"class.SoLoud::AudioSourceInstance3dData", ptr %362, i32 0, i32 12
  store float %361, ptr %363, align 8, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %364

364:                                              ; preds = %360
  %365 = load i32, ptr %8, align 4, !tbaa !9
  %366 = add nsw i32 %365, 1
  store i32 %366, ptr %8, align 4, !tbaa !9
  br label %161, !llvm.loop !45

367:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 36, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 96, ptr %7) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6SoLoud4vec39normalizeEv(ptr noundef nonnull align 4 dereferenceable(12)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6SoLoud4mat38lookatLHERKNS_4vec3ES1_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12), <2 x float>, float) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6SoLoud4mat38lookatRHERKNS_4vec3ES1_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12), <2 x float>, float) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZN6SoLoud4vec33subERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZN6SoLoud4mat33mulERKNS_4vec3E(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6SoLoud4vec34nullEv(ptr noundef nonnull align 4 dereferenceable(12)) #4 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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, !10, i64 8352}
!12 = !{!"_ZTSN6SoLoud6SoloudE", !6, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !10, i64 52, !14, i64 56, !10, i64 80, !14, i64 88, !6, i64 112, !14, i64 120, !6, i64 144, !7, i64 152, !10, i64 8344, !10, i64 8348, !10, i64 8352, !10, i64 8356, !6, i64 8360, !10, i64 8368, !10, i64 8372, !15, i64 8376, !15, i64 8380, !10, i64 8384, !10, i64 8388, !16, i64 8392, !17, i64 8440, !17, i64 8448, !7, i64 8456, !7, i64 8520, !7, i64 8584, !7, i64 8616, !7, i64 9640, !7, i64 10664, !7, i64 11688, !7, i64 11700, !7, i64 11712, !7, i64 11724, !15, i64 11736, !7, i64 11740, !7, i64 11840, !6, i64 134720, !10, i64 134728, !7, i64 134732, !10, i64 138828, !13, i64 138832}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN6SoLoud18AlignedFloatBufferE", !6, i64 0, !6, i64 8, !10, i64 16}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTSN6SoLoud5FaderE", !15, i64 0, !15, i64 4, !15, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !15, i64 40, !10, i64 44}
!17 = !{!"double", !7, i64 0}
!18 = !{!15, !15, i64 0}
!19 = !{!20, !15, i64 0}
!20 = !{!"_ZTSN6SoLoud4vec3E", !15, i64 0, !15, i64 4, !15, i64 8}
!21 = !{!20, !15, i64 4}
!22 = !{!20, !15, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!12, !10, i64 8372}
!27 = !{i64 0, i64 4, !18, i64 4, i64 4, !18, i64 8, i64 4, !18}
!28 = !{!29, !6, i64 48}
!29 = !{!"_ZTSN6SoLoud25AudioSourceInstance3dDataE", !7, i64 0, !7, i64 12, !15, i64 24, !15, i64 28, !15, i64 32, !10, i64 36, !15, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !15, i64 68, !15, i64 72, !7, i64 76, !10, i64 108, !10, i64 112}
!30 = !{!29, !10, i64 64}
!31 = !{!32, !32, i64 0}
!32 = !{!"vtable pointer", !8, i64 0}
!33 = !{!29, !10, i64 108}
!34 = !{!29, !6, i64 56}
!35 = !{!29, !15, i64 24}
!36 = !{!29, !15, i64 28}
!37 = !{!29, !15, i64 32}
!38 = !{!29, !10, i64 36}
!39 = !{!29, !15, i64 40}
!40 = !{!12, !15, i64 11736}
!41 = !{!29, !15, i64 68}
!42 = distinct !{!42, !24}
!43 = distinct !{!43, !24}
!44 = !{!29, !15, i64 72}
!45 = distinct !{!45, !24}


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

%"struct.SoLoud::vec3" = type { float, float, float }
%"struct.SoLoud::mat3" = type { [3 x %"struct.SoLoud::vec3"] }
%"class.SoLoud::AudioSourceInstance3dData" = type <{ [3 x float], [3 x float], float, float, float, i32, float, [4 x i8], ptr, ptr, i32, float, float, [8 x float], i32, i32, [4 x i8] }>

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN6SoLoud7dopplerENS_4vec3ERKS0_S2_ff(<2 x float>, float, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef) local_unnamed_addr #0

; 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 uwtable
declare dso_local noundef float @_ZN6SoLoud4vec33magEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6SoLoud4vec33dotERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 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 nounwind uwtable
declare dso_local noundef float @_ZN6SoLoud20attenuateInvDistanceEffff(float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6SoLoud23attenuateLinearDistanceEffff(float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN6SoLoud28attenuateExponentialDistanceEffff(float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6SoLoud6Soloud23update3dVoices_internalEPjj(ptr noundef nonnull align 8 dereferenceable(138833) %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 align 2 {
  %4 = alloca [8 x %"struct.SoLoud::vec3"], align 16
  %5 = alloca %"struct.SoLoud::vec3", align 8
  %6 = alloca %"struct.SoLoud::vec3", align 4
  %7 = alloca %"struct.SoLoud::vec3", align 8
  %8 = alloca %"struct.SoLoud::mat3", align 4
  %9 = alloca %"struct.SoLoud::vec3", align 8
  %10 = alloca %"struct.SoLoud::vec3", align 8
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #5
  %11 = getelementptr inbounds i8, ptr %0, i64 8352
  %12 = load i32, ptr %11, align 8, !tbaa !5
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph, label %.lr.ph105.preheader

.lr.ph:                                           ; preds = %3
  %14 = getelementptr inbounds i8, ptr %0, i64 11740
  br label %20

.preheader102:                                    ; preds = %20
  %15 = trunc nuw nsw i64 %indvars.iv.next to i32
  %16 = icmp ult i64 %indvars.iv, 7
  br i1 %16, label %.lr.ph105.preheader, label %._crit_edge

.lr.ph105.preheader:                              ; preds = %3, %.preheader102
  %.093.lcssa140 = phi i32 [ %15, %.preheader102 ], [ 0, %3 ]
  %narrow = mul nuw nsw i32 %.093.lcssa140, 12
  %17 = zext nneg i32 %narrow to i64
  %scevgep = getelementptr i8, ptr %4, i64 %17
  %18 = sub nuw nsw i32 7, %.093.lcssa140
  %narrow133 = mul nuw nsw i32 %18, 12
  %narrow134 = add nuw nsw i32 %narrow133, 12
  %19 = zext nneg i32 %narrow134 to i64
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %scevgep, i8 0, i64 %19, i1 false), !tbaa !16
  br label %._crit_edge

20:                                               ; preds = %.lr.ph, %20
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %20 ]
  %21 = mul nuw nsw i64 %indvars.iv, 3
  %22 = getelementptr inbounds [24 x float], ptr %14, i64 0, i64 %21
  %23 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %4, i64 0, i64 %indvars.iv
  %24 = load <2 x float>, ptr %22, align 4, !tbaa !16
  store <2 x float> %24, ptr %23, align 4, !tbaa !16
  %25 = add nuw nsw i64 %21, 2
  %26 = getelementptr inbounds [24 x float], ptr %14, i64 0, i64 %25
  %27 = load float, ptr %26, align 4, !tbaa !16
  %28 = getelementptr inbounds i8, ptr %23, i64 8
  store float %27, ptr %28, align 4, !tbaa !17
  call void @_ZN6SoLoud4vec39normalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %23)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %29 = load i32, ptr %11, align 8, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = icmp slt i64 %indvars.iv.next, %30
  br i1 %31, label %20, label %.preheader102, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph105.preheader, %.preheader102
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #5
  %32 = getelementptr inbounds i8, ptr %0, i64 11700
  %33 = load <2 x float>, ptr %32, align 4, !tbaa !16
  store <2 x float> %33, ptr %7, align 8, !tbaa !16
  %34 = getelementptr inbounds i8, ptr %0, i64 11708
  %35 = load float, ptr %34, align 4, !tbaa !16
  %36 = getelementptr inbounds i8, ptr %7, i64 8
  store float %35, ptr %36, align 8, !tbaa !17
  %37 = getelementptr inbounds i8, ptr %0, i64 11712
  %38 = load <4 x float>, ptr %37, align 8
  %.sroa.069.4.vec.insert = shufflevector <4 x float> %38, <4 x float> poison, <2 x i32> <i32 0, i32 1>
  %39 = extractelement <4 x float> %38, i64 2
  %40 = getelementptr inbounds i8, ptr %0, i64 11688
  %41 = load <2 x float>, ptr %40, align 8, !tbaa !16
  store <2 x float> %41, ptr %5, align 8, !tbaa !16
  %42 = getelementptr inbounds i8, ptr %0, i64 11696
  %43 = load float, ptr %42, align 8, !tbaa !16
  %44 = getelementptr inbounds i8, ptr %5, i64 8
  store float %43, ptr %44, align 8, !tbaa !17
  %45 = extractelement <4 x float> %38, i64 3
  store float %45, ptr %6, align 4, !tbaa !21
  %46 = getelementptr inbounds i8, ptr %0, i64 11728
  %47 = getelementptr inbounds i8, ptr %6, i64 4
  %48 = load <2 x float>, ptr %46, align 8, !tbaa !16
  store <2 x float> %48, ptr %47, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %8) #5
  %49 = getelementptr inbounds i8, ptr %0, i64 8372
  %50 = load i32, ptr %49, align 4, !tbaa !22
  %51 = and i32 %50, 4
  %.not = icmp eq i32 %51, 0
  br i1 %.not, label %53, label %52

52:                                               ; preds = %._crit_edge
  call void @_ZN6SoLoud4mat38lookatLHERKNS_4vec3ES1_(ptr noundef nonnull align 4 dereferenceable(36) %8, ptr noundef nonnull align 4 dereferenceable(12) %7, <2 x float> %.sroa.069.4.vec.insert, float %39)
  br label %54

53:                                               ; preds = %._crit_edge
  call void @_ZN6SoLoud4mat38lookatRHERKNS_4vec3ES1_(ptr noundef nonnull align 4 dereferenceable(36) %8, ptr noundef nonnull align 4 dereferenceable(12) %7, <2 x float> %.sroa.069.4.vec.insert, float %39)
  br label %54

54:                                               ; preds = %53, %52
  %55 = icmp sgt i32 %2, 0
  br i1 %55, label %.lr.ph115, label %._crit_edge116

.lr.ph115:                                        ; preds = %54
  %56 = getelementptr inbounds i8, ptr %0, i64 11840
  %57 = getelementptr inbounds i8, ptr %9, i64 8
  %58 = getelementptr inbounds i8, ptr %10, i64 8
  %59 = getelementptr inbounds i8, ptr %0, i64 11736
  %scevgep125 = getelementptr inbounds i8, ptr %0, i64 11916
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %60

60:                                               ; preds = %.lr.ph115, %._crit_edge112
  %indvars.iv130 = phi i64 [ 0, %.lr.ph115 ], [ %indvars.iv.next131, %._crit_edge112 ]
  %61 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv130
  %62 = load i32, ptr %61, align 4, !tbaa !23
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds [1024 x %"class.SoLoud::AudioSourceInstance3dData"], ptr %56, i64 0, i64 %63
  %65 = getelementptr inbounds i8, ptr %64, i64 48
  %66 = load ptr, ptr %65, align 8, !tbaa !24
  %.not99 = icmp eq ptr %66, null
  br i1 %.not99, label %73, label %67

67:                                               ; preds = %60
  %68 = getelementptr inbounds i8, ptr %64, i64 64
  %69 = load i32, ptr %68, align 8, !tbaa !26
  %70 = load ptr, ptr %66, align 8, !tbaa !27
  %71 = load ptr, ptr %70, align 8
  %72 = call noundef float %71(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull %0, ptr noundef nonnull %64, i32 noundef %69)
  br label %73

73:                                               ; preds = %67, %60
  %.095 = phi float [ %72, %67 ], [ 1.000000e+00, %60 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #5
  %74 = load <2 x float>, ptr %64, align 8, !tbaa !16
  store <2 x float> %74, ptr %9, align 8, !tbaa !16
  %75 = getelementptr inbounds i8, ptr %64, i64 8
  %76 = load float, ptr %75, align 8, !tbaa !16
  store float %76, ptr %57, align 8, !tbaa !17
  %77 = getelementptr inbounds i8, ptr %64, i64 12
  %78 = load <2 x float>, ptr %77, align 4, !tbaa !16
  store <2 x float> %78, ptr %10, align 8, !tbaa !16
  %79 = getelementptr inbounds i8, ptr %64, i64 20
  %80 = load float, ptr %79, align 4, !tbaa !16
  store float %80, ptr %58, align 8, !tbaa !17
  %81 = getelementptr inbounds i8, ptr %64, i64 108
  %82 = load i32, ptr %81, align 4, !tbaa !29
  %83 = and i32 %82, 16
  %.not100 = icmp eq i32 %83, 0
  br i1 %.not100, label %84, label %86

84:                                               ; preds = %73
  %85 = call { <2 x float>, float } @_ZN6SoLoud4vec33subERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %5)
  %.fca.0.extract17 = extractvalue { <2 x float>, float } %85, 0
  %.fca.1.extract18 = extractvalue { <2 x float>, float } %85, 1
  store <2 x float> %.fca.0.extract17, ptr %9, align 8
  store float %.fca.1.extract18, ptr %57, align 8, !tbaa !16
  br label %86

86:                                               ; preds = %84, %73
  %87 = call noundef float @_ZN6SoLoud4vec33magEv(ptr noundef nonnull align 4 dereferenceable(12) %9)
  %88 = getelementptr inbounds i8, ptr %64, i64 56
  %89 = load ptr, ptr %88, align 8, !tbaa !30
  %.not101 = icmp eq ptr %89, null
  br i1 %.not101, label %101, label %90

90:                                               ; preds = %86
  %91 = getelementptr inbounds i8, ptr %64, i64 24
  %92 = load float, ptr %91, align 8, !tbaa !31
  %93 = getelementptr inbounds i8, ptr %64, i64 28
  %94 = load float, ptr %93, align 4, !tbaa !32
  %95 = getelementptr inbounds i8, ptr %64, i64 32
  %96 = load float, ptr %95, align 8, !tbaa !33
  %97 = load ptr, ptr %89, align 8, !tbaa !27
  %98 = load ptr, ptr %97, align 8
  %99 = call noundef float %98(ptr noundef nonnull align 8 dereferenceable(8) %89, float noundef %87, float noundef %92, float noundef %94, float noundef %96)
  %100 = fmul float %.095, %99
  br label %131

101:                                              ; preds = %86
  %102 = getelementptr inbounds i8, ptr %64, i64 36
  %103 = load i32, ptr %102, align 4, !tbaa !34
  switch i32 %103, label %131 [
    i32 1, label %104
    i32 2, label %113
    i32 3, label %122
  ]

104:                                              ; preds = %101
  %105 = getelementptr inbounds i8, ptr %64, i64 24
  %106 = load float, ptr %105, align 8, !tbaa !31
  %107 = getelementptr inbounds i8, ptr %64, i64 28
  %108 = load float, ptr %107, align 4, !tbaa !32
  %109 = getelementptr inbounds i8, ptr %64, i64 32
  %110 = load float, ptr %109, align 8, !tbaa !33
  %111 = call noundef float @_ZN6SoLoud20attenuateInvDistanceEffff(float noundef %87, float noundef %106, float noundef %108, float noundef %110)
  %112 = fmul float %.095, %111
  br label %131

113:                                              ; preds = %101
  %114 = getelementptr inbounds i8, ptr %64, i64 24
  %115 = load float, ptr %114, align 8, !tbaa !31
  %116 = getelementptr inbounds i8, ptr %64, i64 28
  %117 = load float, ptr %116, align 4, !tbaa !32
  %118 = getelementptr inbounds i8, ptr %64, i64 32
  %119 = load float, ptr %118, align 8, !tbaa !33
  %120 = call noundef float @_ZN6SoLoud23attenuateLinearDistanceEffff(float noundef %87, float noundef %115, float noundef %117, float noundef %119)
  %121 = fmul float %.095, %120
  br label %131

122:                                              ; preds = %101
  %123 = getelementptr inbounds i8, ptr %64, i64 24
  %124 = load float, ptr %123, align 8, !tbaa !31
  %125 = getelementptr inbounds i8, ptr %64, i64 28
  %126 = load float, ptr %125, align 4, !tbaa !32
  %127 = getelementptr inbounds i8, ptr %64, i64 32
  %128 = load float, ptr %127, align 8, !tbaa !33
  %129 = call noundef float @_ZN6SoLoud28attenuateExponentialDistanceEffff(float noundef %87, float noundef %124, float noundef %126, float noundef %128)
  %130 = fmul float %.095, %129
  br label %131

131:                                              ; preds = %104, %113, %122, %101, %90
  %.196 = phi float [ %100, %90 ], [ %.095, %101 ], [ %130, %122 ], [ %121, %113 ], [ %112, %104 ]
  %.sroa.011.0.copyload = load <2 x float>, ptr %9, align 8
  %.sroa.212.0.copyload = load float, ptr %57, align 8, !tbaa !16
  %132 = getelementptr inbounds i8, ptr %64, i64 40
  %133 = load float, ptr %132, align 8, !tbaa !35
  %134 = load float, ptr %59, align 8, !tbaa !36
  %135 = call noundef float @_ZN6SoLoud7dopplerENS_4vec3ERKS0_S2_ff(<2 x float> %.sroa.011.0.copyload, float %.sroa.212.0.copyload, ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %6, float noundef %133, float noundef %134)
  %136 = getelementptr inbounds i8, ptr %64, i64 68
  store float %135, ptr %136, align 4, !tbaa !37
  %137 = call { <2 x float>, float } @_ZN6SoLoud4mat33mulERKNS_4vec3E(ptr noundef nonnull align 4 dereferenceable(36) %8, ptr noundef nonnull align 4 dereferenceable(12) %9)
  %.fca.0.extract = extractvalue { <2 x float>, float } %137, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %137, 1
  store <2 x float> %.fca.0.extract, ptr %9, align 8
  store float %.fca.1.extract, ptr %57, align 8, !tbaa !16
  call void @_ZN6SoLoud4vec39normalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %9)
  %138 = load i32, ptr %11, align 8, !tbaa !5
  %139 = icmp sgt i32 %138, 0
  br i1 %139, label %.lr.ph108, label %.lr.ph111

.lr.ph108:                                        ; preds = %131
  %140 = getelementptr inbounds i8, ptr %64, i64 76
  br label %149

.preheader:                                       ; preds = %149
  %141 = trunc nuw nsw i64 %indvars.iv.next123 to i32
  %142 = icmp ult i64 %indvars.iv122, 7
  br i1 %142, label %.lr.ph111, label %._crit_edge112

.lr.ph111:                                        ; preds = %131, %.preheader
  %.092.lcssa142 = phi i32 [ %141, %.preheader ], [ 0, %131 ]
  %143 = mul nuw nsw i64 %63, 120
  %144 = shl nuw nsw i32 %.092.lcssa142, 2
  %145 = zext nneg i32 %144 to i64
  %146 = getelementptr i8, ptr %scevgep125, i64 %143
  %scevgep126 = getelementptr i8, ptr %146, i64 %145
  %147 = shl nuw nsw i32 %.092.lcssa142, 2
  %narrow138 = sub nuw nsw i32 32, %147
  %148 = zext nneg i32 %narrow138 to i64
  call void @llvm.memset.p0.i64(ptr align 4 %scevgep126, i8 0, i64 %148, i1 false), !tbaa !16
  br label %._crit_edge112

149:                                              ; preds = %.lr.ph108, %149
  %indvars.iv122 = phi i64 [ 0, %.lr.ph108 ], [ %indvars.iv.next123, %149 ]
  %150 = getelementptr inbounds [8 x %"struct.SoLoud::vec3"], ptr %4, i64 0, i64 %indvars.iv122
  %151 = call noundef float @_ZN6SoLoud4vec33dotERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %150, ptr noundef nonnull align 4 dereferenceable(12) %9)
  %152 = fadd float %151, 1.000000e+00
  %153 = fmul float %152, 5.000000e-01
  %154 = call noundef zeroext i1 @_ZN6SoLoud4vec34nullEv(ptr noundef nonnull align 4 dereferenceable(12) %150)
  %.0 = select i1 %154, float 1.000000e+00, float %153
  %155 = fmul float %.196, %.0
  %156 = getelementptr inbounds [8 x float], ptr %140, i64 0, i64 %indvars.iv122
  store float %155, ptr %156, align 4, !tbaa !16
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %157 = load i32, ptr %11, align 8, !tbaa !5
  %158 = sext i32 %157 to i64
  %159 = icmp slt i64 %indvars.iv.next123, %158
  br i1 %159, label %149, label %.preheader, !llvm.loop !38

._crit_edge112:                                   ; preds = %.lr.ph111, %.preheader
  %160 = getelementptr inbounds i8, ptr %64, i64 72
  store float %.196, ptr %160, align 8, !tbaa !39
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #5
  %indvars.iv.next131 = add nuw nsw i64 %indvars.iv130, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next131, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge116, label %60, !llvm.loop !40

._crit_edge116:                                   ; preds = %._crit_edge112, %54
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #5
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6SoLoud4vec39normalizeEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6SoLoud4mat38lookatLHERKNS_4vec3ES1_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12), <2 x float>, float) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6SoLoud4mat38lookatRHERKNS_4vec3ES1_(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12), <2 x float>, float) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZN6SoLoud4vec33subERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { <2 x float>, float } @_ZN6SoLoud4mat33mulERKNS_4vec3E(ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6SoLoud4vec34nullEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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, !11, i64 8352}
!6 = !{!"_ZTSN6SoLoud6SoloudE", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !11, i64 48, !11, i64 52, !12, i64 56, !11, i64 80, !12, i64 88, !7, i64 112, !12, i64 120, !7, i64 144, !8, i64 152, !11, i64 8344, !11, i64 8348, !11, i64 8352, !11, i64 8356, !7, i64 8360, !11, i64 8368, !11, i64 8372, !13, i64 8376, !13, i64 8380, !11, i64 8384, !11, i64 8388, !14, i64 8392, !15, i64 8440, !15, i64 8448, !8, i64 8456, !8, i64 8520, !8, i64 8584, !8, i64 8616, !8, i64 9640, !8, i64 10664, !8, i64 11688, !8, i64 11700, !8, i64 11712, !8, i64 11724, !13, i64 11736, !8, i64 11740, !8, i64 11840, !7, i64 134720, !11, i64 134728, !8, i64 134732, !11, i64 138828, !10, i64 138832}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_ZTSN6SoLoud18AlignedFloatBufferE", !7, i64 0, !7, i64 8, !11, i64 16}
!13 = !{!"float", !8, i64 0}
!14 = !{!"_ZTSN6SoLoud5FaderE", !13, i64 0, !13, i64 4, !13, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !13, i64 40, !11, i64 44}
!15 = !{!"double", !8, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !13, i64 8}
!18 = !{!"_ZTSN6SoLoud4vec3E", !13, i64 0, !13, i64 4, !13, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!18, !13, i64 0}
!22 = !{!6, !11, i64 8372}
!23 = !{!11, !11, i64 0}
!24 = !{!25, !7, i64 48}
!25 = !{!"_ZTSN6SoLoud25AudioSourceInstance3dDataE", !8, i64 0, !8, i64 12, !13, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !13, i64 40, !7, i64 48, !7, i64 56, !11, i64 64, !13, i64 68, !13, i64 72, !8, i64 76, !11, i64 108, !11, i64 112}
!26 = !{!25, !11, i64 64}
!27 = !{!28, !28, i64 0}
!28 = !{!"vtable pointer", !9, i64 0}
!29 = !{!25, !11, i64 108}
!30 = !{!25, !7, i64 56}
!31 = !{!25, !13, i64 24}
!32 = !{!25, !13, i64 28}
!33 = !{!25, !13, i64 32}
!34 = !{!25, !11, i64 36}
!35 = !{!25, !13, i64 40}
!36 = !{!6, !13, i64 11736}
!37 = !{!25, !13, i64 68}
!38 = distinct !{!38, !20}
!39 = !{!25, !13, i64 72}
!40 = distinct !{!40, !20}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,VectorCombinePass