; LLVM IR from openssl/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 [65 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 549, 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 %135

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

22:                                               ; preds = %17
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 554, 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 %135

23:                                               ; preds = %17
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ossl_param_st, ptr %24, i32 0, i32 1
  %26 = load i32, ptr %25, align 8, !tbaa !13
  %27 = icmp eq i32 %26, 2
  br i1 %27, label %28, label %55

28:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ossl_param_st, ptr %29, i32 0, i32 3
  %31 = load i64, ptr %30, align 8, !tbaa !14
  switch i64 %31, label %50 [
    i64 4, label %32
    i64 8, label %38
  ]

32:                                               ; preds = %28
  %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 !9
  %36 = load i32, ptr %35, align 4, !tbaa !15
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %36, ptr %37, align 4, !tbaa !15
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %54

38:                                               ; preds = %28
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ossl_param_st, ptr %39, i32 0, i32 2
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = load i64, ptr %41, align 8, !tbaa !16
  store i64 %42, ptr %6, align 8, !tbaa !16
  %43 = load i64, ptr %6, align 8, !tbaa !16
  %44 = icmp ule i64 %43, 4294967295
  br i1 %44, label %45, label %49

45:                                               ; preds = %38
  %46 = load i64, ptr %6, align 8, !tbaa !16
  %47 = trunc i64 %46 to i32
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %47, ptr %48, align 4, !tbaa !15
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %54

49:                                               ; preds = %38
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 572, 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 %54

50:                                               ; preds = %28
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = call i32 @general_get_uint(ptr noundef %51, ptr noundef %52, i64 noundef 4)
  store i32 %53, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %54

54:                                               ; preds = %50, %49, %45, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %135

55:                                               ; preds = %23
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ossl_param_st, ptr %56, i32 0, i32 1
  %58 = load i32, ptr %57, align 8, !tbaa !13
  %59 = icmp eq i32 %58, 1
  br i1 %59, label %60, label %100

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ossl_param_st, ptr %61, i32 0, i32 3
  %63 = load i64, ptr %62, align 8, !tbaa !14
  switch i64 %63, label %95 [
    i64 4, label %64
    i64 8, label %75
  ]

64:                                               ; preds = %60
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ossl_param_st, ptr %65, i32 0, i32 2
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = load i32, ptr %67, align 4, !tbaa !15
  store i32 %68, ptr %8, align 4, !tbaa !15
  %69 = load i32, ptr %8, align 4, !tbaa !15
  %70 = icmp sge i32 %69, 0
  br i1 %70, label %71, label %74

71:                                               ; preds = %64
  %72 = load i32, ptr %8, align 4, !tbaa !15
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %72, ptr %73, align 4, !tbaa !15
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %99

74:                                               ; preds = %64
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 589, 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 %99

75:                                               ; preds = %60
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ossl_param_st, ptr %76, i32 0, i32 2
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %79 = load i64, ptr %78, align 8, !tbaa !16
  store i64 %79, ptr %9, align 8, !tbaa !16
  %80 = load i64, ptr %9, align 8, !tbaa !16
  %81 = icmp sge i64 %80, 0
  br i1 %81, label %82, label %89

82:                                               ; preds = %75
  %83 = load i64, ptr %9, align 8, !tbaa !16
  %84 = icmp sle i64 %83, 4294967295
  br i1 %84, label %85, label %89

85:                                               ; preds = %82
  %86 = load i64, ptr %9, align 8, !tbaa !16
  %87 = trunc i64 %86 to i32
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %87, ptr %88, align 4, !tbaa !15
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %99

89:                                               ; preds = %82, %75
  %90 = load i64, ptr %9, align 8, !tbaa !16
  %91 = icmp slt i64 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %89
  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 125, ptr noundef null)
  br label %94

93:                                               ; preds = %89
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 600, 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 %94

94:                                               ; preds = %93, %92
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %99

95:                                               ; preds = %60
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = call i32 @general_get_uint(ptr noundef %96, ptr noundef %97, i64 noundef 4)
  store i32 %98, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %99

99:                                               ; preds = %95, %94, %85, %74, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %135

100:                                              ; preds = %55
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.ossl_param_st, ptr %101, i32 0, i32 1
  %103 = load i32, ptr %102, align 8, !tbaa !13
  %104 = icmp eq i32 %103, 3
  br i1 %104, label %105, label %132

105:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ossl_param_st, ptr %106, i32 0, i32 3
  %108 = load i64, ptr %107, align 8, !tbaa !14
  switch i64 %108, label %130 [
    i64 8, label %109
  ]

109:                                              ; preds = %105
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ossl_param_st, ptr %110, i32 0, i32 2
  %112 = load ptr, ptr %111, align 8, !tbaa !9
  %113 = load double, ptr %112, align 8, !tbaa !17
  store double %113, ptr %10, align 8, !tbaa !17
  %114 = load double, ptr %10, align 8, !tbaa !17
  %115 = fcmp oge double %114, 0.000000e+00
  br i1 %115, label %116, label %129

116:                                              ; preds = %109
  %117 = load double, ptr %10, align 8, !tbaa !17
  %118 = fcmp ole double %117, 0x41EFFFFFFFE00000
  br i1 %118, label %119, label %129

119:                                              ; preds = %116
  %120 = load double, ptr %10, align 8, !tbaa !17
  %121 = load double, ptr %10, align 8, !tbaa !17
  %122 = fptoui double %121 to i32
  %123 = uitofp i32 %122 to double
  %124 = fcmp oeq double %120, %123
  br i1 %124, label %125, label %129

125:                                              ; preds = %119
  %126 = load double, ptr %10, align 8, !tbaa !17
  %127 = fptoui double %126 to i32
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %127, ptr %128, align 4, !tbaa !15
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %131

129:                                              ; preds = %119, %116, %109
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 616, 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 %131

130:                                              ; preds = %105
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 619, 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 %131

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

132:                                              ; preds = %100
  br label %133

133:                                              ; preds = %132
  br label %134

134:                                              ; preds = %133
  call void @ERR_new()
  call void @ERR_set_debug(ptr noundef @.str, i32 noundef 623, 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 %135

135:                                              ; preds = %134, %131, %99, %54, %22, %16
  %136 = load i32, ptr %3, align 4
  ret i32 %136
}

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, !6, i64 16}
!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, !11, i64 8}
!14 = !{!10, !12, i64 24}
!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 [65 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 549, 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 %60

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = icmp eq ptr %8, null
  br i1 %9, label %10, label %11

10:                                               ; preds = %6
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 554, 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 %60

11:                                               ; preds = %6
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = load i32, ptr %12, align 8, !tbaa !12
  switch i32 %13, label %59 [
    i32 2, label %14
    i32 1, label %27
    i32 3, label %45
  ]

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

17:                                               ; preds = %14
  %18 = load i32, ptr %8, align 4, !tbaa !14
  store i32 %18, ptr %1, align 4, !tbaa !14
  br label %60

19:                                               ; preds = %14
  %20 = load i64, ptr %8, align 8, !tbaa !15
  %21 = icmp ult i64 %20, 4294967296
  br i1 %21, label %22, label %24

22:                                               ; preds = %19
  %23 = trunc nuw i64 %20 to i32
  store i32 %23, ptr %1, align 4, !tbaa !14
  br label %60

24:                                               ; preds = %19
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 572, 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 %60

25:                                               ; preds = %14
  %26 = tail call i32 @general_get_uint(ptr noundef nonnull %0, ptr noundef nonnull %1, i64 noundef 4)
  br label %60

27:                                               ; preds = %11
  %28 = getelementptr inbounds i8, ptr %0, i64 24
  %29 = load i64, ptr %28, align 8, !tbaa !13
  switch i64 %29, label %43 [
    i64 4, label %30
    i64 8, label %35
  ]

30:                                               ; preds = %27
  %31 = load i32, ptr %8, align 4, !tbaa !14
  %32 = icmp sgt i32 %31, -1
  br i1 %32, label %33, label %34

33:                                               ; preds = %30
  store i32 %31, ptr %1, align 4, !tbaa !14
  br label %60

34:                                               ; preds = %30
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 589, 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 %60

35:                                               ; preds = %27
  %36 = load i64, ptr %8, align 8, !tbaa !15
  %or.cond3 = icmp ult i64 %36, 4294967296
  br i1 %or.cond3, label %37, label %39

37:                                               ; preds = %35
  %38 = trunc nuw i64 %36 to i32
  store i32 %38, ptr %1, align 4, !tbaa !14
  br label %60

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

41:                                               ; preds = %39
  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 125, ptr noundef null) #2
  br label %60

42:                                               ; preds = %39
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 600, 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 %60

43:                                               ; preds = %27
  %44 = tail call i32 @general_get_uint(ptr noundef nonnull %0, ptr noundef nonnull %1, i64 noundef 4)
  br label %60

45:                                               ; preds = %11
  %46 = getelementptr inbounds i8, ptr %0, i64 24
  %47 = load i64, ptr %46, align 8, !tbaa !13
  %cond = icmp eq i64 %47, 8
  br i1 %cond, label %48, label %58

48:                                               ; preds = %45
  %49 = load double, ptr %8, align 8, !tbaa !16
  %50 = fcmp oge double %49, 0.000000e+00
  %51 = fcmp ole double %49, 0x41EFFFFFFFE00000
  %or.cond5 = and i1 %50, %51
  br i1 %or.cond5, label %52, label %57

52:                                               ; preds = %48
  %53 = fptoui double %49 to i32
  %54 = uitofp i32 %53 to double
  %55 = fcmp oeq double %49, %54
  br i1 %55, label %56, label %57

56:                                               ; preds = %52
  store i32 %53, ptr %1, align 4, !tbaa !14
  br label %60

57:                                               ; preds = %52, %48
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 616, 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 %60

58:                                               ; preds = %45
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 619, 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 %60

59:                                               ; preds = %11
  tail call void @ERR_new() #2
  tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 623, 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 %60

60:                                               ; preds = %56, %57, %58, %33, %34, %37, %43, %42, %41, %17, %22, %24, %25, %59, %10, %5
  %.3 = phi i32 [ 0, %5 ], [ 0, %10 ], [ 0, %59 ], [ %26, %25 ], [ 1, %22 ], [ 0, %24 ], [ 1, %17 ], [ %44, %43 ], [ 1, %37 ], [ 1, %33 ], [ 0, %34 ], [ 0, %42 ], [ 0, %41 ], [ 1, %56 ], [ 0, %57 ], [ 0, %58 ]
  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, !7, i64 16}
!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, !10, i64 8}
!13 = !{!6, !11, i64 24}
!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