; LLVM IR from specinfo-ua/UAPKI :: library/common/pkix (signeddata-helper)

; 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::SmartBA" = type { ptr }
%"class.UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo" = type { ptr, ptr, ptr, i64, ptr, ptr, %"class.std::__cxx11::basic_string" }
%"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.SignerInfo = type { %struct.ASN__PRIMITIVE_TYPE_s, %struct.ANY, %struct.AlgorithmIdentifier, %struct.ANY, %struct.AlgorithmIdentifier, %struct.OCTET_STRING, ptr, %struct.asn_struct_ctx_s }
%struct.ASN__PRIMITIVE_TYPE_s = type { ptr, i32 }
%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.OCTET_STRING = type { ptr, i32, %struct.asn_struct_ctx_s }
%struct.asn_struct_ctx_s = type { i16, i16, i32, ptr, i64 }

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

declare i32 @__gxx_personality_v0(...)

; 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 i32 @asn_encode_ba(ptr noundef, ptr noundef, ptr noundef) #1

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

declare ptr @get_Attributes_desc() #1

declare ptr @get_ANY_desc() #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK7UapkiNS7SmartBA3getEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

declare i32 @ba_set_byte(ptr noundef, i64 noundef, i8 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfo19encodeUnsignedAttrsEv(ptr noundef nonnull align 8 dereferenceable(80) %0) #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.UapkiNS::SmartBA", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  %10 = getelementptr inbounds %"class.UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo", ptr %9, i32 0, i32 0
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %12 = icmp ne ptr %11, null
  br i1 %12, label %14, label %13

13:                                               ; preds = %1
  store i32 4101, ptr %2, align 4
  br label %77

14:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !15
  %15 = getelementptr inbounds %"class.UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo", ptr %9, i32 0, i32 2
  %16 = load ptr, ptr %15, align 8, !tbaa !17
  %17 = icmp ne ptr %16, null
  br i1 %17, label %18, label %73

18:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5)
  br label %19

19:                                               ; preds = %18
  %20 = invoke ptr @get_Attributes_desc()
          to label %21 unwind label %33

21:                                               ; preds = %19
  %22 = getelementptr inbounds %"class.UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo", ptr %9, i32 0, i32 2
  %23 = load ptr, ptr %22, align 8, !tbaa !17
  %24 = invoke noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %25 unwind label %33

25:                                               ; preds = %21
  %26 = invoke i32 @asn_encode_ba(ptr noundef %20, ptr noundef %23, ptr noundef %24)
          to label %27 unwind label %33

27:                                               ; preds = %25
  store i32 %26, ptr %4, align 4, !tbaa !15
  %28 = load i32, ptr %4, align 4, !tbaa !15
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %37

30:                                               ; preds = %27
  %31 = load i32, ptr %4, align 4, !tbaa !15
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 498, i32 noundef %31)
          to label %32 unwind label %33

32:                                               ; preds = %30
  store i32 4, ptr %8, align 4
  br label %70

33:                                               ; preds = %64, %57, %55, %53, %47, %42, %40, %30, %25, %21, %19
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %6, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %7, align 4
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %79

37:                                               ; preds = %27
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39
  %41 = invoke noundef ptr @_ZNK7UapkiNS7SmartBA3getEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %42 unwind label %33

42:                                               ; preds = %40
  %43 = invoke i32 @ba_set_byte(ptr noundef %41, i64 noundef 0, i8 noundef zeroext -95)
          to label %44 unwind label %33

44:                                               ; preds = %42
  store i32 %43, ptr %4, align 4, !tbaa !15
  %45 = load i32, ptr %4, align 4, !tbaa !15
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %50

47:                                               ; preds = %44
  %48 = load i32, ptr %4, align 4, !tbaa !15
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 499, i32 noundef %48)
          to label %49 unwind label %33

49:                                               ; preds = %47
  store i32 4, ptr %8, align 4
  br label %70

50:                                               ; preds = %44
  br label %51

51:                                               ; preds = %50
  br label %52

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52
  %54 = invoke ptr @get_ANY_desc()
          to label %55 unwind label %33

55:                                               ; preds = %53
  %56 = invoke noundef ptr @_ZNK7UapkiNS7SmartBA3getEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %57 unwind label %33

57:                                               ; preds = %55
  %58 = invoke ptr @asn_decode_ba_with_alloc(ptr noundef %54, ptr noundef %56)
          to label %59 unwind label %33

59:                                               ; preds = %57
  %60 = getelementptr inbounds %"class.UapkiNS::Pkcs7::SignedDataBuilder::SignerInfo", ptr %9, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !9
  %62 = getelementptr inbounds %struct.SignerInfo, ptr %61, i32 0, i32 6
  store ptr %58, ptr %62, align 8, !tbaa !18
  %63 = icmp eq ptr null, %58
  br i1 %63, label %64, label %67

64:                                               ; preds = %59
  store i32 2, ptr %4, align 4, !tbaa !15
  %65 = load i32, ptr %4, align 4, !tbaa !15
  invoke void @stacktrace_add(ptr noundef @.str, i64 noundef 500, i32 noundef %65)
          to label %66 unwind label %33

66:                                               ; preds = %64
  store i32 4, ptr %8, align 4
  br label %70

67:                                               ; preds = %59
  br label %68

68:                                               ; preds = %67
  br label %69

69:                                               ; preds = %68
  store i32 0, ptr %8, align 4
  br label %70

70:                                               ; preds = %69, %66, %49, %32
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  %71 = load i32, ptr %8, align 4
  switch i32 %71, label %76 [
    i32 0, label %72
    i32 4, label %74
  ]

72:                                               ; preds = %70
  br label %73

73:                                               ; preds = %72, %14
  br label %74

74:                                               ; preds = %73, %70
  %75 = load i32, ptr %4, align 4, !tbaa !15
  store i32 %75, ptr %2, align 4
  store i32 1, ptr %8, align 4
  br label %76

76:                                               ; preds = %74, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %77

77:                                               ; preds = %76, %13
  %78 = load i32, ptr %2, align 4
  ret i32 %78

79:                                               ; preds = %33
  %80 = load ptr, ptr %6, align 8
  %81 = load i32, ptr %7, align 4
  %82 = insertvalue { ptr, i32 } poison, ptr %80, 0
  %83 = insertvalue { ptr, i32 } %82, i32 %81, 1
  resume { ptr, i32 } %83
}

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 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 = { 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 }

!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, !6, i64 0}
!10 = !{!"_ZTSN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfoE", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !6, i64 40, !12, i64 48}
!11 = !{!"_ZTSN7UapkiNS5Pkcs720SignerIdentifierTypeE", !7, i64 0}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !14, i64 8, !7, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!10, !6, i64 16}
!18 = !{!19, !6, i64 232}
!19 = !{!"_ZTS10SignerInfo", !20, i64 0, !21, i64 16, !24, i64 56, !21, i64 104, !24, i64 144, !25, i64 192, !6, i64 232, !22, i64 240}
!20 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !6, i64 0, !16, i64 8}
!21 = !{!"_ZTS3ANY", !6, i64 0, !16, i64 8, !22, i64 16}
!22 = !{!"_ZTS16asn_struct_ctx_s", !23, i64 0, !23, i64 2, !16, i64 4, !6, i64 8, !14, i64 16}
!23 = !{!"short", !7, i64 0}
!24 = !{!"_ZTS19AlgorithmIdentifier", !20, i64 0, !6, i64 16, !22, i64 24}
!25 = !{!"_ZTS12OCTET_STRING", !6, i64 0, !16, i64 8, !22, 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"

%"class.UapkiNS::SmartBA" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress 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) local_unnamed_addr #1

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

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

declare ptr @get_Attributes_desc() local_unnamed_addr #1

declare ptr @get_ANY_desc() local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

declare i32 @ba_set_byte(ptr noundef, i64 noundef, i8 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfo19encodeUnsignedAttrsEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(80) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.UapkiNS::SmartBA", align 8
  %3 = load ptr, ptr %0, align 8, !tbaa !5
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %33, label %4

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  %6 = load ptr, ptr %5, align 8, !tbaa !14
  %.not16 = icmp eq ptr %6, null
  br i1 %.not16, label %33, label %7

7:                                                ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  call void @_ZN7UapkiNS7SmartBAC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %8 = invoke ptr @get_Attributes_desc()
          to label %9 unwind label %15

9:                                                ; preds = %7
  %10 = load ptr, ptr %5, align 8, !tbaa !14
  %11 = call noundef ptr @_ZN7UapkiNS7SmartBAadEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %12 = invoke i32 @asn_encode_ba(ptr noundef %8, ptr noundef %10, ptr noundef %11)
          to label %13 unwind label %15

13:                                               ; preds = %9
  %.not17 = icmp eq i32 %12, 0
  br i1 %.not17, label %17, label %14

14:                                               ; preds = %13
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 498, i32 noundef %12)
          to label %32 unwind label %15

15:                                               ; preds = %31, %24, %22, %21, %17, %14, %9, %7
  %16 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  resume { ptr, i32 } %16

17:                                               ; preds = %13
  %18 = call noundef ptr @_ZNK7UapkiNS7SmartBA3getEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %19 = invoke i32 @ba_set_byte(ptr noundef %18, i64 noundef 0, i8 noundef zeroext -95)
          to label %20 unwind label %15

20:                                               ; preds = %17
  %.not18 = icmp eq i32 %19, 0
  br i1 %.not18, label %22, label %21

21:                                               ; preds = %20
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 499, i32 noundef %19)
          to label %32 unwind label %15

22:                                               ; preds = %20
  %23 = invoke ptr @get_ANY_desc()
          to label %24 unwind label %15

24:                                               ; preds = %22
  %25 = call noundef ptr @_ZNK7UapkiNS7SmartBA3getEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %26 = invoke ptr @asn_decode_ba_with_alloc(ptr noundef %23, ptr noundef %25)
          to label %27 unwind label %15

27:                                               ; preds = %24
  %28 = load ptr, ptr %0, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 232
  store ptr %26, ptr %29, align 8, !tbaa !15
  %30 = icmp eq ptr %26, null
  br i1 %30, label %31, label %32

31:                                               ; preds = %27
  invoke void @stacktrace_add(ptr noundef nonnull @.str, i64 noundef 500, i32 noundef 2)
          to label %32 unwind label %15

32:                                               ; preds = %27, %31, %21, %14
  %.011 = phi i32 [ %12, %14 ], [ %19, %21 ], [ 2, %31 ], [ 0, %27 ]
  call void @_ZN7UapkiNS7SmartBAD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  br label %33

33:                                               ; preds = %32, %4, %1
  %.1 = phi i32 [ 4101, %1 ], [ %.011, %32 ], [ 0, %4 ]
  ret i32 %.1
}

attributes #0 = { mustprogress 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 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 = { 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 }

!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 = !{!"_ZTSN7UapkiNS5Pkcs717SignedDataBuilder10SignerInfoE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !7, i64 40, !11, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN7UapkiNS5Pkcs720SignerIdentifierTypeE", !8, i64 0}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !8, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 16}
!15 = !{!16, !7, i64 232}
!16 = !{!"_ZTS10SignerInfo", !17, i64 0, !19, i64 16, !22, i64 56, !19, i64 104, !22, i64 144, !23, i64 192, !7, i64 232, !20, i64 240}
!17 = !{!"_ZTS21ASN__PRIMITIVE_TYPE_s", !7, i64 0, !18, i64 8}
!18 = !{!"int", !8, i64 0}
!19 = !{!"_ZTS3ANY", !7, i64 0, !18, i64 8, !20, i64 16}
!20 = !{!"_ZTS16asn_struct_ctx_s", !21, i64 0, !21, i64 2, !18, i64 4, !7, i64 8, !13, i64 16}
!21 = !{!"short", !8, i64 0}
!22 = !{!"_ZTS19AlgorithmIdentifier", !17, i64 0, !7, i64 16, !20, i64 24}
!23 = !{!"_ZTS12OCTET_STRING", !7, i64 0, !18, i64 8, !20, i64 16}


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