; 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_get_uint32 = external hidden unnamed_addr constant [22 x i8], align 1

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

13:                                               ; preds = %2
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = icmp eq ptr %14, null
  br i1 %15, label %16, label %17

16:                                               ; preds = %13, %2
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 533, ptr noundef @__func__.OSSL_PARAM_get_uint32)
  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 %129

17:                                               ; preds = %13
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.ossl_param_st, ptr %18, i32 0, i32 1
  %20 = load i32, ptr %19, align 8, !tbaa !9
  %21 = icmp eq i32 %20, 2
  br i1 %21, label %22, label %49

22:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ossl_param_st, ptr %23, i32 0, i32 3
  %25 = load i64, ptr %24, align 8, !tbaa !13
  switch i64 %25, label %44 [
    i64 4, label %26
    i64 8, label %32
  ]

26:                                               ; preds = %22
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ossl_param_st, ptr %27, i32 0, i32 2
  %29 = load ptr, ptr %28, align 8, !tbaa !14
  %30 = load i32, ptr %29, align 4, !tbaa !15
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %30, ptr %31, align 4, !tbaa !15
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %48

32:                                               ; preds = %22
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ossl_param_st, ptr %33, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !14
  %36 = load i64, ptr %35, align 8, !tbaa !16
  store i64 %36, ptr %6, align 8, !tbaa !16
  %37 = load i64, ptr %6, align 8, !tbaa !16
  %38 = icmp ule i64 %37, 4294967295
  br i1 %38, label %39, label %43

39:                                               ; preds = %32
  %40 = load i64, ptr %6, align 8, !tbaa !16
  %41 = trunc i64 %40 to i32
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %41, ptr %42, align 4, !tbaa !15
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %48

43:                                               ; preds = %32
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 551, ptr noundef @__func__.OSSL_PARAM_get_uint32)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 126, ptr noundef null)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %48

44:                                               ; preds = %22
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = call i32 @general_get_uint(ptr noundef %45, ptr noundef %46, i64 noundef 4)
  store i32 %47, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %48

48:                                               ; preds = %44, %43, %39, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %129

49:                                               ; preds = %17
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ossl_param_st, ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 8, !tbaa !9
  %53 = icmp eq i32 %52, 1
  br i1 %53, label %54, label %94

54:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ossl_param_st, ptr %55, i32 0, i32 3
  %57 = load i64, ptr %56, align 8, !tbaa !13
  switch i64 %57, label %89 [
    i64 4, label %58
    i64 8, label %69
  ]

58:                                               ; preds = %54
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ossl_param_st, ptr %59, i32 0, i32 2
  %61 = load ptr, ptr %60, align 8, !tbaa !14
  %62 = load i32, ptr %61, align 4, !tbaa !15
  store i32 %62, ptr %8, align 4, !tbaa !15
  %63 = load i32, ptr %8, align 4, !tbaa !15
  %64 = icmp sge i32 %63, 0
  br i1 %64, label %65, label %68

65:                                               ; preds = %58
  %66 = load i32, ptr %8, align 4, !tbaa !15
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %66, ptr %67, align 4, !tbaa !15
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %93

68:                                               ; preds = %58
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 568, ptr noundef @__func__.OSSL_PARAM_get_uint32)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 125, ptr noundef null)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %93

69:                                               ; preds = %54
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ossl_param_st, ptr %70, i32 0, i32 2
  %72 = load ptr, ptr %71, align 8, !tbaa !14
  %73 = load i64, ptr %72, align 8, !tbaa !16
  store i64 %73, ptr %9, align 8, !tbaa !16
  %74 = load i64, ptr %9, align 8, !tbaa !16
  %75 = icmp sge i64 %74, 0
  br i1 %75, label %76, label %83

76:                                               ; preds = %69
  %77 = load i64, ptr %9, align 8, !tbaa !16
  %78 = icmp sle i64 %77, 4294967295
  br i1 %78, label %79, label %83

79:                                               ; preds = %76
  %80 = load i64, ptr %9, align 8, !tbaa !16
  %81 = trunc i64 %80 to i32
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %81, ptr %82, align 4, !tbaa !15
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %93

83:                                               ; preds = %76, %69
  %84 = load i64, ptr %9, align 8, !tbaa !16
  %85 = icmp slt i64 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %83
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 577, ptr noundef @__func__.OSSL_PARAM_get_uint32)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 125, ptr noundef null)
  br label %88

87:                                               ; preds = %83
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 579, ptr noundef @__func__.OSSL_PARAM_get_uint32)
  call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 126, ptr noundef null)
  br label %88

88:                                               ; preds = %87, %86
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %93

89:                                               ; preds = %54
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = call i32 @general_get_uint(ptr noundef %90, ptr noundef %91, i64 noundef 4)
  store i32 %92, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %93

93:                                               ; preds = %89, %88, %79, %68, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %129

94:                                               ; preds = %49
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ossl_param_st, ptr %95, i32 0, i32 1
  %97 = load i32, ptr %96, align 8, !tbaa !9
  %98 = icmp eq i32 %97, 3
  br i1 %98, label %99, label %126

99:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ossl_param_st, ptr %100, i32 0, i32 3
  %102 = load i64, ptr %101, align 8, !tbaa !13
  switch i64 %102, label %124 [
    i64 8, label %103
  ]

103:                                              ; preds = %99
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ossl_param_st, ptr %104, i32 0, i32 2
  %106 = load ptr, ptr %105, align 8, !tbaa !14
  %107 = load double, ptr %106, align 8, !tbaa !17
  store double %107, ptr %10, align 8, !tbaa !17
  %108 = load double, ptr %10, align 8, !tbaa !17
  %109 = fcmp oge double %108, 0.000000e+00
  br i1 %109, label %110, label %123

110:                                              ; preds = %103
  %111 = load double, ptr %10, align 8, !tbaa !17
  %112 = fcmp ole double %111, 0x41EFFFFFFFE00000
  br i1 %112, label %113, label %123

113:                                              ; preds = %110
  %114 = load double, ptr %10, align 8, !tbaa !17
  %115 = load double, ptr %10, align 8, !tbaa !17
  %116 = fptoui double %115 to i32
  %117 = uitofp i32 %116 to double
  %118 = fcmp oeq double %114, %117
  br i1 %118, label %119, label %123

119:                                              ; preds = %113
  %120 = load double, ptr %10, align 8, !tbaa !17
  %121 = fptoui double %120 to i32
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %121, ptr %122, align 4, !tbaa !15
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %125

123:                                              ; preds = %113, %110, %103
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 595, ptr noundef @__func__.OSSL_PARAM_get_uint32)
  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 %125

124:                                              ; preds = %99
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 598, ptr noundef @__func__.OSSL_PARAM_get_uint32)
  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 %125

125:                                              ; preds = %124, %123, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  br label %129

126:                                              ; preds = %94
  br label %127

127:                                              ; preds = %126
  br label %128

128:                                              ; preds = %127
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 602, ptr noundef @__func__.OSSL_PARAM_get_uint32)
  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 %129

129:                                              ; preds = %128, %125, %93, %48, %16
  %130 = load i32, ptr %3, align 4
  ret i32 %130
}

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_get_uint(ptr noundef, ptr noundef, i64 noundef) #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, !11, i64 8}
!10 = !{!"ossl_param_st", !6, i64 0, !11, i64 8, !6, i64 16, !12, i64 24, !12, i64 32}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 24}
!14 = !{!10, !6, i64 16}
!15 = !{!11, !11, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"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_get_uint32 = external hidden unnamed_addr constant [22 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @OSSL_PARAM_get_uint32(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = icmp eq ptr %1, null
  %4 = icmp eq ptr %0, null
  %or.cond = or i1 %4, %3
  br i1 %or.cond, label %5, label %6

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

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i32, ptr %7, align 8, !tbaa !5
  switch i32 %8, label %64 [
    i32 2, label %9
    i32 1, label %26
    i32 3, label %48
  ]

9:                                                ; preds = %6
  %10 = getelementptr inbounds i8, ptr %0, i64 24
  %11 = load i64, ptr %10, align 8, !tbaa !12
  switch i64 %11, label %24 [
    i64 4, label %12
    i64 8, label %16
  ]

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  %14 = load ptr, ptr %13, align 8, !tbaa !13
  %15 = load i32, ptr %14, align 4, !tbaa !14
  store i32 %15, ptr %1, align 4, !tbaa !14
  br label %65

16:                                               ; preds = %9
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = load ptr, ptr %17, align 8, !tbaa !13
  %19 = load i64, ptr %18, align 8, !tbaa !15
  %20 = icmp ult i64 %19, 4294967296
  br i1 %20, label %21, label %23

21:                                               ; preds = %16
  %22 = trunc nuw i64 %19 to i32
  store i32 %22, ptr %1, align 4, !tbaa !14
  br label %65

23:                                               ; preds = %16
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 551, ptr noundef nonnull @__func__.OSSL_PARAM_get_uint32) #2
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 126, ptr noundef null) #2
  br label %65

24:                                               ; preds = %9
  %25 = tail call i32 @general_get_uint(ptr noundef nonnull %0, ptr noundef nonnull %1, i64 noundef 4)
  br label %65

26:                                               ; preds = %6
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %28 = load i64, ptr %27, align 8, !tbaa !12
  switch i64 %28, label %46 [
    i64 4, label %29
    i64 8, label %36
  ]

29:                                               ; preds = %26
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  %32 = load i32, ptr %31, align 4, !tbaa !14
  %33 = icmp sgt i32 %32, -1
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  store i32 %32, ptr %1, align 4, !tbaa !14
  br label %65

35:                                               ; preds = %29
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 568, ptr noundef nonnull @__func__.OSSL_PARAM_get_uint32) #2
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 125, ptr noundef null) #2
  br label %65

36:                                               ; preds = %26
  %37 = getelementptr inbounds i8, ptr %0, i64 16
  %38 = load ptr, ptr %37, align 8, !tbaa !13
  %39 = load i64, ptr %38, align 8, !tbaa !15
  %or.cond3 = icmp ult i64 %39, 4294967296
  br i1 %or.cond3, label %40, label %42

40:                                               ; preds = %36
  %41 = trunc nuw i64 %39 to i32
  store i32 %41, ptr %1, align 4, !tbaa !14
  br label %65

42:                                               ; preds = %36
  %43 = icmp slt i64 %39, 0
  tail call void @ERR_new() #2
  br i1 %43, label %44, label %45

44:                                               ; preds = %42
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 577, ptr noundef nonnull @__func__.OSSL_PARAM_get_uint32) #2
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 125, ptr noundef null) #2
  br label %65

45:                                               ; preds = %42
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 579, ptr noundef nonnull @__func__.OSSL_PARAM_get_uint32) #2
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 126, ptr noundef null) #2
  br label %65

46:                                               ; preds = %26
  %47 = tail call i32 @general_get_uint(ptr noundef nonnull %0, ptr noundef nonnull %1, i64 noundef 4)
  br label %65

48:                                               ; preds = %6
  %49 = getelementptr inbounds i8, ptr %0, i64 24
  %50 = load i64, ptr %49, align 8, !tbaa !12
  %cond = icmp eq i64 %50, 8
  br i1 %cond, label %51, label %63

51:                                               ; preds = %48
  %52 = getelementptr inbounds i8, ptr %0, i64 16
  %53 = load ptr, ptr %52, align 8, !tbaa !13
  %54 = load double, ptr %53, align 8, !tbaa !16
  %55 = fcmp oge double %54, 0.000000e+00
  %56 = fcmp ole double %54, 0x41EFFFFFFFE00000
  %or.cond5 = and i1 %55, %56
  br i1 %or.cond5, label %57, label %62

57:                                               ; preds = %51
  %58 = fptoui double %54 to i32
  %59 = uitofp i32 %58 to double
  %60 = fcmp oeq double %54, %59
  br i1 %60, label %61, label %62

61:                                               ; preds = %57
  store i32 %58, ptr %1, align 4, !tbaa !14
  br label %65

62:                                               ; preds = %57, %51
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 595, ptr noundef nonnull @__func__.OSSL_PARAM_get_uint32) #2
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 123, ptr noundef null) #2
  br label %65

63:                                               ; preds = %48
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 598, ptr noundef nonnull @__func__.OSSL_PARAM_get_uint32) #2
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 130, ptr noundef null) #2
  br label %65

64:                                               ; preds = %6
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 602, ptr noundef nonnull @__func__.OSSL_PARAM_get_uint32) #2
  tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 15, i32 noundef 129, ptr noundef null) #2
  br label %65

65:                                               ; preds = %61, %62, %63, %34, %35, %40, %46, %45, %44, %12, %21, %23, %24, %64, %5
  %.3 = phi i32 [ 0, %5 ], [ 0, %64 ], [ %25, %24 ], [ 1, %21 ], [ 0, %23 ], [ 1, %12 ], [ %47, %46 ], [ 1, %40 ], [ 1, %34 ], [ 0, %35 ], [ 0, %45 ], [ 0, %44 ], [ 1, %61 ], [ 0, %62 ], [ 0, %63 ]
  ret i32 %.3
}

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_get_uint(ptr noundef, ptr noundef, i64 noundef) 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" }
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 = { 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, !10, i64 8}
!6 = !{!"ossl_param_st", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !11, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !11, i64 24}
!13 = !{!6, !7, i64 16}
!14 = !{!10, !10, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !8, i64 0}


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