; LLVM IR from Overload-Technologies/Overload :: Dependencies/soloud/src/audiosource/vizsn (soloud_vizsn)

; 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::VizsnBank" = type { [10 x %"struct.SoLoud::VizsnResonator"], float, float, float, float, float, float }
%"struct.SoLoud::VizsnResonator" = type { float, float, float, float, float }
%"class.SoLoud::VizsnInstance" = type { %"class.SoLoud::AudioSourceInstance", ptr, %"struct.SoLoud::VizsnBank", %"struct.SoLoud::VizsnBank", %"struct.SoLoud::VizsnBank", i32, i32, i32, [1024 x i32], i32, i32, float, ptr, [2048 x float], i32, i32, i32, i32, i32, float }
%"class.SoLoud::AudioSourceInstance" = type { ptr, i32, i32, i32, float, [8 x float], float, float, float, float, i32, float, float, double, double, %"class.SoLoud::Fader", %"class.SoLoud::Fader", %"class.SoLoud::Fader", %"class.SoLoud::Fader", %"class.SoLoud::Fader", i32, [8 x float], i32, i32, [8 x ptr], [2 x ptr], i32, i32, i32, double }
%"class.SoLoud::Fader" = type { float, float, float, double, double, double, float, i32 }

@_ZL6vowtab = external hidden constant [8 x [4 x [2 x float]]], align 16
@_ZL3voo = external hidden constant <{ <{ [17 x float], [18 x float] }>, <{ [26 x float], [9 x float] }>, <{ [26 x float], [9 x float] }>, [35 x float], <{ [23 x float], [12 x float] }>, <{ [20 x float], [15 x float] }>, <{ [26 x float], [9 x float] }>, [35 x float], <{ [26 x float], [9 x float] }>, <{ [26 x float], [9 x float] }>, <{ [26 x float], [9 x float] }>, [35 x float], [35 x float] }>, align 16

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN6SoLoud13VizsnInstance8setphoneEPNS_9VizsnBankEcf(ptr noundef nonnull align 8 dereferenceable(13520) %0, ptr noundef %1, i8 noundef signext %2, float noundef %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i8 %2, ptr %7, align 1, !tbaa !9
  store float %3, ptr %8, align 4, !tbaa !10
  %14 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %15, i32 0, i32 3
  store float 0.000000e+00, ptr %16, align 4, !tbaa !12
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %17, i32 0, i32 6
  store float 0.000000e+00, ptr %18, align 4, !tbaa !14
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %19, i32 0, i32 5
  store float 0.000000e+00, ptr %20, align 4, !tbaa !15
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %21, i32 0, i32 4
  store float 0.000000e+00, ptr %22, align 4, !tbaa !16
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %23, i32 0, i32 2
  store float 0.000000e+00, ptr %24, align 4, !tbaa !17
  %25 = getelementptr inbounds %"class.SoLoud::VizsnInstance", ptr %14, i32 0, i32 11
  %26 = load float, ptr %25, align 4, !tbaa !18
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %27, i32 0, i32 1
  store float %26, ptr %28, align 4, !tbaa !24
  %29 = load i8, ptr %7, align 1, !tbaa !9
  %30 = sext i8 %29 to i32
  %31 = icmp slt i32 %30, 0
  br i1 %31, label %32, label %71

32:                                               ; preds = %4
  store i32 0, ptr %9, align 4, !tbaa !25
  br label %33

33:                                               ; preds = %67, %32
  %34 = load i32, ptr %9, align 4, !tbaa !25
  %35 = icmp slt i32 %34, 10
  br i1 %35, label %36, label %70

36:                                               ; preds = %33
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %37, i32 0, i32 0
  %39 = load i32, ptr %9, align 4, !tbaa !25
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [10 x %"struct.SoLoud::VizsnResonator"], ptr %38, i64 0, i64 %40
  %42 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %41, i32 0, i32 2
  store float 0.000000e+00, ptr %42, align 4, !tbaa !26
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %43, i32 0, i32 0
  %45 = load i32, ptr %9, align 4, !tbaa !25
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [10 x %"struct.SoLoud::VizsnResonator"], ptr %44, i64 0, i64 %46
  %48 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %47, i32 0, i32 1
  store float 0.000000e+00, ptr %48, align 4, !tbaa !28
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %49, i32 0, i32 0
  %51 = load i32, ptr %9, align 4, !tbaa !25
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [10 x %"struct.SoLoud::VizsnResonator"], ptr %50, i64 0, i64 %52
  %54 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %53, i32 0, i32 0
  store float 0.000000e+00, ptr %54, align 4, !tbaa !29
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %55, i32 0, i32 0
  %57 = load i32, ptr %9, align 4, !tbaa !25
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [10 x %"struct.SoLoud::VizsnResonator"], ptr %56, i64 0, i64 %58
  %60 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %59, i32 0, i32 4
  store float 0.000000e+00, ptr %60, align 4, !tbaa !30
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %61, i32 0, i32 0
  %63 = load i32, ptr %9, align 4, !tbaa !25
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [10 x %"struct.SoLoud::VizsnResonator"], ptr %62, i64 0, i64 %64
  %66 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %65, i32 0, i32 3
  store float 0.000000e+00, ptr %66, align 4, !tbaa !31
  br label %67

67:                                               ; preds = %36
  %68 = load i32, ptr %9, align 4, !tbaa !25
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %9, align 4, !tbaa !25
  br label %33, !llvm.loop !32

70:                                               ; preds = %33
  br label %222

71:                                               ; preds = %4
  %72 = load i8, ptr %7, align 1, !tbaa !9
  %73 = sext i8 %72 to i32
  %74 = icmp slt i32 %73, 8
  br i1 %74, label %75, label %156

75:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds [10 x %"struct.SoLoud::VizsnResonator"], ptr %77, i64 0, i64 0
  store ptr %78, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #2
  %79 = load i8, ptr %7, align 1, !tbaa !9
  %80 = sext i8 %79 to i64
  %81 = getelementptr inbounds [8 x [4 x [2 x float]]], ptr @_ZL6vowtab, i64 0, i64 %80
  %82 = getelementptr inbounds [4 x [2 x float]], ptr %81, i64 0, i64 0
  %83 = getelementptr inbounds [2 x float], ptr %82, i64 0, i64 0
  store ptr %83, ptr %11, align 8, !tbaa !5
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %84, i64 4
  %86 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %85, i32 0, i32 2
  store float 0xBFEE666660000000, ptr %86, align 4, !tbaa !26
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %87, i64 5
  %89 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %88, i32 0, i32 2
  store float 0xBFEDC28F60000000, ptr %89, align 4, !tbaa !26
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %90, i64 6
  %92 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %91, i32 0, i32 2
  store float 0xBFEC28F5C0000000, ptr %92, align 4, !tbaa !26
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %93, i64 7
  %95 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %94, i32 0, i32 2
  store float 0xBFE570A3E0000000, ptr %95, align 4, !tbaa !26
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %96, i64 0
  %98 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %97, i32 0, i32 0
  store float 0x3FD3D70A40000000, ptr %98, align 4, !tbaa !29
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %99, i64 0
  %101 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %100, i32 0, i32 1
  store float 0x3FF59999A0000000, ptr %101, align 4, !tbaa !28
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %102, i64 0
  %104 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %103, i32 0, i32 2
  store float 0xBFE570A3E0000000, ptr %104, align 4, !tbaa !26
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %105, i64 1
  %107 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %106, i32 0, i32 0
  store float 2.200000e+01, ptr %107, align 4, !tbaa !29
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %108, i64 1
  %110 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %109, i32 0, i32 1
  store float -4.200000e+01, ptr %110, align 4, !tbaa !28
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %111, i64 1
  %113 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %112, i32 0, i32 2
  store float 2.100000e+01, ptr %113, align 4, !tbaa !26
  %114 = load ptr, ptr %10, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %114, i64 2
  %116 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %115, i32 0, i32 0
  store float 0x3FA47AE140000000, ptr %116, align 4, !tbaa !29
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %117, i64 2
  %119 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %118, i32 0, i32 1
  store float 0x3FFDEB8520000000, ptr %119, align 4, !tbaa !28
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %120, i64 2
  %122 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %121, i32 0, i32 2
  store float 0xBFED70A3E0000000, ptr %122, align 4, !tbaa !26
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %123, i64 3
  %125 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %124, i32 0, i32 0
  store float 0x3FF28F5C20000000, ptr %125, align 4, !tbaa !29
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %126, i64 3
  %128 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %127, i32 0, i32 1
  store float 0x3FB47AE140000000, ptr %128, align 4, !tbaa !28
  %129 = load ptr, ptr %10, align 8, !tbaa !5
  %130 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %129, i64 3
  %131 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %130, i32 0, i32 2
  store float 0xBF947AE140000000, ptr %131, align 4, !tbaa !26
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %132, i64 4
  store ptr %133, ptr %10, align 8, !tbaa !5
  store i32 4, ptr %9, align 4, !tbaa !25
  br label %134

134:                                              ; preds = %150, %75
  %135 = load i32, ptr %9, align 4, !tbaa !25
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %137, label %153

137:                                              ; preds = %134
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = getelementptr inbounds float, ptr %138, i32 1
  store ptr %139, ptr %11, align 8, !tbaa !5
  %140 = load float, ptr %138, align 4, !tbaa !10
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %141, i32 0, i32 0
  store float %140, ptr %142, align 4, !tbaa !29
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = getelementptr inbounds float, ptr %143, i32 1
  store ptr %144, ptr %11, align 8, !tbaa !5
  %145 = load float, ptr %143, align 4, !tbaa !10
  %146 = load ptr, ptr %10, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %146, i32 0, i32 1
  store float %145, ptr %147, align 4, !tbaa !28
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %148, i32 1
  store ptr %149, ptr %10, align 8, !tbaa !5
  br label %150

150:                                              ; preds = %137
  %151 = load i32, ptr %9, align 4, !tbaa !25
  %152 = add nsw i32 %151, -1
  store i32 %152, ptr %9, align 4, !tbaa !25
  br label %134, !llvm.loop !34

153:                                              ; preds = %134
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %154, i32 0, i32 3
  store float 0x3FE99999A0000000, ptr %155, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  br label %221

156:                                              ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #2
  %157 = load i8, ptr %7, align 1, !tbaa !9
  %158 = sext i8 %157 to i32
  %159 = sub nsw i32 %158, 8
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [13 x [35 x float]], ptr @_ZL3voo, i64 0, i64 %160
  %162 = getelementptr inbounds [35 x float], ptr %161, i64 0, i64 0
  store ptr %162, ptr %12, align 8, !tbaa !5
  %163 = load ptr, ptr %12, align 8, !tbaa !5
  %164 = getelementptr inbounds float, ptr %163, i32 1
  store ptr %164, ptr %12, align 8, !tbaa !5
  %165 = load ptr, ptr %12, align 8, !tbaa !5
  %166 = getelementptr inbounds float, ptr %165, i32 1
  store ptr %166, ptr %12, align 8, !tbaa !5
  %167 = load float, ptr %165, align 4, !tbaa !10
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %168, i32 0, i32 4
  store float %167, ptr %169, align 4, !tbaa !16
  %170 = load ptr, ptr %12, align 8, !tbaa !5
  %171 = getelementptr inbounds float, ptr %170, i32 1
  store ptr %171, ptr %12, align 8, !tbaa !5
  %172 = load float, ptr %170, align 4, !tbaa !10
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %173, i32 0, i32 2
  store float %172, ptr %174, align 4, !tbaa !17
  %175 = load ptr, ptr %12, align 8, !tbaa !5
  %176 = getelementptr inbounds float, ptr %175, i32 1
  store ptr %176, ptr %12, align 8, !tbaa !5
  %177 = load float, ptr %175, align 4, !tbaa !10
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %178, i32 0, i32 5
  store float %177, ptr %179, align 4, !tbaa !15
  %180 = load ptr, ptr %12, align 8, !tbaa !5
  %181 = getelementptr inbounds float, ptr %180, i32 1
  store ptr %181, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #2
  store i32 0, ptr %13, align 4, !tbaa !25
  br label %182

182:                                              ; preds = %213, %156
  %183 = load i32, ptr %13, align 4, !tbaa !25
  %184 = icmp slt i32 %183, 10
  br i1 %184, label %185, label %216

185:                                              ; preds = %182
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = getelementptr inbounds float, ptr %186, i32 1
  store ptr %187, ptr %12, align 8, !tbaa !5
  %188 = load float, ptr %186, align 4, !tbaa !10
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %189, i32 0, i32 0
  %191 = load i32, ptr %13, align 4, !tbaa !25
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [10 x %"struct.SoLoud::VizsnResonator"], ptr %190, i64 0, i64 %192
  %194 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %193, i32 0, i32 0
  store float %188, ptr %194, align 4, !tbaa !29
  %195 = load ptr, ptr %12, align 8, !tbaa !5
  %196 = getelementptr inbounds float, ptr %195, i32 1
  store ptr %196, ptr %12, align 8, !tbaa !5
  %197 = load float, ptr %195, align 4, !tbaa !10
  %198 = load ptr, ptr %6, align 8, !tbaa !5
  %199 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %198, i32 0, i32 0
  %200 = load i32, ptr %13, align 4, !tbaa !25
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [10 x %"struct.SoLoud::VizsnResonator"], ptr %199, i64 0, i64 %201
  %203 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %202, i32 0, i32 1
  store float %197, ptr %203, align 4, !tbaa !28
  %204 = load ptr, ptr %12, align 8, !tbaa !5
  %205 = getelementptr inbounds float, ptr %204, i32 1
  store ptr %205, ptr %12, align 8, !tbaa !5
  %206 = load float, ptr %204, align 4, !tbaa !10
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %207, i32 0, i32 0
  %209 = load i32, ptr %13, align 4, !tbaa !25
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [10 x %"struct.SoLoud::VizsnResonator"], ptr %208, i64 0, i64 %210
  %212 = getelementptr inbounds %"struct.SoLoud::VizsnResonator", ptr %211, i32 0, i32 2
  store float %206, ptr %212, align 4, !tbaa !26
  br label %213

213:                                              ; preds = %185
  %214 = load i32, ptr %13, align 4, !tbaa !25
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %13, align 4, !tbaa !25
  br label %182, !llvm.loop !35

216:                                              ; preds = %182
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %217, i32 0, i32 3
  store float 0x3FE99999A0000000, ptr %218, align 4, !tbaa !12
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = getelementptr inbounds %"struct.SoLoud::VizsnBank", ptr %219, i32 0, i32 6
  store float 0x3FC70A3D80000000, ptr %220, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  br label %221

221:                                              ; preds = %216, %153
  br label %222

222:                                              ; preds = %221, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!13, !11, i64 208}
!13 = !{!"_ZTSN6SoLoud9VizsnBankE", !7, i64 0, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220}
!14 = !{!13, !11, i64 220}
!15 = !{!13, !11, i64 216}
!16 = !{!13, !11, i64 212}
!17 = !{!13, !11, i64 204}
!18 = !{!19, !11, i64 5292}
!19 = !{!"_ZTSN6SoLoud13VizsnInstanceE", !20, i64 0, !6, i64 496, !13, i64 504, !13, i64 728, !13, i64 952, !21, i64 1176, !21, i64 1180, !21, i64 1184, !7, i64 1188, !21, i64 5284, !21, i64 5288, !11, i64 5292, !6, i64 5296, !7, i64 5304, !21, i64 13496, !21, i64 13500, !21, i64 13504, !21, i64 13508, !21, i64 13512, !11, i64 13516}
!20 = !{!"_ZTSN6SoLoud19AudioSourceInstanceE", !21, i64 8, !21, i64 12, !21, i64 16, !11, i64 20, !7, i64 24, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !21, i64 72, !11, i64 76, !11, i64 80, !22, i64 88, !22, i64 96, !23, i64 104, !23, i64 152, !23, i64 200, !23, i64 248, !23, i64 296, !21, i64 344, !7, i64 348, !21, i64 380, !21, i64 384, !7, i64 392, !7, i64 456, !21, i64 472, !21, i64 476, !21, i64 480, !22, i64 488}
!21 = !{!"int", !7, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = !{!"_ZTSN6SoLoud5FaderE", !11, i64 0, !11, i64 4, !11, i64 8, !22, i64 16, !22, i64 24, !22, i64 32, !11, i64 40, !21, i64 44}
!24 = !{!13, !11, i64 200}
!25 = !{!21, !21, i64 0}
!26 = !{!27, !11, i64 8}
!27 = !{!"_ZTSN6SoLoud14VizsnResonatorE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16}
!28 = !{!27, !11, i64 4}
!29 = !{!27, !11, i64 0}
!30 = !{!27, !11, i64 16}
!31 = !{!27, !11, i64 12}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}
!35 = distinct !{!35, !33}


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

@_ZL6vowtab = external hidden local_unnamed_addr constant [8 x [4 x [2 x float]]], align 16
@_ZL3voo = external hidden local_unnamed_addr constant <{ <{ [17 x float], [18 x float] }>, <{ [26 x float], [9 x float] }>, <{ [26 x float], [9 x float] }>, [35 x float], <{ [23 x float], [12 x float] }>, <{ [20 x float], [15 x float] }>, <{ [26 x float], [9 x float] }>, [35 x float], <{ [26 x float], [9 x float] }>, <{ [26 x float], [9 x float] }>, <{ [26 x float], [9 x float] }>, [35 x float], [35 x float] }>, align 16

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define dso_local void @_ZN6SoLoud13VizsnInstance8setphoneEPNS_9VizsnBankEcf(ptr nocapture noundef nonnull readonly align 8 dereferenceable(13520) %0, ptr nocapture noundef writeonly %1, i8 noundef signext %2, float noundef %3) local_unnamed_addr #0 align 2 {
  %5 = getelementptr inbounds i8, ptr %1, i64 208
  %6 = getelementptr inbounds i8, ptr %1, i64 220
  %7 = getelementptr inbounds i8, ptr %1, i64 216
  %8 = getelementptr inbounds i8, ptr %1, i64 212
  %9 = getelementptr inbounds i8, ptr %1, i64 204
  %10 = getelementptr inbounds i8, ptr %0, i64 5292
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %9, i8 0, i64 20, i1 false)
  %11 = load float, ptr %10, align 4, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %1, i64 200
  store float %11, ptr %12, align 4, !tbaa !16
  %13 = icmp slt i8 %2, 0
  br i1 %13, label %.preheader.preheader, label %14

.preheader.preheader:                             ; preds = %4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(200) %1, i8 0, i64 200, i1 false), !tbaa !17
  br label %.loopexit

14:                                               ; preds = %4
  %15 = icmp ult i8 %2, 8
  br i1 %15, label %16, label %53

16:                                               ; preds = %14
  %17 = zext nneg i8 %2 to i64
  %18 = getelementptr inbounds [8 x [4 x [2 x float]]], ptr @_ZL6vowtab, i64 0, i64 %17
  %19 = getelementptr inbounds i8, ptr %1, i64 80
  %20 = getelementptr inbounds i8, ptr %1, i64 88
  store float 0xBFEE666660000000, ptr %20, align 4, !tbaa !18
  %21 = getelementptr inbounds i8, ptr %1, i64 108
  store float 0xBFEDC28F60000000, ptr %21, align 4, !tbaa !18
  %22 = getelementptr inbounds i8, ptr %1, i64 128
  store float 0xBFEC28F5C0000000, ptr %22, align 4, !tbaa !18
  %23 = getelementptr inbounds i8, ptr %1, i64 148
  store float 0xBFE570A3E0000000, ptr %23, align 4, !tbaa !18
  store <2 x float> <float 0x3FD3D70A40000000, float 0x3FF59999A0000000>, ptr %1, align 4, !tbaa !17
  %24 = getelementptr inbounds i8, ptr %1, i64 8
  store float 0xBFE570A3E0000000, ptr %24, align 4, !tbaa !18
  %25 = getelementptr inbounds i8, ptr %1, i64 20
  store <2 x float> <float 2.200000e+01, float -4.200000e+01>, ptr %25, align 4, !tbaa !17
  %26 = getelementptr inbounds i8, ptr %1, i64 28
  store float 2.100000e+01, ptr %26, align 4, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %1, i64 40
  store <2 x float> <float 0x3FA47AE140000000, float 0x3FFDEB8520000000>, ptr %27, align 4, !tbaa !17
  %28 = getelementptr inbounds i8, ptr %1, i64 48
  store float 0xBFED70A3E0000000, ptr %28, align 4, !tbaa !18
  %29 = getelementptr inbounds i8, ptr %1, i64 60
  store <2 x float> <float 0x3FF28F5C20000000, float 0x3FB47AE140000000>, ptr %29, align 4, !tbaa !17
  %30 = getelementptr inbounds i8, ptr %1, i64 68
  store float 0xBF947AE140000000, ptr %30, align 4, !tbaa !18
  %31 = getelementptr inbounds i8, ptr %18, i64 4
  %32 = load float, ptr %18, align 16, !tbaa !17
  store float %32, ptr %19, align 4, !tbaa !20
  %33 = getelementptr inbounds i8, ptr %18, i64 8
  %34 = load float, ptr %31, align 4, !tbaa !17
  %35 = getelementptr inbounds i8, ptr %1, i64 84
  store float %34, ptr %35, align 4, !tbaa !21
  %36 = getelementptr inbounds i8, ptr %1, i64 100
  %37 = getelementptr inbounds i8, ptr %18, i64 12
  %38 = load float, ptr %33, align 8, !tbaa !17
  store float %38, ptr %36, align 4, !tbaa !20
  %39 = getelementptr inbounds i8, ptr %18, i64 16
  %40 = load float, ptr %37, align 4, !tbaa !17
  %41 = getelementptr inbounds i8, ptr %1, i64 104
  store float %40, ptr %41, align 4, !tbaa !21
  %42 = getelementptr inbounds i8, ptr %1, i64 120
  %43 = getelementptr inbounds i8, ptr %18, i64 20
  %44 = load float, ptr %39, align 16, !tbaa !17
  store float %44, ptr %42, align 4, !tbaa !20
  %45 = getelementptr inbounds i8, ptr %18, i64 24
  %46 = load float, ptr %43, align 4, !tbaa !17
  %47 = getelementptr inbounds i8, ptr %1, i64 124
  store float %46, ptr %47, align 4, !tbaa !21
  %48 = getelementptr inbounds i8, ptr %1, i64 140
  %49 = getelementptr inbounds i8, ptr %18, i64 28
  %50 = load float, ptr %45, align 8, !tbaa !17
  store float %50, ptr %48, align 4, !tbaa !20
  %51 = load float, ptr %49, align 4, !tbaa !17
  %52 = getelementptr inbounds i8, ptr %1, i64 144
  store float %51, ptr %52, align 4, !tbaa !21
  store float 0x3FE99999A0000000, ptr %5, align 4, !tbaa !22
  br label %.loopexit

53:                                               ; preds = %14
  %narrow = add nsw i8 %2, -8
  %54 = zext nneg i8 %narrow to i64
  %55 = getelementptr inbounds [13 x [35 x float]], ptr @_ZL3voo, i64 0, i64 %54, i64 1
  %56 = getelementptr inbounds i8, ptr %55, i64 4
  %57 = load float, ptr %55, align 4, !tbaa !17
  store float %57, ptr %8, align 4, !tbaa !23
  %58 = getelementptr inbounds i8, ptr %55, i64 8
  %59 = load float, ptr %56, align 4, !tbaa !17
  store float %59, ptr %9, align 4, !tbaa !24
  %60 = load float, ptr %58, align 4, !tbaa !17
  store float %60, ptr %7, align 4, !tbaa !25
  %61 = getelementptr inbounds i8, ptr %55, i64 16
  %62 = getelementptr inbounds i8, ptr %55, i64 20
  %63 = load float, ptr %61, align 4, !tbaa !17
  store float %63, ptr %1, align 4, !tbaa !20
  %64 = getelementptr inbounds i8, ptr %55, i64 24
  %65 = load float, ptr %62, align 4, !tbaa !17
  %66 = getelementptr inbounds i8, ptr %1, i64 4
  store float %65, ptr %66, align 4, !tbaa !21
  %67 = getelementptr inbounds i8, ptr %55, i64 28
  %68 = load float, ptr %64, align 4, !tbaa !17
  %69 = getelementptr inbounds i8, ptr %1, i64 8
  store float %68, ptr %69, align 4, !tbaa !18
  %70 = getelementptr inbounds i8, ptr %55, i64 32
  %71 = load float, ptr %67, align 4, !tbaa !17
  %72 = getelementptr inbounds i8, ptr %1, i64 20
  store float %71, ptr %72, align 4, !tbaa !20
  %73 = getelementptr inbounds i8, ptr %55, i64 36
  %74 = load float, ptr %70, align 4, !tbaa !17
  %75 = getelementptr inbounds i8, ptr %1, i64 24
  store float %74, ptr %75, align 4, !tbaa !21
  %76 = getelementptr inbounds i8, ptr %55, i64 40
  %77 = load float, ptr %73, align 4, !tbaa !17
  %78 = getelementptr inbounds i8, ptr %1, i64 28
  store float %77, ptr %78, align 4, !tbaa !18
  %79 = getelementptr inbounds i8, ptr %55, i64 44
  %80 = load float, ptr %76, align 4, !tbaa !17
  %81 = getelementptr inbounds i8, ptr %1, i64 40
  store float %80, ptr %81, align 4, !tbaa !20
  %82 = getelementptr inbounds i8, ptr %55, i64 48
  %83 = load float, ptr %79, align 4, !tbaa !17
  %84 = getelementptr inbounds i8, ptr %1, i64 44
  store float %83, ptr %84, align 4, !tbaa !21
  %85 = getelementptr inbounds i8, ptr %55, i64 52
  %86 = load float, ptr %82, align 4, !tbaa !17
  %87 = getelementptr inbounds i8, ptr %1, i64 48
  store float %86, ptr %87, align 4, !tbaa !18
  %88 = getelementptr inbounds i8, ptr %55, i64 56
  %89 = load float, ptr %85, align 4, !tbaa !17
  %90 = getelementptr inbounds i8, ptr %1, i64 60
  store float %89, ptr %90, align 4, !tbaa !20
  %91 = getelementptr inbounds i8, ptr %55, i64 60
  %92 = load float, ptr %88, align 4, !tbaa !17
  %93 = getelementptr inbounds i8, ptr %1, i64 64
  store float %92, ptr %93, align 4, !tbaa !21
  %94 = getelementptr inbounds i8, ptr %55, i64 64
  %95 = load float, ptr %91, align 4, !tbaa !17
  %96 = getelementptr inbounds i8, ptr %1, i64 68
  store float %95, ptr %96, align 4, !tbaa !18
  %97 = getelementptr inbounds i8, ptr %55, i64 68
  %98 = load float, ptr %94, align 4, !tbaa !17
  %99 = getelementptr inbounds i8, ptr %1, i64 80
  store float %98, ptr %99, align 4, !tbaa !20
  %100 = getelementptr inbounds i8, ptr %55, i64 72
  %101 = load float, ptr %97, align 4, !tbaa !17
  %102 = getelementptr inbounds i8, ptr %1, i64 84
  store float %101, ptr %102, align 4, !tbaa !21
  %103 = getelementptr inbounds i8, ptr %55, i64 76
  %104 = load float, ptr %100, align 4, !tbaa !17
  %105 = getelementptr inbounds i8, ptr %1, i64 88
  store float %104, ptr %105, align 4, !tbaa !18
  %106 = getelementptr inbounds i8, ptr %55, i64 80
  %107 = load float, ptr %103, align 4, !tbaa !17
  %108 = getelementptr inbounds i8, ptr %1, i64 100
  store float %107, ptr %108, align 4, !tbaa !20
  %109 = getelementptr inbounds i8, ptr %55, i64 84
  %110 = load float, ptr %106, align 4, !tbaa !17
  %111 = getelementptr inbounds i8, ptr %1, i64 104
  store float %110, ptr %111, align 4, !tbaa !21
  %112 = getelementptr inbounds i8, ptr %55, i64 88
  %113 = load float, ptr %109, align 4, !tbaa !17
  %114 = getelementptr inbounds i8, ptr %1, i64 108
  store float %113, ptr %114, align 4, !tbaa !18
  %115 = getelementptr inbounds i8, ptr %55, i64 92
  %116 = load float, ptr %112, align 4, !tbaa !17
  %117 = getelementptr inbounds i8, ptr %1, i64 120
  store float %116, ptr %117, align 4, !tbaa !20
  %118 = getelementptr inbounds i8, ptr %55, i64 96
  %119 = load float, ptr %115, align 4, !tbaa !17
  %120 = getelementptr inbounds i8, ptr %1, i64 124
  store float %119, ptr %120, align 4, !tbaa !21
  %121 = getelementptr inbounds i8, ptr %55, i64 100
  %122 = load float, ptr %118, align 4, !tbaa !17
  %123 = getelementptr inbounds i8, ptr %1, i64 128
  store float %122, ptr %123, align 4, !tbaa !18
  %124 = getelementptr inbounds i8, ptr %55, i64 104
  %125 = load float, ptr %121, align 4, !tbaa !17
  %126 = getelementptr inbounds i8, ptr %1, i64 140
  store float %125, ptr %126, align 4, !tbaa !20
  %127 = getelementptr inbounds i8, ptr %55, i64 108
  %128 = load float, ptr %124, align 4, !tbaa !17
  %129 = getelementptr inbounds i8, ptr %1, i64 144
  store float %128, ptr %129, align 4, !tbaa !21
  %130 = getelementptr inbounds i8, ptr %55, i64 112
  %131 = load float, ptr %127, align 4, !tbaa !17
  %132 = getelementptr inbounds i8, ptr %1, i64 148
  store float %131, ptr %132, align 4, !tbaa !18
  %133 = getelementptr inbounds i8, ptr %55, i64 116
  %134 = load float, ptr %130, align 4, !tbaa !17
  %135 = getelementptr inbounds i8, ptr %1, i64 160
  store float %134, ptr %135, align 4, !tbaa !20
  %136 = getelementptr inbounds i8, ptr %55, i64 120
  %137 = load float, ptr %133, align 4, !tbaa !17
  %138 = getelementptr inbounds i8, ptr %1, i64 164
  store float %137, ptr %138, align 4, !tbaa !21
  %139 = getelementptr inbounds i8, ptr %55, i64 124
  %140 = load float, ptr %136, align 4, !tbaa !17
  %141 = getelementptr inbounds i8, ptr %1, i64 168
  store float %140, ptr %141, align 4, !tbaa !18
  %142 = getelementptr inbounds i8, ptr %55, i64 128
  %143 = load float, ptr %139, align 4, !tbaa !17
  %144 = getelementptr inbounds i8, ptr %1, i64 180
  store float %143, ptr %144, align 4, !tbaa !20
  %145 = getelementptr inbounds i8, ptr %55, i64 132
  %146 = load float, ptr %142, align 4, !tbaa !17
  %147 = getelementptr inbounds i8, ptr %1, i64 184
  store float %146, ptr %147, align 4, !tbaa !21
  %148 = load float, ptr %145, align 4, !tbaa !17
  %149 = getelementptr inbounds i8, ptr %1, i64 188
  store float %148, ptr %149, align 4, !tbaa !18
  store float 0x3FE99999A0000000, ptr %5, align 4, !tbaa !22
  store float 0x3FC70A3D80000000, ptr %6, align 4, !tbaa !26
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader.preheader, %16, %53
  ret void
}

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

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) 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 nounwind willreturn memory(argmem: write) }

!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 5292}
!6 = !{!"_ZTSN6SoLoud13VizsnInstanceE", !7, i64 0, !14, i64 496, !15, i64 504, !15, i64 728, !15, i64 952, !8, i64 1176, !8, i64 1180, !8, i64 1184, !9, i64 1188, !8, i64 5284, !8, i64 5288, !11, i64 5292, !14, i64 5296, !9, i64 5304, !8, i64 13496, !8, i64 13500, !8, i64 13504, !8, i64 13508, !8, i64 13512, !11, i64 13516}
!7 = !{!"_ZTSN6SoLoud19AudioSourceInstanceE", !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 20, !9, i64 24, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !8, i64 72, !11, i64 76, !11, i64 80, !12, i64 88, !12, i64 96, !13, i64 104, !13, i64 152, !13, i64 200, !13, i64 248, !13, i64 296, !8, i64 344, !9, i64 348, !8, i64 380, !8, i64 384, !9, i64 392, !9, i64 456, !8, i64 472, !8, i64 476, !8, i64 480, !12, i64 488}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"float", !9, i64 0}
!12 = !{!"double", !9, i64 0}
!13 = !{!"_ZTSN6SoLoud5FaderE", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !11, i64 40, !8, i64 44}
!14 = !{!"any pointer", !9, i64 0}
!15 = !{!"_ZTSN6SoLoud9VizsnBankE", !9, i64 0, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220}
!16 = !{!15, !11, i64 200}
!17 = !{!11, !11, i64 0}
!18 = !{!19, !11, i64 8}
!19 = !{!"_ZTSN6SoLoud14VizsnResonatorE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16}
!20 = !{!19, !11, i64 0}
!21 = !{!19, !11, i64 4}
!22 = !{!15, !11, i64 208}
!23 = !{!15, !11, i64 212}
!24 = !{!15, !11, i64 204}
!25 = !{!15, !11, i64 216}
!26 = !{!15, !11, i64 220}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass