; LLVM IR from stamparm/cryptospecs :: hash/sources (crc)

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

@string = external dso_local constant [10 x i8], align 1
@crchighbit = external dso_local global i64, align 8
@crcmask = external dso_local global i64, align 8
@crcinit_direct = external dso_local global i64, align 8
@crcinit_nondirect = external dso_local global i64, align 8
@.str = external hidden unnamed_addr constant [25 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [30 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

; 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 void @generate_crc_table() #1

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  store i64 4294967295, ptr @crcmask, align 8, !tbaa !5
  store i64 2147483648, ptr @crchighbit, align 8, !tbaa !5
  %6 = load i64, ptr @crcmask, align 8, !tbaa !5
  %7 = and i64 79764919, %6
  %8 = icmp ne i64 79764919, %7
  br i1 %8, label %9, label %11

9:                                                ; preds = %0
  %10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %5, align 4
  br label %82

11:                                               ; preds = %0
  %12 = load i64, ptr @crcmask, align 8, !tbaa !5
  %13 = and i64 4294967295, %12
  %14 = icmp ne i64 4294967295, %13
  br i1 %14, label %15, label %17

15:                                               ; preds = %11
  %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %5, align 4
  br label %82

17:                                               ; preds = %11
  %18 = load i64, ptr @crcmask, align 8, !tbaa !5
  %19 = and i64 4294967295, %18
  %20 = icmp ne i64 4294967295, %19
  br i1 %20, label %21, label %23

21:                                               ; preds = %17
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %5, align 4
  br label %82

23:                                               ; preds = %17
  call void @generate_crc_table()
  store i64 4294967295, ptr @crcinit_direct, align 8, !tbaa !5
  store i64 4294967295, ptr %4, align 8, !tbaa !5
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %24

24:                                               ; preds = %45, %23
  %25 = load i32, ptr %2, align 4, !tbaa !9
  %26 = icmp slt i32 %25, 32
  br i1 %26, label %27, label %48

27:                                               ; preds = %24
  %28 = load i64, ptr %4, align 8, !tbaa !5
  %29 = and i64 %28, 1
  store i64 %29, ptr %3, align 8, !tbaa !5
  %30 = load i64, ptr %3, align 8, !tbaa !5
  %31 = icmp ne i64 %30, 0
  br i1 %31, label %32, label %35

32:                                               ; preds = %27
  %33 = load i64, ptr %4, align 8, !tbaa !5
  %34 = xor i64 %33, 79764919
  store i64 %34, ptr %4, align 8, !tbaa !5
  br label %35

35:                                               ; preds = %32, %27
  %36 = load i64, ptr %4, align 8, !tbaa !5
  %37 = lshr i64 %36, 1
  store i64 %37, ptr %4, align 8, !tbaa !5
  %38 = load i64, ptr %3, align 8, !tbaa !5
  %39 = icmp ne i64 %38, 0
  br i1 %39, label %40, label %44

40:                                               ; preds = %35
  %41 = load i64, ptr @crchighbit, align 8, !tbaa !5
  %42 = load i64, ptr %4, align 8, !tbaa !5
  %43 = or i64 %42, %41
  store i64 %43, ptr %4, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %40, %35
  br label %45

45:                                               ; preds = %44
  %46 = load i32, ptr %2, align 4, !tbaa !9
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %2, align 4, !tbaa !9
  br label %24, !llvm.loop !11

48:                                               ; preds = %24
  %49 = load i64, ptr %4, align 8, !tbaa !5
  store i64 %49, ptr @crcinit_nondirect, align 8, !tbaa !5
  %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 79764919)
  %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef 32)
  %58 = load i64, ptr @crcinit_direct, align 8, !tbaa !5
  %59 = load i64, ptr @crcinit_nondirect, align 8, !tbaa !5
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %58, i64 noundef %59)
  %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef 4294967295)
  %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef 1)
  %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef 1)
  %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %65 = call i64 @strlen(ptr noundef @string) #5
  %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef @string, i64 noundef %65)
  %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %70 = call i64 @strlen(ptr noundef @string) #5
  %71 = call i64 @crcbitbybit(ptr noundef @string, i64 noundef %70)
  %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i64 noundef %71)
  %73 = call i64 @strlen(ptr noundef @string) #5
  %74 = call i64 @crcbitbybitfast(ptr noundef @string, i64 noundef %73)
  %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i64 noundef %74)
  %76 = call i64 @strlen(ptr noundef @string) #5
  %77 = call i64 @crctable(ptr noundef @string, i64 noundef %76)
  %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i64 noundef %77)
  %79 = call i64 @strlen(ptr noundef @string) #5
  %80 = call i64 @crctablefast(ptr noundef @string, i64 noundef %79)
  %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i64 noundef %80)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %5, align 4
  br label %82

82:                                               ; preds = %48, %21, %15, %9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  %83 = load i32, ptr %1, align 4
  ret i32 %83
}

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

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 willreturn memory(read) "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 }
attributes #5 = { nounwind willreturn memory(read) }

!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 = !{!"long", !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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

@string = external dso_local constant [10 x i8], align 1
@crchighbit = external dso_local local_unnamed_addr global i64, align 8
@crcmask = external dso_local local_unnamed_addr global i64, align 8
@crcinit_direct = external dso_local local_unnamed_addr global i64, align 8
@crcinit_nondirect = external dso_local local_unnamed_addr global i64, align 8
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @generate_crc_table() local_unnamed_addr #0

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  store i64 4294967295, ptr @crcmask, align 8, !tbaa !5
  store i64 2147483648, ptr @crchighbit, align 8, !tbaa !5
  tail call void @generate_crc_table()
  store i64 4294967295, ptr @crcinit_direct, align 8, !tbaa !5
  %1 = load i64, ptr @crchighbit, align 8
  %2 = and i64 %1, 1
  %.not.1 = icmp eq i64 %2, 0
  %3 = lshr i64 %1, 1
  %4 = or i64 %3, 1053800594
  %5 = xor i64 %4, 39882459
  %6 = or i64 %1, %5
  %.2.1 = select i1 %.not.1, i64 %4, i64 %6
  %7 = and i64 %.2.1, 1
  %.not.2 = icmp eq i64 %7, 0
  %8 = lshr i64 %.2.1, 1
  %9 = xor i64 %8, 39882459
  %10 = or i64 %1, %9
  %.2.2 = select i1 %.not.2, i64 %8, i64 %10
  %11 = and i64 %.2.2, 1
  %.not.3 = icmp eq i64 %11, 0
  %12 = lshr i64 %.2.2, 1
  %13 = xor i64 %12, 39882459
  %14 = or i64 %1, %13
  %.2.3 = select i1 %.not.3, i64 %12, i64 %14
  %15 = and i64 %.2.3, 1
  %.not.4 = icmp eq i64 %15, 0
  %16 = lshr i64 %.2.3, 1
  %17 = xor i64 %16, 39882459
  %18 = or i64 %1, %17
  %.2.4 = select i1 %.not.4, i64 %16, i64 %18
  %19 = and i64 %.2.4, 1
  %.not.5 = icmp eq i64 %19, 0
  %20 = lshr i64 %.2.4, 1
  %21 = xor i64 %20, 39882459
  %22 = or i64 %1, %21
  %.2.5 = select i1 %.not.5, i64 %20, i64 %22
  %23 = and i64 %.2.5, 1
  %.not.6 = icmp eq i64 %23, 0
  %24 = lshr i64 %.2.5, 1
  %25 = xor i64 %24, 39882459
  %26 = or i64 %1, %25
  %.2.6 = select i1 %.not.6, i64 %24, i64 %26
  %27 = and i64 %.2.6, 1
  %.not.7 = icmp eq i64 %27, 0
  %28 = lshr i64 %.2.6, 1
  %29 = xor i64 %28, 39882459
  %30 = or i64 %1, %29
  %.2.7 = select i1 %.not.7, i64 %28, i64 %30
  %31 = and i64 %.2.7, 1
  %.not.8 = icmp eq i64 %31, 0
  %32 = lshr i64 %.2.7, 1
  %33 = xor i64 %32, 39882459
  %34 = or i64 %1, %33
  %.2.8 = select i1 %.not.8, i64 %32, i64 %34
  %35 = and i64 %.2.8, 1
  %.not.9 = icmp eq i64 %35, 0
  %36 = lshr i64 %.2.8, 1
  %37 = xor i64 %36, 39882459
  %38 = or i64 %1, %37
  %.2.9 = select i1 %.not.9, i64 %36, i64 %38
  %39 = and i64 %.2.9, 1
  %.not.10 = icmp eq i64 %39, 0
  %40 = lshr i64 %.2.9, 1
  %41 = xor i64 %40, 39882459
  %42 = or i64 %1, %41
  %.2.10 = select i1 %.not.10, i64 %40, i64 %42
  %43 = and i64 %.2.10, 1
  %.not.11 = icmp eq i64 %43, 0
  %44 = lshr i64 %.2.10, 1
  %45 = xor i64 %44, 39882459
  %46 = or i64 %1, %45
  %.2.11 = select i1 %.not.11, i64 %44, i64 %46
  %47 = and i64 %.2.11, 1
  %.not.12 = icmp eq i64 %47, 0
  %48 = lshr i64 %.2.11, 1
  %49 = xor i64 %48, 39882459
  %50 = or i64 %1, %49
  %.2.12 = select i1 %.not.12, i64 %48, i64 %50
  %51 = and i64 %.2.12, 1
  %.not.13 = icmp eq i64 %51, 0
  %52 = lshr i64 %.2.12, 1
  %53 = xor i64 %52, 39882459
  %54 = or i64 %1, %53
  %.2.13 = select i1 %.not.13, i64 %52, i64 %54
  %55 = and i64 %.2.13, 1
  %.not.14 = icmp eq i64 %55, 0
  %56 = lshr i64 %.2.13, 1
  %57 = xor i64 %56, 39882459
  %58 = or i64 %1, %57
  %.2.14 = select i1 %.not.14, i64 %56, i64 %58
  %59 = and i64 %.2.14, 1
  %.not.15 = icmp eq i64 %59, 0
  %60 = lshr i64 %.2.14, 1
  %61 = xor i64 %60, 39882459
  %62 = or i64 %1, %61
  %.2.15 = select i1 %.not.15, i64 %60, i64 %62
  %63 = and i64 %.2.15, 1
  %.not.16 = icmp eq i64 %63, 0
  %64 = lshr i64 %.2.15, 1
  %65 = xor i64 %64, 39882459
  %66 = or i64 %1, %65
  %.2.16 = select i1 %.not.16, i64 %64, i64 %66
  %67 = and i64 %.2.16, 1
  %.not.17 = icmp eq i64 %67, 0
  %68 = lshr i64 %.2.16, 1
  %69 = xor i64 %68, 39882459
  %70 = or i64 %1, %69
  %.2.17 = select i1 %.not.17, i64 %68, i64 %70
  %71 = and i64 %.2.17, 1
  %.not.18 = icmp eq i64 %71, 0
  %72 = lshr i64 %.2.17, 1
  %73 = xor i64 %72, 39882459
  %74 = or i64 %1, %73
  %.2.18 = select i1 %.not.18, i64 %72, i64 %74
  %75 = and i64 %.2.18, 1
  %.not.19 = icmp eq i64 %75, 0
  %76 = lshr i64 %.2.18, 1
  %77 = xor i64 %76, 39882459
  %78 = or i64 %1, %77
  %.2.19 = select i1 %.not.19, i64 %76, i64 %78
  %79 = and i64 %.2.19, 1
  %.not.20 = icmp eq i64 %79, 0
  %80 = lshr i64 %.2.19, 1
  %81 = xor i64 %80, 39882459
  %82 = or i64 %1, %81
  %.2.20 = select i1 %.not.20, i64 %80, i64 %82
  %83 = and i64 %.2.20, 1
  %.not.21 = icmp eq i64 %83, 0
  %84 = lshr i64 %.2.20, 1
  %85 = xor i64 %84, 39882459
  %86 = or i64 %1, %85
  %.2.21 = select i1 %.not.21, i64 %84, i64 %86
  %87 = and i64 %.2.21, 1
  %.not.22 = icmp eq i64 %87, 0
  %88 = lshr i64 %.2.21, 1
  %89 = xor i64 %88, 39882459
  %90 = or i64 %1, %89
  %.2.22 = select i1 %.not.22, i64 %88, i64 %90
  %91 = and i64 %.2.22, 1
  %.not.23 = icmp eq i64 %91, 0
  %92 = lshr i64 %.2.22, 1
  %93 = xor i64 %92, 39882459
  %94 = or i64 %1, %93
  %.2.23 = select i1 %.not.23, i64 %92, i64 %94
  %95 = and i64 %.2.23, 1
  %.not.24 = icmp eq i64 %95, 0
  %96 = lshr i64 %.2.23, 1
  %97 = xor i64 %96, 39882459
  %98 = or i64 %1, %97
  %.2.24 = select i1 %.not.24, i64 %96, i64 %98
  %99 = and i64 %.2.24, 1
  %.not.25 = icmp eq i64 %99, 0
  %100 = lshr i64 %.2.24, 1
  %101 = xor i64 %100, 39882459
  %102 = or i64 %1, %101
  %.2.25 = select i1 %.not.25, i64 %100, i64 %102
  %103 = and i64 %.2.25, 1
  %.not.26 = icmp eq i64 %103, 0
  %104 = lshr i64 %.2.25, 1
  %105 = xor i64 %104, 39882459
  %106 = or i64 %1, %105
  %.2.26 = select i1 %.not.26, i64 %104, i64 %106
  %107 = and i64 %.2.26, 1
  %.not.27 = icmp eq i64 %107, 0
  %108 = lshr i64 %.2.26, 1
  %109 = xor i64 %108, 39882459
  %110 = or i64 %1, %109
  %.2.27 = select i1 %.not.27, i64 %108, i64 %110
  %111 = and i64 %.2.27, 1
  %.not.28 = icmp eq i64 %111, 0
  %112 = lshr i64 %.2.27, 1
  %113 = xor i64 %112, 39882459
  %114 = or i64 %1, %113
  %.2.28 = select i1 %.not.28, i64 %112, i64 %114
  %115 = and i64 %.2.28, 1
  %.not.29 = icmp eq i64 %115, 0
  %116 = lshr i64 %.2.28, 1
  %117 = xor i64 %116, 39882459
  %118 = or i64 %1, %117
  %.2.29 = select i1 %.not.29, i64 %116, i64 %118
  %119 = and i64 %.2.29, 1
  %.not.30 = icmp eq i64 %119, 0
  %120 = lshr i64 %.2.29, 1
  %121 = xor i64 %120, 39882459
  %122 = or i64 %1, %121
  %.2.30 = select i1 %.not.30, i64 %120, i64 %122
  %123 = and i64 %.2.30, 1
  %.not.31 = icmp eq i64 %123, 0
  %124 = lshr i64 %.2.30, 1
  %125 = xor i64 %124, 39882459
  %126 = or i64 %1, %125
  %.2.31 = select i1 %.not.31, i64 %124, i64 %126
  store i64 %.2.31, ptr @crcinit_nondirect, align 8, !tbaa !5
  %127 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %128 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %129 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %130 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %131 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %132 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %133 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 79764919)
  %134 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef 32)
  %135 = load i64, ptr @crcinit_direct, align 8, !tbaa !5
  %136 = load i64, ptr @crcinit_nondirect, align 8, !tbaa !5
  %137 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef %135, i64 noundef %136)
  %138 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, i64 noundef 4294967295)
  %139 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef 1)
  %140 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 1)
  %141 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %142 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @string) #3
  %143 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull @string, i64 noundef %142)
  %144 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %145 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %146 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %147 = tail call i64 @crcbitbybit(ptr noundef nonnull @string, i64 noundef %142)
  %148 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i64 noundef %147)
  %149 = tail call i64 @crcbitbybitfast(ptr noundef nonnull @string, i64 noundef %142)
  %150 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, i64 noundef %149)
  %151 = tail call i64 @crctable(ptr noundef nonnull @string, i64 noundef %142)
  %152 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, i64 noundef %151)
  %153 = tail call i64 @crctablefast(ptr noundef nonnull @string, i64 noundef %142)
  %154 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i64 noundef %153)
  ret i32 0
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

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 = { nofree 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 #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 willreturn memory(read) }

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass