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

; 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.framesync64_s = type { ptr, ptr, %struct.framesyncstats_s, %struct.framedatastats_s, i32, float, ptr, [64 x { float, float }], [64 x { float, float }], [600 x { float, float }], [72 x i8], ptr, ptr, i32, ptr, ptr, ptr, i32 }
%struct.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }
%struct.framedatastats_s = type { i32, i32, i32, i64 }

; 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
define dso_local i32 @framesync64_callback_internal(ptr noundef %0, i32 noundef %1, ptr noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %9 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %9, ptr %7, align 8, !tbaa !5
  %10 = load ptr, ptr %7, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.framesync64_s, ptr %10, i32 0, i32 12
  %12 = load ptr, ptr %11, align 8, !tbaa !11
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds { float, float }, ptr %13, i64 64
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.framesync64_s, ptr %15, i32 0, i32 9
  %17 = getelementptr inbounds [600 x { float, float }], ptr %16, i64 0, i64 0
  %18 = call i32 @qpilotsync_execute(ptr noundef %12, ptr noundef %14, ptr noundef %17)
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.framesync64_s, ptr %19, i32 0, i32 11
  %21 = load ptr, ptr %20, align 8, !tbaa !17
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.framesync64_s, ptr %22, i32 0, i32 9
  %24 = getelementptr inbounds [600 x { float, float }], ptr %23, i64 0, i64 0
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.framesync64_s, ptr %25, i32 0, i32 10
  %27 = getelementptr inbounds [72 x i8], ptr %26, i64 0, i64 0
  %28 = call i32 @qpacketmodem_decode(ptr noundef %21, ptr noundef %24, ptr noundef %27)
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.framesync64_s, ptr %29, i32 0, i32 13
  store i32 %28, ptr %30, align 8, !tbaa !18
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.framesync64_s, ptr %31, i32 0, i32 3
  %33 = getelementptr inbounds %struct.framedatastats_s, ptr %32, i32 0, i32 0
  %34 = load i32, ptr %33, align 8, !tbaa !19
  %35 = add i32 %34, 1
  store i32 %35, ptr %33, align 8, !tbaa !19
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.framesync64_s, ptr %36, i32 0, i32 13
  %38 = load i32, ptr %37, align 8, !tbaa !18
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.framesync64_s, ptr %39, i32 0, i32 3
  %41 = getelementptr inbounds %struct.framedatastats_s, ptr %40, i32 0, i32 1
  %42 = load i32, ptr %41, align 4, !tbaa !20
  %43 = add i32 %42, %38
  store i32 %43, ptr %41, align 4, !tbaa !20
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.framesync64_s, ptr %44, i32 0, i32 13
  %46 = load i32, ptr %45, align 8, !tbaa !18
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.framesync64_s, ptr %47, i32 0, i32 3
  %49 = getelementptr inbounds %struct.framedatastats_s, ptr %48, i32 0, i32 2
  %50 = load i32, ptr %49, align 8, !tbaa !21
  %51 = add i32 %50, %46
  store i32 %51, ptr %49, align 8, !tbaa !21
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.framesync64_s, ptr %52, i32 0, i32 13
  %54 = load i32, ptr %53, align 8, !tbaa !18
  %55 = icmp ne i32 %54, 0
  %56 = zext i1 %55 to i64
  %57 = select i1 %55, i32 64, i32 0
  %58 = sext i32 %57 to i64
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.framesync64_s, ptr %59, i32 0, i32 3
  %61 = getelementptr inbounds %struct.framedatastats_s, ptr %60, i32 0, i32 3
  %62 = load i64, ptr %61, align 8, !tbaa !22
  %63 = add i64 %62, %58
  store i64 %63, ptr %61, align 8, !tbaa !22
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.framesync64_s, ptr %64, i32 0, i32 11
  %66 = load ptr, ptr %65, align 8, !tbaa !17
  %67 = call float @qpacketmodem_get_demodulator_evm(ptr noundef %66)
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.framesync64_s, ptr %68, i32 0, i32 2
  %70 = getelementptr inbounds %struct.framesyncstats_s, ptr %69, i32 0, i32 0
  store float %67, ptr %70, align 8, !tbaa !23
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.framesync64_s, ptr %71, i32 0, i32 6
  %73 = load ptr, ptr %72, align 8, !tbaa !24
  %74 = call float @qdsync_cccf_get_gamma(ptr noundef %73)
  %75 = call float @log10f(float noundef %74) #4
  %76 = fmul float 2.000000e+01, %75
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.framesync64_s, ptr %77, i32 0, i32 2
  %79 = getelementptr inbounds %struct.framesyncstats_s, ptr %78, i32 0, i32 1
  store float %76, ptr %79, align 4, !tbaa !25
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.framesync64_s, ptr %80, i32 0, i32 6
  %82 = load ptr, ptr %81, align 8, !tbaa !24
  %83 = call float @qdsync_cccf_get_dphi(ptr noundef %82)
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.framesync64_s, ptr %84, i32 0, i32 12
  %86 = load ptr, ptr %85, align 8, !tbaa !11
  %87 = call float @qpilotsync_get_dphi(ptr noundef %86)
  %88 = fdiv float %87, 2.000000e+00
  %89 = fadd float %83, %88
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.framesync64_s, ptr %90, i32 0, i32 2
  %92 = getelementptr inbounds %struct.framesyncstats_s, ptr %91, i32 0, i32 2
  store float %89, ptr %92, align 8, !tbaa !26
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.framesync64_s, ptr %93, i32 0, i32 9
  %95 = getelementptr inbounds [600 x { float, float }], ptr %94, i64 0, i64 0
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.framesync64_s, ptr %96, i32 0, i32 2
  %98 = getelementptr inbounds %struct.framesyncstats_s, ptr %97, i32 0, i32 3
  store ptr %95, ptr %98, align 8, !tbaa !27
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.framesync64_s, ptr %99, i32 0, i32 2
  %101 = getelementptr inbounds %struct.framesyncstats_s, ptr %100, i32 0, i32 4
  store i32 600, ptr %101, align 8, !tbaa !28
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.framesync64_s, ptr %102, i32 0, i32 2
  %104 = getelementptr inbounds %struct.framesyncstats_s, ptr %103, i32 0, i32 5
  store i32 40, ptr %104, align 4, !tbaa !29
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.framesync64_s, ptr %105, i32 0, i32 2
  %107 = getelementptr inbounds %struct.framesyncstats_s, ptr %106, i32 0, i32 6
  store i32 2, ptr %107, align 8, !tbaa !30
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.framesync64_s, ptr %108, i32 0, i32 2
  %110 = getelementptr inbounds %struct.framesyncstats_s, ptr %109, i32 0, i32 7
  store i32 5, ptr %110, align 4, !tbaa !31
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.framesync64_s, ptr %111, i32 0, i32 2
  %113 = getelementptr inbounds %struct.framesyncstats_s, ptr %112, i32 0, i32 8
  store i32 1, ptr %113, align 8, !tbaa !32
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.framesync64_s, ptr %114, i32 0, i32 2
  %116 = getelementptr inbounds %struct.framesyncstats_s, ptr %115, i32 0, i32 9
  store i32 7, ptr %116, align 4, !tbaa !33
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.framesync64_s, ptr %117, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8, !tbaa !34
  %120 = icmp ne ptr %119, null
  br i1 %120, label %121, label %148

121:                                              ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.framesync64_s, ptr %122, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8, !tbaa !34
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.framesync64_s, ptr %125, i32 0, i32 10
  %127 = getelementptr inbounds [72 x i8], ptr %126, i64 0, i64 0
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.framesync64_s, ptr %128, i32 0, i32 13
  %130 = load i32, ptr %129, align 8, !tbaa !18
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.framesync64_s, ptr %131, i32 0, i32 10
  %133 = getelementptr inbounds [72 x i8], ptr %132, i64 0, i64 8
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.framesync64_s, ptr %134, i32 0, i32 13
  %136 = load i32, ptr %135, align 8, !tbaa !18
  %137 = load ptr, ptr %7, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.framesync64_s, ptr %137, i32 0, i32 2
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.framesync64_s, ptr %139, i32 0, i32 1
  %141 = load ptr, ptr %140, align 8, !tbaa !35
  %142 = call i32 %124(ptr noundef %127, i32 noundef %130, ptr noundef %133, i32 noundef 64, i32 noundef %136, ptr noundef byval(%struct.framesyncstats_s) align 8 %138, ptr noundef %141)
  store i32 %142, ptr %8, align 4, !tbaa !9
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = load i32, ptr %8, align 4, !tbaa !9
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds { float, float }, ptr %145, i64 64
  %147 = call i32 @framesync64_debug_export(ptr noundef %143, i32 noundef %144, ptr noundef %146)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %148

148:                                              ; preds = %121, %3
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = call i32 @framesync64_reset(ptr noundef %149)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret i32 %150
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @framesync64_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

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

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

declare float @qpacketmodem_get_demodulator_evm(ptr noundef) #2

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

declare float @qdsync_cccf_get_gamma(ptr noundef) #2

declare float @qdsync_cccf_get_dphi(ptr noundef) #2

declare float @qpilotsync_get_dphi(ptr noundef) #2

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

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 "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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 6008}
!12 = !{!"framesync64_s", !6, i64 0, !6, i64 8, !13, i64 16, !15, i64 64, !10, i64 88, !14, i64 92, !6, i64 96, !7, i64 104, !7, i64 616, !7, i64 1128, !7, i64 5928, !6, i64 6000, !6, i64 6008, !10, i64 6016, !6, i64 6024, !6, i64 6032, !6, i64 6040, !10, i64 6048}
!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 = !{!12, !6, i64 6000}
!18 = !{!12, !10, i64 6016}
!19 = !{!12, !10, i64 64}
!20 = !{!12, !10, i64 68}
!21 = !{!12, !10, i64 72}
!22 = !{!12, !16, i64 80}
!23 = !{!12, !14, i64 16}
!24 = !{!12, !6, i64 96}
!25 = !{!12, !14, i64 20}
!26 = !{!12, !14, i64 24}
!27 = !{!12, !6, i64 32}
!28 = !{!12, !10, i64 40}
!29 = !{!12, !10, i64 44}
!30 = !{!12, !10, i64 48}
!31 = !{!12, !10, i64 52}
!32 = !{!12, !10, i64 56}
!33 = !{!12, !10, i64 60}
!34 = !{!12, !6, i64 0}
!35 = !{!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: nounwind uwtable
define dso_local i32 @framesync64_callback_internal(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %2, i64 6008
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 512
  %7 = getelementptr inbounds i8, ptr %2, i64 1128
  %8 = tail call i32 @qpilotsync_execute(ptr noundef %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #3
  %9 = getelementptr inbounds i8, ptr %2, i64 6000
  %10 = load ptr, ptr %9, align 8, !tbaa !15
  %11 = getelementptr inbounds i8, ptr %2, i64 5928
  %12 = tail call i32 @qpacketmodem_decode(ptr noundef %10, ptr noundef nonnull %7, ptr noundef nonnull %11) #3
  %13 = getelementptr inbounds i8, ptr %2, i64 6016
  store i32 %12, ptr %13, align 8, !tbaa !16
  %14 = getelementptr inbounds i8, ptr %2, i64 64
  %15 = load <2 x i32>, ptr %14, align 8, !tbaa !17
  %16 = insertelement <2 x i32> <i32 1, i32 poison>, i32 %12, i64 1
  %17 = add <2 x i32> %15, %16
  store <2 x i32> %17, ptr %14, align 8, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %2, i64 72
  %19 = load i32, ptr %18, align 8, !tbaa !18
  %20 = add i32 %19, %12
  store i32 %20, ptr %18, align 8, !tbaa !18
  %.not = icmp eq i32 %12, 0
  %21 = select i1 %.not, i64 0, i64 64
  %22 = getelementptr inbounds i8, ptr %2, i64 80
  %23 = load i64, ptr %22, align 8, !tbaa !19
  %24 = add i64 %23, %21
  store i64 %24, ptr %22, align 8, !tbaa !19
  %25 = load ptr, ptr %9, align 8, !tbaa !15
  %26 = tail call float @qpacketmodem_get_demodulator_evm(ptr noundef %25) #3
  %27 = getelementptr inbounds i8, ptr %2, i64 16
  store float %26, ptr %27, align 8, !tbaa !20
  %28 = getelementptr inbounds i8, ptr %2, i64 96
  %29 = load ptr, ptr %28, align 8, !tbaa !21
  %30 = tail call float @qdsync_cccf_get_gamma(ptr noundef %29) #3
  %31 = tail call float @log10f(float noundef %30) #3
  %32 = fmul float %31, 2.000000e+01
  %33 = getelementptr inbounds i8, ptr %2, i64 20
  store float %32, ptr %33, align 4, !tbaa !22
  %34 = load ptr, ptr %28, align 8, !tbaa !21
  %35 = tail call float @qdsync_cccf_get_dphi(ptr noundef %34) #3
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = tail call float @qpilotsync_get_dphi(ptr noundef %36) #3
  %38 = fmul float %37, 5.000000e-01
  %39 = fadd float %35, %38
  %40 = getelementptr inbounds i8, ptr %2, i64 24
  store float %39, ptr %40, align 8, !tbaa !23
  %41 = getelementptr inbounds i8, ptr %2, i64 32
  store ptr %7, ptr %41, align 8, !tbaa !24
  %42 = getelementptr inbounds i8, ptr %2, i64 40
  store <4 x i32> <i32 600, i32 40, i32 2, i32 5>, ptr %42, align 8, !tbaa !17
  %43 = getelementptr inbounds i8, ptr %2, i64 56
  store i32 1, ptr %43, align 8, !tbaa !25
  %44 = getelementptr inbounds i8, ptr %2, i64 60
  store i32 7, ptr %44, align 4, !tbaa !26
  %45 = load ptr, ptr %2, align 8, !tbaa !27
  %.not41 = icmp eq ptr %45, null
  br i1 %.not41, label %53, label %46

46:                                               ; preds = %3
  %47 = load i32, ptr %13, align 8, !tbaa !16
  %48 = getelementptr inbounds i8, ptr %2, i64 5936
  %49 = getelementptr inbounds i8, ptr %2, i64 8
  %50 = load ptr, ptr %49, align 8, !tbaa !28
  %51 = tail call i32 %45(ptr noundef nonnull %11, i32 noundef %47, ptr noundef nonnull %48, i32 noundef 64, i32 noundef %47, ptr noundef nonnull byval(%struct.framesyncstats_s) align 8 %27, ptr noundef %50) #3
  %52 = tail call i32 @framesync64_debug_export(ptr noundef nonnull %2, i32 noundef %51, ptr noundef nonnull %6)
  br label %53

53:                                               ; preds = %46, %3
  %54 = tail call i32 @framesync64_reset(ptr noundef nonnull %2)
  ret i32 %54
}

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

declare i32 @qpilotsync_execute(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @qpacketmodem_decode(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare float @qpacketmodem_get_demodulator_evm(ptr noundef) local_unnamed_addr #1

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

declare float @qdsync_cccf_get_gamma(ptr noundef) local_unnamed_addr #1

declare float @qdsync_cccf_get_dphi(ptr noundef) local_unnamed_addr #1

declare float @qpilotsync_get_dphi(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @framesync64_debug_export(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

attributes #0 = { 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 = { "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 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 #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, !7, i64 6008}
!6 = !{!"framesync64_s", !7, i64 0, !7, i64 8, !10, i64 16, !13, i64 64, !12, i64 88, !11, i64 92, !7, i64 96, !8, i64 104, !8, i64 616, !8, i64 1128, !8, i64 5928, !7, i64 6000, !7, i64 6008, !12, i64 6016, !7, i64 6024, !7, i64 6032, !7, i64 6040, !12, i64 6048}
!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 = !{!6, !7, i64 6000}
!16 = !{!6, !12, i64 6016}
!17 = !{!12, !12, i64 0}
!18 = !{!6, !12, i64 72}
!19 = !{!6, !14, i64 80}
!20 = !{!6, !11, i64 16}
!21 = !{!6, !7, i64 96}
!22 = !{!6, !11, i64 20}
!23 = !{!6, !11, i64 24}
!24 = !{!6, !7, i64 32}
!25 = !{!6, !12, i64 56}
!26 = !{!6, !12, i64 60}
!27 = !{!6, !7, i64 0}
!28 = !{!6, !7, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,TailCallElimPass