; LLVM IR from indygreg/python-zstandard :: zstd (zstd)

; 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.ZSTD_bounds = type { i64, i32, i32 }

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

; Function Attrs: nounwind uwtable
define dso_local { i64, i64 } @ZSTD_cParam_getBounds(i32 noundef %0) #1 {
  %2 = alloca %struct.ZSTD_bounds, align 8
  %3 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %2, i8 0, i64 16, i1 false)
  %4 = load i32, ptr %3, align 4, !tbaa !5
  switch i32 %4, label %122 [
    i32 100, label %5
    i32 101, label %10
    i32 102, label %13
    i32 103, label %16
    i32 104, label %19
    i32 105, label %22
    i32 106, label %25
    i32 107, label %28
    i32 200, label %31
    i32 201, label %34
    i32 202, label %37
    i32 400, label %40
    i32 401, label %43
    i32 402, label %50
    i32 1005, label %53
    i32 160, label %56
    i32 161, label %59
    i32 162, label %62
    i32 163, label %65
    i32 164, label %68
    i32 500, label %71
    i32 1000, label %74
    i32 10, label %77
    i32 1001, label %80
    i32 1002, label %83
    i32 130, label %86
    i32 1004, label %89
    i32 1006, label %92
    i32 1007, label %92
    i32 1008, label %95
    i32 1009, label %98
    i32 1010, label %101
    i32 1011, label %104
    i32 1012, label %107
    i32 1013, label %110
    i32 1014, label %113
    i32 1015, label %116
    i32 1016, label %119
  ]

5:                                                ; preds = %1
  %6 = call i32 @ZSTD_minCLevel()
  %7 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 %6, ptr %7, align 8, !tbaa !9
  %8 = call i32 @ZSTD_maxCLevel()
  %9 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 %8, ptr %9, align 4, !tbaa !12
  br label %124

10:                                               ; preds = %1
  %11 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 10, ptr %11, align 8, !tbaa !9
  %12 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 31, ptr %12, align 4, !tbaa !12
  br label %124

13:                                               ; preds = %1
  %14 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 6, ptr %14, align 8, !tbaa !9
  %15 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 30, ptr %15, align 4, !tbaa !12
  br label %124

16:                                               ; preds = %1
  %17 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 6, ptr %17, align 8, !tbaa !9
  %18 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 30, ptr %18, align 4, !tbaa !12
  br label %124

19:                                               ; preds = %1
  %20 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 1, ptr %20, align 8, !tbaa !9
  %21 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 30, ptr %21, align 4, !tbaa !12
  br label %124

22:                                               ; preds = %1
  %23 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 3, ptr %23, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 7, ptr %24, align 4, !tbaa !12
  br label %124

25:                                               ; preds = %1
  %26 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %26, align 8, !tbaa !9
  %27 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 131072, ptr %27, align 4, !tbaa !12
  br label %124

28:                                               ; preds = %1
  %29 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 1, ptr %29, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 9, ptr %30, align 4, !tbaa !12
  br label %124

31:                                               ; preds = %1
  %32 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %32, align 8, !tbaa !9
  %33 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %33, align 4, !tbaa !12
  br label %124

34:                                               ; preds = %1
  %35 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %35, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %36, align 4, !tbaa !12
  br label %124

37:                                               ; preds = %1
  %38 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %38, align 8, !tbaa !9
  %39 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %39, align 4, !tbaa !12
  br label %124

40:                                               ; preds = %1
  %41 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %41, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 256, ptr %42, align 4, !tbaa !12
  br label %124

43:                                               ; preds = %1
  %44 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %44, align 8, !tbaa !9
  %45 = call i32 @MEM_32bits()
  %46 = icmp ne i32 %45, 0
  %47 = zext i1 %46 to i64
  %48 = select i1 %46, i32 536870912, i32 1073741824
  %49 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 %48, ptr %49, align 4, !tbaa !12
  br label %124

50:                                               ; preds = %1
  %51 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %51, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 9, ptr %52, align 4, !tbaa !12
  br label %124

53:                                               ; preds = %1
  %54 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %54, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %55, align 4, !tbaa !12
  br label %124

56:                                               ; preds = %1
  %57 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %57, align 8, !tbaa !9
  %58 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 2, ptr %58, align 4, !tbaa !12
  br label %124

59:                                               ; preds = %1
  %60 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 6, ptr %60, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 30, ptr %61, align 4, !tbaa !12
  br label %124

62:                                               ; preds = %1
  %63 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 4, ptr %63, align 8, !tbaa !9
  %64 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 4096, ptr %64, align 4, !tbaa !12
  br label %124

65:                                               ; preds = %1
  %66 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 1, ptr %66, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 8, ptr %67, align 4, !tbaa !12
  br label %124

68:                                               ; preds = %1
  %69 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %69, align 8, !tbaa !9
  %70 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 25, ptr %70, align 4, !tbaa !12
  br label %124

71:                                               ; preds = %1
  %72 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %72, align 8, !tbaa !9
  %73 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %73, align 4, !tbaa !12
  br label %124

74:                                               ; preds = %1
  %75 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %75, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %76, align 4, !tbaa !12
  br label %124

77:                                               ; preds = %1
  %78 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %78, align 8, !tbaa !9
  %79 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %79, align 4, !tbaa !12
  br label %124

80:                                               ; preds = %1
  %81 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %81, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 3, ptr %82, align 4, !tbaa !12
  br label %124

83:                                               ; preds = %1
  %84 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %84, align 8, !tbaa !9
  %85 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 2, ptr %85, align 4, !tbaa !12
  br label %124

86:                                               ; preds = %1
  %87 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 1340, ptr %87, align 8, !tbaa !9
  %88 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 131072, ptr %88, align 4, !tbaa !12
  br label %124

89:                                               ; preds = %1
  %90 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %90, align 8, !tbaa !9
  %91 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 2147483647, ptr %91, align 4, !tbaa !12
  br label %124

92:                                               ; preds = %1, %1
  %93 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %93, align 8, !tbaa !9
  %94 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %94, align 4, !tbaa !12
  br label %124

95:                                               ; preds = %1
  %96 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %96, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %97, align 4, !tbaa !12
  br label %124

98:                                               ; preds = %1
  %99 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %99, align 8, !tbaa !9
  %100 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %100, align 4, !tbaa !12
  br label %124

101:                                              ; preds = %1
  %102 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %102, align 8, !tbaa !9
  %103 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 2, ptr %103, align 4, !tbaa !12
  br label %124

104:                                              ; preds = %1
  %105 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %105, align 8, !tbaa !9
  %106 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 2, ptr %106, align 4, !tbaa !12
  br label %124

107:                                              ; preds = %1
  %108 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %108, align 8, !tbaa !9
  %109 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %109, align 4, !tbaa !12
  br label %124

110:                                              ; preds = %1
  %111 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %111, align 8, !tbaa !9
  %112 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 2, ptr %112, align 4, !tbaa !12
  br label %124

113:                                              ; preds = %1
  %114 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %114, align 8, !tbaa !9
  %115 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 1, ptr %115, align 4, !tbaa !12
  br label %124

116:                                              ; preds = %1
  %117 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 1024, ptr %117, align 8, !tbaa !9
  %118 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 131072, ptr %118, align 4, !tbaa !12
  br label %124

119:                                              ; preds = %1
  %120 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 1
  store i32 0, ptr %120, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 2, ptr %121, align 4, !tbaa !12
  br label %124

122:                                              ; preds = %1
  %123 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 0
  store i64 -40, ptr %123, align 8, !tbaa !13
  br label %124

124:                                              ; preds = %122, %119, %116, %113, %110, %107, %104, %101, %98, %95, %92, %89, %86, %83, %80, %77, %74, %71, %68, %65, %62, %59, %56, %53, %50, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %5
  %125 = load { i64, i64 }, ptr %2, align 8
  ret { i64, i64 } %125
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @ZSTD_minCLevel() #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @ZSTD_maxCLevel() #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @MEM_32bits() #2

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

!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, !6, i64 8}
!10 = !{!"", !11, i64 0, !6, i64 8, !6, i64 12}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 12}
!13 = !{!10, !11, 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"

; Function Attrs: nounwind uwtable
define dso_local { i64, i64 } @ZSTD_cParam_getBounds(i32 noundef %0) local_unnamed_addr #0 {
  switch i32 %0, label %41 [
    i32 100, label %2
    i32 101, label %42
    i32 102, label %5
    i32 103, label %6
    i32 104, label %7
    i32 105, label %8
    i32 106, label %9
    i32 107, label %10
    i32 200, label %11
    i32 201, label %12
    i32 202, label %13
    i32 400, label %14
    i32 401, label %15
    i32 402, label %17
    i32 1005, label %18
    i32 160, label %19
    i32 161, label %20
    i32 162, label %21
    i32 163, label %22
    i32 164, label %23
    i32 500, label %24
    i32 1000, label %25
    i32 10, label %26
    i32 1001, label %27
    i32 1002, label %28
    i32 130, label %29
    i32 1004, label %30
    i32 1006, label %31
    i32 1007, label %31
    i32 1008, label %32
    i32 1009, label %33
    i32 1010, label %34
    i32 1011, label %35
    i32 1012, label %36
    i32 1013, label %37
    i32 1014, label %38
    i32 1015, label %39
    i32 1016, label %40
  ]

2:                                                ; preds = %1
  %3 = tail call i32 @ZSTD_minCLevel()
  %.sroa.3.8.insert.ext = zext i32 %3 to i64
  %4 = tail call i32 @ZSTD_maxCLevel()
  %.sroa.3.12.insert.ext = zext i32 %4 to i64
  %.sroa.3.12.insert.shift = shl nuw i64 %.sroa.3.12.insert.ext, 32
  %.sroa.3.12.insert.insert = or disjoint i64 %.sroa.3.12.insert.shift, %.sroa.3.8.insert.ext
  br label %42

5:                                                ; preds = %1
  br label %42

6:                                                ; preds = %1
  br label %42

7:                                                ; preds = %1
  br label %42

8:                                                ; preds = %1
  br label %42

9:                                                ; preds = %1
  br label %42

10:                                               ; preds = %1
  br label %42

11:                                               ; preds = %1
  br label %42

12:                                               ; preds = %1
  br label %42

13:                                               ; preds = %1
  br label %42

14:                                               ; preds = %1
  br label %42

15:                                               ; preds = %1
  %16 = tail call i32 @MEM_32bits()
  %.not = icmp eq i32 %16, 0
  %.sroa.3.12.insert.ext143 = select i1 %.not, i64 4611686018427387904, i64 2305843009213693952
  br label %42

17:                                               ; preds = %1
  br label %42

18:                                               ; preds = %1
  br label %42

19:                                               ; preds = %1
  br label %42

20:                                               ; preds = %1
  br label %42

21:                                               ; preds = %1
  br label %42

22:                                               ; preds = %1
  br label %42

23:                                               ; preds = %1
  br label %42

24:                                               ; preds = %1
  br label %42

25:                                               ; preds = %1
  br label %42

26:                                               ; preds = %1
  br label %42

27:                                               ; preds = %1
  br label %42

28:                                               ; preds = %1
  br label %42

29:                                               ; preds = %1
  br label %42

30:                                               ; preds = %1
  br label %42

31:                                               ; preds = %1, %1
  br label %42

32:                                               ; preds = %1
  br label %42

33:                                               ; preds = %1
  br label %42

34:                                               ; preds = %1
  br label %42

35:                                               ; preds = %1
  br label %42

36:                                               ; preds = %1
  br label %42

37:                                               ; preds = %1
  br label %42

38:                                               ; preds = %1
  br label %42

39:                                               ; preds = %1
  br label %42

40:                                               ; preds = %1
  br label %42

41:                                               ; preds = %1
  br label %42

42:                                               ; preds = %1, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %2
  %.sroa.3.0 = phi i64 [ 0, %41 ], [ 8589934592, %40 ], [ 562949953422336, %39 ], [ 4294967296, %38 ], [ 8589934592, %37 ], [ 4294967296, %36 ], [ 8589934592, %35 ], [ 8589934592, %34 ], [ 4294967296, %33 ], [ 4294967296, %32 ], [ 4294967296, %31 ], [ 9223372032559808512, %30 ], [ 562949953422652, %29 ], [ 8589934592, %28 ], [ 12884901888, %27 ], [ 4294967296, %26 ], [ 4294967296, %25 ], [ 4294967296, %24 ], [ 107374182400, %23 ], [ 34359738369, %22 ], [ 17592186044420, %21 ], [ 128849018886, %20 ], [ 8589934592, %19 ], [ 4294967296, %18 ], [ 38654705664, %17 ], [ %.sroa.3.12.insert.ext143, %15 ], [ 1099511627776, %14 ], [ 4294967296, %13 ], [ 4294967296, %12 ], [ 4294967296, %11 ], [ 38654705665, %10 ], [ 562949953421312, %9 ], [ 30064771075, %8 ], [ 128849018881, %7 ], [ 128849018886, %6 ], [ 128849018886, %5 ], [ %.sroa.3.12.insert.insert, %2 ], [ 133143986186, %1 ]
  %.sroa.0.0 = phi i64 [ -40, %41 ], [ 0, %40 ], [ 0, %39 ], [ 0, %38 ], [ 0, %37 ], [ 0, %36 ], [ 0, %35 ], [ 0, %34 ], [ 0, %33 ], [ 0, %32 ], [ 0, %31 ], [ 0, %30 ], [ 0, %29 ], [ 0, %28 ], [ 0, %27 ], [ 0, %26 ], [ 0, %25 ], [ 0, %24 ], [ 0, %23 ], [ 0, %22 ], [ 0, %21 ], [ 0, %20 ], [ 0, %19 ], [ 0, %18 ], [ 0, %17 ], [ 0, %15 ], [ 0, %14 ], [ 0, %13 ], [ 0, %12 ], [ 0, %11 ], [ 0, %10 ], [ 0, %9 ], [ 0, %8 ], [ 0, %7 ], [ 0, %6 ], [ 0, %5 ], [ 0, %2 ], [ 0, %1 ]
  %.fca.0.insert = insertvalue { i64, i64 } poison, i64 %.sroa.0.0, 0
  %.fca.1.insert = insertvalue { i64, i64 } %.fca.0.insert, i64 %.sroa.3.0, 1
  ret { i64, i64 } %.fca.1.insert
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @ZSTD_minCLevel() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @ZSTD_maxCLevel() local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @MEM_32bits() local_unnamed_addr #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 = { inlinehint 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" }

!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,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass