; LLVM IR from specinfo-ua/UAPKI :: library/common/pkix (certreq-builder)

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

%"class.UapkiNS::CertReqBuilder" = type { ptr, %"class.std::__cxx11::basic_string", ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.X509Tbs = type { %struct.ANY, %struct.AlgorithmIdentifier, %struct.BIT_STRING_s, %struct.asn_struct_ctx_s }
%struct.ANY = type { ptr, i32, %struct.asn_struct_ctx_s }
%struct.AlgorithmIdentifier = type { %struct.ASN__PRIMITIVE_TYPE_s, ptr, %struct.asn_struct_ctx_s }
%struct.ASN__PRIMITIVE_TYPE_s = type { ptr, i32 }
%struct.BIT_STRING_s = type { ptr, i32, i32, %struct.asn_struct_ctx_s }
%struct.asn_struct_ctx_s = type { i16, i16, i32, ptr, i64 }

@.str = external hidden unnamed_addr constant [32 x i8], align 1

declare void @asn_free(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 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

declare i32 @asn_decode_ba(ptr noundef, ptr noundef, ptr noundef) #0

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) #0

declare noundef zeroext i1 @_ZN6DstuNS16isDstu4145familyEPKc(ptr noundef) #0

declare i32 @asn_ba2BITSTRING(ptr noundef, ptr noundef) #0

declare noundef i32 @_ZN6DstuNS22ba2BitStringEncapOctetEPK12ByteArray_stP12BIT_STRING_s(ptr noundef, ptr noundef) #0

declare i32 @asn_set_oid_from_text(ptr noundef, ptr noundef) #0

declare ptr @asn_decode_ba_with_alloc(ptr noundef, ptr noundef) #0

declare ptr @get_ANY_desc() #0

declare i32 @asn_encode_ba(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS14CertReqBuilder17encodeCertRequestEPKcPK12ByteArray_stS5_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #3 align 2 {
  %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 i32, align 4
  %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
  %13 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store ptr null, ptr %11, align 8, !tbaa !5
  %14 = getelementptr inbounds %"class.UapkiNS::CertReqBuilder", ptr %13, i32 0, i32 2
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %23

17:                                               ; preds = %4
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %23

20:                                               ; preds = %17
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %24, label %23

23:                                               ; preds = %20, %17, %4
  store i32 4101, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %123

24:                                               ; preds = %20
  %25 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 152) #5
  store ptr %25, ptr %11, align 8, !tbaa !5
  br label %26

26:                                               ; preds = %24
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  %28 = icmp eq ptr %27, null
  br i1 %28, label %29, label %31

29:                                               ; preds = %26
  store i32 1, ptr %10, align 4, !tbaa !9
  %30 = load i32, ptr %10, align 4, !tbaa !9
  call void @stacktrace_create(ptr noundef @.str, i64 noundef 251, i32 noundef %30, ptr noundef null)
  br label %119

31:                                               ; preds = %26
  br label %32

32:                                               ; preds = %31
  br label %33

33:                                               ; preds = %32
  br label %34

34:                                               ; preds = %33
  %35 = call ptr @get_ANY_desc()
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.X509Tbs, ptr %36, i32 0, i32 0
  %38 = getelementptr inbounds %"class.UapkiNS::CertReqBuilder", ptr %13, i32 0, i32 2
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  %40 = call i32 @asn_decode_ba(ptr noundef %35, ptr noundef %37, ptr noundef %39)
  store i32 %40, ptr %10, align 4, !tbaa !9
  %41 = load i32, ptr %10, align 4, !tbaa !9
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %45

43:                                               ; preds = %34
  %44 = load i32, ptr %10, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 254, i32 noundef %44)
  br label %119

45:                                               ; preds = %34
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  br label %48

48:                                               ; preds = %47
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = load ptr, ptr %11, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.X509Tbs, ptr %50, i32 0, i32 1
  %52 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %51, i32 0, i32 0
  %53 = call i32 @asn_set_oid_from_text(ptr noundef %49, ptr noundef %52)
  store i32 %53, ptr %10, align 4, !tbaa !9
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %58

56:                                               ; preds = %48
  %57 = load i32, ptr %10, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 257, i32 noundef %57)
  br label %119

58:                                               ; preds = %48
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %77

63:                                               ; preds = %60
  br label %64

64:                                               ; preds = %63
  %65 = call ptr @get_ANY_desc()
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = call ptr @asn_decode_ba_with_alloc(ptr noundef %65, ptr noundef %66)
  %68 = load ptr, ptr %11, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.X509Tbs, ptr %68, i32 0, i32 1
  %70 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %69, i32 0, i32 1
  store ptr %67, ptr %70, align 8, !tbaa !16
  %71 = icmp eq ptr null, %67
  br i1 %71, label %72, label %74

72:                                               ; preds = %64
  store i32 2, ptr %10, align 4, !tbaa !9
  %73 = load i32, ptr %10, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 260, i32 noundef %73)
  br label %119

74:                                               ; preds = %64
  br label %75

75:                                               ; preds = %74
  br label %76

76:                                               ; preds = %75
  br label %77

77:                                               ; preds = %76, %60
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = call noundef zeroext i1 @_ZN6DstuNS16isDstu4145familyEPKc(ptr noundef %78)
  br i1 %79, label %80, label %93

80:                                               ; preds = %77
  br label %81

81:                                               ; preds = %80
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.X509Tbs, ptr %83, i32 0, i32 2
  %85 = call noundef i32 @_ZN6DstuNS22ba2BitStringEncapOctetEPK12ByteArray_stP12BIT_STRING_s(ptr noundef %82, ptr noundef %84)
  store i32 %85, ptr %10, align 4, !tbaa !9
  %86 = load i32, ptr %10, align 4, !tbaa !9
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %90

88:                                               ; preds = %81
  %89 = load i32, ptr %10, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 265, i32 noundef %89)
  br label %119

90:                                               ; preds = %81
  br label %91

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  br label %106

93:                                               ; preds = %77
  br label %94

94:                                               ; preds = %93
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.X509Tbs, ptr %96, i32 0, i32 2
  %98 = call i32 @asn_ba2BITSTRING(ptr noundef %95, ptr noundef %97)
  store i32 %98, ptr %10, align 4, !tbaa !9
  %99 = load i32, ptr %10, align 4, !tbaa !9
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %103

101:                                              ; preds = %94
  %102 = load i32, ptr %10, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 268, i32 noundef %102)
  br label %119

103:                                              ; preds = %94
  br label %104

104:                                              ; preds = %103
  br label %105

105:                                              ; preds = %104
  br label %106

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

107:                                              ; preds = %106
  %108 = call ptr @get_X509Tbs_desc()
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = getelementptr inbounds %"class.UapkiNS::CertReqBuilder", ptr %13, i32 0, i32 3
  %111 = call i32 @asn_encode_ba(ptr noundef %108, ptr noundef %109, ptr noundef %110)
  store i32 %111, ptr %10, align 4, !tbaa !9
  %112 = load i32, ptr %10, align 4, !tbaa !9
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %116

114:                                              ; preds = %107
  %115 = load i32, ptr %10, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 272, i32 noundef %115)
  br label %119

116:                                              ; preds = %107
  br label %117

117:                                              ; preds = %116
  br label %118

118:                                              ; preds = %117
  br label %119

119:                                              ; preds = %118, %114, %101, %88, %72, %56, %43, %29
  %120 = call ptr @get_X509Tbs_desc()
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  call void @asn_free(ptr noundef %120, ptr noundef %121)
  %122 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %122, ptr %5, align 4
  store i32 1, ptr %12, align 4
  br label %123

123:                                              ; preds = %119, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %124 = load i32, ptr %5, align 4
  ret i32 %124
}

declare void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #0

declare ptr @get_X509Tbs_desc() #0

attributes #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 = { nounwind allocsize(0,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 = { mustprogress 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 #4 = { nounwind }
attributes #5 = { nounwind allocsize(0,1) }

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 40}
!12 = !{!"_ZTSN7UapkiNS14CertReqBuilderE", !6, i64 0, !13, i64 8, !6, i64 40, !6, i64 48}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !6, i64 56}
!17 = !{!"_ZTS7X509Tbs", !18, i64 0, !21, i64 40, !23, i64 88, !19, i64 128}
!18 = !{!"_ZTS3ANY", !6, i64 0, !10, i64 8, !19, i64 16}
!19 = !{!"_ZTS16asn_struct_ctx_s", !20, i64 0, !20, i64 2, !10, i64 4, !6, i64 8, !15, i64 16}
!20 = !{!"short", !7, i64 0}
!21 = !{!"_ZTS19AlgorithmIdentifier", !22, i64 0, !6, i64 16, !19, i64 24}
!22 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !6, i64 0, !10, i64 8}
!23 = !{!"_ZTS12BIT_STRING_s", !6, i64 0, !10, i64 8, !10, i64 12, !19, i64 16}


; 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 [32 x i8], align 1

declare void @asn_free(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #1

declare i32 @asn_decode_ba(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @stacktrace_add(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_ZN6DstuNS16isDstu4145familyEPKc(ptr noundef) local_unnamed_addr #0

declare i32 @asn_ba2BITSTRING(ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef i32 @_ZN6DstuNS22ba2BitStringEncapOctetEPK12ByteArray_stP12BIT_STRING_s(ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @asn_set_oid_from_text(ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @asn_decode_ba_with_alloc(ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @get_ANY_desc() local_unnamed_addr #0

declare i32 @asn_encode_ba(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS14CertReqBuilder17encodeCertRequestEPKcPK12ByteArray_stS5_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = icmp ne ptr %6, null
  %8 = icmp ne ptr %1, null
  %or.cond = and i1 %8, %7
  %9 = icmp ne ptr %3, null
  %or.cond3 = and i1 %9, %or.cond
  br i1 %or.cond3, label %10, label %46

10:                                               ; preds = %4
  %11 = tail call noalias dereferenceable_or_null(152) ptr @calloc(i64 noundef 1, i64 noundef 152) #3
  %12 = icmp eq ptr %11, null
  br i1 %12, label %13, label %14

13:                                               ; preds = %10
  tail call void @stacktrace_create(ptr noundef nonnull @.str, i64 noundef 251, i32 noundef 1, ptr noundef null)
  br label %44

14:                                               ; preds = %10
  %15 = tail call ptr @get_ANY_desc()
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = tail call i32 @asn_decode_ba(ptr noundef %15, ptr noundef nonnull %11, ptr noundef %16)
  %.not = icmp eq i32 %17, 0
  br i1 %.not, label %19, label %18

18:                                               ; preds = %14
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 254, i32 noundef %17)
  br label %44

19:                                               ; preds = %14
  %20 = getelementptr inbounds i8, ptr %11, i64 40
  %21 = tail call i32 @asn_set_oid_from_text(ptr noundef nonnull %1, ptr noundef nonnull %20)
  %.not43 = icmp eq i32 %21, 0
  br i1 %.not43, label %23, label %22

22:                                               ; preds = %19
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 257, i32 noundef %21)
  br label %44

23:                                               ; preds = %19
  %.not44 = icmp eq ptr %2, null
  br i1 %.not44, label %30, label %24

24:                                               ; preds = %23
  %25 = tail call ptr @get_ANY_desc()
  %26 = tail call ptr @asn_decode_ba_with_alloc(ptr noundef %25, ptr noundef nonnull %2)
  %27 = getelementptr inbounds i8, ptr %11, i64 56
  store ptr %26, ptr %27, align 8, !tbaa !13
  %28 = icmp eq ptr %26, null
  br i1 %28, label %29, label %30

29:                                               ; preds = %24
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 260, i32 noundef 2)
  br label %44

30:                                               ; preds = %24, %23
  %31 = tail call noundef zeroext i1 @_ZN6DstuNS16isDstu4145familyEPKc(ptr noundef nonnull %1)
  %32 = getelementptr inbounds i8, ptr %11, i64 88
  br i1 %31, label %33, label %36

33:                                               ; preds = %30
  %34 = tail call noundef i32 @_ZN6DstuNS22ba2BitStringEncapOctetEPK12ByteArray_stP12BIT_STRING_s(ptr noundef nonnull %3, ptr noundef nonnull %32)
  %.not46 = icmp eq i32 %34, 0
  br i1 %.not46, label %39, label %35

35:                                               ; preds = %33
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 265, i32 noundef %34)
  br label %44

36:                                               ; preds = %30
  %37 = tail call i32 @asn_ba2BITSTRING(ptr noundef nonnull %3, ptr noundef nonnull %32)
  %.not45 = icmp eq i32 %37, 0
  br i1 %.not45, label %39, label %38

38:                                               ; preds = %36
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 268, i32 noundef %37)
  br label %44

39:                                               ; preds = %33, %36
  %40 = tail call ptr @get_X509Tbs_desc()
  %41 = getelementptr inbounds i8, ptr %0, i64 48
  %42 = tail call i32 @asn_encode_ba(ptr noundef %40, ptr noundef nonnull %11, ptr noundef nonnull %41)
  %.not47 = icmp eq i32 %42, 0
  br i1 %.not47, label %44, label %43

43:                                               ; preds = %39
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 272, i32 noundef %42)
  br label %44

44:                                               ; preds = %39, %43, %38, %35, %29, %22, %18, %13
  %.0 = phi i32 [ 1, %13 ], [ %17, %18 ], [ %21, %22 ], [ 2, %29 ], [ %34, %35 ], [ %42, %43 ], [ 0, %39 ], [ %37, %38 ]
  %45 = tail call ptr @get_X509Tbs_desc()
  tail call void @asn_free(ptr noundef %45, ptr noundef %11)
  br label %46

46:                                               ; preds = %4, %44
  %.033 = phi i32 [ %.0, %44 ], [ 4101, %4 ]
  ret i32 %.033
}

declare void @stacktrace_create(ptr noundef, i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare ptr @get_X509Tbs_desc() local_unnamed_addr #0

attributes #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 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress 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 = { nounwind allocsize(0,1) }

!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 40}
!6 = !{!"_ZTSN7UapkiNS14CertReqBuilderE", !7, i64 0, !10, i64 8, !7, i64 40, !7, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !12, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 56}
!14 = !{!"_ZTS7X509Tbs", !15, i64 0, !19, i64 40, !21, i64 88, !17, i64 128}
!15 = !{!"_ZTS3ANY", !7, i64 0, !16, i64 8, !17, i64 16}
!16 = !{!"int", !8, i64 0}
!17 = !{!"_ZTS16asn_struct_ctx_s", !18, i64 0, !18, i64 2, !16, i64 4, !7, i64 8, !12, i64 16}
!18 = !{!"short", !8, i64 0}
!19 = !{!"_ZTS19AlgorithmIdentifier", !20, i64 0, !7, i64 16, !17, i64 24}
!20 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !7, i64 0, !16, i64 8}
!21 = !{!"_ZTS12BIT_STRING_s", !7, i64 0, !16, i64 8, !16, i64 12, !17, i64 16}


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