; LLVM IR from openssl/openssl :: providers (legacyprov)

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

@c_new_error = external hidden global ptr, align 8
@c_set_error_debug = external hidden global ptr, align 8
@c_vset_error = external hidden global ptr, align 8
@c_set_error_mark = external hidden global ptr, align 8
@c_clear_last_error_mark = external hidden global ptr, align 8
@c_pop_error_to_mark = external hidden global ptr, align 8
@legacy_dispatch_table = external hidden constant [5 x %struct.ossl_dispatch_st], align 16

; Function Attrs: nounwind uwtable
define dso_local i32 @OSSL_provider_init(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %13 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %13, ptr %11, align 8, !tbaa !5
  br label %14

14:                                               ; preds = %108, %4
  %15 = load ptr, ptr %11, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.ossl_dispatch_st, ptr %15, i32 0, i32 0
  %17 = load i32, ptr %16, align 8, !tbaa !9
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %111

19:                                               ; preds = %14
  %20 = load ptr, ptr %11, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ossl_dispatch_st, ptr %20, i32 0, i32 0
  %22 = load i32, ptr %21, align 8, !tbaa !9
  switch i32 %22, label %107 [
    i32 5, label %23
    i32 6, label %37
    i32 7, label %51
    i32 8, label %65
    i32 9, label %79
    i32 10, label %93
  ]

23:                                               ; preds = %19
  %24 = load ptr, ptr @c_new_error, align 8, !tbaa !5
  %25 = icmp eq ptr %24, null
  br i1 %25, label %26, label %29

26:                                               ; preds = %23
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  %28 = call ptr @OSSL_FUNC_core_new_error(ptr noundef %27)
  store ptr %28, ptr @c_new_error, align 8, !tbaa !5
  br label %36

29:                                               ; preds = %23
  %30 = load ptr, ptr @c_new_error, align 8, !tbaa !5
  %31 = load ptr, ptr %11, align 8, !tbaa !5
  %32 = call ptr @OSSL_FUNC_core_new_error(ptr noundef %31)
  %33 = icmp ne ptr %30, %32
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  store i32 0, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %133

35:                                               ; preds = %29
  br label %36

36:                                               ; preds = %35, %26
  br label %107

37:                                               ; preds = %19
  %38 = load ptr, ptr @c_set_error_debug, align 8, !tbaa !5
  %39 = icmp eq ptr %38, null
  br i1 %39, label %40, label %43

40:                                               ; preds = %37
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = call ptr @OSSL_FUNC_core_set_error_debug(ptr noundef %41)
  store ptr %42, ptr @c_set_error_debug, align 8, !tbaa !5
  br label %50

43:                                               ; preds = %37
  %44 = load ptr, ptr @c_set_error_debug, align 8, !tbaa !5
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = call ptr @OSSL_FUNC_core_set_error_debug(ptr noundef %45)
  %47 = icmp ne ptr %44, %46
  br i1 %47, label %48, label %49

48:                                               ; preds = %43
  store i32 0, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %133

49:                                               ; preds = %43
  br label %50

50:                                               ; preds = %49, %40
  br label %107

51:                                               ; preds = %19
  %52 = load ptr, ptr @c_vset_error, align 8, !tbaa !5
  %53 = icmp eq ptr %52, null
  br i1 %53, label %54, label %57

54:                                               ; preds = %51
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = call ptr @OSSL_FUNC_core_vset_error(ptr noundef %55)
  store ptr %56, ptr @c_vset_error, align 8, !tbaa !5
  br label %64

57:                                               ; preds = %51
  %58 = load ptr, ptr @c_vset_error, align 8, !tbaa !5
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = call ptr @OSSL_FUNC_core_vset_error(ptr noundef %59)
  %61 = icmp ne ptr %58, %60
  br i1 %61, label %62, label %63

62:                                               ; preds = %57
  store i32 0, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %133

63:                                               ; preds = %57
  br label %64

64:                                               ; preds = %63, %54
  br label %107

65:                                               ; preds = %19
  %66 = load ptr, ptr @c_set_error_mark, align 8, !tbaa !5
  %67 = icmp eq ptr %66, null
  br i1 %67, label %68, label %71

68:                                               ; preds = %65
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = call ptr @OSSL_FUNC_core_set_error_mark(ptr noundef %69)
  store ptr %70, ptr @c_set_error_mark, align 8, !tbaa !5
  br label %78

71:                                               ; preds = %65
  %72 = load ptr, ptr @c_set_error_mark, align 8, !tbaa !5
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = call ptr @OSSL_FUNC_core_set_error_mark(ptr noundef %73)
  %75 = icmp ne ptr %72, %74
  br i1 %75, label %76, label %77

76:                                               ; preds = %71
  store i32 0, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %133

77:                                               ; preds = %71
  br label %78

78:                                               ; preds = %77, %68
  br label %107

79:                                               ; preds = %19
  %80 = load ptr, ptr @c_clear_last_error_mark, align 8, !tbaa !5
  %81 = icmp eq ptr %80, null
  br i1 %81, label %82, label %85

82:                                               ; preds = %79
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = call ptr @OSSL_FUNC_core_clear_last_error_mark(ptr noundef %83)
  store ptr %84, ptr @c_clear_last_error_mark, align 8, !tbaa !5
  br label %92

85:                                               ; preds = %79
  %86 = load ptr, ptr @c_clear_last_error_mark, align 8, !tbaa !5
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = call ptr @OSSL_FUNC_core_clear_last_error_mark(ptr noundef %87)
  %89 = icmp ne ptr %86, %88
  br i1 %89, label %90, label %91

90:                                               ; preds = %85
  store i32 0, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %133

91:                                               ; preds = %85
  br label %92

92:                                               ; preds = %91, %82
  br label %107

93:                                               ; preds = %19
  %94 = load ptr, ptr @c_pop_error_to_mark, align 8, !tbaa !5
  %95 = icmp eq ptr %94, null
  br i1 %95, label %96, label %99

96:                                               ; preds = %93
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  %98 = call ptr @OSSL_FUNC_core_pop_error_to_mark(ptr noundef %97)
  store ptr %98, ptr @c_pop_error_to_mark, align 8, !tbaa !5
  br label %106

99:                                               ; preds = %93
  %100 = load ptr, ptr @c_pop_error_to_mark, align 8, !tbaa !5
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = call ptr @OSSL_FUNC_core_pop_error_to_mark(ptr noundef %101)
  %103 = icmp ne ptr %100, %102
  br i1 %103, label %104, label %105

104:                                              ; preds = %99
  store i32 0, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %133

105:                                              ; preds = %99
  br label %106

106:                                              ; preds = %105, %96
  br label %107

107:                                              ; preds = %106, %92, %78, %64, %50, %36, %19
  br label %108

108:                                              ; preds = %107
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ossl_dispatch_st, ptr %109, i32 1
  store ptr %110, ptr %11, align 8, !tbaa !5
  br label %14, !llvm.loop !12

111:                                              ; preds = %14
  %112 = call ptr @ossl_prov_ctx_new()
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %112, ptr %113, align 8, !tbaa !5
  %114 = icmp eq ptr %112, null
  br i1 %114, label %120, label %115

115:                                              ; preds = %111
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = call ptr @OSSL_LIB_CTX_new_child(ptr noundef %116, ptr noundef %117)
  store ptr %118, ptr %10, align 8, !tbaa !5
  %119 = icmp eq ptr %118, null
  br i1 %119, label %120, label %125

120:                                              ; preds = %115, %111
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  call void @OSSL_LIB_CTX_free(ptr noundef %121)
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  call void @legacy_teardown(ptr noundef %123)
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr null, ptr %124, align 8, !tbaa !5
  store i32 0, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %133

125:                                              ; preds = %115
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  call void @ossl_prov_ctx_set0_libctx(ptr noundef %127, ptr noundef %128)
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = load ptr, ptr %129, align 8, !tbaa !5
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  call void @ossl_prov_ctx_set0_handle(ptr noundef %130, ptr noundef %131)
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr @legacy_dispatch_table, ptr %132, align 8, !tbaa !5
  store i32 1, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %133

133:                                              ; preds = %125, %120, %104, %90, %76, %62, %48, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %134 = load i32, ptr %5, align 4
  ret i32 %134
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_new_error(ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_set_error_debug(ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_vset_error(ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_set_error_mark(ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_clear_last_error_mark(ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_pop_error_to_mark(ptr noundef) #2

declare ptr @ossl_prov_ctx_new() #3

declare ptr @OSSL_LIB_CTX_new_child(ptr noundef, ptr noundef) #3

declare void @OSSL_LIB_CTX_free(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden void @legacy_teardown(ptr noundef) #0

declare void @ossl_prov_ctx_set0_libctx(ptr noundef, ptr noundef) #3

declare void @ossl_prov_ctx_set0_handle(ptr noundef, ptr noundef) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #3 = { "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 #4 = { 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 0}
!10 = !{!"ossl_dispatch_st", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


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

%struct.ossl_dispatch_st = type { i32, ptr }

@c_new_error = external hidden local_unnamed_addr global ptr, align 8
@c_set_error_debug = external hidden local_unnamed_addr global ptr, align 8
@c_vset_error = external hidden local_unnamed_addr global ptr, align 8
@c_set_error_mark = external hidden local_unnamed_addr global ptr, align 8
@c_clear_last_error_mark = external hidden local_unnamed_addr global ptr, align 8
@c_pop_error_to_mark = external hidden local_unnamed_addr global ptr, align 8
@legacy_dispatch_table = external hidden constant [5 x %struct.ossl_dispatch_st], align 16

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @OSSL_provider_init(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3) local_unnamed_addr #0 {
  br label %5

5:                                                ; preds = %43, %4
  %.0 = phi ptr [ %1, %4 ], [ %44, %43 ]
  %6 = load i32, ptr %.0, align 8, !tbaa !5
  switch i32 %6, label %43 [
    i32 0, label %45
    i32 5, label %7
    i32 6, label %13
    i32 7, label %19
    i32 8, label %25
    i32 9, label %31
    i32 10, label %37
  ]

7:                                                ; preds = %5
  %8 = load ptr, ptr @c_new_error, align 8, !tbaa !11
  %9 = icmp eq ptr %8, null
  %10 = tail call ptr @OSSL_FUNC_core_new_error(ptr noundef nonnull %.0)
  br i1 %9, label %11, label %12

11:                                               ; preds = %7
  store ptr %10, ptr @c_new_error, align 8, !tbaa !11
  br label %43

12:                                               ; preds = %7
  %.not42 = icmp eq ptr %8, %10
  br i1 %.not42, label %43, label %.loopexit

13:                                               ; preds = %5
  %14 = load ptr, ptr @c_set_error_debug, align 8, !tbaa !11
  %15 = icmp eq ptr %14, null
  %16 = tail call ptr @OSSL_FUNC_core_set_error_debug(ptr noundef nonnull %.0)
  br i1 %15, label %17, label %18

17:                                               ; preds = %13
  store ptr %16, ptr @c_set_error_debug, align 8, !tbaa !11
  br label %43

18:                                               ; preds = %13
  %.not41 = icmp eq ptr %14, %16
  br i1 %.not41, label %43, label %.loopexit

19:                                               ; preds = %5
  %20 = load ptr, ptr @c_vset_error, align 8, !tbaa !11
  %21 = icmp eq ptr %20, null
  %22 = tail call ptr @OSSL_FUNC_core_vset_error(ptr noundef nonnull %.0)
  br i1 %21, label %23, label %24

23:                                               ; preds = %19
  store ptr %22, ptr @c_vset_error, align 8, !tbaa !11
  br label %43

24:                                               ; preds = %19
  %.not40 = icmp eq ptr %20, %22
  br i1 %.not40, label %43, label %.loopexit

25:                                               ; preds = %5
  %26 = load ptr, ptr @c_set_error_mark, align 8, !tbaa !11
  %27 = icmp eq ptr %26, null
  %28 = tail call ptr @OSSL_FUNC_core_set_error_mark(ptr noundef nonnull %.0)
  br i1 %27, label %29, label %30

29:                                               ; preds = %25
  store ptr %28, ptr @c_set_error_mark, align 8, !tbaa !11
  br label %43

30:                                               ; preds = %25
  %.not39 = icmp eq ptr %26, %28
  br i1 %.not39, label %43, label %.loopexit

31:                                               ; preds = %5
  %32 = load ptr, ptr @c_clear_last_error_mark, align 8, !tbaa !11
  %33 = icmp eq ptr %32, null
  %34 = tail call ptr @OSSL_FUNC_core_clear_last_error_mark(ptr noundef nonnull %.0)
  br i1 %33, label %35, label %36

35:                                               ; preds = %31
  store ptr %34, ptr @c_clear_last_error_mark, align 8, !tbaa !11
  br label %43

36:                                               ; preds = %31
  %.not38 = icmp eq ptr %32, %34
  br i1 %.not38, label %43, label %.loopexit

37:                                               ; preds = %5
  %38 = load ptr, ptr @c_pop_error_to_mark, align 8, !tbaa !11
  %39 = icmp eq ptr %38, null
  %40 = tail call ptr @OSSL_FUNC_core_pop_error_to_mark(ptr noundef nonnull %.0)
  br i1 %39, label %41, label %42

41:                                               ; preds = %37
  store ptr %40, ptr @c_pop_error_to_mark, align 8, !tbaa !11
  br label %43

42:                                               ; preds = %37
  %.not37 = icmp eq ptr %38, %40
  br i1 %.not37, label %43, label %.loopexit

43:                                               ; preds = %5, %12, %11, %18, %17, %24, %23, %30, %29, %36, %35, %42, %41
  %44 = getelementptr inbounds i8, ptr %.0, i64 16
  br label %5, !llvm.loop !12

45:                                               ; preds = %5
  %46 = tail call ptr @ossl_prov_ctx_new() #3
  store ptr %46, ptr %3, align 8, !tbaa !11
  %47 = icmp eq ptr %46, null
  br i1 %47, label %51, label %48

48:                                               ; preds = %45
  %49 = tail call ptr @OSSL_LIB_CTX_new_child(ptr noundef %0, ptr noundef %1) #3
  %50 = icmp eq ptr %49, null
  br i1 %50, label %51, label %53

51:                                               ; preds = %48, %45
  tail call void @OSSL_LIB_CTX_free(ptr noundef null) #3
  %52 = load ptr, ptr %3, align 8, !tbaa !11
  tail call void @legacy_teardown(ptr noundef %52)
  store ptr null, ptr %3, align 8, !tbaa !11
  br label %.loopexit

53:                                               ; preds = %48
  %54 = load ptr, ptr %3, align 8, !tbaa !11
  tail call void @ossl_prov_ctx_set0_libctx(ptr noundef %54, ptr noundef nonnull %49) #3
  %55 = load ptr, ptr %3, align 8, !tbaa !11
  tail call void @ossl_prov_ctx_set0_handle(ptr noundef %55, ptr noundef %0) #3
  store ptr @legacy_dispatch_table, ptr %2, align 8, !tbaa !11
  br label %.loopexit

.loopexit:                                        ; preds = %42, %36, %30, %24, %18, %12, %53, %51
  %.028 = phi i32 [ 0, %51 ], [ 1, %53 ], [ 0, %12 ], [ 0, %18 ], [ 0, %24 ], [ 0, %30 ], [ 0, %36 ], [ 0, %42 ]
  ret i32 %.028
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_new_error(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_set_error_debug(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_vset_error(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_set_error_mark(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_clear_last_error_mark(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @OSSL_FUNC_core_pop_error_to_mark(ptr noundef) local_unnamed_addr #1

declare ptr @ossl_prov_ctx_new() local_unnamed_addr #2

declare ptr @OSSL_LIB_CTX_new_child(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @OSSL_LIB_CTX_free(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @legacy_teardown(ptr noundef) local_unnamed_addr #0

declare void @ossl_prov_ctx_set0_libctx(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @ossl_prov_ctx_set0_handle(ptr noundef, ptr noundef) local_unnamed_addr #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 = { 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" }
attributes #2 = { "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 #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, !7, i64 0}
!6 = !{!"ossl_dispatch_st", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass