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

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

@.str = external hidden unnamed_addr constant [95 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_dsssframe64sync() #0 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %struct.framedatastats_s, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %8 = call ptr (...) @dsssframe64gen_create()
  store ptr %8, ptr %2, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %9 = call ptr @dsssframe64sync_create(ptr noundef @framing_autotest_callback, ptr noundef %1)
  store ptr %9, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %10 = load ptr, ptr %2, align 8, !tbaa !9
  %11 = call i32 @dsssframe64gen_get_frame_len(ptr noundef %10)
  store i32 %11, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %12 = load i32, ptr %4, align 4, !tbaa !5
  %13 = zext i32 %12 to i64
  %14 = mul i64 %13, 8
  %15 = call noalias ptr @malloc(i64 noundef %14) #6
  store ptr %15, ptr %5, align 8, !tbaa !9
  %16 = load ptr, ptr %2, align 8, !tbaa !9
  %17 = load ptr, ptr %5, align 8, !tbaa !9
  %18 = call i32 @dsssframe64gen_execute(ptr noundef %16, ptr noundef null, ptr noundef null, ptr noundef %17)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %51, %0
  %20 = load i32, ptr %6, align 4, !tbaa !5
  %21 = load i32, ptr %4, align 4, !tbaa !5
  %22 = icmp ult i32 %20, %21
  br i1 %22, label %23, label %54

23:                                               ; preds = %19
  %24 = call float (...) @randnf()
  %25 = call float (...) @randnf()
  %26 = fmul float 0.000000e+00, %25
  %27 = fmul float 1.000000e+00, %25
  %28 = fadd float %24, %26
  %29 = fmul float 1.000000e+00, %28
  %30 = fmul float 1.000000e+00, %27
  %31 = fpext float %29 to double
  %32 = fpext float %30 to double
  %33 = fmul double %31, 0x3FE6A09E667F3BCD
  %34 = fmul double %32, 0x3FE6A09E667F3BCD
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = load i32, ptr %6, align 4, !tbaa !5
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds { float, float }, ptr %35, i64 %37
  %39 = getelementptr inbounds { float, float }, ptr %38, i32 0, i32 0
  %40 = load float, ptr %39, align 4
  %41 = getelementptr inbounds { float, float }, ptr %38, i32 0, i32 1
  %42 = load float, ptr %41, align 4
  %43 = fpext float %40 to double
  %44 = fpext float %42 to double
  %45 = fadd double %43, %33
  %46 = fadd double %44, %34
  %47 = fptrunc double %45 to float
  %48 = fptrunc double %46 to float
  %49 = getelementptr inbounds { float, float }, ptr %38, i32 0, i32 0
  %50 = getelementptr inbounds { float, float }, ptr %38, i32 0, i32 1
  store float %47, ptr %49, align 4
  store float %48, ptr %50, align 4
  br label %51

51:                                               ; preds = %23
  %52 = load i32, ptr %6, align 4, !tbaa !5
  %53 = add i32 %52, 1
  store i32 %53, ptr %6, align 4, !tbaa !5
  br label %19, !llvm.loop !11

54:                                               ; preds = %19
  %55 = load ptr, ptr %3, align 8, !tbaa !9
  %56 = load ptr, ptr %5, align 8, !tbaa !9
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = call i32 @dsssframe64sync_execute(ptr noundef %55, ptr noundef %56, i32 noundef %57)
  %59 = load i32, ptr %1, align 4, !tbaa !5
  %60 = icmp ne i32 %59, 19088743
  br i1 %60, label %61, label %64

61:                                               ; preds = %54
  %62 = load i32, ptr %1, align 4, !tbaa !5
  %63 = uitofp i32 %62 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 51, ptr noundef @.str.1, double noundef %63, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 0x4172345670000000)
  br label %65

64:                                               ; preds = %54
  call void (...) @liquid_autotest_passed()
  br label %65

65:                                               ; preds = %64, %61
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  %66 = load ptr, ptr %3, align 8, !tbaa !9
  call void @dsssframe64sync_get_framedatastats(ptr dead_on_unwind writable sret(%struct.framedatastats_s) align 8 %7, ptr noundef %66)
  %67 = getelementptr inbounds %struct.framedatastats_s, ptr %7, i32 0, i32 0
  %68 = load i32, ptr %67, align 8, !tbaa !13
  %69 = icmp ne i32 %68, 1
  br i1 %69, label %70, label %74

70:                                               ; preds = %65
  %71 = getelementptr inbounds %struct.framedatastats_s, ptr %7, i32 0, i32 0
  %72 = load i32, ptr %71, align 8, !tbaa !13
  %73 = uitofp i32 %72 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 55, ptr noundef @.str.4, double noundef %73, ptr noundef @.str.2, ptr noundef @.str.5, double noundef 1.000000e+00)
  br label %75

74:                                               ; preds = %65
  call void (...) @liquid_autotest_passed()
  br label %75

75:                                               ; preds = %74, %70
  %76 = getelementptr inbounds %struct.framedatastats_s, ptr %7, i32 0, i32 1
  %77 = load i32, ptr %76, align 4, !tbaa !16
  %78 = icmp ne i32 %77, 1
  br i1 %78, label %79, label %83

79:                                               ; preds = %75
  %80 = getelementptr inbounds %struct.framedatastats_s, ptr %7, i32 0, i32 1
  %81 = load i32, ptr %80, align 4, !tbaa !16
  %82 = uitofp i32 %81 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 56, ptr noundef @.str.6, double noundef %82, ptr noundef @.str.2, ptr noundef @.str.5, double noundef 1.000000e+00)
  br label %84

83:                                               ; preds = %75
  call void (...) @liquid_autotest_passed()
  br label %84

84:                                               ; preds = %83, %79
  %85 = getelementptr inbounds %struct.framedatastats_s, ptr %7, i32 0, i32 2
  %86 = load i32, ptr %85, align 8, !tbaa !17
  %87 = icmp ne i32 %86, 1
  br i1 %87, label %88, label %92

88:                                               ; preds = %84
  %89 = getelementptr inbounds %struct.framedatastats_s, ptr %7, i32 0, i32 2
  %90 = load i32, ptr %89, align 8, !tbaa !17
  %91 = uitofp i32 %90 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 57, ptr noundef @.str.7, double noundef %91, ptr noundef @.str.2, ptr noundef @.str.5, double noundef 1.000000e+00)
  br label %93

92:                                               ; preds = %84
  call void (...) @liquid_autotest_passed()
  br label %93

93:                                               ; preds = %92, %88
  %94 = getelementptr inbounds %struct.framedatastats_s, ptr %7, i32 0, i32 3
  %95 = load i64, ptr %94, align 8, !tbaa !18
  %96 = icmp ne i64 %95, 64
  br i1 %96, label %97, label %101

97:                                               ; preds = %93
  %98 = getelementptr inbounds %struct.framedatastats_s, ptr %7, i32 0, i32 3
  %99 = load i64, ptr %98, align 8, !tbaa !18
  %100 = uitofp i64 %99 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 58, ptr noundef @.str.8, double noundef %100, ptr noundef @.str.2, ptr noundef @.str.9, double noundef 6.400000e+01)
  br label %102

101:                                              ; preds = %93
  call void (...) @liquid_autotest_passed()
  br label %102

102:                                              ; preds = %101, %97
  %103 = load ptr, ptr %2, align 8, !tbaa !9
  %104 = call i32 @dsssframe64gen_destroy(ptr noundef %103)
  %105 = load ptr, ptr %3, align 8, !tbaa !9
  %106 = call i32 @dsssframe64sync_destroy(ptr noundef %105)
  %107 = load ptr, ptr %5, align 8, !tbaa !9
  call void @free(ptr noundef %107) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret void
}

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

declare ptr @dsssframe64gen_create(...) #2

declare ptr @dsssframe64sync_create(ptr noundef, ptr noundef) #2

declare i32 @framing_autotest_callback(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.framesyncstats_s) align 8, ptr noundef) #2

declare i32 @dsssframe64gen_get_frame_len(ptr noundef) #2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

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

declare float @randnf(...) #2

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

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #2

declare void @liquid_autotest_passed(...) #2

declare void @dsssframe64sync_get_framedatastats(ptr dead_on_unwind writable sret(%struct.framedatastats_s) align 8, ptr noundef) #2

declare i32 @dsssframe64gen_destroy(ptr noundef) #2

declare i32 @dsssframe64sync_destroy(ptr noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 allocsize(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 "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 }
attributes #6 = { nounwind allocsize(0) }

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


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

@.str = external hidden unnamed_addr constant [95 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_dsssframe64sync() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.framedatastats_s, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  store i32 0, ptr %1, align 4, !tbaa !5
  %3 = tail call ptr (...) @dsssframe64gen_create() #5
  %4 = call ptr @dsssframe64sync_create(ptr noundef nonnull @framing_autotest_callback, ptr noundef nonnull %1) #5
  %5 = call i32 @dsssframe64gen_get_frame_len(ptr noundef %3) #5
  %6 = zext i32 %5 to i64
  %7 = shl nuw nsw i64 %6, 3
  %8 = call noalias ptr @malloc(i64 noundef %7) #6
  %9 = call i32 @dsssframe64gen_execute(ptr noundef %3, ptr noundef null, ptr noundef null, ptr noundef %8) #5
  %.not26 = icmp eq i32 %5, 0
  br i1 %.not26, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %10 = call float (...) @randnf() #5
  %11 = call float (...) @randnf() #5
  %12 = fmul float %11, 0.000000e+00
  %13 = fadd float %10, %12
  %14 = getelementptr inbounds { float, float }, ptr %8, i64 %indvars.iv
  %15 = insertelement <2 x float> poison, float %13, i64 0
  %16 = insertelement <2 x float> %15, float %11, i64 1
  %17 = fpext <2 x float> %16 to <2 x double>
  %18 = fmul <2 x double> %17, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %19 = load <2 x float>, ptr %14, align 4
  %20 = fpext <2 x float> %19 to <2 x double>
  %21 = fadd <2 x double> %18, %20
  %22 = fptrunc <2 x double> %21 to <2 x float>
  store <2 x float> %22, ptr %14, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %6
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph, %0
  %23 = call i32 @dsssframe64sync_execute(ptr noundef %4, ptr noundef %8, i32 noundef %5) #5
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %24, 19088743
  br i1 %.not, label %27, label %25

25:                                               ; preds = %._crit_edge
  %26 = uitofp i32 %24 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 51, ptr noundef nonnull @.str.1, double noundef %26, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x4172345670000000) #5
  br label %28

27:                                               ; preds = %._crit_edge
  call void (...) @liquid_autotest_passed() #5
  br label %28

28:                                               ; preds = %27, %25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #5
  call void @dsssframe64sync_get_framedatastats(ptr dead_on_unwind nonnull writable sret(%struct.framedatastats_s) align 8 %2, ptr noundef %4) #5
  %29 = load i32, ptr %2, align 8, !tbaa !11
  %.not21 = icmp eq i32 %29, 1
  br i1 %.not21, label %32, label %30

30:                                               ; preds = %28
  %31 = uitofp i32 %29 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 55, ptr noundef nonnull @.str.4, double noundef %31, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5, double noundef 1.000000e+00) #5
  br label %33

32:                                               ; preds = %28
  call void (...) @liquid_autotest_passed() #5
  br label %33

33:                                               ; preds = %32, %30
  %34 = getelementptr inbounds i8, ptr %2, i64 4
  %35 = load i32, ptr %34, align 4, !tbaa !14
  %.not22 = icmp eq i32 %35, 1
  br i1 %.not22, label %38, label %36

36:                                               ; preds = %33
  %37 = uitofp i32 %35 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 56, ptr noundef nonnull @.str.6, double noundef %37, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5, double noundef 1.000000e+00) #5
  br label %39

38:                                               ; preds = %33
  call void (...) @liquid_autotest_passed() #5
  br label %39

39:                                               ; preds = %38, %36
  %40 = getelementptr inbounds i8, ptr %2, i64 8
  %41 = load i32, ptr %40, align 8, !tbaa !15
  %.not23 = icmp eq i32 %41, 1
  br i1 %.not23, label %44, label %42

42:                                               ; preds = %39
  %43 = uitofp i32 %41 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 57, ptr noundef nonnull @.str.7, double noundef %43, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5, double noundef 1.000000e+00) #5
  br label %45

44:                                               ; preds = %39
  call void (...) @liquid_autotest_passed() #5
  br label %45

45:                                               ; preds = %44, %42
  %46 = getelementptr inbounds i8, ptr %2, i64 16
  %47 = load i64, ptr %46, align 8, !tbaa !16
  %.not24 = icmp eq i64 %47, 64
  br i1 %.not24, label %50, label %48

48:                                               ; preds = %45
  %49 = uitofp i64 %47 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 58, ptr noundef nonnull @.str.8, double noundef %49, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.9, double noundef 6.400000e+01) #5
  br label %51

50:                                               ; preds = %45
  call void (...) @liquid_autotest_passed() #5
  br label %51

51:                                               ; preds = %50, %48
  %52 = call i32 @dsssframe64gen_destroy(ptr noundef %3) #5
  %53 = call i32 @dsssframe64sync_destroy(ptr noundef %4) #5
  call void @free(ptr noundef %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret void
}

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

declare ptr @dsssframe64gen_create(...) local_unnamed_addr #2

declare ptr @dsssframe64sync_create(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @framing_autotest_callback(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.framesyncstats_s) align 8, ptr noundef) #2

declare i32 @dsssframe64gen_get_frame_len(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3

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

declare float @randnf(...) local_unnamed_addr #2

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

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #2

declare void @liquid_autotest_passed(...) local_unnamed_addr #2

declare void @dsssframe64sync_get_framedatastats(ptr dead_on_unwind writable sret(%struct.framedatastats_s) align 8, ptr noundef) local_unnamed_addr #2

declare i32 @dsssframe64gen_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @dsssframe64sync_destroy(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 }
attributes #6 = { nounwind allocsize(0) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 0}
!12 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !13, i64 16}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 4}
!15 = !{!12, !6, i64 8}
!16 = !{!12, !13, i64 16}


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