; LLVM IR from jgaeddert/liquid-dsp :: src/fec/tests (crc_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"

@.str = external hidden unnamed_addr constant [83 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [49 x i8], align 1

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

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

declare void @liquid_autotest_passed(...) #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 void @testbench_autotest_crc(i32 noundef %0, i32 noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %12 = load i32, ptr %4, align 4, !tbaa !5
  %13 = zext i32 %12 to i64
  %14 = call ptr @llvm.stacksave.p0()
  store ptr %14, ptr %6, align 8
  %15 = alloca i8, i64 %13, align 16
  store i64 %13, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %16 = call ptr @msequence_create_default(i32 noundef 9)
  store ptr %16, ptr %8, align 8, !tbaa !9
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %17

17:                                               ; preds = %28, %2
  %18 = load i32, ptr %5, align 4, !tbaa !5
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = icmp ult i32 %18, %19
  br i1 %20, label %21, label %31

21:                                               ; preds = %17
  %22 = load ptr, ptr %8, align 8, !tbaa !9
  %23 = call i32 @msequence_generate_symbol(ptr noundef %22, i32 noundef 8)
  %24 = trunc i32 %23 to i8
  %25 = load i32, ptr %5, align 4, !tbaa !5
  %26 = zext i32 %25 to i64
  %27 = getelementptr inbounds i8, ptr %15, i64 %26
  store i8 %24, ptr %27, align 1, !tbaa !11
  br label %28

28:                                               ; preds = %21
  %29 = load i32, ptr %5, align 4, !tbaa !5
  %30 = add i32 %29, 1
  store i32 %30, ptr %5, align 4, !tbaa !5
  br label %17, !llvm.loop !12

31:                                               ; preds = %17
  %32 = load ptr, ptr %8, align 8, !tbaa !9
  %33 = call i32 @msequence_destroy(ptr noundef %32)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %34 = load i32, ptr %3, align 4, !tbaa !5
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = call i32 @crc_generate_key(i32 noundef %34, ptr noundef %15, i32 noundef %35)
  store i32 %36, ptr %9, align 4, !tbaa !5
  %37 = load i32, ptr %3, align 4, !tbaa !5
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %39 = load i32, ptr %9, align 4, !tbaa !5
  %40 = call i32 @crc_validate_message(i32 noundef %37, ptr noundef %15, i32 noundef %38, i32 noundef %39)
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %48, label %42

42:                                               ; preds = %31
  %43 = load i32, ptr %3, align 4, !tbaa !5
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = load i32, ptr %9, align 4, !tbaa !5
  %46 = call i32 @crc_validate_message(i32 noundef %43, ptr noundef %15, i32 noundef %44, i32 noundef %45)
  %47 = sitofp i32 %46 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 88, ptr noundef @.str.6, double noundef %47, ptr noundef @.str.7, ptr noundef @.str.8, double noundef 1.000000e+00)
  br label %49

48:                                               ; preds = %31
  call void (...) @liquid_autotest_passed()
  br label %49

49:                                               ; preds = %48, %42
  %50 = load i32, ptr %4, align 4, !tbaa !5
  %51 = zext i32 %50 to i64
  %52 = alloca i8, i64 %51, align 16
  store i64 %51, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %53

53:                                               ; preds = %93, %49
  %54 = load i32, ptr %5, align 4, !tbaa !5
  %55 = load i32, ptr %4, align 4, !tbaa !5
  %56 = icmp ult i32 %54, %55
  br i1 %56, label %57, label %96

57:                                               ; preds = %53
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %89, %57
  %59 = load i32, ptr %11, align 4, !tbaa !5
  %60 = icmp ult i32 %59, 8
  br i1 %60, label %61, label %92

61:                                               ; preds = %58
  %62 = load i32, ptr %4, align 4, !tbaa !5
  %63 = zext i32 %62 to i64
  %64 = mul i64 %63, 1
  call void @llvm.memmove.p0.p0.i64(ptr align 16 %52, ptr align 16 %15, i64 %64, i1 false)
  %65 = load i32, ptr %11, align 4, !tbaa !5
  %66 = shl i32 1, %65
  %67 = load i32, ptr %5, align 4, !tbaa !5
  %68 = zext i32 %67 to i64
  %69 = getelementptr inbounds i8, ptr %15, i64 %68
  %70 = load i8, ptr %69, align 1, !tbaa !11
  %71 = zext i8 %70 to i32
  %72 = xor i32 %71, %66
  %73 = trunc i32 %72 to i8
  store i8 %73, ptr %69, align 1, !tbaa !11
  %74 = load i32, ptr %3, align 4, !tbaa !5
  %75 = load i32, ptr %4, align 4, !tbaa !5
  %76 = load i32, ptr %9, align 4, !tbaa !5
  %77 = call i32 @crc_validate_message(i32 noundef %74, ptr noundef %15, i32 noundef %75, i32 noundef %76)
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %87, label %79

79:                                               ; preds = %61
  %80 = load i32, ptr %3, align 4, !tbaa !5
  %81 = load i32, ptr %4, align 4, !tbaa !5
  %82 = load i32, ptr %9, align 4, !tbaa !5
  %83 = call i32 @crc_validate_message(i32 noundef %80, ptr noundef %15, i32 noundef %81, i32 noundef %82)
  %84 = icmp eq i32 %83, 0
  %85 = zext i1 %84 to i32
  %86 = sitofp i32 %85 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 102, ptr noundef @.str.9, double noundef %86, ptr noundef @.str.7, ptr noundef @.str.8, double noundef 1.000000e+00)
  br label %88

87:                                               ; preds = %61
  call void (...) @liquid_autotest_passed()
  br label %88

88:                                               ; preds = %87, %79
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %11, align 4, !tbaa !5
  %91 = add i32 %90, 1
  store i32 %91, ptr %11, align 4, !tbaa !5
  br label %58, !llvm.loop !14

92:                                               ; preds = %58
  br label %93

93:                                               ; preds = %92
  %94 = load i32, ptr %5, align 4, !tbaa !5
  %95 = add i32 %94, 1
  store i32 %95, ptr %5, align 4, !tbaa !5
  br label %53, !llvm.loop !15

96:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %97 = load ptr, ptr %6, align 8
  call void @llvm.stackrestore.p0(ptr %97)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

declare ptr @msequence_create_default(i32 noundef) #1

declare i32 @msequence_generate_symbol(ptr noundef, i32 noundef) #1

declare i32 @msequence_destroy(ptr noundef) #1

declare i32 @crc_generate_key(i32 noundef, ptr noundef, i32 noundef) #1

declare i32 @crc_validate_message(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}


; 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"

@.str = external hidden unnamed_addr constant [83 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [49 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @testbench_autotest_crc(i32 noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = zext i32 %1 to i64
  %4 = alloca i8, i64 %3, align 16
  %5 = tail call ptr @msequence_create_default(i32 noundef 9) #2
  %.not36 = icmp eq i32 %1, 0
  br i1 %.not36, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %2 ]
  %6 = tail call i32 @msequence_generate_symbol(ptr noundef %5, i32 noundef 8) #2
  %7 = trunc i32 %6 to i8
  %8 = getelementptr inbounds i8, ptr %4, i64 %indvars.iv
  store i8 %7, ptr %8, align 1, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %3
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !8

._crit_edge:                                      ; preds = %.lr.ph, %2
  %9 = tail call i32 @msequence_destroy(ptr noundef %5) #2
  %10 = call i32 @crc_generate_key(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1) #2
  %11 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %12, label %15

12:                                               ; preds = %._crit_edge
  %13 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %14 = sitofp i32 %13 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 88, ptr noundef nonnull @.str.6, double noundef %14, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 1.000000e+00) #2
  br label %16

15:                                               ; preds = %._crit_edge
  call void (...) @liquid_autotest_passed() #2
  br label %16

16:                                               ; preds = %15, %12
  br i1 %.not36, label %._crit_edge35, label %.preheader

.preheader:                                       ; preds = %16, %97
  %indvars.iv40 = phi i64 [ %indvars.iv.next41, %97 ], [ 0, %16 ]
  %17 = getelementptr inbounds i8, ptr %4, i64 %indvars.iv40
  %18 = load i8, ptr %17, align 1, !tbaa !5
  %19 = xor i8 %18, 1
  store i8 %19, ptr %17, align 1, !tbaa !5
  %20 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %26, label %22

22:                                               ; preds = %.preheader
  %23 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %24 = icmp eq i32 %23, 0
  %25 = uitofp i1 %24 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 102, ptr noundef nonnull @.str.9, double noundef %25, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 1.000000e+00) #2
  br label %27

26:                                               ; preds = %.preheader
  call void (...) @liquid_autotest_passed() #2
  br label %27

27:                                               ; preds = %22, %26
  %28 = load i8, ptr %17, align 1, !tbaa !5
  %29 = xor i8 %28, 2
  store i8 %29, ptr %17, align 1, !tbaa !5
  %30 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %36, label %32

32:                                               ; preds = %27
  %33 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %34 = icmp eq i32 %33, 0
  %35 = uitofp i1 %34 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 102, ptr noundef nonnull @.str.9, double noundef %35, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 1.000000e+00) #2
  br label %37

36:                                               ; preds = %27
  call void (...) @liquid_autotest_passed() #2
  br label %37

37:                                               ; preds = %36, %32
  %38 = load i8, ptr %17, align 1, !tbaa !5
  %39 = xor i8 %38, 4
  store i8 %39, ptr %17, align 1, !tbaa !5
  %40 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %46, label %42

42:                                               ; preds = %37
  %43 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %44 = icmp eq i32 %43, 0
  %45 = uitofp i1 %44 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 102, ptr noundef nonnull @.str.9, double noundef %45, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 1.000000e+00) #2
  br label %47

46:                                               ; preds = %37
  call void (...) @liquid_autotest_passed() #2
  br label %47

47:                                               ; preds = %46, %42
  %48 = load i8, ptr %17, align 1, !tbaa !5
  %49 = xor i8 %48, 8
  store i8 %49, ptr %17, align 1, !tbaa !5
  %50 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %56, label %52

52:                                               ; preds = %47
  %53 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %54 = icmp eq i32 %53, 0
  %55 = uitofp i1 %54 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 102, ptr noundef nonnull @.str.9, double noundef %55, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 1.000000e+00) #2
  br label %57

56:                                               ; preds = %47
  call void (...) @liquid_autotest_passed() #2
  br label %57

57:                                               ; preds = %56, %52
  %58 = load i8, ptr %17, align 1, !tbaa !5
  %59 = xor i8 %58, 16
  store i8 %59, ptr %17, align 1, !tbaa !5
  %60 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %66, label %62

62:                                               ; preds = %57
  %63 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %64 = icmp eq i32 %63, 0
  %65 = uitofp i1 %64 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 102, ptr noundef nonnull @.str.9, double noundef %65, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 1.000000e+00) #2
  br label %67

66:                                               ; preds = %57
  call void (...) @liquid_autotest_passed() #2
  br label %67

67:                                               ; preds = %66, %62
  %68 = load i8, ptr %17, align 1, !tbaa !5
  %69 = xor i8 %68, 32
  store i8 %69, ptr %17, align 1, !tbaa !5
  %70 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %76, label %72

72:                                               ; preds = %67
  %73 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %74 = icmp eq i32 %73, 0
  %75 = uitofp i1 %74 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 102, ptr noundef nonnull @.str.9, double noundef %75, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 1.000000e+00) #2
  br label %77

76:                                               ; preds = %67
  call void (...) @liquid_autotest_passed() #2
  br label %77

77:                                               ; preds = %76, %72
  %78 = load i8, ptr %17, align 1, !tbaa !5
  %79 = xor i8 %78, 64
  store i8 %79, ptr %17, align 1, !tbaa !5
  %80 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %86, label %82

82:                                               ; preds = %77
  %83 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %84 = icmp eq i32 %83, 0
  %85 = uitofp i1 %84 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 102, ptr noundef nonnull @.str.9, double noundef %85, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 1.000000e+00) #2
  br label %87

86:                                               ; preds = %77
  call void (...) @liquid_autotest_passed() #2
  br label %87

87:                                               ; preds = %86, %82
  %88 = load i8, ptr %17, align 1, !tbaa !5
  %89 = xor i8 %88, -128
  store i8 %89, ptr %17, align 1, !tbaa !5
  %90 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %96, label %92

92:                                               ; preds = %87
  %93 = call i32 @crc_validate_message(i32 noundef %0, ptr noundef nonnull %4, i32 noundef %1, i32 noundef %10) #2
  %94 = icmp eq i32 %93, 0
  %95 = uitofp i1 %94 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 102, ptr noundef nonnull @.str.9, double noundef %95, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 1.000000e+00) #2
  br label %97

96:                                               ; preds = %87
  call void (...) @liquid_autotest_passed() #2
  br label %97

97:                                               ; preds = %96, %92
  %indvars.iv.next41 = add nuw nsw i64 %indvars.iv40, 1
  %exitcond44.not = icmp eq i64 %indvars.iv.next41, %3
  br i1 %exitcond44.not, label %._crit_edge35, label %.preheader, !llvm.loop !10

._crit_edge35:                                    ; preds = %97, %16
  ret void
}

declare ptr @msequence_create_default(i32 noundef) local_unnamed_addr #0

declare i32 @msequence_generate_symbol(ptr noundef, i32 noundef) local_unnamed_addr #0

declare i32 @msequence_destroy(ptr noundef) local_unnamed_addr #0

declare i32 @crc_generate_key(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare i32 @crc_validate_message(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

attributes #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 = { 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 }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}


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