; LLVM IR from tezc/sc :: crc32 (crc32_test)

; 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 [1 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [60 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca [128 x i8], align 16
  %9 = alloca [32768 x i8], align 16
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  %10 = load i32, ptr %3, align 4, !tbaa !5
  %11 = load ptr, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr %8) #5
  call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 128, i1 false)
  %12 = getelementptr inbounds <{ i8, i8, i8, i8, [124 x i8] }>, ptr %8, i32 0, i32 0
  store i8 1, ptr %12, align 16
  %13 = getelementptr inbounds <{ i8, i8, i8, i8, [124 x i8] }>, ptr %8, i32 0, i32 1
  store i8 1, ptr %13, align 1
  %14 = getelementptr inbounds <{ i8, i8, i8, i8, [124 x i8] }>, ptr %8, i32 0, i32 2
  store i8 2, ptr %14, align 2
  %15 = getelementptr inbounds <{ i8, i8, i8, i8, [124 x i8] }>, ptr %8, i32 0, i32 3
  store i8 3, ptr %15, align 1
  call void @llvm.lifetime.start.p0(i64 32768, ptr %9) #5
  call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 32768, i1 false)
  %16 = getelementptr inbounds <{ i8, i8, i8, i8, [32764 x i8] }>, ptr %9, i32 0, i32 0
  store i8 2, ptr %16, align 16
  %17 = getelementptr inbounds <{ i8, i8, i8, i8, [32764 x i8] }>, ptr %9, i32 0, i32 1
  store i8 5, ptr %17, align 1
  %18 = getelementptr inbounds <{ i8, i8, i8, i8, [32764 x i8] }>, ptr %9, i32 0, i32 2
  store i8 6, ptr %18, align 2
  %19 = getelementptr inbounds <{ i8, i8, i8, i8, [32764 x i8] }>, ptr %9, i32 0, i32 3
  store i8 5, ptr %19, align 1
  call void @sc_crc32_init()
  %20 = call i32 @sc_crc32(i32 noundef 0, ptr noundef @.str, i64 noundef 1)
  %21 = icmp eq i32 %20, 1383945041
  br i1 %21, label %22, label %23

22:                                               ; preds = %2
  br label %24

23:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 17, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

24:                                               ; preds = %22
  %25 = call i32 @sc_crc32(i32 noundef 0, ptr noundef @.str.3, i64 noundef 2)
  %26 = zext i32 %25 to i64
  %27 = icmp eq i64 %26, 2727214374
  br i1 %27, label %28, label %29

28:                                               ; preds = %24
  br label %30

29:                                               ; preds = %24
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 18, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

30:                                               ; preds = %28
  %31 = call i32 @sc_crc32(i32 noundef 0, ptr noundef @.str.5, i64 noundef 10)
  %32 = zext i32 %31 to i64
  %33 = icmp eq i64 %32, 3822973035
  br i1 %33, label %34, label %35

34:                                               ; preds = %30
  br label %36

35:                                               ; preds = %30
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 19, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

36:                                               ; preds = %34
  %37 = call i32 @sc_crc32(i32 noundef 0, ptr noundef @.str.7, i64 noundef 5)
  %38 = zext i32 %37 to i64
  %39 = icmp eq i64 %38, 2440484327
  br i1 %39, label %40, label %41

40:                                               ; preds = %36
  br label %42

41:                                               ; preds = %36
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 20, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

42:                                               ; preds = %40
  %43 = call i32 @sc_crc32(i32 noundef 0, ptr noundef @.str.9, i64 noundef 9)
  %44 = icmp eq i32 %43, 443192409
  br i1 %44, label %45, label %46

45:                                               ; preds = %42
  br label %47

46:                                               ; preds = %42
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 21, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

47:                                               ; preds = %45
  %48 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %49 = call i32 @sc_crc32(i32 noundef 0, ptr noundef %48, i64 noundef 100)
  store i32 %49, ptr %5, align 4, !tbaa !5
  %50 = load i32, ptr %5, align 4, !tbaa !5
  %51 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %52 = getelementptr inbounds i8, ptr %51, i64 100
  %53 = call i32 @sc_crc32(i32 noundef %50, ptr noundef %52, i64 noundef 28)
  store i32 %53, ptr %6, align 4, !tbaa !5
  %54 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %55 = call i32 @sc_crc32(i32 noundef 0, ptr noundef %54, i64 noundef 128)
  store i32 %55, ptr %7, align 4, !tbaa !5
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = load i32, ptr %7, align 4, !tbaa !5
  %58 = icmp eq i32 %56, %57
  br i1 %58, label %59, label %60

59:                                               ; preds = %47
  br label %61

60:                                               ; preds = %47
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 27, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

61:                                               ; preds = %59
  %62 = getelementptr inbounds [32768 x i8], ptr %9, i64 0, i64 0
  %63 = call i32 @sc_crc32(i32 noundef 0, ptr noundef %62, i64 noundef 16384)
  store i32 %63, ptr %5, align 4, !tbaa !5
  %64 = load i32, ptr %5, align 4, !tbaa !5
  %65 = getelementptr inbounds [32768 x i8], ptr %9, i64 0, i64 0
  %66 = getelementptr inbounds i8, ptr %65, i64 16384
  %67 = call i32 @sc_crc32(i32 noundef %64, ptr noundef %66, i64 noundef 16384)
  store i32 %67, ptr %6, align 4, !tbaa !5
  %68 = getelementptr inbounds [32768 x i8], ptr %9, i64 0, i64 0
  %69 = call i32 @sc_crc32(i32 noundef 0, ptr noundef %68, i64 noundef 32768)
  store i32 %69, ptr %7, align 4, !tbaa !5
  %70 = load i32, ptr %6, align 4, !tbaa !5
  %71 = load i32, ptr %7, align 4, !tbaa !5
  %72 = icmp eq i32 %70, %71
  br i1 %72, label %73, label %74

73:                                               ; preds = %61
  br label %75

74:                                               ; preds = %61
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef 33, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

75:                                               ; preds = %73
  %76 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %77 = call i32 @sc_crc32(i32 noundef 100, ptr noundef %76, i64 noundef 8)
  store i32 %77, ptr %5, align 4, !tbaa !5
  %78 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %79 = call i32 @sc_crc32(i32 noundef 100, ptr noundef %78, i64 noundef 7)
  store i32 %79, ptr %6, align 4, !tbaa !5
  %80 = load i32, ptr %5, align 4, !tbaa !5
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = icmp ne i32 %80, %81
  br i1 %82, label %83, label %84

83:                                               ; preds = %75
  br label %85

84:                                               ; preds = %75
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 37, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

85:                                               ; preds = %83
  %86 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %87 = getelementptr inbounds i8, ptr %86, i64 7
  %88 = call i32 @sc_crc32(i32 noundef 100, ptr noundef %87, i64 noundef 7)
  store i32 %88, ptr %6, align 4, !tbaa !5
  %89 = load i32, ptr %5, align 4, !tbaa !5
  %90 = load i32, ptr %6, align 4, !tbaa !5
  %91 = icmp ne i32 %89, %90
  br i1 %91, label %92, label %93

92:                                               ; preds = %85
  br label %94

93:                                               ; preds = %85
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 40, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

94:                                               ; preds = %92
  %95 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  %97 = call i32 @sc_crc32(i32 noundef 100, ptr noundef %96, i64 noundef 7)
  store i32 %97, ptr %6, align 4, !tbaa !5
  %98 = load i32, ptr %5, align 4, !tbaa !5
  %99 = load i32, ptr %6, align 4, !tbaa !5
  %100 = icmp ne i32 %98, %99
  br i1 %100, label %101, label %102

101:                                              ; preds = %94
  br label %103

102:                                              ; preds = %94
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 43, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

103:                                              ; preds = %101
  %104 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %105 = getelementptr inbounds i8, ptr %104, i64 8
  %106 = call i32 @sc_crc32(i32 noundef 100, ptr noundef %105, i64 noundef 8)
  store i32 %106, ptr %6, align 4, !tbaa !5
  %107 = load i32, ptr %5, align 4, !tbaa !5
  %108 = load i32, ptr %6, align 4, !tbaa !5
  %109 = icmp ne i32 %107, %108
  br i1 %109, label %110, label %111

110:                                              ; preds = %103
  br label %112

111:                                              ; preds = %103
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 46, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

112:                                              ; preds = %110
  %113 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
  %114 = getelementptr inbounds i8, ptr %113, i64 8
  %115 = call i32 @sc_crc32(i32 noundef 100, ptr noundef %114, i64 noundef 0)
  store i32 %115, ptr %6, align 4, !tbaa !5
  %116 = load i32, ptr %5, align 4, !tbaa !5
  %117 = load i32, ptr %6, align 4, !tbaa !5
  %118 = icmp ne i32 %116, %117
  br i1 %118, label %119, label %120

119:                                              ; preds = %112
  br label %121

120:                                              ; preds = %112
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 49, ptr noundef @__PRETTY_FUNCTION__.main) #6
  unreachable

121:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 32768, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  ret i32 0
}

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

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

declare void @sc_crc32_init() #3

declare i32 @sc_crc32(i32 noundef, ptr noundef, i64 noundef) #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 = { noreturn 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 = { noreturn 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}


; 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 [1 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [60 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca [128 x i8], align 16
  %4 = alloca [32768 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(128) %3, i8 0, i64 128, i1 false)
  store <4 x i8> <i8 1, i8 1, i8 2, i8 3>, ptr %3, align 16
  call void @llvm.lifetime.start.p0(i64 32768, ptr nonnull %4) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32768) %4, i8 0, i64 32768, i1 false)
  store <4 x i8> <i8 2, i8 5, i8 6, i8 5>, ptr %4, align 16
  tail call void @sc_crc32_init() #5
  %5 = tail call i32 @sc_crc32(i32 noundef 0, ptr noundef nonnull @.str, i64 noundef 1) #5
  %6 = icmp eq i32 %5, 1383945041
  br i1 %6, label %8, label %7

7:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 17, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

8:                                                ; preds = %2
  %9 = tail call i32 @sc_crc32(i32 noundef 0, ptr noundef nonnull @.str.3, i64 noundef 2) #5
  %10 = icmp eq i32 %9, -1567752922
  br i1 %10, label %12, label %11

11:                                               ; preds = %8
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 18, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

12:                                               ; preds = %8
  %13 = tail call i32 @sc_crc32(i32 noundef 0, ptr noundef nonnull @.str.5, i64 noundef 10) #5
  %14 = icmp eq i32 %13, -471994261
  br i1 %14, label %16, label %15

15:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 19, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

16:                                               ; preds = %12
  %17 = tail call i32 @sc_crc32(i32 noundef 0, ptr noundef nonnull @.str.7, i64 noundef 5) #5
  %18 = icmp eq i32 %17, -1854482969
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 20, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

20:                                               ; preds = %16
  %21 = tail call i32 @sc_crc32(i32 noundef 0, ptr noundef nonnull @.str.9, i64 noundef 9) #5
  %22 = icmp eq i32 %21, 443192409
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 21, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

24:                                               ; preds = %20
  %25 = call i32 @sc_crc32(i32 noundef 0, ptr noundef nonnull %3, i64 noundef 100) #5
  %26 = getelementptr inbounds i8, ptr %3, i64 100
  %27 = call i32 @sc_crc32(i32 noundef %25, ptr noundef nonnull %26, i64 noundef 28) #5
  %28 = call i32 @sc_crc32(i32 noundef 0, ptr noundef nonnull %3, i64 noundef 128) #5
  %29 = icmp eq i32 %27, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %24
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.2, i32 noundef 27, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

31:                                               ; preds = %24
  %32 = call i32 @sc_crc32(i32 noundef 0, ptr noundef nonnull %4, i64 noundef 16384) #5
  %33 = getelementptr inbounds i8, ptr %4, i64 16384
  %34 = call i32 @sc_crc32(i32 noundef %32, ptr noundef nonnull %33, i64 noundef 16384) #5
  %35 = call i32 @sc_crc32(i32 noundef 0, ptr noundef nonnull %4, i64 noundef 32768) #5
  %36 = icmp eq i32 %34, %35
  br i1 %36, label %38, label %37

37:                                               ; preds = %31
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.2, i32 noundef 33, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

38:                                               ; preds = %31
  %39 = call i32 @sc_crc32(i32 noundef 100, ptr noundef nonnull %3, i64 noundef 8) #5
  %40 = call i32 @sc_crc32(i32 noundef 100, ptr noundef nonnull %3, i64 noundef 7) #5
  %.not = icmp eq i32 %39, %40
  br i1 %.not, label %41, label %42

41:                                               ; preds = %38
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 37, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

42:                                               ; preds = %38
  %43 = getelementptr inbounds i8, ptr %3, i64 7
  %44 = call i32 @sc_crc32(i32 noundef 100, ptr noundef nonnull %43, i64 noundef 7) #5
  %.not17 = icmp eq i32 %39, %44
  br i1 %.not17, label %45, label %46

45:                                               ; preds = %42
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 40, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

46:                                               ; preds = %42
  %47 = getelementptr inbounds i8, ptr %3, i64 8
  %48 = call i32 @sc_crc32(i32 noundef 100, ptr noundef nonnull %47, i64 noundef 7) #5
  %.not18 = icmp eq i32 %39, %48
  br i1 %.not18, label %49, label %50

49:                                               ; preds = %46
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 43, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

50:                                               ; preds = %46
  %51 = call i32 @sc_crc32(i32 noundef 100, ptr noundef nonnull %47, i64 noundef 8) #5
  %.not19 = icmp eq i32 %39, %51
  br i1 %.not19, label %52, label %53

52:                                               ; preds = %50
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 46, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

53:                                               ; preds = %50
  %54 = call i32 @sc_crc32(i32 noundef 100, ptr noundef nonnull %47, i64 noundef 0) #5
  %.not20 = icmp eq i32 %39, %54
  br i1 %.not20, label %55, label %56

55:                                               ; preds = %53
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 49, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

56:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 32768, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #5
  ret i32 0
}

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

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

declare void @sc_crc32_init() local_unnamed_addr #3

declare i32 @sc_crc32(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 = { noreturn 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 = { noreturn 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)"}


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