; 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.UapkiNS::AlgorithmIdentifier" = type { %"class.std::__cxx11::basic_string", ptr }
%struct.CertificationRequestInfo = type { %struct.ASN__PRIMITIVE_TYPE_s, %struct.Name, %struct.SubjectPublicKeyInfo, %struct.Attributes, %struct.asn_struct_ctx_s }
%struct.ASN__PRIMITIVE_TYPE_s = type { ptr, i32 }
%struct.Name = type { i32, %"union.Name::Name_u", %struct.asn_struct_ctx_s }
%"union.Name::Name_u" = type { %struct.RDNSequence }
%struct.RDNSequence = type { %struct.anon, %struct.asn_struct_ctx_s }
%struct.anon = type { ptr, i32, i32, ptr }
%struct.SubjectPublicKeyInfo = type { %struct.AlgorithmIdentifier, %struct.BIT_STRING_s, %struct.asn_struct_ctx_s }
%struct.AlgorithmIdentifier = type { %struct.ASN__PRIMITIVE_TYPE_s, ptr, %struct.asn_struct_ctx_s }
%struct.BIT_STRING_s = type { ptr, i32, i32, %struct.asn_struct_ctx_s }
%struct.Attributes = type { %struct.anon.0, %struct.asn_struct_ctx_s }
%struct.anon.0 = type { ptr, i32, i32, ptr }
%struct.asn_struct_ctx_s = type { i16, i16, i32, ptr, i64 }

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS14CertReqBuilder23setSubjectPublicKeyInfoERKNS_19AlgorithmIdentifierEPK12ByteArray_st(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef %2) #2 align 2 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %10 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  %11 = getelementptr inbounds %"class.UapkiNS::CertReqBuilder", ptr %10, i32 0, i32 0
  %12 = load ptr, ptr %11, align 8, !tbaa !11
  %13 = icmp ne ptr %12, null
  br i1 %13, label %14, label %20

14:                                               ; preds = %3
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = call noundef zeroext i1 @_ZNK7UapkiNS19AlgorithmIdentifier9isPresentEv(ptr noundef nonnull align 8 dereferenceable(40) %15)
  br i1 %16, label %17, label %20

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

20:                                               ; preds = %17, %14, %3
  store i32 4101, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %103

21:                                               ; preds = %17
  br label %22

22:                                               ; preds = %21
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.UapkiNS::AlgorithmIdentifier", ptr %23, i32 0, i32 0
  %25 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %24) #4
  %26 = getelementptr inbounds %"class.UapkiNS::CertReqBuilder", ptr %10, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = getelementptr inbounds %struct.CertificationRequestInfo, ptr %27, i32 0, i32 2
  %29 = getelementptr inbounds %struct.SubjectPublicKeyInfo, ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %29, i32 0, i32 0
  %31 = call i32 @asn_set_oid_from_text(ptr noundef %25, ptr noundef %30)
  store i32 %31, ptr %8, align 4, !tbaa !9
  %32 = load i32, ptr %8, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %36

34:                                               ; preds = %22
  %35 = load i32, ptr %8, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 165, i32 noundef %35)
  br label %101

36:                                               ; preds = %22
  br label %37

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %37
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.UapkiNS::AlgorithmIdentifier", ptr %39, i32 0, i32 1
  %41 = load ptr, ptr %40, align 8, !tbaa !16
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %61

43:                                               ; preds = %38
  br label %44

44:                                               ; preds = %43
  %45 = call ptr @get_ANY_desc()
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.UapkiNS::AlgorithmIdentifier", ptr %46, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8, !tbaa !16
  %49 = call ptr @asn_decode_ba_with_alloc(ptr noundef %45, ptr noundef %48)
  %50 = getelementptr inbounds %"class.UapkiNS::CertReqBuilder", ptr %10, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !11
  %52 = getelementptr inbounds %struct.CertificationRequestInfo, ptr %51, i32 0, i32 2
  %53 = getelementptr inbounds %struct.SubjectPublicKeyInfo, ptr %52, i32 0, i32 0
  %54 = getelementptr inbounds %struct.AlgorithmIdentifier, ptr %53, i32 0, i32 1
  store ptr %49, ptr %54, align 8, !tbaa !18
  %55 = icmp eq ptr null, %49
  br i1 %55, label %56, label %58

56:                                               ; preds = %44
  store i32 2, ptr %8, align 4, !tbaa !9
  %57 = load i32, ptr %8, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 167, i32 noundef %57)
  br label %101

58:                                               ; preds = %44
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60, %38
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.UapkiNS::AlgorithmIdentifier", ptr %62, i32 0, i32 0
  %64 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %63) #4
  %65 = call noundef zeroext i1 @_ZN6DstuNS16isDstu4145familyEPKc(ptr noundef %64)
  br i1 %65, label %81, label %66

66:                                               ; preds = %61
  br label %67

67:                                               ; preds = %66
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = getelementptr inbounds %"class.UapkiNS::CertReqBuilder", ptr %10, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8, !tbaa !11
  %71 = getelementptr inbounds %struct.CertificationRequestInfo, ptr %70, i32 0, i32 2
  %72 = getelementptr inbounds %struct.SubjectPublicKeyInfo, ptr %71, i32 0, i32 1
  %73 = call i32 @asn_ba2BITSTRING(ptr noundef %68, ptr noundef %72)
  store i32 %73, ptr %8, align 4, !tbaa !9
  %74 = load i32, ptr %8, align 4, !tbaa !9
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %76, label %78

76:                                               ; preds = %67
  %77 = load i32, ptr %8, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 172, i32 noundef %77)
  br label %101

78:                                               ; preds = %67
  br label %79

79:                                               ; preds = %78
  br label %80

80:                                               ; preds = %79
  br label %96

81:                                               ; preds = %61
  br label %82

82:                                               ; preds = %81
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %"class.UapkiNS::CertReqBuilder", ptr %10, i32 0, i32 0
  %85 = load ptr, ptr %84, align 8, !tbaa !11
  %86 = getelementptr inbounds %struct.CertificationRequestInfo, ptr %85, i32 0, i32 2
  %87 = getelementptr inbounds %struct.SubjectPublicKeyInfo, ptr %86, i32 0, i32 1
  %88 = call noundef i32 @_ZN6DstuNS22ba2BitStringEncapOctetEPK12ByteArray_stP12BIT_STRING_s(ptr noundef %83, ptr noundef %87)
  store i32 %88, ptr %8, align 4, !tbaa !9
  %89 = load i32, ptr %8, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %93

91:                                               ; preds = %82
  %92 = load i32, ptr %8, align 4, !tbaa !9
  call void @stacktrace_add(ptr noundef @.str, i64 noundef 175, i32 noundef %92)
  br label %101

93:                                               ; preds = %82
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  br label %96

96:                                               ; preds = %95, %80
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.UapkiNS::AlgorithmIdentifier", ptr %97, i32 0, i32 0
  %99 = getelementptr inbounds %"class.UapkiNS::CertReqBuilder", ptr %10, i32 0, i32 1
  %100 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull align 8 dereferenceable(32) %98)
  br label %101

101:                                              ; preds = %96, %91, %76, %56, %34
  %102 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %102, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %103

103:                                              ; preds = %101, %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %104 = load i32, ptr %4, align 4
  ret i32 %104
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7UapkiNS19AlgorithmIdentifier9isPresentEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

declare ptr @get_ANY_desc() #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { mustprogress 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!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 32}
!17 = !{!"_ZTSN7UapkiNS19AlgorithmIdentifierE", !13, i64 0, !6, i64 32}
!18 = !{!19, !6, i64 112}
!19 = !{!"_ZTS24CertificationRequestInfo", !20, i64 0, !21, i64 16, !25, i64 96, !28, i64 208, !23, i64 256}
!20 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !6, i64 0, !10, i64 8}
!21 = !{!"_ZTS4Name", !22, i64 0, !7, i64 8, !23, i64 56}
!22 = !{!"_ZTS7Name_PR", !7, i64 0}
!23 = !{!"_ZTS16asn_struct_ctx_s", !24, i64 0, !24, i64 2, !10, i64 4, !6, i64 8, !15, i64 16}
!24 = !{!"short", !7, i64 0}
!25 = !{!"_ZTS20SubjectPublicKeyInfo", !26, i64 0, !27, i64 48, !23, i64 88}
!26 = !{!"_ZTS19AlgorithmIdentifier", !20, i64 0, !6, i64 16, !23, i64 24}
!27 = !{!"_ZTS12BIT_STRING_s", !6, i64 0, !10, i64 8, !10, i64 12, !23, i64 16}
!28 = !{!"_ZTS10Attributes", !29, i64 0, !23, i64 24}
!29 = !{!"_ZTSN10AttributesUt_E", !6, i64 0, !10, i64 8, !10, i64 12, !6, 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 @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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS14CertReqBuilder23setSubjectPublicKeyInfoERKNS_19AlgorithmIdentifierEPK12ByteArray_st(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef %2) local_unnamed_addr #1 align 2 {
  %4 = load ptr, ptr %0, align 8, !tbaa !5
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %39, label %5

5:                                                ; preds = %3
  %6 = tail call noundef zeroext i1 @_ZNK7UapkiNS19AlgorithmIdentifier9isPresentEv(ptr noundef nonnull align 8 dereferenceable(40) %1)
  %7 = icmp ne ptr %2, null
  %or.cond = and i1 %7, %6
  br i1 %or.cond, label %8, label %39

8:                                                ; preds = %5
  %9 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #3
  %10 = load ptr, ptr %0, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 96
  %12 = tail call i32 @asn_set_oid_from_text(ptr noundef %9, ptr noundef nonnull %11)
  %.not26 = icmp eq i32 %12, 0
  br i1 %.not26, label %14, label %13

13:                                               ; preds = %8
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 165, i32 noundef %12)
  br label %39

14:                                               ; preds = %8
  %15 = getelementptr inbounds i8, ptr %1, i64 32
  %16 = load ptr, ptr %15, align 8, !tbaa !13
  %.not27 = icmp eq ptr %16, null
  br i1 %.not27, label %25, label %17

17:                                               ; preds = %14
  %18 = tail call ptr @get_ANY_desc()
  %19 = load ptr, ptr %15, align 8, !tbaa !13
  %20 = tail call ptr @asn_decode_ba_with_alloc(ptr noundef %18, ptr noundef %19)
  %21 = load ptr, ptr %0, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 112
  store ptr %20, ptr %22, align 8, !tbaa !15
  %23 = icmp eq ptr %20, null
  br i1 %23, label %24, label %25

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

25:                                               ; preds = %17, %14
  %26 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #3
  %27 = tail call noundef zeroext i1 @_ZN6DstuNS16isDstu4145familyEPKc(ptr noundef %26)
  %28 = load ptr, ptr %0, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 144
  br i1 %27, label %33, label %30

30:                                               ; preds = %25
  %31 = tail call i32 @asn_ba2BITSTRING(ptr noundef nonnull %2, ptr noundef nonnull %29)
  %.not28 = icmp eq i32 %31, 0
  br i1 %.not28, label %36, label %32

32:                                               ; preds = %30
  tail call void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 172, i32 noundef %31)
  br label %39

33:                                               ; preds = %25
  %34 = tail call noundef i32 @_ZN6DstuNS22ba2BitStringEncapOctetEPK12ByteArray_stP12BIT_STRING_s(ptr noundef nonnull %2, ptr noundef nonnull %29)
  %.not29 = icmp eq i32 %34, 0
  br i1 %.not29, label %36, label %35

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

36:                                               ; preds = %33, %30
  %37 = getelementptr inbounds i8, ptr %0, i64 8
  %38 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %1)
  br label %39

39:                                               ; preds = %13, %24, %32, %35, %36, %3, %5
  %.019 = phi i32 [ 4101, %5 ], [ 4101, %3 ], [ %12, %13 ], [ 2, %24 ], [ %34, %35 ], [ 0, %36 ], [ %31, %32 ]
  ret i32 %.019
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7UapkiNS19AlgorithmIdentifier9isPresentEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

declare ptr @get_ANY_desc() local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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 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 = { mustprogress 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 = { 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 = !{!"_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 32}
!14 = !{!"_ZTSN7UapkiNS19AlgorithmIdentifierE", !10, i64 0, !7, i64 32}
!15 = !{!16, !7, i64 112}
!16 = !{!"_ZTS24CertificationRequestInfo", !17, i64 0, !19, i64 16, !23, i64 96, !26, i64 208, !21, i64 256}
!17 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !7, i64 0, !18, i64 8}
!18 = !{!"int", !8, i64 0}
!19 = !{!"_ZTS4Name", !20, i64 0, !8, i64 8, !21, i64 56}
!20 = !{!"_ZTS7Name_PR", !8, i64 0}
!21 = !{!"_ZTS16asn_struct_ctx_s", !22, i64 0, !22, i64 2, !18, i64 4, !7, i64 8, !12, i64 16}
!22 = !{!"short", !8, i64 0}
!23 = !{!"_ZTS20SubjectPublicKeyInfo", !24, i64 0, !25, i64 48, !21, i64 88}
!24 = !{!"_ZTS19AlgorithmIdentifier", !17, i64 0, !7, i64 16, !21, i64 24}
!25 = !{!"_ZTS12BIT_STRING_s", !7, i64 0, !18, i64 8, !18, i64 12, !21, i64 16}
!26 = !{!"_ZTS10Attributes", !27, i64 0, !21, i64 24}
!27 = !{!"_ZTSN10AttributesUt_E", !7, i64 0, !18, i64 8, !18, i64 12, !7, i64 16}


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