; LLVM IR from UBIC-repo/core :: CertStore/CertStore.ll (ZN9CertStore18isCertSignedByCSCAEP4Certj)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%class.Cert = type { ptr, %"class.std::vector", i64, %"class.std::vector", i8, i32, %"class.std::vector.4" }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Log = type { i8, i8, ptr, %"class.std::basic_filebuf" }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%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::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.17 }
%union.anon.17 = type { i32 }
%class.CertStore = type { %"class.std::map", %"class.std::map", %"class.std::unordered_map" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::vector<unsigned char>, std::pair<const std::vector<unsigned char>, Cert>, std::_Select1st<std::pair<const std::vector<unsigned char>, Cert>>, std::less<std::vector<unsigned char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::vector<unsigned char>, std::pair<const std::vector<unsigned char>, Cert>, std::_Select1st<std::pair<const std::vector<unsigned char>, Cert>>, std::less<std::vector<unsigned char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.std::pair.18" = type { %"class.std::vector", %class.Cert }

@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [14 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 i32 @__gxx_personality_v0(...)

declare void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(96)) #1

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

declare void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256), i8 noundef zeroext) unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef) #1

; Function Attrs: nounwind
declare void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #3

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

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

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

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

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

declare noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96)) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN9CertStore18isCertSignedByCSCAEP4Certj(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef %1, i32 noundef %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %11 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %class.Cert, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.std::vector", align 8
  %21 = alloca %"class.std::vector", align 8
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca %class.Log, align 8
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca %"class.std::vector", align 8
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca i32, align 4
  %28 = alloca %class.Log, align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca %class.Log, align 8
  %31 = alloca %"class.std::vector", align 8
  %32 = alloca %class.Log, align 8
  %33 = alloca %"class.std::vector", align 8
  %34 = alloca %class.Log, align 8
  %35 = alloca %class.Log, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  %36 = load ptr, ptr %5, align 8
  %37 = call i32 @OPENSSL_init_crypto(i64 noundef 12, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %38 = call ptr @X509_STORE_new()
  store ptr %38, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %39 = call ptr @X509_VERIFY_PARAM_new()
  store ptr %39, ptr %9, align 8, !tbaa !5
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  call void @X509_VERIFY_PARAM_set_depth(ptr noundef %40, i32 noundef 100)
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = call i32 @X509_STORE_set1_param(ptr noundef %41, ptr noundef %42)
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = call i32 @X509_STORE_set_flags(ptr noundef %44, i64 noundef 524288)
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = call i32 @X509_STORE_set_flags(ptr noundef %46, i64 noundef 2097152)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %48 = getelementptr inbounds %class.CertStore, ptr %36, i32 0, i32 1
  %49 = call ptr @_ZNSt3mapISt6vectorIhSaIhEE4CertSt4lessIS2_ESaISt4pairIKS2_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %48) #6
  %50 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %10, i32 0, i32 0
  store ptr %49, ptr %50, align 8
  br label %51

51:                                               ; preds = %63, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %52 = getelementptr inbounds %class.CertStore, ptr %36, i32 0, i32 1
  %53 = call ptr @_ZNSt3mapISt6vectorIhSaIhEE4CertSt4lessIS2_ESaISt4pairIKS2_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %52) #6
  %54 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %11, i32 0, i32 0
  store ptr %53, ptr %54, align 8
  %55 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt6vectorIhSaIhEE4CertEES9_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br i1 %55, label %57, label %56

56:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %65

57:                                               ; preds = %51
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt6vectorIhSaIhEE4CertEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %60 = getelementptr inbounds %"struct.std::pair.18", ptr %59, i32 0, i32 1
  %61 = call noundef ptr @_ZNK4Cert7getX509Ev(ptr noundef nonnull align 8 dereferenceable(96) %60)
  %62 = call i32 @X509_STORE_add_cert(ptr noundef %58, ptr noundef %61)
  br label %63

63:                                               ; preds = %57
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKSt6vectorIhSaIhEE4CertEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br label %51, !llvm.loop !11

65:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %66 = call ptr @X509_STORE_CTX_new()
  store ptr %66, ptr %12, align 8, !tbaa !5
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = call i32 @X509_STORE_CTX_set_purpose(ptr noundef %67, i32 noundef 7)
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  call void @X509_STORE_CTX_set0_param(ptr noundef %69, ptr noundef %70)
  %71 = load ptr, ptr %12, align 8, !tbaa !5
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = call noundef ptr @_ZNK4Cert7getX509Ev(ptr noundef nonnull align 8 dereferenceable(96) %73)
  %75 = call i32 @X509_STORE_CTX_init(ptr noundef %71, ptr noundef %72, ptr noundef %74, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = call i32 @X509_verify_cert(ptr noundef %76)
  store i32 %77, ptr %13, align 4, !tbaa !9
  %78 = load i32, ptr %13, align 4, !tbaa !9
  %79 = icmp sgt i32 %78, 0
  br i1 %79, label %80, label %263

80:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %81 = call ptr @X509_OBJECT_new()
  store ptr %81, ptr %14, align 8, !tbaa !5
  %82 = load ptr, ptr %12, align 8, !tbaa !5
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = call noundef ptr @_ZNK4Cert7getX509Ev(ptr noundef nonnull align 8 dereferenceable(96) %83)
  %85 = call ptr @X509_get_issuer_name(ptr noundef %84)
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  %87 = call i32 @X509_STORE_CTX_get_by_subject(ptr noundef %82, i32 noundef 1, ptr noundef %85, ptr noundef %86)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %88 = load ptr, ptr %14, align 8, !tbaa !5
  %89 = call ptr @X509_OBJECT_get0_X509(ptr noundef %88)
  store ptr %89, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 96, ptr %16) #6
  call void @_ZN4CertC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %16) #6
  %90 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZN4Cert7setX509EP7x509_st(ptr noundef nonnull align 8 dereferenceable(96) %16, ptr noundef %90)
          to label %91 unwind label %152

91:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %20, ptr noundef nonnull align 8 dereferenceable(96) %16)
          to label %92 unwind label %156

92:                                               ; preds = %91
  %93 = invoke noundef ptr @_ZN9CertStore21getCscaCertWithCertIdESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152) %36, ptr noundef %20)
          to label %94 unwind label %160

94:                                               ; preds = %92
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  store ptr %93, ptr %19, align 8, !tbaa !5
  %95 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %21, ptr noundef nonnull align 8 dereferenceable(96) %95)
          to label %96 unwind label %156

96:                                               ; preds = %94
  %97 = load ptr, ptr %19, align 8, !tbaa !5
  %98 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %97)
          to label %99 unwind label %164

99:                                               ; preds = %96
  %100 = zext i8 %98 to i32
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %22, ptr noundef nonnull align 8 dereferenceable(96) %101)
          to label %102 unwind label %164

102:                                              ; preds = %99
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %103)
          to label %105 unwind label %168

105:                                              ; preds = %102
  %106 = invoke noundef zeroext i8 @_ZN5Fixes24fixCertificateCurrencyIDESt6vectorIhSaIhEEh(ptr noundef %22, i8 noundef zeroext %104)
          to label %107 unwind label %168

107:                                              ; preds = %105
  %108 = zext i8 %106 to i32
  %109 = icmp ne i32 %100, %108
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  br i1 %109, label %110, label %197

110:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 256, ptr %23) #6
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %23, i8 noundef zeroext 3)
          to label %111 unwind label %173

111:                                              ; preds = %110
  %112 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %23, ptr noundef @.str.15)
          to label %113 unwind label %177

113:                                              ; preds = %111
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %24, ptr noundef nonnull align 8 dereferenceable(96) %114)
          to label %115 unwind label %177

115:                                              ; preds = %113
  %116 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256) %112, ptr noundef %24)
          to label %117 unwind label %181

117:                                              ; preds = %115
  %118 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %116, ptr noundef @.str.16)
          to label %119 unwind label %181

119:                                              ; preds = %117
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %25, ptr noundef nonnull align 8 dereferenceable(96) %120)
          to label %121 unwind label %181

121:                                              ; preds = %119
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %122)
          to label %124 unwind label %185

124:                                              ; preds = %121
  %125 = invoke noundef zeroext i8 @_ZN5Fixes24fixCertificateCurrencyIDESt6vectorIhSaIhEEh(ptr noundef %25, i8 noundef zeroext %123)
          to label %126 unwind label %185

126:                                              ; preds = %124
  %127 = zext i8 %125 to i32
  %128 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEi(ptr noundef nonnull align 8 dereferenceable(256) %118, i32 noundef %127)
          to label %129 unwind label %185

129:                                              ; preds = %126
  %130 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %128, ptr noundef @.str.17)
          to label %131 unwind label %185

131:                                              ; preds = %129
  %132 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %26, ptr noundef nonnull align 8 dereferenceable(96) %132)
          to label %133 unwind label %185

133:                                              ; preds = %131
  %134 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256) %130, ptr noundef %26)
          to label %135 unwind label %189

135:                                              ; preds = %133
  %136 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %134, ptr noundef @.str.16)
          to label %137 unwind label %189

137:                                              ; preds = %135
  %138 = load ptr, ptr %19, align 8, !tbaa !5
  %139 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %138)
          to label %140 unwind label %189

140:                                              ; preds = %137
  %141 = zext i8 %139 to i32
  %142 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEi(ptr noundef nonnull align 8 dereferenceable(256) %136, i32 noundef %141)
          to label %143 unwind label %189

143:                                              ; preds = %140
  %144 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %142, ptr noundef @.str.18)
          to label %145 unwind label %189

145:                                              ; preds = %143
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %23) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %23) #6
  %146 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @X509_STORE_CTX_free(ptr noundef %146)
          to label %147 unwind label %156

147:                                              ; preds = %145
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @X509_STORE_free(ptr noundef %148)
          to label %149 unwind label %156

149:                                              ; preds = %147
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @X509_VERIFY_PARAM_free(ptr noundef %150)
          to label %151 unwind label %156

151:                                              ; preds = %149
  store i1 false, ptr %4, align 1
  store i32 1, ptr %27, align 4
  br label %260

152:                                              ; preds = %80
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %17, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %18, align 4
  br label %262

156:                                              ; preds = %243, %241, %239, %213, %211, %209, %197, %149, %147, %145, %94, %91
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %17, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %18, align 4
  br label %261

160:                                              ; preds = %92
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %17, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %18, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  br label %261

164:                                              ; preds = %99, %96
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %17, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %18, align 4
  br label %172

168:                                              ; preds = %105, %102
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %17, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %18, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  br label %172

172:                                              ; preds = %168, %164
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  br label %261

173:                                              ; preds = %110
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %17, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %18, align 4
  br label %196

177:                                              ; preds = %113, %111
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %17, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %18, align 4
  br label %195

181:                                              ; preds = %119, %117, %115
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %17, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %18, align 4
  br label %194

185:                                              ; preds = %131, %129, %126, %124, %121
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %17, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %18, align 4
  br label %193

189:                                              ; preds = %143, %140, %137, %135, %133
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %17, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %18, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  br label %193

193:                                              ; preds = %189, %185
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  br label %194

194:                                              ; preds = %193, %181
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  br label %195

195:                                              ; preds = %194, %177
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %23) #6
  br label %196

196:                                              ; preds = %195, %173
  call void @llvm.lifetime.end.p0(i64 256, ptr %23) #6
  br label %261

197:                                              ; preds = %107
  %198 = load ptr, ptr %19, align 8, !tbaa !5
  %199 = load i32, ptr %7, align 4, !tbaa !9
  %200 = invoke noundef zeroext i1 @_ZN4Cert8isMatureEj(ptr noundef nonnull align 8 dereferenceable(96) %198, i32 noundef %199)
          to label %201 unwind label %156

201:                                              ; preds = %197
  br i1 %200, label %202, label %230

202:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 256, ptr %28) #6
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %28, i8 noundef zeroext 0)
          to label %203 unwind label %216

203:                                              ; preds = %202
  %204 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %28, ptr noundef @.str.19)
          to label %205 unwind label %220

205:                                              ; preds = %203
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %29, ptr noundef nonnull align 8 dereferenceable(96) %206)
          to label %207 unwind label %220

207:                                              ; preds = %205
  %208 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256) %204, ptr noundef %29)
          to label %209 unwind label %224

209:                                              ; preds = %207
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %28) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %28) #6
  %210 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @X509_STORE_CTX_free(ptr noundef %210)
          to label %211 unwind label %156

211:                                              ; preds = %209
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @X509_STORE_free(ptr noundef %212)
          to label %213 unwind label %156

213:                                              ; preds = %211
  %214 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @X509_VERIFY_PARAM_free(ptr noundef %214)
          to label %215 unwind label %156

215:                                              ; preds = %213
  store i1 true, ptr %4, align 1
  store i32 1, ptr %27, align 4
  br label %260

216:                                              ; preds = %202
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %17, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %18, align 4
  br label %229

220:                                              ; preds = %205, %203
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %17, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %18, align 4
  br label %228

224:                                              ; preds = %207
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %17, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %18, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #6
  br label %228

228:                                              ; preds = %224, %220
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %28) #6
  br label %229

229:                                              ; preds = %228, %216
  call void @llvm.lifetime.end.p0(i64 256, ptr %28) #6
  br label %261

230:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 256, ptr %30) #6
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %30, i8 noundef zeroext 0)
          to label %231 unwind label %246

231:                                              ; preds = %230
  %232 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %30, ptr noundef @.str.20)
          to label %233 unwind label %250

233:                                              ; preds = %231
  %234 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %31, ptr noundef nonnull align 8 dereferenceable(96) %234)
          to label %235 unwind label %250

235:                                              ; preds = %233
  %236 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256) %232, ptr noundef %31)
          to label %237 unwind label %254

237:                                              ; preds = %235
  %238 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %236, ptr noundef @.str.21)
          to label %239 unwind label %254

239:                                              ; preds = %237
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %30) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %30) #6
  %240 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @X509_STORE_CTX_free(ptr noundef %240)
          to label %241 unwind label %156

241:                                              ; preds = %239
  %242 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @X509_STORE_free(ptr noundef %242)
          to label %243 unwind label %156

243:                                              ; preds = %241
  %244 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @X509_VERIFY_PARAM_free(ptr noundef %244)
          to label %245 unwind label %156

245:                                              ; preds = %243
  store i1 false, ptr %4, align 1
  store i32 1, ptr %27, align 4
  br label %260

246:                                              ; preds = %230
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %17, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %18, align 4
  br label %259

250:                                              ; preds = %233, %231
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %17, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %18, align 4
  br label %258

254:                                              ; preds = %237, %235
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %17, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %18, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  br label %258

258:                                              ; preds = %254, %250
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %30) #6
  br label %259

259:                                              ; preds = %258, %246
  call void @llvm.lifetime.end.p0(i64 256, ptr %30) #6
  br label %261

260:                                              ; preds = %245, %215, %151
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @_ZN4CertD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %16) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %320

261:                                              ; preds = %259, %229, %196, %172, %160, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %262

262:                                              ; preds = %261, %152
  call void @_ZN4CertD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %16) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %322

263:                                              ; preds = %65
  call void @llvm.lifetime.start.p0(i64 256, ptr %32) #6
  call void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %32, i8 noundef zeroext 3)
  %264 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %32, ptr noundef @.str.22)
          to label %265 unwind label %303

265:                                              ; preds = %263
  %266 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %33, ptr noundef nonnull align 8 dereferenceable(96) %266)
          to label %267 unwind label %303

267:                                              ; preds = %265
  %268 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256) %264, ptr noundef %33)
          to label %269 unwind label %307

269:                                              ; preds = %267
  %270 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %268, ptr noundef @.str.23)
          to label %271 unwind label %307

271:                                              ; preds = %269
  %272 = load ptr, ptr %6, align 8, !tbaa !5
  %273 = invoke noundef ptr @_ZNK4Cert7getX509Ev(ptr noundef nonnull align 8 dereferenceable(96) %272)
          to label %274 unwind label %307

274:                                              ; preds = %271
  %275 = invoke ptr @X509_get_subject_name(ptr noundef %273)
          to label %276 unwind label %307

276:                                              ; preds = %274
  %277 = invoke ptr @X509_NAME_oneline(ptr noundef %275, ptr noundef null, i32 noundef 0)
          to label %278 unwind label %307

278:                                              ; preds = %276
  %279 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %270, ptr noundef %277)
          to label %280 unwind label %307

280:                                              ; preds = %278
  %281 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %279, ptr noundef @.str.24)
          to label %282 unwind label %307

282:                                              ; preds = %280
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %32) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr %34) #6
  call void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %34, i8 noundef zeroext 0)
  %283 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %34, ptr noundef @.str.25)
          to label %284 unwind label %312

284:                                              ; preds = %282
  %285 = load ptr, ptr %12, align 8, !tbaa !5
  %286 = invoke i32 @X509_STORE_CTX_get_error(ptr noundef %285)
          to label %287 unwind label %312

287:                                              ; preds = %284
  %288 = sext i32 %286 to i64
  %289 = invoke ptr @X509_verify_cert_error_string(i64 noundef %288)
          to label %290 unwind label %312

290:                                              ; preds = %287
  %291 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %283, ptr noundef %289)
          to label %292 unwind label %312

292:                                              ; preds = %290
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %34) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr %35) #6
  call void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %35, i8 noundef zeroext 0)
  %293 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %35, ptr noundef @.str.26)
          to label %294 unwind label %316

294:                                              ; preds = %292
  %295 = load ptr, ptr %12, align 8, !tbaa !5
  %296 = invoke i32 @X509_STORE_CTX_get_error_depth(ptr noundef %295)
          to label %297 unwind label %316

297:                                              ; preds = %294
  %298 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEi(ptr noundef nonnull align 8 dereferenceable(256) %293, i32 noundef %296)
          to label %299 unwind label %316

299:                                              ; preds = %297
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %35) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %35) #6
  %300 = load ptr, ptr %12, align 8, !tbaa !5
  call void @X509_STORE_CTX_free(ptr noundef %300)
  %301 = load ptr, ptr %8, align 8, !tbaa !5
  call void @X509_STORE_free(ptr noundef %301)
  %302 = load ptr, ptr %9, align 8, !tbaa !5
  call void @X509_VERIFY_PARAM_free(ptr noundef %302)
  store i1 false, ptr %4, align 1
  store i32 1, ptr %27, align 4
  br label %320

303:                                              ; preds = %265, %263
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %17, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %18, align 4
  br label %311

307:                                              ; preds = %280, %278, %276, %274, %271, %269, %267
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %17, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %18, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  br label %311

311:                                              ; preds = %307, %303
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %32) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %32) #6
  br label %322

312:                                              ; preds = %290, %287, %284, %282
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %17, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %18, align 4
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %34) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %34) #6
  br label %322

316:                                              ; preds = %297, %294, %292
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %17, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %18, align 4
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %35) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %35) #6
  br label %322

320:                                              ; preds = %299, %260
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %321 = load i1, ptr %4, align 1
  ret i1 %321

322:                                              ; preds = %316, %312, %311, %262
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %323

323:                                              ; preds = %322
  %324 = load ptr, ptr %17, align 8
  %325 = load i32, ptr %18, align 4
  %326 = insertvalue { ptr, i32 } poison, ptr %324, 0
  %327 = insertvalue { ptr, i32 } %326, i32 %325, 1
  resume { ptr, i32 } %327
}

declare i32 @OPENSSL_init_crypto(i64 noundef, ptr noundef) #1

declare ptr @X509_STORE_new() #1

declare ptr @X509_VERIFY_PARAM_new() #1

declare void @X509_VERIFY_PARAM_set_depth(ptr noundef, i32 noundef) #1

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

declare i32 @X509_STORE_set_flags(ptr noundef, i64 noundef) #1

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

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

declare ptr @X509_STORE_CTX_new() #1

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

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

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

declare i32 @X509_verify_cert(ptr noundef) #1

declare ptr @X509_OBJECT_new() #1

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

declare ptr @X509_get_issuer_name(ptr noundef) #1

declare ptr @X509_OBJECT_get0_X509(ptr noundef) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9CertStore21getCscaCertWithCertIdESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) #4 align 2

declare noundef zeroext i8 @_ZN5Fixes24fixCertificateCurrencyIDESt6vectorIhSaIhEEh(ptr noundef, i8 noundef zeroext) #1

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef) #1

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEi(ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) #1

declare void @X509_STORE_CTX_free(ptr noundef) #1

declare void @X509_STORE_free(ptr noundef) #1

declare void @X509_VERIFY_PARAM_free(ptr noundef) #1

declare noundef zeroext i1 @_ZN4Cert8isMatureEj(ptr noundef nonnull align 8 dereferenceable(96), i32 noundef) #1

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

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

declare ptr @X509_get_subject_name(ptr noundef) #1

declare ptr @X509_verify_cert_error_string(i64 noundef) #1

declare i32 @X509_STORE_CTX_get_error(ptr noundef) #1

declare i32 @X509_STORE_CTX_get_error_depth(ptr noundef) #1

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 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%class.Cert = type { ptr, %"class.std::vector", i64, %"class.std::vector", i8, i32, %"class.std::vector.4" }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<unsigned int, bool>, std::allocator<std::pair<unsigned int, bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Log = type { i8, i8, ptr, %"class.std::basic_filebuf" }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%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::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.17 }
%union.anon.17 = type { i32 }

@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [14 x i8], align 1

; 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 i32 @__gxx_personality_v0(...)

declare void @_ZN4Cert5getIdEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #1

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

declare void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256), i8 noundef zeroext) unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #3

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

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

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

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

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

declare noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN9CertStore18isCertSignedByCSCAEP4Certj(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %5 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %6 = alloca %class.Cert, align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %class.Log, align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %class.Log, align 8
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca %class.Log, align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %class.Log, align 8
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %class.Log, align 8
  %21 = alloca %class.Log, align 8
  %22 = tail call i32 @OPENSSL_init_crypto(i64 noundef 12, ptr noundef null)
  %23 = tail call ptr @X509_STORE_new()
  %24 = tail call ptr @X509_VERIFY_PARAM_new()
  tail call void @X509_VERIFY_PARAM_set_depth(ptr noundef %24, i32 noundef 100)
  %25 = tail call i32 @X509_STORE_set1_param(ptr noundef %23, ptr noundef %24)
  %26 = tail call i32 @X509_STORE_set_flags(ptr noundef %23, i64 noundef 524288)
  %27 = tail call i32 @X509_STORE_set_flags(ptr noundef %23, i64 noundef 2097152)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %28 = getelementptr inbounds i8, ptr %0, i64 48
  %29 = tail call ptr @_ZNSt3mapISt6vectorIhSaIhEE4CertSt4lessIS2_ESaISt4pairIKS2_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  store ptr %29, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %30 = tail call ptr @_ZNSt3mapISt6vectorIhSaIhEE4CertSt4lessIS2_ESaISt4pairIKS2_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  store ptr %30, ptr %5, align 8
  %31 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt6vectorIhSaIhEE4CertEES9_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %31, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %32 = call ptr @X509_STORE_CTX_new()
  %33 = call i32 @X509_STORE_CTX_set_purpose(ptr noundef %32, i32 noundef 7)
  call void @X509_STORE_CTX_set0_param(ptr noundef %32, ptr noundef %24)
  %34 = call noundef ptr @_ZNK4Cert7getX509Ev(ptr noundef nonnull align 8 dereferenceable(96) %1)
  %35 = call i32 @X509_STORE_CTX_init(ptr noundef %32, ptr noundef %23, ptr noundef %34, ptr noundef null)
  %36 = call i32 @X509_verify_cert(ptr noundef %32)
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %45, label %155

.lr.ph:                                           ; preds = %3, %.lr.ph
  %38 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt6vectorIhSaIhEE4CertEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %39 = getelementptr inbounds i8, ptr %38, i64 24
  %40 = call noundef ptr @_ZNK4Cert7getX509Ev(ptr noundef nonnull align 8 dereferenceable(96) %39)
  %41 = call i32 @X509_STORE_add_cert(ptr noundef %23, ptr noundef %40)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKSt6vectorIhSaIhEE4CertEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %43 = call ptr @_ZNSt3mapISt6vectorIhSaIhEE4CertSt4lessIS2_ESaISt4pairIKS2_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  store ptr %43, ptr %5, align 8
  %44 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt6vectorIhSaIhEE4CertEES9_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %44, label %.lr.ph, label %._crit_edge, !llvm.loop !5

45:                                               ; preds = %._crit_edge
  %46 = call ptr @X509_OBJECT_new()
  %47 = call noundef ptr @_ZNK4Cert7getX509Ev(ptr noundef nonnull align 8 dereferenceable(96) %1)
  %48 = call ptr @X509_get_issuer_name(ptr noundef %47)
  %49 = call i32 @X509_STORE_CTX_get_by_subject(ptr noundef %32, i32 noundef 1, ptr noundef %48, ptr noundef %46)
  %50 = call ptr @X509_OBJECT_get0_X509(ptr noundef %46)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %6) #6
  call void @_ZN4CertC2Ev(ptr noundef nonnull align 8 dereferenceable(96) %6) #6
  call void @_ZN4Cert7setX509EP7x509_st(ptr noundef nonnull align 8 dereferenceable(96) %6, ptr noundef %50)
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %7, ptr noundef nonnull align 8 dereferenceable(96) %6)
          to label %51 unwind label %93

51:                                               ; preds = %45
  %52 = invoke noundef ptr @_ZN9CertStore21getCscaCertWithCertIdESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152) %0, ptr noundef nonnull %7)
          to label %53 unwind label %95

53:                                               ; preds = %51
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %8, ptr noundef nonnull align 8 dereferenceable(96) %52)
          to label %54 unwind label %93

54:                                               ; preds = %53
  %55 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %52)
          to label %56 unwind label %97

56:                                               ; preds = %54
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %9, ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %57 unwind label %97

57:                                               ; preds = %56
  %58 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %59 unwind label %99

59:                                               ; preds = %57
  %60 = invoke noundef zeroext i8 @_ZN5Fixes24fixCertificateCurrencyIDESt6vectorIhSaIhEEh(ptr noundef nonnull %9, i8 noundef zeroext %58)
          to label %61 unwind label %99

61:                                               ; preds = %59
  %.not = icmp eq i8 %55, %60
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br i1 %.not, label %116, label %62

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %10) #6
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %10, i8 noundef zeroext 3)
          to label %63 unwind label %102

63:                                               ; preds = %62
  %64 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %10, ptr noundef nonnull @.str.15)
          to label %65 unwind label %104

65:                                               ; preds = %63
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %11, ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %66 unwind label %104

66:                                               ; preds = %65
  %67 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256) %64, ptr noundef nonnull %11)
          to label %68 unwind label %106

68:                                               ; preds = %66
  %69 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %67, ptr noundef nonnull @.str.16)
          to label %70 unwind label %106

70:                                               ; preds = %68
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %12, ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %71 unwind label %106

71:                                               ; preds = %70
  %72 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %73 unwind label %108

73:                                               ; preds = %71
  %74 = invoke noundef zeroext i8 @_ZN5Fixes24fixCertificateCurrencyIDESt6vectorIhSaIhEEh(ptr noundef nonnull %12, i8 noundef zeroext %72)
          to label %75 unwind label %108

75:                                               ; preds = %73
  %76 = zext i8 %74 to i32
  %77 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEi(ptr noundef nonnull align 8 dereferenceable(256) %69, i32 noundef %76)
          to label %78 unwind label %108

78:                                               ; preds = %75
  %79 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %77, ptr noundef nonnull @.str.17)
          to label %80 unwind label %108

80:                                               ; preds = %78
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %13, ptr noundef nonnull align 8 dereferenceable(96) %52)
          to label %81 unwind label %108

81:                                               ; preds = %80
  %82 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256) %79, ptr noundef nonnull %13)
          to label %83 unwind label %110

83:                                               ; preds = %81
  %84 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %82, ptr noundef nonnull @.str.16)
          to label %85 unwind label %110

85:                                               ; preds = %83
  %86 = invoke noundef zeroext i8 @_ZN4Cert13getCurrencyIdEv(ptr noundef nonnull align 8 dereferenceable(96) %52)
          to label %87 unwind label %110

87:                                               ; preds = %85
  %88 = zext i8 %86 to i32
  %89 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEi(ptr noundef nonnull align 8 dereferenceable(256) %84, i32 noundef %88)
          to label %90 unwind label %110

90:                                               ; preds = %87
  %91 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %89, ptr noundef nonnull @.str.18)
          to label %92 unwind label %110

92:                                               ; preds = %90
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %10) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %10) #6
  br label %.invoke83

93:                                               ; preds = %.invoke83, %.invoke82, %.invoke, %127, %126, %125, %116, %53, %45
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %154

95:                                               ; preds = %51
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %154

97:                                               ; preds = %56, %54
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %101

99:                                               ; preds = %59, %57
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %101

101:                                              ; preds = %99, %97
  %.pn66 = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %154

102:                                              ; preds = %62
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %115

104:                                              ; preds = %65, %63
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %114

106:                                              ; preds = %70, %68, %66
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %113

108:                                              ; preds = %80, %78, %75, %73, %71
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %90, %87, %85, %83, %81
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %112

112:                                              ; preds = %110, %108
  %.pn74 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  br label %113

113:                                              ; preds = %112, %106
  %.pn74.pn = phi { ptr, i32 } [ %.pn74, %112 ], [ %107, %106 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %114

114:                                              ; preds = %113, %104
  %.pn74.pn.pn = phi { ptr, i32 } [ %.pn74.pn, %113 ], [ %105, %104 ]
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %10) #6
  br label %115

115:                                              ; preds = %114, %102
  %.pn74.pn.pn.pn = phi { ptr, i32 } [ %.pn74.pn.pn, %114 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %10) #6
  br label %154

116:                                              ; preds = %61
  %117 = invoke noundef zeroext i1 @_ZN4Cert8isMatureEj(ptr noundef nonnull align 8 dereferenceable(96) %52, i32 noundef %2)
          to label %118 unwind label %93

118:                                              ; preds = %116
  br i1 %117, label %119, label %136

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %14) #6
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %14, i8 noundef zeroext 0)
          to label %120 unwind label %128

120:                                              ; preds = %119
  %121 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %14, ptr noundef nonnull @.str.19)
          to label %122 unwind label %130

122:                                              ; preds = %120
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %15, ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %123 unwind label %130

123:                                              ; preds = %122
  %124 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256) %121, ptr noundef nonnull %15)
          to label %125 unwind label %132

125:                                              ; preds = %123
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %14) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %14) #6
  invoke void @X509_STORE_CTX_free(ptr noundef %32)
          to label %126 unwind label %93

126:                                              ; preds = %125
  invoke void @X509_STORE_free(ptr noundef %23)
          to label %127 unwind label %93

127:                                              ; preds = %126
  invoke void @X509_VERIFY_PARAM_free(ptr noundef %24)
          to label %153 unwind label %93

128:                                              ; preds = %119
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %135

130:                                              ; preds = %122, %120
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %134

132:                                              ; preds = %123
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  br label %134

134:                                              ; preds = %132, %130
  %.pn71 = phi { ptr, i32 } [ %133, %132 ], [ %131, %130 ]
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %14) #6
  br label %135

135:                                              ; preds = %134, %128
  %.pn71.pn = phi { ptr, i32 } [ %.pn71, %134 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %14) #6
  br label %154

136:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %16) #6
  invoke void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %16, i8 noundef zeroext 0)
          to label %137 unwind label %145

137:                                              ; preds = %136
  %138 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %16, ptr noundef nonnull @.str.20)
          to label %139 unwind label %147

139:                                              ; preds = %137
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %17, ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %140 unwind label %147

140:                                              ; preds = %139
  %141 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256) %138, ptr noundef nonnull %17)
          to label %142 unwind label %149

142:                                              ; preds = %140
  %143 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %141, ptr noundef nonnull @.str.21)
          to label %144 unwind label %149

144:                                              ; preds = %142
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %16) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %16) #6
  br label %.invoke83

.invoke83:                                        ; preds = %92, %144
  invoke void @X509_STORE_CTX_free(ptr noundef %32)
          to label %.invoke82 unwind label %93

.invoke82:                                        ; preds = %.invoke83
  invoke void @X509_STORE_free(ptr noundef %23)
          to label %.invoke unwind label %93

.invoke:                                          ; preds = %.invoke82
  invoke void @X509_VERIFY_PARAM_free(ptr noundef %24)
          to label %153 unwind label %93

145:                                              ; preds = %136
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %152

147:                                              ; preds = %139, %137
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %151

149:                                              ; preds = %142, %140
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  br label %151

151:                                              ; preds = %149, %147
  %.pn68 = phi { ptr, i32 } [ %150, %149 ], [ %148, %147 ]
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %16) #6
  br label %152

152:                                              ; preds = %151, %145
  %.pn68.pn = phi { ptr, i32 } [ %.pn68, %151 ], [ %146, %145 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %16) #6
  br label %154

153:                                              ; preds = %.invoke, %127
  %.0 = phi i1 [ true, %127 ], [ false, %.invoke ]
  call void @_ZN4CertD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %6) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #6
  br label %196

154:                                              ; preds = %152, %135, %115, %101, %95, %93
  %.pn79 = phi { ptr, i32 } [ %94, %93 ], [ %.pn74.pn.pn.pn, %115 ], [ %.pn71.pn, %135 ], [ %.pn68.pn, %152 ], [ %.pn66, %101 ], [ %96, %95 ]
  call void @_ZN4CertD2Ev(ptr noundef nonnull align 8 dereferenceable(96) %6) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #6
  br label %197

155:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %18) #6
  call void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %18, i8 noundef zeroext 3)
  %156 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %18, ptr noundef nonnull @.str.22)
          to label %157 unwind label %187

157:                                              ; preds = %155
  invoke void @_ZN4Cert5getIdEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %19, ptr noundef nonnull align 8 dereferenceable(96) %1)
          to label %158 unwind label %187

158:                                              ; preds = %157
  %159 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256) %156, ptr noundef nonnull %19)
          to label %160 unwind label %189

160:                                              ; preds = %158
  %161 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %159, ptr noundef nonnull @.str.23)
          to label %162 unwind label %189

162:                                              ; preds = %160
  %163 = call noundef ptr @_ZNK4Cert7getX509Ev(ptr noundef nonnull align 8 dereferenceable(96) %1)
  %164 = invoke ptr @X509_get_subject_name(ptr noundef %163)
          to label %165 unwind label %189

165:                                              ; preds = %162
  %166 = invoke ptr @X509_NAME_oneline(ptr noundef %164, ptr noundef null, i32 noundef 0)
          to label %167 unwind label %189

167:                                              ; preds = %165
  %168 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %161, ptr noundef %166)
          to label %169 unwind label %189

169:                                              ; preds = %167
  %170 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %168, ptr noundef nonnull @.str.24)
          to label %171 unwind label %189

171:                                              ; preds = %169
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %18) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %20) #6
  call void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %20, i8 noundef zeroext 0)
  %172 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %20, ptr noundef nonnull @.str.25)
          to label %173 unwind label %192

173:                                              ; preds = %171
  %174 = invoke i32 @X509_STORE_CTX_get_error(ptr noundef %32)
          to label %175 unwind label %192

175:                                              ; preds = %173
  %176 = sext i32 %174 to i64
  %177 = invoke ptr @X509_verify_cert_error_string(i64 noundef %176)
          to label %178 unwind label %192

178:                                              ; preds = %175
  %179 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %172, ptr noundef %177)
          to label %180 unwind label %192

180:                                              ; preds = %178
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %20) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %21) #6
  call void @_ZN3LogC1Eh(ptr noundef nonnull align 8 dereferenceable(256) %21, i8 noundef zeroext 0)
  %181 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEPKc(ptr noundef nonnull align 8 dereferenceable(256) %21, ptr noundef nonnull @.str.26)
          to label %182 unwind label %194

182:                                              ; preds = %180
  %183 = invoke i32 @X509_STORE_CTX_get_error_depth(ptr noundef %32)
          to label %184 unwind label %194

184:                                              ; preds = %182
  %185 = invoke noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEi(ptr noundef nonnull align 8 dereferenceable(256) %181, i32 noundef %183)
          to label %186 unwind label %194

186:                                              ; preds = %184
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %21) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %21) #6
  call void @X509_STORE_CTX_free(ptr noundef %32)
  call void @X509_STORE_free(ptr noundef %23)
  call void @X509_VERIFY_PARAM_free(ptr noundef %24)
  br label %196

187:                                              ; preds = %157, %155
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %191

189:                                              ; preds = %169, %167, %165, %162, %160, %158
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br label %191

191:                                              ; preds = %189, %187
  %.pn = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %18) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %18) #6
  br label %197

192:                                              ; preds = %178, %175, %173, %171
  %193 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %20) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %20) #6
  br label %197

194:                                              ; preds = %184, %182, %180
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3LogD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %21) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %21) #6
  br label %197

196:                                              ; preds = %186, %153
  %.1 = phi i1 [ %.0, %153 ], [ false, %186 ]
  ret i1 %.1

197:                                              ; preds = %194, %192, %191, %154
  %.pn79.pn = phi { ptr, i32 } [ %.pn79, %154 ], [ %195, %194 ], [ %193, %192 ], [ %.pn, %191 ]
  resume { ptr, i32 } %.pn79.pn
}

declare i32 @OPENSSL_init_crypto(i64 noundef, ptr noundef) local_unnamed_addr #1

declare ptr @X509_STORE_new() local_unnamed_addr #1

declare ptr @X509_VERIFY_PARAM_new() local_unnamed_addr #1

declare void @X509_VERIFY_PARAM_set_depth(ptr noundef, i32 noundef) local_unnamed_addr #1

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

declare i32 @X509_STORE_set_flags(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

declare ptr @X509_STORE_CTX_new() local_unnamed_addr #1

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

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

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

declare i32 @X509_verify_cert(ptr noundef) local_unnamed_addr #1

declare ptr @X509_OBJECT_new() local_unnamed_addr #1

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

declare ptr @X509_get_issuer_name(ptr noundef) local_unnamed_addr #1

declare ptr @X509_OBJECT_get0_X509(ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9CertStore21getCscaCertWithCertIdESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef) local_unnamed_addr #4 align 2

declare noundef zeroext i8 @_ZN5Fixes24fixCertificateCurrencyIDESt6vectorIhSaIhEEh(ptr noundef, i8 noundef zeroext) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsESt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(256) ptr @_ZN3LoglsEi(ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) local_unnamed_addr #1

declare void @X509_STORE_CTX_free(ptr noundef) local_unnamed_addr #1

declare void @X509_STORE_free(ptr noundef) local_unnamed_addr #1

declare void @X509_VERIFY_PARAM_free(ptr noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN4Cert8isMatureEj(ptr noundef nonnull align 8 dereferenceable(96), i32 noundef) local_unnamed_addr #1

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

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

declare ptr @X509_get_subject_name(ptr noundef) local_unnamed_addr #1

declare ptr @X509_verify_cert_error_string(i64 noundef) local_unnamed_addr #1

declare i32 @X509_STORE_CTX_get_error(ptr noundef) local_unnamed_addr #1

declare i32 @X509_STORE_CTX_get_error_depth(ptr noundef) local_unnamed_addr #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 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


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