; LLVM IR from SelfishOlex/MiniAudioO3DE :: MiniAudio/Code/Source/Clients (MiniAudioImplementation)

; 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.ma_gainer = type { %struct.ma_gainer_config, i32, ptr, ptr, ptr, i32 }
%struct.ma_gainer_config = type { i32, i32 }

; 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
declare dso_local void @ma_copy_and_apply_volume_factor_per_channel_f32(ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local i32 @ma_gainer_process_pcm_frames(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i64 %3, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %18, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %19, ptr %13, align 8, !tbaa !5
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = icmp eq ptr %20, null
  br i1 %21, label %22, label %23

22:                                               ; preds = %4
  store i32 -2, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %173

23:                                               ; preds = %4
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ma_gainer, ptr %24, i32 0, i32 1
  %26 = load i32, ptr %25, align 8, !tbaa !11
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ma_gainer, ptr %27, i32 0, i32 0
  %29 = getelementptr inbounds %struct.ma_gainer_config, ptr %28, i32 0, i32 1
  %30 = load i32, ptr %29, align 4, !tbaa !15
  %31 = icmp uge i32 %26, %30
  br i1 %31, label %32, label %55

32:                                               ; preds = %23
  %33 = load ptr, ptr %12, align 8, !tbaa !5
  %34 = load ptr, ptr %13, align 8, !tbaa !5
  %35 = load i64, ptr %9, align 8, !tbaa !9
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ma_gainer, ptr %36, i32 0, i32 0
  %38 = getelementptr inbounds %struct.ma_gainer_config, ptr %37, i32 0, i32 0
  %39 = load i32, ptr %38, align 8, !tbaa !16
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ma_gainer, ptr %40, i32 0, i32 3
  %42 = load ptr, ptr %41, align 8, !tbaa !17
  call void @ma_copy_and_apply_volume_factor_per_channel_f32(ptr noundef %33, ptr noundef %34, i64 noundef %35, i32 noundef %39, ptr noundef %42)
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ma_gainer, ptr %43, i32 0, i32 1
  %45 = load i32, ptr %44, align 8, !tbaa !11
  %46 = icmp eq i32 %45, -1
  br i1 %46, label %47, label %54

47:                                               ; preds = %32
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ma_gainer, ptr %48, i32 0, i32 0
  %50 = getelementptr inbounds %struct.ma_gainer_config, ptr %49, i32 0, i32 1
  %51 = load i32, ptr %50, align 4, !tbaa !15
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ma_gainer, ptr %52, i32 0, i32 1
  store i32 %51, ptr %53, align 8, !tbaa !11
  br label %54

54:                                               ; preds = %47, %32
  br label %172

55:                                               ; preds = %23
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %141

58:                                               ; preds = %55
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %141

61:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ma_gainer, ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 8, !tbaa !11
  %65 = uitofp i32 %64 to float
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ma_gainer, ptr %66, i32 0, i32 0
  %68 = getelementptr inbounds %struct.ma_gainer_config, ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 4, !tbaa !15
  %70 = uitofp i32 %69 to float
  %71 = fdiv float %65, %70
  store float %71, ptr %15, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ma_gainer, ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds %struct.ma_gainer_config, ptr %73, i32 0, i32 1
  %75 = load i32, ptr %74, align 4, !tbaa !15
  %76 = uitofp i32 %75 to float
  %77 = fdiv float 1.000000e+00, %76
  store float %77, ptr %16, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ma_gainer, ptr %78, i32 0, i32 0
  %80 = getelementptr inbounds %struct.ma_gainer_config, ptr %79, i32 0, i32 0
  %81 = load i32, ptr %80, align 8, !tbaa !16
  store i32 %81, ptr %17, align 4, !tbaa !20
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %82

82:                                               ; preds = %137, %61
  %83 = load i64, ptr %10, align 8, !tbaa !9
  %84 = load i64, ptr %9, align 8, !tbaa !9
  %85 = icmp ult i64 %83, %84
  br i1 %85, label %86, label %140

86:                                               ; preds = %82
  store i32 0, ptr %11, align 4, !tbaa !20
  br label %87

87:                                               ; preds = %118, %86
  %88 = load i32, ptr %11, align 4, !tbaa !20
  %89 = load i32, ptr %17, align 4, !tbaa !20
  %90 = icmp ult i32 %88, %89
  br i1 %90, label %91, label %121

91:                                               ; preds = %87
  %92 = load ptr, ptr %13, align 8, !tbaa !5
  %93 = load i32, ptr %11, align 4, !tbaa !20
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds float, ptr %92, i64 %94
  %96 = load float, ptr %95, align 4, !tbaa !18
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ma_gainer, ptr %97, i32 0, i32 2
  %99 = load ptr, ptr %98, align 8, !tbaa !21
  %100 = load i32, ptr %11, align 4, !tbaa !20
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds float, ptr %99, i64 %101
  %103 = load float, ptr %102, align 4, !tbaa !18
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ma_gainer, ptr %104, i32 0, i32 3
  %106 = load ptr, ptr %105, align 8, !tbaa !17
  %107 = load i32, ptr %11, align 4, !tbaa !20
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds float, ptr %106, i64 %108
  %110 = load float, ptr %109, align 4, !tbaa !18
  %111 = load float, ptr %15, align 4, !tbaa !18
  %112 = call noundef float @_ZL15ma_mix_f32_fastfff(float noundef %103, float noundef %110, float noundef %111)
  %113 = fmul float %96, %112
  %114 = load ptr, ptr %12, align 8, !tbaa !5
  %115 = load i32, ptr %11, align 4, !tbaa !20
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds float, ptr %114, i64 %116
  store float %113, ptr %117, align 4, !tbaa !18
  br label %118

118:                                              ; preds = %91
  %119 = load i32, ptr %11, align 4, !tbaa !20
  %120 = add i32 %119, 1
  store i32 %120, ptr %11, align 4, !tbaa !20
  br label %87, !llvm.loop !22

121:                                              ; preds = %87
  %122 = load i32, ptr %17, align 4, !tbaa !20
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = zext i32 %122 to i64
  %125 = getelementptr inbounds float, ptr %123, i64 %124
  store ptr %125, ptr %12, align 8, !tbaa !5
  %126 = load i32, ptr %17, align 4, !tbaa !20
  %127 = load ptr, ptr %13, align 8, !tbaa !5
  %128 = zext i32 %126 to i64
  %129 = getelementptr inbounds float, ptr %127, i64 %128
  store ptr %129, ptr %13, align 8, !tbaa !5
  %130 = load float, ptr %16, align 4, !tbaa !18
  %131 = load float, ptr %15, align 4, !tbaa !18
  %132 = fadd float %131, %130
  store float %132, ptr %15, align 4, !tbaa !18
  %133 = load float, ptr %15, align 4, !tbaa !18
  %134 = fcmp ogt float %133, 1.000000e+00
  br i1 %134, label %135, label %136

135:                                              ; preds = %121
  store float 1.000000e+00, ptr %15, align 4, !tbaa !18
  br label %136

136:                                              ; preds = %135, %121
  br label %137

137:                                              ; preds = %136
  %138 = load i64, ptr %10, align 8, !tbaa !9
  %139 = add i64 %138, 1
  store i64 %139, ptr %10, align 8, !tbaa !9
  br label %82, !llvm.loop !24

140:                                              ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %141

141:                                              ; preds = %140, %58, %55
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ma_gainer, ptr %142, i32 0, i32 1
  %144 = load i32, ptr %143, align 8, !tbaa !11
  %145 = zext i32 %144 to i64
  %146 = load i64, ptr %9, align 8, !tbaa !9
  %147 = add i64 %145, %146
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ma_gainer, ptr %148, i32 0, i32 0
  %150 = getelementptr inbounds %struct.ma_gainer_config, ptr %149, i32 0, i32 1
  %151 = load i32, ptr %150, align 4, !tbaa !15
  %152 = zext i32 %151 to i64
  %153 = icmp ult i64 %147, %152
  br i1 %153, label %154, label %161

154:                                              ; preds = %141
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ma_gainer, ptr %155, i32 0, i32 1
  %157 = load i32, ptr %156, align 8, !tbaa !11
  %158 = zext i32 %157 to i64
  %159 = load i64, ptr %9, align 8, !tbaa !9
  %160 = add i64 %158, %159
  br label %167

161:                                              ; preds = %141
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ma_gainer, ptr %162, i32 0, i32 0
  %164 = getelementptr inbounds %struct.ma_gainer_config, ptr %163, i32 0, i32 1
  %165 = load i32, ptr %164, align 4, !tbaa !15
  %166 = zext i32 %165 to i64
  br label %167

167:                                              ; preds = %161, %154
  %168 = phi i64 [ %160, %154 ], [ %166, %161 ]
  %169 = trunc i64 %168 to i32
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.ma_gainer, ptr %170, i32 0, i32 1
  store i32 %169, ptr %171, align 8, !tbaa !11
  br label %172

172:                                              ; preds = %167, %54
  store i32 0, ptr %5, align 4
  store i32 1, ptr %14, align 4
  br label %173

173:                                              ; preds = %172, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %174 = load i32, ptr %5, align 4
  ret i32 %174
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef float @_ZL15ma_mix_f32_fastfff(float noundef, float noundef, float noundef) #3

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 = { 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 = { alwaysinline 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 = { 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 = !{!"long long", !7, i64 0}
!11 = !{!12, !14, i64 8}
!12 = !{!"_ZTS9ma_gainer", !13, i64 0, !14, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !14, i64 40}
!13 = !{!"_ZTS16ma_gainer_config", !14, i64 0, !14, i64 4}
!14 = !{!"int", !7, i64 0}
!15 = !{!12, !14, i64 4}
!16 = !{!12, !14, i64 0}
!17 = !{!12, !6, i64 24}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = !{!14, !14, i64 0}
!21 = !{!12, !6, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}


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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @ma_copy_and_apply_volume_factor_per_channel_f32(ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local range(i32 -2, 1) i32 @ma_gainer_process_pcm_frames(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) local_unnamed_addr #0 {
  %5 = icmp eq ptr %0, null
  br i1 %5, label %56, label %6

6:                                                ; preds = %4
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 4
  %10 = load i32, ptr %9, align 4, !tbaa !12
  %.not = icmp ult i32 %8, %10
  br i1 %.not, label %19, label %11

11:                                               ; preds = %6
  %12 = load i32, ptr %0, align 8, !tbaa !13
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  %14 = load ptr, ptr %13, align 8, !tbaa !14
  tail call void @ma_copy_and_apply_volume_factor_per_channel_f32(ptr noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %12, ptr noundef %14)
  %15 = load i32, ptr %7, align 8, !tbaa !5
  %16 = icmp eq i32 %15, -1
  br i1 %16, label %17, label %56

17:                                               ; preds = %11
  %18 = load i32, ptr %9, align 4, !tbaa !12
  br label %.sink.split

19:                                               ; preds = %6
  %20 = icmp ne ptr %1, null
  %21 = icmp ne ptr %2, null
  %or.cond = and i1 %20, %21
  br i1 %or.cond, label %22, label %.loopexit

22:                                               ; preds = %19
  %23 = uitofp i32 %10 to float
  %24 = fdiv float 1.000000e+00, %23
  %.not68 = icmp eq i64 %3, 0
  br i1 %.not68, label %.loopexit, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %22
  %25 = load i32, ptr %0, align 8, !tbaa !13
  %.not69 = icmp eq i32 %25, 0
  %26 = getelementptr inbounds i8, ptr %0, i64 16
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %28 = zext i32 %25 to i64
  br i1 %.not69, label %.loopexit, label %.preheader.us.preheader

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %29 = uitofp i32 %8 to float
  %30 = fdiv float %29, %23
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us
  %.04967.us = phi i64 [ %47, %._crit_edge.us ], [ 0, %.preheader.us.preheader ]
  %.05066.us = phi float [ %.1.us, %._crit_edge.us ], [ %30, %.preheader.us.preheader ]
  %.05165.us = phi ptr [ %44, %._crit_edge.us ], [ %2, %.preheader.us.preheader ]
  %.05264.us = phi ptr [ %43, %._crit_edge.us ], [ %1, %.preheader.us.preheader ]
  br label %31

31:                                               ; preds = %.preheader.us, %31
  %indvars.iv = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next, %31 ]
  %32 = getelementptr inbounds float, ptr %.05165.us, i64 %indvars.iv
  %33 = load float, ptr %32, align 4, !tbaa !15
  %34 = load ptr, ptr %26, align 8, !tbaa !17
  %35 = getelementptr inbounds float, ptr %34, i64 %indvars.iv
  %36 = load float, ptr %35, align 4, !tbaa !15
  %37 = load ptr, ptr %27, align 8, !tbaa !14
  %38 = getelementptr inbounds float, ptr %37, i64 %indvars.iv
  %39 = load float, ptr %38, align 4, !tbaa !15
  %40 = tail call noundef float @_ZL15ma_mix_f32_fastfff(float noundef %36, float noundef %39, float noundef %.05066.us)
  %41 = fmul float %33, %40
  %42 = getelementptr inbounds float, ptr %.05264.us, i64 %indvars.iv
  store float %41, ptr %42, align 4, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %28
  br i1 %exitcond.not, label %._crit_edge.us, label %31, !llvm.loop !18

._crit_edge.us:                                   ; preds = %31
  %43 = getelementptr inbounds float, ptr %.05264.us, i64 %28
  %44 = getelementptr inbounds float, ptr %.05165.us, i64 %28
  %45 = fadd float %24, %.05066.us
  %46 = fcmp ogt float %45, 1.000000e+00
  %.1.us = select i1 %46, float 1.000000e+00, float %45
  %47 = add nuw i64 %.04967.us, 1
  %exitcond72.not = icmp eq i64 %47, %3
  br i1 %exitcond72.not, label %.loopexit.loopexit70, label %.preheader.us, !llvm.loop !20

.loopexit.loopexit70:                             ; preds = %._crit_edge.us
  %.pre = load i32, ptr %7, align 8, !tbaa !5
  %.pre73 = load i32, ptr %9, align 4, !tbaa !12
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader.lr.ph, %.loopexit.loopexit70, %22, %19
  %48 = phi i32 [ %.pre73, %.loopexit.loopexit70 ], [ %10, %22 ], [ %10, %19 ], [ %10, %.preheader.lr.ph ]
  %49 = phi i32 [ %.pre, %.loopexit.loopexit70 ], [ %8, %22 ], [ %8, %19 ], [ %8, %.preheader.lr.ph ]
  %50 = zext i32 %49 to i64
  %51 = add i64 %50, %3
  %52 = zext i32 %48 to i64
  %53 = icmp ult i64 %51, %52
  %54 = trunc nuw i64 %51 to i32
  %55 = select i1 %53, i32 %54, i32 %48
  br label %.sink.split

.sink.split:                                      ; preds = %17, %.loopexit
  %.sink = phi i32 [ %55, %.loopexit ], [ %18, %17 ]
  store i32 %.sink, ptr %7, align 8, !tbaa !5
  br label %56

56:                                               ; preds = %.sink.split, %11, %4
  %.0 = phi i32 [ -2, %4 ], [ 0, %11 ], [ 0, %.sink.split ]
  ret i32 %.0
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef float @_ZL15ma_mix_f32_fastfff(float noundef, float noundef, float noundef) local_unnamed_addr #1

attributes #0 = { 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 #1 = { alwaysinline 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" }

!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, !8, i64 8}
!6 = !{!"_ZTS9ma_gainer", !7, i64 0, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !8, i64 40}
!7 = !{!"_ZTS16ma_gainer_config", !8, i64 0, !8, i64 4}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!6, !8, i64 4}
!13 = !{!6, !8, i64 0}
!14 = !{!6, !11, i64 24}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !9, i64 0}
!17 = !{!6, !11, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass