; LLVM IR from pms67/HadesFCS :: Firmware/F4Quad/Core/Src (KalmanRollPitchYaw)

; 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.KalmanRollPitchYaw = type { float, float, float, [9 x float], [3 x float], float, float, [3 x float] }

; 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 speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1

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

; Function Attrs: nounwind uwtable
define dso_local zeroext i8 @KalmanRollPitchYaw_UpdatePsi(ptr noundef %0, float noundef %1) #2 {
  %3 = alloca i8, align 1
  %4 = alloca ptr, align 8
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca [3 x float], align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store float %1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %10, i32 0, i32 3
  %12 = getelementptr inbounds [9 x float], ptr %11, i64 0, i64 8
  %13 = load float, ptr %12, align 4, !tbaa !9
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %14, i32 0, i32 6
  %16 = load float, ptr %15, align 4, !tbaa !11
  %17 = fadd float %13, %16
  store float %17, ptr %6, align 4, !tbaa !9
  %18 = load float, ptr %6, align 4, !tbaa !9
  %19 = fcmp olt float %18, 0xBEE4F8B580000000
  br i1 %19, label %23, label %20

20:                                               ; preds = %2
  %21 = load float, ptr %6, align 4, !tbaa !9
  %22 = fcmp ogt float %21, 0x3EE4F8B580000000
  br i1 %22, label %23, label %205

23:                                               ; preds = %20, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %24 = load float, ptr %6, align 4, !tbaa !9
  %25 = fdiv float 1.000000e+00, %24
  store float %25, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #3
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %26, i32 0, i32 3
  %28 = getelementptr inbounds [9 x float], ptr %27, i64 0, i64 2
  %29 = load float, ptr %28, align 4, !tbaa !9
  %30 = load float, ptr %7, align 4, !tbaa !9
  %31 = fmul float %29, %30
  store float %31, ptr %8, align 4, !tbaa !9
  %32 = getelementptr inbounds float, ptr %8, i64 1
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %33, i32 0, i32 3
  %35 = getelementptr inbounds [9 x float], ptr %34, i64 0, i64 5
  %36 = load float, ptr %35, align 4, !tbaa !9
  %37 = load float, ptr %7, align 4, !tbaa !9
  %38 = fmul float %36, %37
  store float %38, ptr %32, align 4, !tbaa !9
  %39 = getelementptr inbounds float, ptr %8, i64 2
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %40, i32 0, i32 3
  %42 = getelementptr inbounds [9 x float], ptr %41, i64 0, i64 8
  %43 = load float, ptr %42, align 4, !tbaa !9
  %44 = load float, ptr %7, align 4, !tbaa !9
  %45 = fmul float %43, %44
  store float %45, ptr %39, align 4, !tbaa !9
  %46 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
  %47 = load float, ptr %46, align 4, !tbaa !9
  %48 = load float, ptr %5, align 4, !tbaa !9
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %49, i32 0, i32 2
  %51 = load float, ptr %50, align 4, !tbaa !13
  %52 = fsub float %48, %51
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %53, i32 0, i32 0
  %55 = load float, ptr %54, align 4, !tbaa !14
  %56 = call float @llvm.fmuladd.f32(float %47, float %52, float %55)
  store float %56, ptr %54, align 4, !tbaa !14
  %57 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 1
  %58 = load float, ptr %57, align 4, !tbaa !9
  %59 = load float, ptr %5, align 4, !tbaa !9
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %60, i32 0, i32 2
  %62 = load float, ptr %61, align 4, !tbaa !13
  %63 = fsub float %59, %62
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %64, i32 0, i32 1
  %66 = load float, ptr %65, align 4, !tbaa !15
  %67 = call float @llvm.fmuladd.f32(float %58, float %63, float %66)
  store float %67, ptr %65, align 4, !tbaa !15
  %68 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 2
  %69 = load float, ptr %68, align 4, !tbaa !9
  %70 = load float, ptr %5, align 4, !tbaa !9
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %71, i32 0, i32 2
  %73 = load float, ptr %72, align 4, !tbaa !13
  %74 = fsub float %70, %73
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %75, i32 0, i32 2
  %77 = load float, ptr %76, align 4, !tbaa !13
  %78 = call float @llvm.fmuladd.f32(float %69, float %74, float %77)
  store float %78, ptr %76, align 4, !tbaa !13
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %79, i32 0, i32 3
  %81 = getelementptr inbounds [9 x float], ptr %80, i64 0, i64 0
  %82 = load float, ptr %81, align 4, !tbaa !9
  %83 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
  %84 = load float, ptr %83, align 4, !tbaa !9
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %85, i32 0, i32 3
  %87 = getelementptr inbounds [9 x float], ptr %86, i64 0, i64 6
  %88 = load float, ptr %87, align 4, !tbaa !9
  %89 = fneg float %84
  %90 = call float @llvm.fmuladd.f32(float %89, float %88, float %82)
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %91, i32 0, i32 3
  %93 = getelementptr inbounds [9 x float], ptr %92, i64 0, i64 0
  store float %90, ptr %93, align 4, !tbaa !9
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %94, i32 0, i32 3
  %96 = getelementptr inbounds [9 x float], ptr %95, i64 0, i64 1
  %97 = load float, ptr %96, align 4, !tbaa !9
  %98 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
  %99 = load float, ptr %98, align 4, !tbaa !9
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %100, i32 0, i32 3
  %102 = getelementptr inbounds [9 x float], ptr %101, i64 0, i64 7
  %103 = load float, ptr %102, align 4, !tbaa !9
  %104 = fneg float %99
  %105 = call float @llvm.fmuladd.f32(float %104, float %103, float %97)
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %106, i32 0, i32 3
  %108 = getelementptr inbounds [9 x float], ptr %107, i64 0, i64 1
  store float %105, ptr %108, align 4, !tbaa !9
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %109, i32 0, i32 3
  %111 = getelementptr inbounds [9 x float], ptr %110, i64 0, i64 2
  %112 = load float, ptr %111, align 4, !tbaa !9
  %113 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 0
  %114 = load float, ptr %113, align 4, !tbaa !9
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %115, i32 0, i32 3
  %117 = getelementptr inbounds [9 x float], ptr %116, i64 0, i64 8
  %118 = load float, ptr %117, align 4, !tbaa !9
  %119 = fneg float %114
  %120 = call float @llvm.fmuladd.f32(float %119, float %118, float %112)
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %121, i32 0, i32 3
  %123 = getelementptr inbounds [9 x float], ptr %122, i64 0, i64 2
  store float %120, ptr %123, align 4, !tbaa !9
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %124, i32 0, i32 3
  %126 = getelementptr inbounds [9 x float], ptr %125, i64 0, i64 3
  %127 = load float, ptr %126, align 4, !tbaa !9
  %128 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 1
  %129 = load float, ptr %128, align 4, !tbaa !9
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %130, i32 0, i32 3
  %132 = getelementptr inbounds [9 x float], ptr %131, i64 0, i64 6
  %133 = load float, ptr %132, align 4, !tbaa !9
  %134 = fneg float %129
  %135 = call float @llvm.fmuladd.f32(float %134, float %133, float %127)
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %136, i32 0, i32 3
  %138 = getelementptr inbounds [9 x float], ptr %137, i64 0, i64 3
  store float %135, ptr %138, align 4, !tbaa !9
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %139, i32 0, i32 3
  %141 = getelementptr inbounds [9 x float], ptr %140, i64 0, i64 4
  %142 = load float, ptr %141, align 4, !tbaa !9
  %143 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 1
  %144 = load float, ptr %143, align 4, !tbaa !9
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %145, i32 0, i32 3
  %147 = getelementptr inbounds [9 x float], ptr %146, i64 0, i64 7
  %148 = load float, ptr %147, align 4, !tbaa !9
  %149 = fneg float %144
  %150 = call float @llvm.fmuladd.f32(float %149, float %148, float %142)
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %151, i32 0, i32 3
  %153 = getelementptr inbounds [9 x float], ptr %152, i64 0, i64 4
  store float %150, ptr %153, align 4, !tbaa !9
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %154, i32 0, i32 3
  %156 = getelementptr inbounds [9 x float], ptr %155, i64 0, i64 5
  %157 = load float, ptr %156, align 4, !tbaa !9
  %158 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 1
  %159 = load float, ptr %158, align 4, !tbaa !9
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %160, i32 0, i32 3
  %162 = getelementptr inbounds [9 x float], ptr %161, i64 0, i64 8
  %163 = load float, ptr %162, align 4, !tbaa !9
  %164 = fneg float %159
  %165 = call float @llvm.fmuladd.f32(float %164, float %163, float %157)
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %166, i32 0, i32 3
  %168 = getelementptr inbounds [9 x float], ptr %167, i64 0, i64 5
  store float %165, ptr %168, align 4, !tbaa !9
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %169, i32 0, i32 3
  %171 = getelementptr inbounds [9 x float], ptr %170, i64 0, i64 6
  %172 = load float, ptr %171, align 4, !tbaa !9
  %173 = fneg float %172
  %174 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 2
  %175 = load float, ptr %174, align 4, !tbaa !9
  %176 = fsub float %175, 1.000000e+00
  %177 = fmul float %173, %176
  %178 = load ptr, ptr %4, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %178, i32 0, i32 3
  %180 = getelementptr inbounds [9 x float], ptr %179, i64 0, i64 6
  store float %177, ptr %180, align 4, !tbaa !9
  %181 = load ptr, ptr %4, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %181, i32 0, i32 3
  %183 = getelementptr inbounds [9 x float], ptr %182, i64 0, i64 7
  %184 = load float, ptr %183, align 4, !tbaa !9
  %185 = fneg float %184
  %186 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 2
  %187 = load float, ptr %186, align 4, !tbaa !9
  %188 = fsub float %187, 1.000000e+00
  %189 = fmul float %185, %188
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %190, i32 0, i32 3
  %192 = getelementptr inbounds [9 x float], ptr %191, i64 0, i64 7
  store float %189, ptr %192, align 4, !tbaa !9
  %193 = load ptr, ptr %4, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %193, i32 0, i32 3
  %195 = getelementptr inbounds [9 x float], ptr %194, i64 0, i64 8
  %196 = load float, ptr %195, align 4, !tbaa !9
  %197 = fneg float %196
  %198 = getelementptr inbounds [3 x float], ptr %8, i64 0, i64 2
  %199 = load float, ptr %198, align 4, !tbaa !9
  %200 = fsub float %199, 1.000000e+00
  %201 = fmul float %197, %200
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.KalmanRollPitchYaw, ptr %202, i32 0, i32 3
  %204 = getelementptr inbounds [9 x float], ptr %203, i64 0, i64 8
  store float %201, ptr %204, align 4, !tbaa !9
  store i8 1, ptr %3, align 1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %206

205:                                              ; preds = %20
  store i8 0, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %206

206:                                              ; preds = %205, %23
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  %207 = load i8, ptr %3, align 1
  ret i8 %207
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !10, i64 64}
!12 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !7, i64 48, !10, i64 60, !10, i64 64, !7, i64 68}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !10, i64 0}
!15 = !{!12, !10, i64 4}


; 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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #0

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define dso_local zeroext range(i8 0, 2) i8 @KalmanRollPitchYaw_UpdatePsi(ptr nocapture noundef %0, float noundef %1) local_unnamed_addr #1 {
  %3 = getelementptr inbounds i8, ptr %0, i64 44
  %4 = load float, ptr %3, align 4, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  %6 = load float, ptr %5, align 4, !tbaa !9
  %7 = fadd float %4, %6
  %8 = tail call float @llvm.fabs.f32(float %7)
  %or.cond = fcmp ogt float %8, 0x3EE4F8B580000000
  br i1 %or.cond, label %9, label %46

9:                                                ; preds = %2
  %10 = fdiv float 1.000000e+00, %7
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = load float, ptr %11, align 4, !tbaa !5
  %13 = fmul float %4, %10
  %14 = getelementptr inbounds i8, ptr %0, i64 36
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  %16 = fadd float %13, -1.000000e+00
  %17 = load <2 x float>, ptr %14, align 4, !tbaa !5
  %18 = load <4 x float>, ptr %0, align 4, !tbaa !5
  %19 = extractelement <4 x float> %18, i64 2
  %20 = fsub float %1, %19
  %21 = shufflevector <2 x float> %17, <2 x float> poison, <2 x i32> <i32 poison, i32 0>
  %22 = insertelement <2 x float> %21, float %20, i64 0
  %23 = shufflevector <2 x float> %22, <2 x float> poison, <4 x i32> <i32 0, i32 0, i32 0, i32 1>
  %24 = load <4 x float>, ptr %15, align 4, !tbaa !5
  %25 = insertelement <2 x float> poison, float %10, i64 0
  %26 = shufflevector <2 x float> %25, <2 x float> poison, <2 x i32> zeroinitializer
  %27 = shufflevector <4 x float> %24, <4 x float> poison, <2 x i32> <i32 1, i32 poison>
  %28 = insertelement <2 x float> %27, float %12, i64 1
  %29 = fmul <2 x float> %26, %28
  %30 = fneg <2 x float> %29
  %31 = shufflevector <2 x float> %30, <2 x float> poison, <4 x i32> <i32 0, i32 0, i32 1, i32 1>
  %32 = extractelement <2 x float> %30, i64 1
  %33 = tail call float @llvm.fmuladd.f32(float %32, float %4, float %12)
  store float %33, ptr %11, align 4, !tbaa !5
  %34 = shufflevector <2 x float> %30, <2 x float> %29, <4 x i32> <i32 2, i32 3, i32 poison, i32 0>
  %35 = insertelement <4 x float> %34, float %13, i64 2
  %36 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %35, <4 x float> %23, <4 x float> %18)
  store <4 x float> %36, ptr %0, align 4, !tbaa !5
  %37 = shufflevector <2 x float> %17, <2 x float> poison, <4 x i32> <i32 1, i32 poison, i32 0, i32 1>
  %38 = insertelement <4 x float> %37, float %4, i64 1
  %39 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %31, <4 x float> %38, <4 x float> %24)
  store <4 x float> %39, ptr %15, align 4, !tbaa !5
  %40 = fneg <2 x float> %17
  %41 = insertelement <2 x float> poison, float %16, i64 0
  %42 = shufflevector <2 x float> %41, <2 x float> poison, <2 x i32> zeroinitializer
  %43 = fmul <2 x float> %42, %40
  store <2 x float> %43, ptr %14, align 4, !tbaa !5
  %44 = fneg float %4
  %45 = fmul float %16, %44
  store float %45, ptr %3, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %2, %9
  %.0 = phi i8 [ 1, %9 ], [ 0, %2 ]
  ret i8 %.0
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 64}
!10 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !7, i64 12, !7, i64 48, !6, i64 60, !6, i64 64, !7, i64 68}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass