; LLVM IR from DanEngelbrecht/longtail :: lib/zstd/ext/compress (zstd_compress)

; 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 %118 [
    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 %46
    i32 1005, label %49
    i32 160, label %52
    i32 161, label %55
    i32 162, label %58
    i32 163, label %61
    i32 164, label %64
    i32 500, label %67
    i32 1000, label %70
    i32 10, label %73
    i32 1001, label %76
    i32 1002, label %79
    i32 130, label %82
    i32 1004, label %85
    i32 1006, label %88
    i32 1007, label %88
    i32 1008, label %91
    i32 1009, label %94
    i32 1010, label %97
    i32 1011, label %100
    i32 1012, label %103
    i32 1013, label %106
    i32 1014, label %109
    i32 1015, label %112
    i32 1016, label %115
  ]

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 %120

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 %120

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 %120

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 %120

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 %120

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 %120

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 %120

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 %120

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 %120

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 %120

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 %120

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 0, ptr %42, align 4, !tbaa !12
  br label %120

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 = getelementptr inbounds %struct.ZSTD_bounds, ptr %2, i32 0, i32 2
  store i32 0, ptr %45, align 4, !tbaa !12
  br label %120

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

120:                                              ; preds = %118, %115, %112, %109, %106, %103, %100, %97, %94, %91, %88, %85, %82, %79, %76, %73, %70, %67, %64, %61, %58, %55, %52, %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %5
  %121 = load { i64, i64 }, ptr %2, align 8
  ret { i64, i64 } %121
}

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

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

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

!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 %40 [
    i32 100, label %2
    i32 101, label %41
    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 %16
    i32 1005, label %17
    i32 160, label %18
    i32 161, label %19
    i32 162, label %20
    i32 163, label %21
    i32 164, label %22
    i32 500, label %23
    i32 1000, label %24
    i32 10, label %25
    i32 1001, label %26
    i32 1002, label %27
    i32 130, label %28
    i32 1004, label %29
    i32 1006, label %30
    i32 1007, label %30
    i32 1008, label %31
    i32 1009, label %32
    i32 1010, label %33
    i32 1011, label %34
    i32 1012, label %35
    i32 1013, label %36
    i32 1014, label %37
    i32 1015, label %38
    i32 1016, label %39
  ]

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 %41

5:                                                ; preds = %1
  br label %41

6:                                                ; preds = %1
  br label %41

7:                                                ; preds = %1
  br label %41

8:                                                ; preds = %1
  br label %41

9:                                                ; preds = %1
  br label %41

10:                                               ; preds = %1
  br label %41

11:                                               ; preds = %1
  br label %41

12:                                               ; preds = %1
  br label %41

13:                                               ; preds = %1
  br label %41

14:                                               ; preds = %1
  br label %41

15:                                               ; preds = %1
  br label %41

16:                                               ; preds = %1
  br label %41

17:                                               ; preds = %1
  br label %41

18:                                               ; preds = %1
  br label %41

19:                                               ; preds = %1
  br label %41

20:                                               ; preds = %1
  br label %41

21:                                               ; preds = %1
  br label %41

22:                                               ; preds = %1
  br label %41

23:                                               ; preds = %1
  br label %41

24:                                               ; preds = %1
  br label %41

25:                                               ; preds = %1
  br label %41

26:                                               ; preds = %1
  br label %41

27:                                               ; preds = %1
  br label %41

28:                                               ; preds = %1
  br label %41

29:                                               ; preds = %1
  br label %41

30:                                               ; preds = %1, %1
  br label %41

31:                                               ; preds = %1
  br label %41

32:                                               ; preds = %1
  br label %41

33:                                               ; preds = %1
  br label %41

34:                                               ; preds = %1
  br label %41

35:                                               ; preds = %1
  br label %41

36:                                               ; preds = %1
  br label %41

37:                                               ; preds = %1
  br label %41

38:                                               ; preds = %1
  br label %41

39:                                               ; preds = %1
  br label %41

40:                                               ; preds = %1
  br label %41

41:                                               ; preds = %1, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %2
  %.sroa.3.0 = phi i64 [ 0, %40 ], [ 8589934592, %39 ], [ 562949953422336, %38 ], [ 4294967296, %37 ], [ 8589934592, %36 ], [ 4294967296, %35 ], [ 8589934592, %34 ], [ 8589934592, %33 ], [ 4294967296, %32 ], [ 4294967296, %31 ], [ 4294967296, %30 ], [ 9223372032559808512, %29 ], [ 562949953422652, %28 ], [ 8589934592, %27 ], [ 12884901888, %26 ], [ 4294967296, %25 ], [ 4294967296, %24 ], [ 4294967296, %23 ], [ 107374182400, %22 ], [ 34359738369, %21 ], [ 17592186044420, %20 ], [ 128849018886, %19 ], [ 8589934592, %18 ], [ 4294967296, %17 ], [ 0, %16 ], [ 0, %15 ], [ 0, %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, %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, %16 ], [ 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

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

!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