; LLVM IR from openanolis/openssl :: crypto (params)

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

@.str = external hidden unnamed_addr constant [68 x i8], align 1
@__func__.OSSL_PARAM_set_int64 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @OSSL_PARAM_set_int64(ptr noundef %0, i64 noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = icmp eq ptr %8, null
  br i1 %9, label %10, label %11

10:                                               ; preds = %2
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 751, ptr noundef @__func__.OSSL_PARAM_set_int64)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 786690, ptr noundef null)
  store i32 0, ptr %3, align 4
  br label %137

11:                                               ; preds = %2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.ossl_param_st, ptr %12, i32 0, i32 4
  store i64 0, ptr %13, align 8, !tbaa !11
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ossl_param_st, ptr %14, i32 0, i32 1
  %16 = load i32, ptr %15, align 8, !tbaa !14
  %17 = icmp eq i32 %16, 1
  br i1 %17, label %18, label %53

18:                                               ; preds = %11
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.ossl_param_st, ptr %19, i32 0, i32 4
  store i64 8, ptr %20, align 8, !tbaa !11
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ossl_param_st, ptr %21, i32 0, i32 2
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %24 = icmp eq ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %18
  store i32 1, ptr %3, align 4
  br label %137

26:                                               ; preds = %18
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ossl_param_st, ptr %27, i32 0, i32 3
  %29 = load i64, ptr %28, align 8, !tbaa !16
  switch i64 %29, label %50 [
    i64 4, label %30
    i64 8, label %45
  ]

30:                                               ; preds = %26
  %31 = load i64, ptr %5, align 8, !tbaa !9
  %32 = icmp sge i64 %31, -2147483648
  br i1 %32, label %33, label %44

33:                                               ; preds = %30
  %34 = load i64, ptr %5, align 8, !tbaa !9
  %35 = icmp sle i64 %34, 2147483647
  br i1 %35, label %36, label %44

36:                                               ; preds = %33
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ossl_param_st, ptr %37, i32 0, i32 4
  store i64 4, ptr %38, align 8, !tbaa !11
  %39 = load i64, ptr %5, align 8, !tbaa !9
  %40 = trunc i64 %39 to i32
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ossl_param_st, ptr %41, i32 0, i32 2
  %43 = load ptr, ptr %42, align 8, !tbaa !15
  store i32 %40, ptr %43, align 4, !tbaa !17
  store i32 1, ptr %3, align 4
  br label %137

44:                                               ; preds = %33, %30
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 767, ptr noundef @__func__.OSSL_PARAM_set_int64)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 126, ptr noundef null)
  store i32 0, ptr %3, align 4
  br label %137

45:                                               ; preds = %26
  %46 = load i64, ptr %5, align 8, !tbaa !9
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ossl_param_st, ptr %47, i32 0, i32 2
  %49 = load ptr, ptr %48, align 8, !tbaa !15
  store i64 %46, ptr %49, align 8, !tbaa !9
  store i32 1, ptr %3, align 4
  br label %137

50:                                               ; preds = %26
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = call i32 @general_set_int(ptr noundef %51, ptr noundef %5, i64 noundef 8)
  store i32 %52, ptr %3, align 4
  br label %137

53:                                               ; preds = %11
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ossl_param_st, ptr %54, i32 0, i32 1
  %56 = load i32, ptr %55, align 8, !tbaa !14
  %57 = icmp eq i32 %56, 2
  br i1 %57, label %58, label %93

58:                                               ; preds = %53
  %59 = load i64, ptr %5, align 8, !tbaa !9
  %60 = icmp sge i64 %59, 0
  br i1 %60, label %61, label %93

61:                                               ; preds = %58
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ossl_param_st, ptr %62, i32 0, i32 4
  store i64 8, ptr %63, align 8, !tbaa !11
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ossl_param_st, ptr %64, i32 0, i32 2
  %66 = load ptr, ptr %65, align 8, !tbaa !15
  %67 = icmp eq ptr %66, null
  br i1 %67, label %68, label %69

68:                                               ; preds = %61
  store i32 1, ptr %3, align 4
  br label %137

69:                                               ; preds = %61
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ossl_param_st, ptr %70, i32 0, i32 3
  %72 = load i64, ptr %71, align 8, !tbaa !16
  switch i64 %72, label %90 [
    i64 4, label %73
    i64 8, label %85
  ]

73:                                               ; preds = %69
  %74 = load i64, ptr %5, align 8, !tbaa !9
  %75 = icmp sle i64 %74, 4294967295
  br i1 %75, label %76, label %84

76:                                               ; preds = %73
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ossl_param_st, ptr %77, i32 0, i32 4
  store i64 4, ptr %78, align 8, !tbaa !11
  %79 = load i64, ptr %5, align 8, !tbaa !9
  %80 = trunc i64 %79 to i32
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ossl_param_st, ptr %81, i32 0, i32 2
  %83 = load ptr, ptr %82, align 8, !tbaa !15
  store i32 %80, ptr %83, align 4, !tbaa !17
  store i32 1, ptr %3, align 4
  br label %137

84:                                               ; preds = %73
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 787, ptr noundef @__func__.OSSL_PARAM_set_int64)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 126, ptr noundef null)
  store i32 0, ptr %3, align 4
  br label %137

85:                                               ; preds = %69
  %86 = load i64, ptr %5, align 8, !tbaa !9
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.ossl_param_st, ptr %87, i32 0, i32 2
  %89 = load ptr, ptr %88, align 8, !tbaa !15
  store i64 %86, ptr %89, align 8, !tbaa !9
  store i32 1, ptr %3, align 4
  br label %137

90:                                               ; preds = %69
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = call i32 @general_set_int(ptr noundef %91, ptr noundef %5, i64 noundef 8)
  store i32 %92, ptr %3, align 4
  br label %137

93:                                               ; preds = %58, %53
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ossl_param_st, ptr %94, i32 0, i32 1
  %96 = load i32, ptr %95, align 8, !tbaa !14
  %97 = icmp eq i32 %96, 3
  br i1 %97, label %98, label %134

98:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.ossl_param_st, ptr %99, i32 0, i32 4
  store i64 8, ptr %100, align 8, !tbaa !11
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.ossl_param_st, ptr %101, i32 0, i32 2
  %103 = load ptr, ptr %102, align 8, !tbaa !15
  %104 = icmp eq ptr %103, null
  br i1 %104, label %105, label %106

105:                                              ; preds = %98
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %133

106:                                              ; preds = %98
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.ossl_param_st, ptr %107, i32 0, i32 3
  %109 = load i64, ptr %108, align 8, !tbaa !16
  switch i64 %109, label %132 [
    i64 8, label %110
  ]

110:                                              ; preds = %106
  %111 = load i64, ptr %5, align 8, !tbaa !9
  %112 = icmp slt i64 %111, 0
  br i1 %112, label %113, label %116

113:                                              ; preds = %110
  %114 = load i64, ptr %5, align 8, !tbaa !9
  %115 = sub nsw i64 0, %114
  br label %118

116:                                              ; preds = %110
  %117 = load i64, ptr %5, align 8, !tbaa !9
  br label %118

118:                                              ; preds = %116, %113
  %119 = phi i64 [ %115, %113 ], [ %117, %116 ]
  store i64 %119, ptr %6, align 8, !tbaa !9
  %120 = load i64, ptr %6, align 8, !tbaa !9
  %121 = call i32 @real_shift()
  %122 = zext i32 %121 to i64
  %123 = lshr i64 %120, %122
  %124 = icmp eq i64 %123, 0
  br i1 %124, label %125, label %131

125:                                              ; preds = %118
  %126 = load i64, ptr %5, align 8, !tbaa !9
  %127 = sitofp i64 %126 to double
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ossl_param_st, ptr %128, i32 0, i32 2
  %130 = load ptr, ptr %129, align 8, !tbaa !15
  store double %127, ptr %130, align 8, !tbaa !18
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %133

131:                                              ; preds = %118
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 809, ptr noundef @__func__.OSSL_PARAM_set_int64)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 123, ptr noundef null)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %133

132:                                              ; preds = %106
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 812, ptr noundef @__func__.OSSL_PARAM_set_int64)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 130, ptr noundef null)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %133

133:                                              ; preds = %132, %131, %125, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %137

134:                                              ; preds = %93
  br label %135

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 816, ptr noundef @__func__.OSSL_PARAM_set_int64)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 129, ptr noundef null)
  store i32 0, ptr %3, align 4
  br label %137

137:                                              ; preds = %136, %133, %90, %85, %84, %76, %68, %50, %45, %44, %36, %25, %10
  %138 = load i32, ptr %3, align 4
  ret i32 %138
}

declare void @ERR_new() #1

declare void @ERR_set_debug(ptr noundef, i32 noundef, ptr noundef) #1

declare void @ERR_set_error(i32 noundef, i32 noundef, ptr noundef, ...) #1

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @general_set_int(ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @real_shift() #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" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 32}
!12 = !{!"ossl_param_st", !6, i64 0, !13, i64 8, !6, i64 16, !10, i64 24, !10, i64 32}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!12, !6, i64 16}
!16 = !{!12, !10, i64 24}
!17 = !{!13, !13, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !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 [68 x i8], align 1
@__func__.OSSL_PARAM_set_int64 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @OSSL_PARAM_set_int64(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
  %3 = alloca i64, align 8
  store i64 %1, ptr %3, align 8, !tbaa !5
  %4 = icmp eq ptr %0, null
  br i1 %4, label %5, label %6

5:                                                ; preds = %2
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 751, ptr noundef nonnull @__func__.OSSL_PARAM_set_int64) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 786690, ptr noundef null) #3
  br label %65

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  store i64 0, ptr %7, align 8, !tbaa !9
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  %9 = load i32, ptr %8, align 8, !tbaa !13
  %10 = icmp eq i32 %9, 1
  br i1 %10, label %11, label %26

11:                                               ; preds = %6
  store i64 8, ptr %7, align 8, !tbaa !9
  %12 = getelementptr inbounds i8, ptr %0, i64 16
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  %14 = icmp eq ptr %13, null
  br i1 %14, label %65, label %15

15:                                               ; preds = %11
  %16 = getelementptr inbounds i8, ptr %0, i64 24
  %17 = load i64, ptr %16, align 8, !tbaa !15
  switch i64 %17, label %24 [
    i64 4, label %18
    i64 8, label %23
  ]

18:                                               ; preds = %15
  %19 = add i64 %1, 2147483648
  %or.cond = icmp ult i64 %19, 4294967296
  br i1 %or.cond, label %20, label %22

20:                                               ; preds = %18
  store i64 4, ptr %7, align 8, !tbaa !9
  %21 = trunc i64 %1 to i32
  store i32 %21, ptr %13, align 4, !tbaa !16
  br label %65

22:                                               ; preds = %18
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 767, ptr noundef nonnull @__func__.OSSL_PARAM_set_int64) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 126, ptr noundef null) #3
  br label %65

23:                                               ; preds = %15
  store i64 %1, ptr %13, align 8, !tbaa !5
  br label %65

24:                                               ; preds = %15
  %25 = call i32 @general_set_int(ptr noundef nonnull %0, ptr noundef nonnull %3, i64 noundef 8)
  br label %65

26:                                               ; preds = %6
  %27 = icmp eq i32 %9, 2
  %28 = icmp sgt i64 %1, -1
  %or.cond3 = and i1 %28, %27
  br i1 %or.cond3, label %29, label %44

29:                                               ; preds = %26
  store i64 8, ptr %7, align 8, !tbaa !9
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  %31 = load ptr, ptr %30, align 8, !tbaa !14
  %32 = icmp eq ptr %31, null
  br i1 %32, label %65, label %33

33:                                               ; preds = %29
  %34 = getelementptr inbounds i8, ptr %0, i64 24
  %35 = load i64, ptr %34, align 8, !tbaa !15
  switch i64 %35, label %42 [
    i64 4, label %36
    i64 8, label %41
  ]

36:                                               ; preds = %33
  %37 = icmp ult i64 %1, 4294967296
  br i1 %37, label %38, label %40

38:                                               ; preds = %36
  store i64 4, ptr %7, align 8, !tbaa !9
  %39 = trunc nuw i64 %1 to i32
  store i32 %39, ptr %31, align 4, !tbaa !16
  br label %65

40:                                               ; preds = %36
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 787, ptr noundef nonnull @__func__.OSSL_PARAM_set_int64) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 126, ptr noundef null) #3
  br label %65

41:                                               ; preds = %33
  store i64 %1, ptr %31, align 8, !tbaa !5
  br label %65

42:                                               ; preds = %33
  %43 = call i32 @general_set_int(ptr noundef nonnull %0, ptr noundef nonnull %3, i64 noundef 8)
  br label %65

44:                                               ; preds = %26
  %45 = icmp eq i32 %9, 3
  br i1 %45, label %46, label %64

46:                                               ; preds = %44
  store i64 8, ptr %7, align 8, !tbaa !9
  %47 = getelementptr inbounds i8, ptr %0, i64 16
  %48 = load ptr, ptr %47, align 8, !tbaa !14
  %49 = icmp eq ptr %48, null
  br i1 %49, label %65, label %50

50:                                               ; preds = %46
  %51 = getelementptr inbounds i8, ptr %0, i64 24
  %52 = load i64, ptr %51, align 8, !tbaa !15
  %cond = icmp eq i64 %52, 8
  br i1 %cond, label %53, label %63

53:                                               ; preds = %50
  %54 = tail call i64 @llvm.abs.i64(i64 %1, i1 true)
  %55 = tail call i32 @real_shift()
  %56 = zext nneg i32 %55 to i64
  %57 = lshr i64 %54, %56
  %58 = icmp eq i64 %57, 0
  br i1 %58, label %59, label %62

59:                                               ; preds = %53
  %60 = sitofp i64 %1 to double
  %61 = load ptr, ptr %47, align 8, !tbaa !14
  store double %60, ptr %61, align 8, !tbaa !17
  br label %65

62:                                               ; preds = %53
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 809, ptr noundef nonnull @__func__.OSSL_PARAM_set_int64) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 123, ptr noundef null) #3
  br label %65

63:                                               ; preds = %50
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 812, ptr noundef nonnull @__func__.OSSL_PARAM_set_int64) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 130, ptr noundef null) #3
  br label %65

64:                                               ; preds = %44
  tail call void @ERR_new() #3
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 816, ptr noundef nonnull @__func__.OSSL_PARAM_set_int64) #3
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 129, ptr noundef null) #3
  br label %65

65:                                               ; preds = %59, %62, %63, %46, %29, %11, %64, %42, %41, %40, %38, %24, %23, %22, %20, %5
  %.1 = phi i32 [ 0, %5 ], [ %25, %24 ], [ 1, %23 ], [ 1, %20 ], [ 0, %22 ], [ %43, %42 ], [ 1, %41 ], [ 1, %38 ], [ 0, %40 ], [ 0, %64 ], [ 1, %11 ], [ 1, %29 ], [ 1, %59 ], [ 0, %62 ], [ 0, %63 ], [ 1, %46 ]
  ret i32 %.1
}

declare void @ERR_new() local_unnamed_addr #1

declare void @ERR_set_debug(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare void @ERR_set_error(i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @general_set_int(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @real_shift() local_unnamed_addr #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.abs.i64(i64, i1 immarg) #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 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"ossl_param_st", !11, i64 0, !12, i64 8, !11, i64 16, !6, i64 24, !6, i64 32}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!10, !11, i64 16}
!15 = !{!10, !6, i64 24}
!16 = !{!12, !12, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass