; LLVM IR from specinfo-ua/UAPKI :: library/uapki/src/crl-item.ll (ZN7UapkiNS3Crl7CrlItemD2Ev)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.UapkiNS::Crl::CrlItem" = type <{ %"class.std::mutex", %"class.std::__cxx11::basic_string", i32, i32, ptr, ptr, ptr, ptr, i64, i64, %"class.std::vector", ptr, ptr, ptr, %"struct.UapkiNS::Crl::CrlItem::Uris", i32, [4 x i8], %"class.std::vector.8", ptr, i32, [4 x i8] }>
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { 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] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::Crl::RevokedCertOffset, std::allocator<UapkiNS::Crl::RevokedCertOffset>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.UapkiNS::Crl::CrlItem::Uris" = type { %"class.std::vector.3", %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<UapkiNS::OtherHash *, std::allocator<UapkiNS::OtherHash *>>::_Vector_impl" }
%"struct.std::_Vector_base<UapkiNS::OtherHash *, std::allocator<UapkiNS::OtherHash *>>::_Vector_impl" = type { %"struct.std::_Vector_base<UapkiNS::OtherHash *, std::allocator<UapkiNS::OtherHash *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<UapkiNS::OtherHash *, std::allocator<UapkiNS::OtherHash *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN7UapkiNS3Crl7CrlItemD2Ev(ptr noundef nonnull align 8 dereferenceable(268) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  %8 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 4
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  invoke void @ba_free(ptr noundef %9)
          to label %10 unwind label %61

10:                                               ; preds = %1
  %11 = invoke ptr @get_TBSCertListAlt_desc()
          to label %12 unwind label %61

12:                                               ; preds = %10
  %13 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 5
  %14 = load ptr, ptr %13, align 8, !tbaa !33
  invoke void @asn_free(ptr noundef %11, ptr noundef %14)
          to label %15 unwind label %61

15:                                               ; preds = %12
  %16 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 6
  %17 = load ptr, ptr %16, align 8, !tbaa !34
  invoke void @ba_free(ptr noundef %17)
          to label %18 unwind label %61

18:                                               ; preds = %15
  %19 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 7
  %20 = load ptr, ptr %19, align 8, !tbaa !35
  invoke void @ba_free(ptr noundef %20)
          to label %21 unwind label %61

21:                                               ; preds = %18
  %22 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 8
  store i64 0, ptr %22, align 8, !tbaa !36
  %23 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 9
  store i64 0, ptr %23, align 8, !tbaa !37
  %24 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 11
  %25 = load ptr, ptr %24, align 8, !tbaa !38
  invoke void @ba_free(ptr noundef %25)
          to label %26 unwind label %61

26:                                               ; preds = %21
  %27 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 12
  %28 = load ptr, ptr %27, align 8, !tbaa !39
  invoke void @ba_free(ptr noundef %28)
          to label %29 unwind label %61

29:                                               ; preds = %26
  %30 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 13
  %31 = load ptr, ptr %30, align 8, !tbaa !40
  invoke void @ba_free(ptr noundef %31)
          to label %32 unwind label %61

32:                                               ; preds = %29
  %33 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 15
  store i32 0, ptr %33, align 8, !tbaa !41
  %34 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 18
  %35 = load ptr, ptr %34, align 8, !tbaa !42
  invoke void @ba_free(ptr noundef %35)
          to label %36 unwind label %61

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %37 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 17
  store ptr %37, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = call ptr @_ZNSt6vectorIPN7UapkiNS9OtherHashESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  %40 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %4, i32 0, i32 0
  store ptr %39, ptr %40, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = call ptr @_ZNSt6vectorIPN7UapkiNS9OtherHashESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  %43 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %5, i32 0, i32 0
  store ptr %42, ptr %43, align 8
  br label %44

44:                                               ; preds = %54, %36
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7UapkiNS9OtherHashESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %45, label %47, label %46

46:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %56

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7UapkiNS9OtherHashESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  store ptr %48, ptr %6, align 8, !tbaa !5
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = icmp eq ptr %50, null
  br i1 %51, label %53, label %52

52:                                               ; preds = %47
  call void @_ZN7UapkiNS9OtherHashD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #6
  call void @_ZdlPvm(ptr noundef %50, i64 noundef 48) #7
  br label %53

53:                                               ; preds = %52, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %54

54:                                               ; preds = %53
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7UapkiNS9OtherHashESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br label %44

56:                                               ; preds = %46
  %57 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 17
  call void @_ZNSt6vectorIPN7UapkiNS9OtherHashESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #6
  %58 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 14
  call void @_ZN7UapkiNS3Crl7CrlItem4UrisD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %58) #6
  %59 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 10
  call void @_ZNSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #6
  %60 = getelementptr inbounds %"class.UapkiNS::Crl::CrlItem", ptr %7, i32 0, i32 1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #6
  ret void

61:                                               ; preds = %32, %29, %26, %21, %18, %15, %12, %10, %1
  %62 = landingpad { ptr, i32 }
          catch ptr null
  %63 = extractvalue { ptr, i32 } %62, 0
  call void @__clang_call_terminate(ptr %63) #8
  unreachable
}

declare void @ba_free(ptr noundef) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #2

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

declare ptr @get_TBSCertListAlt_desc() #1

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7UapkiNS9OtherHashESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

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

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

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

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

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

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

attributes #0 = { 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 #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 = { noinline noreturn nounwind uwtable "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint 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 #5 = { nobuiltin nounwind "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 #6 = { nounwind }
attributes #7 = { builtin nounwind }
attributes #8 = { noreturn 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 80}
!10 = !{!"_ZTSN7UapkiNS3Crl7CrlItemE", !11, i64 0, !13, i64 40, !16, i64 72, !17, i64 76, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !15, i64 112, !15, i64 120, !18, i64 128, !6, i64 152, !6, i64 160, !6, i64 168, !22, i64 176, !27, i64 224, !28, i64 232, !6, i64 256, !32, i64 264}
!11 = !{!"_ZTSSt5mutex", !12, i64 0}
!12 = !{!"_ZTSSt12__mutex_base", !7, i64 0}
!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 = !{!"int", !7, i64 0}
!17 = !{!"_ZTSN7UapkiNS3Crl4TypeE", !7, i64 0}
!18 = !{!"_ZTSSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSN7UapkiNS3Crl7CrlItem4UrisE", !23, i64 0, !23, i64 24}
!23 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSN7UapkiNS4Cert12VerifyStatusE", !7, i64 0}
!28 = !{!"_ZTSSt6vectorIPN7UapkiNS9OtherHashESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSN7UapkiNS3Crl7CrlItem9ActualityE", !7, i64 0}
!33 = !{!10, !6, i64 88}
!34 = !{!10, !6, i64 96}
!35 = !{!10, !6, i64 104}
!36 = !{!10, !15, i64 112}
!37 = !{!10, !15, i64 120}
!38 = !{!10, !6, i64 152}
!39 = !{!10, !6, i64 160}
!40 = !{!10, !6, i64 168}
!41 = !{!10, !27, i64 224}
!42 = !{!10, !6, i64 256}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN7UapkiNS3Crl7CrlItemD2Ev(ptr noundef nonnull align 8 dereferenceable(268) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 80
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @ba_free(ptr noundef %5)
          to label %6 unwind label %46

6:                                                ; preds = %1
  %7 = invoke ptr @get_TBSCertListAlt_desc()
          to label %8 unwind label %46

8:                                                ; preds = %6
  %9 = getelementptr inbounds i8, ptr %0, i64 88
  %10 = load ptr, ptr %9, align 8, !tbaa !32
  invoke void @asn_free(ptr noundef %7, ptr noundef %10)
          to label %11 unwind label %46

11:                                               ; preds = %8
  %12 = getelementptr inbounds i8, ptr %0, i64 96
  %13 = load ptr, ptr %12, align 8, !tbaa !33
  invoke void @ba_free(ptr noundef %13)
          to label %14 unwind label %46

14:                                               ; preds = %11
  %15 = getelementptr inbounds i8, ptr %0, i64 104
  %16 = load ptr, ptr %15, align 8, !tbaa !34
  invoke void @ba_free(ptr noundef %16)
          to label %17 unwind label %46

17:                                               ; preds = %14
  %18 = getelementptr inbounds i8, ptr %0, i64 112
  %19 = getelementptr inbounds i8, ptr %0, i64 152
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %18, i8 0, i64 16, i1 false)
  %20 = load ptr, ptr %19, align 8, !tbaa !35
  invoke void @ba_free(ptr noundef %20)
          to label %21 unwind label %46

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %0, i64 160
  %23 = load ptr, ptr %22, align 8, !tbaa !36
  invoke void @ba_free(ptr noundef %23)
          to label %24 unwind label %46

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %0, i64 168
  %26 = load ptr, ptr %25, align 8, !tbaa !37
  invoke void @ba_free(ptr noundef %26)
          to label %27 unwind label %46

27:                                               ; preds = %24
  %28 = getelementptr inbounds i8, ptr %0, i64 224
  store i32 0, ptr %28, align 8, !tbaa !38
  %29 = getelementptr inbounds i8, ptr %0, i64 256
  %30 = load ptr, ptr %29, align 8, !tbaa !39
  invoke void @ba_free(ptr noundef %30)
          to label %31 unwind label %46

31:                                               ; preds = %27
  %32 = getelementptr inbounds i8, ptr %0, i64 232
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  %33 = tail call ptr @_ZNSt6vectorIPN7UapkiNS9OtherHashESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  store ptr %33, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %34 = tail call ptr @_ZNSt6vectorIPN7UapkiNS9OtherHashESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  store ptr %34, ptr %3, align 8
  %35 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7UapkiNS9OtherHashESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  br i1 %35, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %43, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @_ZNSt6vectorIPN7UapkiNS9OtherHashESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  %36 = getelementptr inbounds i8, ptr %0, i64 176
  call void @_ZN7UapkiNS3Crl7CrlItem4UrisD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #7
  %37 = getelementptr inbounds i8, ptr %0, i64 128
  call void @_ZNSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  %38 = getelementptr inbounds i8, ptr %0, i64 40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  ret void

.lr.ph:                                           ; preds = %31, %43
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPPN7UapkiNS9OtherHashESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #7
  %40 = load ptr, ptr %39, align 8, !tbaa !40
  %41 = icmp eq ptr %40, null
  br i1 %41, label %43, label %42

42:                                               ; preds = %.lr.ph
  call void @_ZN7UapkiNS9OtherHashD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %40) #7
  call void @_ZdlPvm(ptr noundef nonnull %40, i64 noundef 48) #8
  br label %43

43:                                               ; preds = %42, %.lr.ph
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPPN7UapkiNS9OtherHashESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #7
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7UapkiNS9OtherHashESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  br i1 %45, label %.lr.ph, label %._crit_edge

46:                                               ; preds = %27, %24, %21, %17, %14, %11, %8, %6, %1
  %47 = landingpad { ptr, i32 }
          catch ptr null
  %48 = extractvalue { ptr, i32 } %47, 0
  tail call void @__clang_call_terminate(ptr %48) #9
  unreachable
}

declare void @ba_free(ptr noundef) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #2

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

declare ptr @get_TBSCertListAlt_desc() local_unnamed_addr #1

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPPN7UapkiNS9OtherHashESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

attributes #0 = { 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 #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 = { noinline noreturn nounwind uwtable "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint 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 #5 = { nobuiltin nounwind "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 #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { builtin nounwind }
attributes #9 = { noreturn 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, !13, i64 80}
!6 = !{!"_ZTSN7UapkiNS3Crl7CrlItemE", !7, i64 0, !11, i64 40, !15, i64 72, !16, i64 76, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !14, i64 112, !14, i64 120, !17, i64 128, !13, i64 152, !13, i64 160, !13, i64 168, !21, i64 176, !26, i64 224, !27, i64 232, !13, i64 256, !31, i64 264}
!7 = !{!"_ZTSSt5mutex", !8, i64 0}
!8 = !{!"_ZTSSt12__mutex_base", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !14, i64 8, !9, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!13 = !{!"any pointer", !9, i64 0}
!14 = !{!"long", !9, i64 0}
!15 = !{!"int", !9, i64 0}
!16 = !{!"_ZTSN7UapkiNS3Crl4TypeE", !9, i64 0}
!17 = !{!"_ZTSSt6vectorIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN7UapkiNS3Crl17RevokedCertOffsetESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!21 = !{!"_ZTSN7UapkiNS3Crl7CrlItem4UrisE", !22, i64 0, !22, i64 24}
!22 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!26 = !{!"_ZTSN7UapkiNS4Cert12VerifyStatusE", !9, i64 0}
!27 = !{!"_ZTSSt6vectorIPN7UapkiNS9OtherHashESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7UapkiNS9OtherHashESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!31 = !{!"_ZTSN7UapkiNS3Crl7CrlItem9ActualityE", !9, i64 0}
!32 = !{!6, !13, i64 88}
!33 = !{!6, !13, i64 96}
!34 = !{!6, !13, i64 104}
!35 = !{!6, !13, i64 152}
!36 = !{!6, !13, i64 160}
!37 = !{!6, !13, i64 168}
!38 = !{!6, !26, i64 224}
!39 = !{!6, !13, i64 256}
!40 = !{!13, !13, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass