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

; 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.fskframesync_s = type { i32, i32, float, i32, ptr, ptr, ptr, ptr, ptr, %struct.framesyncstats_s, ptr, i32, i32, ptr, ptr, ptr, ptr, [3 x float], i32, i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, 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 }

; 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: nounwind uwtable
declare dso_local i32 @fskframesync_reset(ptr noundef) #1

declare i32 @windowcf_push(ptr noundef, <2 x float> noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @fskframesync_execute_rxheader(ptr noundef %0, <2 x float> noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca { float, float }, align 4
  %5 = alloca ptr, align 8
  %6 = alloca { float, float }, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store <2 x float> %1, ptr %4, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.fskframesync_s, ptr %11, i32 0, i32 15
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 0
  %15 = load float, ptr %14, align 4
  %16 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 1
  %17 = load float, ptr %16, align 4
  %18 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %19 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  store float %15, ptr %18, align 4
  store float %17, ptr %19, align 4
  %20 = load <2 x float>, ptr %6, align 4
  %21 = call i32 @windowcf_push(ptr noundef %13, <2 x float> noundef %20)
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.fskframesync_s, ptr %22, i32 0, i32 36
  %24 = load i32, ptr %23, align 4, !tbaa !14
  %25 = add i32 %24, -1
  store i32 %25, ptr %23, align 4, !tbaa !14
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.fskframesync_s, ptr %26, i32 0, i32 36
  %28 = load i32, ptr %27, align 4, !tbaa !14
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %31

30:                                               ; preds = %2
  store i32 0, ptr %3, align 4
  br label %138

31:                                               ; preds = %2
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.fskframesync_s, ptr %32, i32 0, i32 1
  %34 = load i32, ptr %33, align 4, !tbaa !15
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.fskframesync_s, ptr %35, i32 0, i32 36
  store i32 %34, ptr %36, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.fskframesync_s, ptr %37, i32 0, i32 15
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = call i32 @windowcf_read(ptr noundef %39, ptr noundef %7)
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.fskframesync_s, ptr %41, i32 0, i32 4
  %43 = load ptr, ptr %42, align 8, !tbaa !16
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = call i32 @fskdem_demodulate(ptr noundef %43, ptr noundef %44)
  %46 = trunc i32 %45 to i8
  store i8 %46, ptr %8, align 1, !tbaa !17
  %47 = load i8, ptr %8, align 1, !tbaa !17
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.fskframesync_s, ptr %48, i32 0, i32 21
  %50 = load ptr, ptr %49, align 8, !tbaa !18
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.fskframesync_s, ptr %51, i32 0, i32 35
  %53 = load i32, ptr %52, align 8, !tbaa !19
  %54 = add i32 %53, 1
  store i32 %54, ptr %52, align 8, !tbaa !19
  %55 = zext i32 %53 to i64
  %56 = getelementptr inbounds i8, ptr %50, i64 %55
  store i8 %47, ptr %56, align 1, !tbaa !17
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.fskframesync_s, ptr %57, i32 0, i32 35
  %59 = load i32, ptr %58, align 8, !tbaa !19
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.fskframesync_s, ptr %60, i32 0, i32 19
  %62 = load i32, ptr %61, align 8, !tbaa !20
  %63 = icmp eq i32 %59, %62
  br i1 %63, label %64, label %136

64:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.fskframesync_s, ptr %65, i32 0, i32 22
  %67 = load ptr, ptr %66, align 8, !tbaa !21
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.fskframesync_s, ptr %68, i32 0, i32 21
  %70 = load ptr, ptr %69, align 8, !tbaa !18
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.fskframesync_s, ptr %71, i32 0, i32 20
  %73 = load ptr, ptr %72, align 8, !tbaa !22
  %74 = call i32 @qpacketmodem_decode_syms(ptr noundef %67, ptr noundef %70, ptr noundef %73)
  store i32 %74, ptr %9, align 4, !tbaa !23
  %75 = load i32, ptr %9, align 4, !tbaa !23
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %77, label %82

77:                                               ; preds = %64
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.fskframesync_s, ptr %78, i32 0, i32 35
  store i32 0, ptr %79, align 8, !tbaa !19
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.fskframesync_s, ptr %80, i32 0, i32 31
  store i32 2, ptr %81, align 8, !tbaa !24
  store i32 0, ptr %3, align 4
  store i32 1, ptr %10, align 4
  br label %133

82:                                               ; preds = %64
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.fskframesync_s, ptr %83, i32 0, i32 7
  %85 = load ptr, ptr %84, align 8, !tbaa !25
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %130

87:                                               ; preds = %82
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.fskframesync_s, ptr %88, i32 0, i32 9
  %90 = getelementptr inbounds %struct.framesyncstats_s, ptr %89, i32 0, i32 0
  store float 0.000000e+00, ptr %90, align 8, !tbaa !26
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.fskframesync_s, ptr %91, i32 0, i32 9
  %93 = getelementptr inbounds %struct.framesyncstats_s, ptr %92, i32 0, i32 1
  store float 0.000000e+00, ptr %93, align 4, !tbaa !27
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.fskframesync_s, ptr %94, i32 0, i32 9
  %96 = getelementptr inbounds %struct.framesyncstats_s, ptr %95, i32 0, i32 2
  store float 0.000000e+00, ptr %96, align 8, !tbaa !28
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.fskframesync_s, ptr %97, i32 0, i32 9
  %99 = getelementptr inbounds %struct.framesyncstats_s, ptr %98, i32 0, i32 3
  store ptr null, ptr %99, align 8, !tbaa !29
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.fskframesync_s, ptr %100, i32 0, i32 9
  %102 = getelementptr inbounds %struct.framesyncstats_s, ptr %101, i32 0, i32 4
  store i32 0, ptr %102, align 8, !tbaa !30
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.fskframesync_s, ptr %103, i32 0, i32 9
  %105 = getelementptr inbounds %struct.framesyncstats_s, ptr %104, i32 0, i32 5
  store i32 0, ptr %105, align 4, !tbaa !31
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.fskframesync_s, ptr %106, i32 0, i32 9
  %108 = getelementptr inbounds %struct.framesyncstats_s, ptr %107, i32 0, i32 6
  store i32 0, ptr %108, align 8, !tbaa !32
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.fskframesync_s, ptr %109, i32 0, i32 9
  %111 = getelementptr inbounds %struct.framesyncstats_s, ptr %110, i32 0, i32 7
  store i32 0, ptr %111, align 4, !tbaa !33
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.fskframesync_s, ptr %112, i32 0, i32 9
  %114 = getelementptr inbounds %struct.framesyncstats_s, ptr %113, i32 0, i32 8
  store i32 0, ptr %114, align 8, !tbaa !34
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.fskframesync_s, ptr %115, i32 0, i32 9
  %117 = getelementptr inbounds %struct.framesyncstats_s, ptr %116, i32 0, i32 9
  store i32 0, ptr %117, align 4, !tbaa !35
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.fskframesync_s, ptr %118, i32 0, i32 7
  %120 = load ptr, ptr %119, align 8, !tbaa !25
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.fskframesync_s, ptr %121, i32 0, i32 20
  %123 = load ptr, ptr %122, align 8, !tbaa !22
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.fskframesync_s, ptr %124, i32 0, i32 9
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.fskframesync_s, ptr %126, i32 0, i32 8
  %128 = load ptr, ptr %127, align 8, !tbaa !36
  %129 = call i32 %120(ptr noundef %123, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef 0, ptr noundef byval(%struct.framesyncstats_s) align 8 %125, ptr noundef %128)
  br label %130

130:                                              ; preds = %87, %82
  %131 = load ptr, ptr %5, align 8, !tbaa !5
  %132 = call i32 @fskframesync_reset(ptr noundef %131)
  store i32 0, ptr %10, align 4
  br label %133

133:                                              ; preds = %130, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  %134 = load i32, ptr %10, align 4
  switch i32 %134, label %137 [
    i32 0, label %135
  ]

135:                                              ; preds = %133
  br label %136

136:                                              ; preds = %135, %31
  store i32 0, ptr %3, align 4
  store i32 1, ptr %10, align 4
  br label %137

137:                                              ; preds = %136, %133
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %138

138:                                              ; preds = %137, %30
  %139 = load i32, ptr %3, align 4
  ret i32 %139
}

declare i32 @windowcf_read(ptr noundef, ptr noundef) #2

declare i32 @fskdem_demodulate(ptr noundef, ptr noundef) #2

declare i32 @qpacketmodem_decode_syms(ptr noundef, ptr noundef, ptr noundef) #2

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 = { "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 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 #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/C++ TBAA"}
!9 = !{!10, !6, i64 136}
!10 = !{!"fskframesync_s", !11, i64 0, !11, i64 4, !12, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !13, i64 56, !6, i64 104, !11, i64 112, !11, i64 116, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !7, i64 152, !11, i64 164, !11, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !11, i64 248, !11, i64 252, !11, i64 256, !11, i64 260, !11, i64 264, !11, i64 268, !11, i64 272, !11, i64 276, !6, i64 280}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !6, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44}
!14 = !{!10, !11, i64 268}
!15 = !{!10, !11, i64 4}
!16 = !{!10, !6, i64 16}
!17 = !{!7, !7, i64 0}
!18 = !{!10, !6, i64 184}
!19 = !{!10, !11, i64 264}
!20 = !{!10, !11, i64 168}
!21 = !{!10, !6, i64 192}
!22 = !{!10, !6, i64 176}
!23 = !{!11, !11, i64 0}
!24 = !{!10, !11, i64 248}
!25 = !{!10, !6, i64 40}
!26 = !{!10, !12, i64 56}
!27 = !{!10, !12, i64 60}
!28 = !{!10, !12, i64 64}
!29 = !{!10, !6, i64 72}
!30 = !{!10, !11, i64 80}
!31 = !{!10, !11, i64 84}
!32 = !{!10, !11, i64 88}
!33 = !{!10, !11, i64 92}
!34 = !{!10, !11, i64 96}
!35 = !{!10, !11, i64 100}
!36 = !{!10, !6, i64 48}


; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

declare i32 @windowcf_push(ptr noundef, <2 x float> noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @fskframesync_execute_rxheader(ptr noundef %0, <2 x float> noundef %1) local_unnamed_addr #3 {
  %3 = alloca ptr, align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 136
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = tail call i32 @windowcf_push(ptr noundef %5, <2 x float> noundef %1) #5
  %7 = getelementptr inbounds i8, ptr %0, i64 268
  %8 = load i32, ptr %7, align 4, !tbaa !13
  %9 = add i32 %8, -1
  store i32 %9, ptr %7, align 4, !tbaa !13
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %10, label %54

10:                                               ; preds = %2
  %11 = getelementptr inbounds i8, ptr %0, i64 4
  %12 = load i32, ptr %11, align 4, !tbaa !14
  store i32 %12, ptr %7, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = call i32 @windowcf_read(ptr noundef %13, ptr noundef nonnull %3) #5
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  %16 = load ptr, ptr %15, align 8, !tbaa !15
  %17 = load ptr, ptr %3, align 8, !tbaa !16
  %18 = call i32 @fskdem_demodulate(ptr noundef %16, ptr noundef %17) #5
  %19 = trunc i32 %18 to i8
  %20 = getelementptr inbounds i8, ptr %0, i64 184
  %21 = load ptr, ptr %20, align 8, !tbaa !17
  %22 = getelementptr inbounds i8, ptr %0, i64 264
  %23 = load i32, ptr %22, align 8, !tbaa !18
  %24 = add i32 %23, 1
  store i32 %24, ptr %22, align 8, !tbaa !18
  %25 = zext i32 %23 to i64
  %26 = getelementptr inbounds i8, ptr %21, i64 %25
  store i8 %19, ptr %26, align 1, !tbaa !19
  %27 = load i32, ptr %22, align 8, !tbaa !18
  %28 = getelementptr inbounds i8, ptr %0, i64 168
  %29 = load i32, ptr %28, align 8, !tbaa !20
  %30 = icmp eq i32 %27, %29
  br i1 %30, label %31, label %53

31:                                               ; preds = %10
  %32 = getelementptr inbounds i8, ptr %0, i64 192
  %33 = load ptr, ptr %32, align 8, !tbaa !21
  %34 = load ptr, ptr %20, align 8, !tbaa !17
  %35 = getelementptr inbounds i8, ptr %0, i64 176
  %36 = load ptr, ptr %35, align 8, !tbaa !22
  %37 = call i32 @qpacketmodem_decode_syms(ptr noundef %33, ptr noundef %34, ptr noundef %36) #5
  %.not38 = icmp eq i32 %37, 0
  br i1 %.not38, label %40, label %38

38:                                               ; preds = %31
  store i32 0, ptr %22, align 8, !tbaa !18
  %39 = getelementptr inbounds i8, ptr %0, i64 248
  store i32 2, ptr %39, align 8, !tbaa !23
  br label %53

40:                                               ; preds = %31
  %41 = getelementptr inbounds i8, ptr %0, i64 40
  %42 = load ptr, ptr %41, align 8, !tbaa !24
  %.not39 = icmp eq ptr %42, null
  br i1 %.not39, label %51, label %43

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %0, i64 56
  store <2 x float> zeroinitializer, ptr %44, align 8, !tbaa !25
  %45 = getelementptr inbounds i8, ptr %0, i64 64
  store float 0.000000e+00, ptr %45, align 8, !tbaa !26
  %46 = getelementptr inbounds i8, ptr %0, i64 72
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %46, i8 0, i64 32, i1 false)
  %47 = load ptr, ptr %35, align 8, !tbaa !22
  %48 = getelementptr inbounds i8, ptr %0, i64 48
  %49 = load ptr, ptr %48, align 8, !tbaa !27
  %50 = call i32 %42(ptr noundef %47, i32 noundef 0, ptr noundef null, i32 noundef 0, i32 noundef 0, ptr noundef nonnull byval(%struct.framesyncstats_s) align 8 %44, ptr noundef %49) #5
  br label %51

51:                                               ; preds = %43, %40
  %52 = call i32 @fskframesync_reset(ptr noundef nonnull %0)
  br label %53

53:                                               ; preds = %38, %51, %10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %54

54:                                               ; preds = %2, %53
  ret i32 0
}

declare i32 @windowcf_read(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @fskdem_demodulate(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @qpacketmodem_decode_syms(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

attributes #0 = { mustprogress 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 = { "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 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 136}
!6 = !{!"fskframesync_s", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !11, i64 104, !7, i64 112, !7, i64 116, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !8, i64 152, !7, i64 164, !7, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !11, i64 280}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !11, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44}
!13 = !{!6, !7, i64 268}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !11, i64 16}
!16 = !{!11, !11, i64 0}
!17 = !{!6, !11, i64 184}
!18 = !{!6, !7, i64 264}
!19 = !{!8, !8, i64 0}
!20 = !{!6, !7, i64 168}
!21 = !{!6, !11, i64 192}
!22 = !{!6, !11, i64 176}
!23 = !{!6, !7, i64 248}
!24 = !{!6, !11, i64 40}
!25 = !{!10, !10, i64 0}
!26 = !{!6, !10, i64 64}
!27 = !{!6, !11, i64 48}


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