; LLVM IR from jgaeddert/liquid-dsp :: src/framing/src (flexframesync)

; 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.flexframesync_s = type { ptr, ptr, %struct.framesyncstats_s, %struct.framedatastats_s, i32, float, ptr, float, float, float, float, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, i32, ptr, i32, ptr, ptr, i32, ptr, i32, i32, ptr, i32, %struct.flexframegenprops_s, i32, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, ptr }
%struct.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }
%struct.framedatastats_s = type { i32, i32, i32, i64 }
%struct.flexframegenprops_s = type { i32, i32, 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: nounwind uwtable
declare dso_local i32 @flexframesync_reset(ptr noundef) #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 i32 @flexframesync_execute_rxheader(ptr noundef %0, <2 x float> noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca { float, float }, align 4
  %5 = alloca ptr, align 8
  %6 = alloca { float, float }, align 4
  %7 = alloca i32, align 4
  %8 = alloca { float, float }, align 4
  %9 = alloca i32, align 4
  store <2 x float> %1, ptr %4, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %10 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %11 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  store float 0.000000e+00, ptr %10, align 4
  store float 0.000000e+00, ptr %11, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 0
  %14 = load float, ptr %13, align 4
  %15 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 1
  %16 = load float, ptr %15, align 4
  %17 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 0
  %18 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 1
  store float %14, ptr %17, align 4
  store float %16, ptr %18, align 4
  %19 = load <2 x float>, ptr %8, align 4
  %20 = call i32 @flexframesync_step(ptr noundef %12, <2 x float> noundef %19, ptr noundef %6)
  store i32 %20, ptr %7, align 4, !tbaa !9
  %21 = load i32, ptr %7, align 4, !tbaa !9
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %130

23:                                               ; preds = %2
  %24 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %25 = load float, ptr %24, align 4
  %26 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %27 = load float, ptr %26, align 4
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.flexframesync_s, ptr %28, i32 0, i32 20
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.flexframesync_s, ptr %31, i32 0, i32 40
  %33 = load i32, ptr %32, align 4, !tbaa !18
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds { float, float }, ptr %30, i64 %34
  %36 = getelementptr inbounds { float, float }, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds { float, float }, ptr %35, i32 0, i32 1
  store float %25, ptr %36, align 4
  store float %27, ptr %37, align 4
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.flexframesync_s, ptr %38, i32 0, i32 40
  %40 = load i32, ptr %39, align 4, !tbaa !18
  %41 = add i32 %40, 1
  store i32 %41, ptr %39, align 4, !tbaa !18
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.flexframesync_s, ptr %42, i32 0, i32 40
  %44 = load i32, ptr %43, align 4, !tbaa !18
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.flexframesync_s, ptr %45, i32 0, i32 21
  %47 = load i32, ptr %46, align 8, !tbaa !19
  %48 = icmp eq i32 %44, %47
  br i1 %48, label %49, label %129

49:                                               ; preds = %23
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = call i32 @flexframesync_decode_header(ptr noundef %50)
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.flexframesync_s, ptr %52, i32 0, i32 29
  %54 = load i32, ptr %53, align 8, !tbaa !20
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %61

56:                                               ; preds = %49
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.flexframesync_s, ptr %57, i32 0, i32 40
  store i32 0, ptr %58, align 4, !tbaa !18
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.flexframesync_s, ptr %59, i32 0, i32 41
  store i32 3, ptr %60, align 8, !tbaa !21
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %131

61:                                               ; preds = %49
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.flexframesync_s, ptr %62, i32 0, i32 3
  %64 = getelementptr inbounds %struct.framedatastats_s, ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !22
  %66 = add i32 %65, 1
  store i32 %66, ptr %64, align 8, !tbaa !22
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.flexframesync_s, ptr %67, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8, !tbaa !23
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %126

71:                                               ; preds = %61
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.flexframesync_s, ptr %72, i32 0, i32 2
  %74 = getelementptr inbounds %struct.framesyncstats_s, ptr %73, i32 0, i32 0
  store float 0.000000e+00, ptr %74, align 8, !tbaa !24
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.flexframesync_s, ptr %75, i32 0, i32 10
  %77 = load float, ptr %76, align 4, !tbaa !25
  %78 = call float @log10f(float noundef %77) #5
  %79 = fmul float 2.000000e+01, %78
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.flexframesync_s, ptr %80, i32 0, i32 2
  %82 = getelementptr inbounds %struct.framesyncstats_s, ptr %81, i32 0, i32 1
  store float %79, ptr %82, align 4, !tbaa !26
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.flexframesync_s, ptr %83, i32 0, i32 11
  %85 = load ptr, ptr %84, align 8, !tbaa !27
  %86 = call float @nco_crcf_get_frequency(ptr noundef %85)
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.flexframesync_s, ptr %87, i32 0, i32 2
  %89 = getelementptr inbounds %struct.framesyncstats_s, ptr %88, i32 0, i32 2
  store float %86, ptr %89, align 8, !tbaa !28
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.flexframesync_s, ptr %90, i32 0, i32 2
  %92 = getelementptr inbounds %struct.framesyncstats_s, ptr %91, i32 0, i32 3
  store ptr null, ptr %92, align 8, !tbaa !29
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.flexframesync_s, ptr %93, i32 0, i32 2
  %95 = getelementptr inbounds %struct.framesyncstats_s, ptr %94, i32 0, i32 4
  store i32 0, ptr %95, align 8, !tbaa !30
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.flexframesync_s, ptr %96, i32 0, i32 2
  %98 = getelementptr inbounds %struct.framesyncstats_s, ptr %97, i32 0, i32 5
  store i32 0, ptr %98, align 4, !tbaa !31
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.flexframesync_s, ptr %99, i32 0, i32 2
  %101 = getelementptr inbounds %struct.framesyncstats_s, ptr %100, i32 0, i32 6
  store i32 0, ptr %101, align 8, !tbaa !32
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.flexframesync_s, ptr %102, i32 0, i32 2
  %104 = getelementptr inbounds %struct.framesyncstats_s, ptr %103, i32 0, i32 7
  store i32 0, ptr %104, align 4, !tbaa !33
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.flexframesync_s, ptr %105, i32 0, i32 2
  %107 = getelementptr inbounds %struct.framesyncstats_s, ptr %106, i32 0, i32 8
  store i32 0, ptr %107, align 8, !tbaa !34
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.flexframesync_s, ptr %108, i32 0, i32 2
  %110 = getelementptr inbounds %struct.framesyncstats_s, ptr %109, i32 0, i32 9
  store i32 0, ptr %110, align 4, !tbaa !35
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.flexframesync_s, ptr %111, i32 0, i32 0
  %113 = load ptr, ptr %112, align 8, !tbaa !23
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.flexframesync_s, ptr %114, i32 0, i32 28
  %116 = load ptr, ptr %115, align 8, !tbaa !36
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.flexframesync_s, ptr %117, i32 0, i32 29
  %119 = load i32, ptr %118, align 8, !tbaa !20
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.flexframesync_s, ptr %120, i32 0, i32 2
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.flexframesync_s, ptr %122, i32 0, i32 1
  %124 = load ptr, ptr %123, align 8, !tbaa !37
  %125 = call i32 %113(ptr noundef %116, i32 noundef %119, ptr noundef null, i32 noundef 0, i32 noundef 0, ptr noundef byval(%struct.framesyncstats_s) align 8 %121, ptr noundef %124)
  br label %126

126:                                              ; preds = %71, %61
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = call i32 @flexframesync_reset(ptr noundef %127)
  store i32 %128, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %131

129:                                              ; preds = %23
  br label %130

130:                                              ; preds = %129, %2
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %131

131:                                              ; preds = %130, %126, %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %132 = load i32, ptr %3, align 4
  ret i32 %132
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @flexframesync_step(ptr noundef, <2 x float> noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @flexframesync_decode_header(ptr noundef) #1

; Function Attrs: nounwind
declare float @log10f(float noundef) #3

declare float @nco_crcf_get_frequency(ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 #3 = { nounwind "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 = { "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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 184}
!12 = !{!"flexframesync_s", !6, i64 0, !6, i64 8, !13, i64 16, !15, i64 64, !10, i64 88, !14, i64 92, !6, i64 96, !14, i64 104, !14, i64 108, !14, i64 112, !14, i64 116, !6, i64 120, !6, i64 128, !6, i64 136, !10, i64 144, !10, i64 148, !10, i64 152, !6, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !10, i64 192, !6, i64 200, !6, i64 208, !10, i64 216, !6, i64 224, !10, i64 232, !10, i64 236, !6, i64 240, !10, i64 248, !17, i64 252, !10, i64 268, !6, i64 272, !6, i64 280, !10, i64 288, !6, i64 296, !6, i64 304, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !6, i64 344}
!13 = !{!"", !14, i64 0, !14, i64 4, !14, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44}
!14 = !{!"float", !7, i64 0}
!15 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !16, i64 16}
!16 = !{!"long", !7, i64 0}
!17 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!18 = !{!12, !10, i64 324}
!19 = !{!12, !10, i64 192}
!20 = !{!12, !10, i64 248}
!21 = !{!12, !10, i64 328}
!22 = !{!12, !10, i64 64}
!23 = !{!12, !6, i64 0}
!24 = !{!12, !14, i64 16}
!25 = !{!12, !14, i64 116}
!26 = !{!12, !14, i64 20}
!27 = !{!12, !6, i64 120}
!28 = !{!12, !14, i64 24}
!29 = !{!12, !6, i64 32}
!30 = !{!12, !10, i64 40}
!31 = !{!12, !10, i64 44}
!32 = !{!12, !10, i64 48}
!33 = !{!12, !10, i64 52}
!34 = !{!12, !10, i64 56}
!35 = !{!12, !10, i64 60}
!36 = !{!12, !6, i64 240}
!37 = !{!12, !6, i64 8}


; 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.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @flexframesync_reset(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress 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 i32 @flexframesync_execute_rxheader(ptr noundef %0, <2 x float> noundef %1) local_unnamed_addr #2 {
  %3 = alloca { float, float }, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  store <2 x float> zeroinitializer, ptr %3, align 8
  %4 = call i32 @flexframesync_step(ptr noundef %0, <2 x float> noundef %1, ptr noundef nonnull %3)
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %50, label %5

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 184
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 324
  %9 = load i32, ptr %8, align 4, !tbaa !16
  %10 = zext i32 %9 to i64
  %11 = getelementptr inbounds { float, float }, ptr %7, i64 %10
  %12 = load <2 x float>, ptr %3, align 8
  store <2 x float> %12, ptr %11, align 4
  %13 = load i32, ptr %8, align 4, !tbaa !16
  %14 = add i32 %13, 1
  store i32 %14, ptr %8, align 4, !tbaa !16
  %15 = getelementptr inbounds i8, ptr %0, i64 192
  %16 = load i32, ptr %15, align 8, !tbaa !17
  %17 = icmp eq i32 %14, %16
  br i1 %17, label %18, label %50

18:                                               ; preds = %5
  %19 = call i32 @flexframesync_decode_header(ptr noundef nonnull %0)
  %20 = getelementptr inbounds i8, ptr %0, i64 248
  %21 = load i32, ptr %20, align 8, !tbaa !18
  %.not33 = icmp eq i32 %21, 0
  br i1 %.not33, label %24, label %22

22:                                               ; preds = %18
  store i32 0, ptr %8, align 4, !tbaa !16
  %23 = getelementptr inbounds i8, ptr %0, i64 328
  store i32 3, ptr %23, align 8, !tbaa !19
  br label %50

24:                                               ; preds = %18
  %25 = getelementptr inbounds i8, ptr %0, i64 64
  %26 = load i32, ptr %25, align 8, !tbaa !20
  %27 = add i32 %26, 1
  store i32 %27, ptr %25, align 8, !tbaa !20
  %28 = load ptr, ptr %0, align 8, !tbaa !21
  %.not34 = icmp eq ptr %28, null
  br i1 %.not34, label %48, label %29

29:                                               ; preds = %24
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  store float 0.000000e+00, ptr %30, align 8, !tbaa !22
  %31 = getelementptr inbounds i8, ptr %0, i64 116
  %32 = load float, ptr %31, align 4, !tbaa !23
  %33 = call float @log10f(float noundef %32) #6
  %34 = fmul float %33, 2.000000e+01
  %35 = getelementptr inbounds i8, ptr %0, i64 20
  store float %34, ptr %35, align 4, !tbaa !24
  %36 = getelementptr inbounds i8, ptr %0, i64 120
  %37 = load ptr, ptr %36, align 8, !tbaa !25
  %38 = call float @nco_crcf_get_frequency(ptr noundef %37) #6
  %39 = getelementptr inbounds i8, ptr %0, i64 24
  store float %38, ptr %39, align 8, !tbaa !26
  %40 = getelementptr inbounds i8, ptr %0, i64 32
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %40, i8 0, i64 32, i1 false)
  %41 = load ptr, ptr %0, align 8, !tbaa !21
  %42 = getelementptr inbounds i8, ptr %0, i64 240
  %43 = load ptr, ptr %42, align 8, !tbaa !27
  %44 = load i32, ptr %20, align 8, !tbaa !18
  %45 = getelementptr inbounds i8, ptr %0, i64 8
  %46 = load ptr, ptr %45, align 8, !tbaa !28
  %47 = call i32 %41(ptr noundef %43, i32 noundef %44, ptr noundef null, i32 noundef 0, i32 noundef 0, ptr noundef nonnull byval(%struct.framesyncstats_s) align 8 %30, ptr noundef %46) #6
  br label %48

48:                                               ; preds = %29, %24
  %49 = call i32 @flexframesync_reset(ptr noundef nonnull %0)
  br label %50

50:                                               ; preds = %2, %5, %48, %22
  %.0 = phi i32 [ 0, %22 ], [ %49, %48 ], [ 0, %5 ], [ 0, %2 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret i32 %.0
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @flexframesync_step(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @flexframesync_decode_header(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @log10f(float noundef) local_unnamed_addr #3

declare float @nco_crcf_get_frequency(ptr noundef) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 #3 = { mustprogress nofree nounwind willreturn memory(write) "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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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, !7, i64 184}
!6 = !{!"flexframesync_s", !7, i64 0, !7, i64 8, !10, i64 16, !13, i64 64, !12, i64 88, !11, i64 92, !7, i64 96, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !7, i64 120, !7, i64 128, !7, i64 136, !12, i64 144, !12, i64 148, !12, i64 152, !7, i64 160, !7, i64 168, !12, i64 176, !7, i64 184, !12, i64 192, !7, i64 200, !7, i64 208, !12, i64 216, !7, i64 224, !12, i64 232, !12, i64 236, !7, i64 240, !12, i64 248, !15, i64 252, !12, i64 268, !7, i64 272, !7, i64 280, !12, i64 288, !7, i64 296, !7, i64 304, !12, i64 312, !12, i64 316, !12, i64 320, !12, i64 324, !12, i64 328, !12, i64 332, !12, i64 336, !12, i64 340, !7, i64 344}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!11 = !{!"float", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !14, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!16 = !{!6, !12, i64 324}
!17 = !{!6, !12, i64 192}
!18 = !{!6, !12, i64 248}
!19 = !{!6, !12, i64 328}
!20 = !{!6, !12, i64 64}
!21 = !{!6, !7, i64 0}
!22 = !{!6, !11, i64 16}
!23 = !{!6, !11, i64 116}
!24 = !{!6, !11, i64 20}
!25 = !{!6, !7, i64 120}
!26 = !{!6, !11, i64 24}
!27 = !{!6, !7, i64 240}
!28 = !{!6, !7, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass