; LLVM IR from specinfo-ua/UAPKI :: library/uapki/src (store-json)

; 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::__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.__gnu_cxx::__normal_iterator" = type { ptr }
%struct.TBSCertListAlt = type { ptr, %struct.AlgorithmIdentifier, %struct.Name, %struct.PKIXTime, %struct.PKIXTime, %struct.ANY, ptr, %struct.asn_struct_ctx_s }
%struct.AlgorithmIdentifier = type { %struct.ASN__PRIMITIVE_TYPE_s, ptr, %struct.asn_struct_ctx_s }
%struct.ASN__PRIMITIVE_TYPE_s = type { ptr, i32 }
%struct.Name = type { i32, %"union.Name::Name_u", %struct.asn_struct_ctx_s }
%"union.Name::Name_u" = type { %struct.RDNSequence }
%struct.RDNSequence = type { %struct.anon, %struct.asn_struct_ctx_s }
%struct.anon = type { ptr, i32, i32, ptr }
%struct.PKIXTime = type { i32, %"union.PKIXTime::PKIXTime_u", %struct.asn_struct_ctx_s }
%"union.PKIXTime::PKIXTime_u" = type { %struct.OCTET_STRING }
%struct.OCTET_STRING = type { ptr, i32, %struct.asn_struct_ctx_s }
%struct.ANY = type { ptr, i32, %struct.asn_struct_ctx_s }
%struct.asn_struct_ctx_s = type { i16, i16, i32, ptr, i64 }
%"struct.UapkiNS::Crl::CrlItem::Uris" = type { %"class.std::vector", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }

@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [19 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 noundef i32 @_ZN12ParsonHelper19jsonObjectSetUint32EP13json_object_tPKcj(ptr noundef, ptr noundef, i32 noundef) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7UapkiNS10nameToJsonEP13json_object_tRK4Name(ptr noundef, ptr noundef nonnull align 8 dereferenceable(80)) #2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare ptr @json_value_init_object() #1

declare ptr @json_value_init_array() #1

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

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

declare void @_ZN8TimeUtil12mtimeToFtimeB5cxx11Emb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef, i1 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS3Crl10infoToJsonEP13json_object_tPKNS0_7CrlItemE(ptr noundef %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %29

26:                                               ; preds = %2
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = icmp ne ptr %27, null
  br i1 %28, label %30, label %29

29:                                               ; preds = %26, %2
  store i32 4097, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %294

30:                                               ; preds = %26
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = invoke ptr @json_value_init_object()
          to label %33 unwind label %38

33:                                               ; preds = %30
  %34 = invoke i32 @json_object_set_value(ptr noundef %31, ptr noundef @.str.7, ptr noundef %32)
          to label %35 unwind label %38

35:                                               ; preds = %33
  %36 = icmp ne i32 %34, 0
  br i1 %36, label %37, label %42

37:                                               ; preds = %35
  store i32 4113, ptr %6, align 4, !tbaa !9
  br label %292

38:                                               ; preds = %234, %231, %225, %168, %165, %159, %153, %148, %144, %138, %133, %128, %124, %117, %112, %108, %102, %96, %92, %80, %64, %55, %49, %46, %43, %33, %30
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %10, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %11, align 4
  br label %296

42:                                               ; preds = %35
  br label %43

43:                                               ; preds = %42
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = invoke ptr @json_object_get_object(ptr noundef %44, ptr noundef @.str.7)
          to label %46 unwind label %38

46:                                               ; preds = %43
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = invoke noundef ptr @_ZNK7UapkiNS3Crl7CrlItem9getTbsCrlEv(ptr noundef nonnull align 8 dereferenceable(268) %47)
          to label %49 unwind label %38

49:                                               ; preds = %46
  %50 = getelementptr inbounds %struct.TBSCertListAlt, ptr %48, i32 0, i32 2
  %51 = invoke noundef i32 @_ZN7UapkiNS10nameToJsonEP13json_object_tRK4Name(ptr noundef %45, ptr noundef nonnull align 8 dereferenceable(80) %50)
          to label %52 unwind label %38

52:                                               ; preds = %49
  store i32 %51, ptr %6, align 4, !tbaa !9
  %53 = load i32, ptr %6, align 4, !tbaa !9
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %58

55:                                               ; preds = %52
  %56 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @stacktrace_add(ptr noundef @.str.3, i64 noundef 515, i32 noundef %56)
          to label %57 unwind label %38

57:                                               ; preds = %55
  br label %292

58:                                               ; preds = %52
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #5
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = invoke noundef i64 @_ZNK7UapkiNS3Crl7CrlItem13getThisUpdateEv(ptr noundef nonnull align 8 dereferenceable(268) %61)
          to label %63 unwind label %72

63:                                               ; preds = %60
  invoke void @_ZN8TimeUtil12mtimeToFtimeB5cxx11Emb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %12, i64 noundef %62, i1 noundef zeroext false)
          to label %64 unwind label %72

64:                                               ; preds = %63
  %65 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #5
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  %68 = invoke i32 @json_object_set_string(ptr noundef %66, ptr noundef @.str.43, ptr noundef %67)
          to label %69 unwind label %38

69:                                               ; preds = %64
  %70 = icmp ne i32 %68, 0
  br i1 %70, label %71, label %76

71:                                               ; preds = %69
  store i32 4113, ptr %6, align 4, !tbaa !9
  br label %292

72:                                               ; preds = %63, %60
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %10, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #5
  br label %296

76:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #5
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = invoke noundef i64 @_ZNK7UapkiNS3Crl7CrlItem13getNextUpdateEv(ptr noundef nonnull align 8 dereferenceable(268) %77)
          to label %79 unwind label %88

79:                                               ; preds = %76
  invoke void @_ZN8TimeUtil12mtimeToFtimeB5cxx11Emb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, i64 noundef %78, i1 noundef zeroext false)
          to label %80 unwind label %88

80:                                               ; preds = %79
  %81 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  %84 = invoke i32 @json_object_set_string(ptr noundef %82, ptr noundef @.str.44, ptr noundef %83)
          to label %85 unwind label %38

85:                                               ; preds = %80
  %86 = icmp ne i32 %84, 0
  br i1 %86, label %87, label %92

87:                                               ; preds = %85
  store i32 4113, ptr %6, align 4, !tbaa !9
  br label %292

88:                                               ; preds = %79, %76
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %10, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  br label %296

92:                                               ; preds = %85
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = invoke noundef i64 @_ZNK7UapkiNS3Crl7CrlItem20getCountRevokedCertsEv(ptr noundef nonnull align 8 dereferenceable(268) %94)
          to label %96 unwind label %38

96:                                               ; preds = %92
  %97 = trunc i64 %95 to i32
  %98 = invoke noundef i32 @_ZN12ParsonHelper19jsonObjectSetUint32EP13json_object_tPKcj(ptr noundef %93, ptr noundef @.str.45, i32 noundef %97)
          to label %99 unwind label %38

99:                                               ; preds = %96
  %100 = icmp ne i32 %98, 0
  br i1 %100, label %101, label %102

101:                                              ; preds = %99
  store i32 4113, ptr %6, align 4, !tbaa !9
  br label %292

102:                                              ; preds = %99
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = invoke noundef ptr @_ZNK7UapkiNS3Crl7CrlItem17getAuthorityKeyIdEv(ptr noundef nonnull align 8 dereferenceable(268) %103)
          to label %105 unwind label %38

105:                                              ; preds = %102
  %106 = icmp ne ptr %104, null
  br i1 %106, label %107, label %123

107:                                              ; preds = %105
  br label %108

108:                                              ; preds = %107
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = invoke noundef ptr @_ZNK7UapkiNS3Crl7CrlItem17getAuthorityKeyIdEv(ptr noundef nonnull align 8 dereferenceable(268) %110)
          to label %112 unwind label %38

112:                                              ; preds = %108
  %113 = invoke i32 @json_object_set_hex(ptr noundef %109, ptr noundef @.str.46, ptr noundef %111)
          to label %114 unwind label %38

114:                                              ; preds = %112
  store i32 %113, ptr %6, align 4, !tbaa !9
  %115 = load i32, ptr %6, align 4, !tbaa !9
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %120

117:                                              ; preds = %114
  %118 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @stacktrace_add(ptr noundef @.str.3, i64 noundef 526, i32 noundef %118)
          to label %119 unwind label %38

119:                                              ; preds = %117
  br label %292

120:                                              ; preds = %114
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122, %105
  br label %124

124:                                              ; preds = %123
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = invoke noundef ptr @_ZNK7UapkiNS3Crl7CrlItem12getCrlNumberEv(ptr noundef nonnull align 8 dereferenceable(268) %126)
          to label %128 unwind label %38

128:                                              ; preds = %124
  %129 = invoke i32 @json_object_set_hex(ptr noundef %125, ptr noundef @.str.42, ptr noundef %127)
          to label %130 unwind label %38

130:                                              ; preds = %128
  store i32 %129, ptr %6, align 4, !tbaa !9
  %131 = load i32, ptr %6, align 4, !tbaa !9
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %136

133:                                              ; preds = %130
  %134 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @stacktrace_add(ptr noundef @.str.3, i64 noundef 529, i32 noundef %134)
          to label %135 unwind label %38

135:                                              ; preds = %133
  br label %292

136:                                              ; preds = %130
  br label %137

137:                                              ; preds = %136
  br label %138

138:                                              ; preds = %137
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = invoke noundef ptr @_ZNK7UapkiNS3Crl7CrlItem11getDeltaCrlEv(ptr noundef nonnull align 8 dereferenceable(268) %139)
          to label %141 unwind label %38

141:                                              ; preds = %138
  %142 = icmp ne ptr %140, null
  br i1 %142, label %143, label %159

143:                                              ; preds = %141
  br label %144

144:                                              ; preds = %143
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = invoke noundef ptr @_ZNK7UapkiNS3Crl7CrlItem11getDeltaCrlEv(ptr noundef nonnull align 8 dereferenceable(268) %146)
          to label %148 unwind label %38

148:                                              ; preds = %144
  %149 = invoke i32 @json_object_set_hex(ptr noundef %145, ptr noundef @.str.47, ptr noundef %147)
          to label %150 unwind label %38

150:                                              ; preds = %148
  store i32 %149, ptr %6, align 4, !tbaa !9
  %151 = load i32, ptr %6, align 4, !tbaa !9
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %156

153:                                              ; preds = %150
  %154 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @stacktrace_add(ptr noundef @.str.3, i64 noundef 532, i32 noundef %154)
          to label %155 unwind label %38

155:                                              ; preds = %153
  br label %292

156:                                              ; preds = %150
  br label %157

157:                                              ; preds = %156
  br label %158

158:                                              ; preds = %157
  br label %159

159:                                              ; preds = %158, %141
  %160 = load ptr, ptr %5, align 8, !tbaa !5
  %161 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7UapkiNS3Crl7CrlItem7getUrisEv(ptr noundef nonnull align 8 dereferenceable(268) %160)
          to label %162 unwind label %38

162:                                              ; preds = %159
  %163 = getelementptr inbounds %"struct.UapkiNS::Crl::CrlItem::Uris", ptr %161, i32 0, i32 0
  %164 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %163) #5
  br i1 %164, label %225, label %165

165:                                              ; preds = %162
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = invoke ptr @json_value_init_array()
          to label %168 unwind label %38

168:                                              ; preds = %165
  %169 = invoke i32 @json_object_set_value(ptr noundef %166, ptr noundef @.str.48, ptr noundef %167)
          to label %170 unwind label %38

170:                                              ; preds = %168
  %171 = icmp ne i32 %169, 0
  br i1 %171, label %172, label %173

172:                                              ; preds = %170
  store i32 4113, ptr %6, align 4, !tbaa !9
  br label %292

173:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = invoke ptr @json_object_get_array(ptr noundef %174, ptr noundef @.str.48)
          to label %176 unwind label %190

176:                                              ; preds = %173
  store ptr %175, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7UapkiNS3Crl7CrlItem7getUrisEv(ptr noundef nonnull align 8 dereferenceable(268) %177)
          to label %179 unwind label %194

179:                                              ; preds = %176
  %180 = getelementptr inbounds %"struct.UapkiNS::Crl::CrlItem::Uris", ptr %178, i32 0, i32 0
  store ptr %180, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %181 = load ptr, ptr %15, align 8, !tbaa !5
  %182 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %181) #5
  %183 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %182, ptr %183, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %184 = load ptr, ptr %15, align 8, !tbaa !5
  %185 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %184) #5
  %186 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %185, ptr %186, align 8
  br label %187

187:                                              ; preds = %215, %179
  %188 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br i1 %188, label %198, label %189

189:                                              ; preds = %187
  store i32 11, ptr %9, align 4
  br label %217

190:                                              ; preds = %173
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %10, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %11, align 4
  br label %224

194:                                              ; preds = %176
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %10, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %11, align 4
  br label %219

198:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %199 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  store ptr %199, ptr %18, align 8, !tbaa !5
  %200 = load ptr, ptr %14, align 8, !tbaa !5
  %201 = load ptr, ptr %18, align 8, !tbaa !5
  %202 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %201) #5
  %203 = invoke i32 @json_array_append_string(ptr noundef %200, ptr noundef %202)
          to label %204 unwind label %207

204:                                              ; preds = %198
  %205 = icmp ne i32 %203, 0
  br i1 %205, label %206, label %211

206:                                              ; preds = %204
  store i32 4113, ptr %6, align 4, !tbaa !9
  store i32 2, ptr %9, align 4
  br label %212

207:                                              ; preds = %198
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %10, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %219

211:                                              ; preds = %204
  store i32 0, ptr %9, align 4
  br label %212

212:                                              ; preds = %211, %206
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %213 = load i32, ptr %9, align 4
  switch i32 %213, label %217 [
    i32 0, label %214
  ]

214:                                              ; preds = %212
  br label %215

215:                                              ; preds = %214
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  br label %187

217:                                              ; preds = %212, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  %218 = load i32, ptr %9, align 4
  switch i32 %218, label %221 [
    i32 11, label %220
  ]

219:                                              ; preds = %207, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %224

220:                                              ; preds = %217
  store i32 0, ptr %9, align 4
  br label %221

221:                                              ; preds = %220, %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  %222 = load i32, ptr %9, align 4
  switch i32 %222, label %294 [
    i32 0, label %223
    i32 2, label %292
  ]

223:                                              ; preds = %221
  br label %225

224:                                              ; preds = %219, %190
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %296

225:                                              ; preds = %223, %162
  %226 = load ptr, ptr %5, align 8, !tbaa !5
  %227 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7UapkiNS3Crl7CrlItem7getUrisEv(ptr noundef nonnull align 8 dereferenceable(268) %226)
          to label %228 unwind label %38

228:                                              ; preds = %225
  %229 = getelementptr inbounds %"struct.UapkiNS::Crl::CrlItem::Uris", ptr %227, i32 0, i32 1
  %230 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %229) #5
  br i1 %230, label %291, label %231

231:                                              ; preds = %228
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  %233 = invoke ptr @json_value_init_array()
          to label %234 unwind label %38

234:                                              ; preds = %231
  %235 = invoke i32 @json_object_set_value(ptr noundef %232, ptr noundef @.str.24, ptr noundef %233)
          to label %236 unwind label %38

236:                                              ; preds = %234
  %237 = icmp ne i32 %235, 0
  br i1 %237, label %238, label %239

238:                                              ; preds = %236
  store i32 4113, ptr %6, align 4, !tbaa !9
  br label %292

239:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %240 = load ptr, ptr %4, align 8, !tbaa !5
  %241 = invoke ptr @json_object_get_array(ptr noundef %240, ptr noundef @.str.24)
          to label %242 unwind label %256

242:                                              ; preds = %239
  store ptr %241, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %243 = load ptr, ptr %5, align 8, !tbaa !5
  %244 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7UapkiNS3Crl7CrlItem7getUrisEv(ptr noundef nonnull align 8 dereferenceable(268) %243)
          to label %245 unwind label %260

245:                                              ; preds = %242
  %246 = getelementptr inbounds %"struct.UapkiNS::Crl::CrlItem::Uris", ptr %244, i32 0, i32 1
  store ptr %246, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %247 = load ptr, ptr %20, align 8, !tbaa !5
  %248 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %247) #5
  %249 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %248, ptr %249, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %250 = load ptr, ptr %20, align 8, !tbaa !5
  %251 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %250) #5
  %252 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %251, ptr %252, align 8
  br label %253

253:                                              ; preds = %281, %245
  %254 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  br i1 %254, label %264, label %255

255:                                              ; preds = %253
  store i32 13, ptr %9, align 4
  br label %283

256:                                              ; preds = %239
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %10, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %11, align 4
  br label %290

260:                                              ; preds = %242
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %10, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %11, align 4
  br label %285

264:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %265 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  store ptr %265, ptr %23, align 8, !tbaa !5
  %266 = load ptr, ptr %19, align 8, !tbaa !5
  %267 = load ptr, ptr %23, align 8, !tbaa !5
  %268 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %267) #5
  %269 = invoke i32 @json_array_append_string(ptr noundef %266, ptr noundef %268)
          to label %270 unwind label %273

270:                                              ; preds = %264
  %271 = icmp ne i32 %269, 0
  br i1 %271, label %272, label %277

272:                                              ; preds = %270
  store i32 4113, ptr %6, align 4, !tbaa !9
  store i32 2, ptr %9, align 4
  br label %278

273:                                              ; preds = %264
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %10, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %285

277:                                              ; preds = %270
  store i32 0, ptr %9, align 4
  br label %278

278:                                              ; preds = %277, %272
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  %279 = load i32, ptr %9, align 4
  switch i32 %279, label %283 [
    i32 0, label %280
  ]

280:                                              ; preds = %278
  br label %281

281:                                              ; preds = %280
  %282 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  br label %253

283:                                              ; preds = %278, %255
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  %284 = load i32, ptr %9, align 4
  switch i32 %284, label %287 [
    i32 13, label %286
  ]

285:                                              ; preds = %273, %260
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %290

286:                                              ; preds = %283
  store i32 0, ptr %9, align 4
  br label %287

287:                                              ; preds = %286, %283
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  %288 = load i32, ptr %9, align 4
  switch i32 %288, label %294 [
    i32 0, label %289
    i32 2, label %292
  ]

289:                                              ; preds = %287
  br label %291

290:                                              ; preds = %285, %256
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %296

291:                                              ; preds = %289, %228
  br label %292

292:                                              ; preds = %291, %287, %238, %221, %172, %155, %135, %119, %101, %87, %71, %57, %37
  %293 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %293, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %294

294:                                              ; preds = %292, %287, %221, %29
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %295 = load i32, ptr %3, align 4
  ret i32 %295

296:                                              ; preds = %290, %224, %88, %72, %38
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %297

297:                                              ; preds = %296
  %298 = load ptr, ptr %10, align 8
  %299 = load i32, ptr %11, align 4
  %300 = insertvalue { ptr, i32 } poison, ptr %298, 0
  %301 = insertvalue { ptr, i32 } %300, i32 %299, 1
  resume { ptr, i32 } %301
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(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(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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}


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

@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [19 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 noundef i32 @_ZN12ParsonHelper19jsonObjectSetUint32EP13json_object_tPKcj(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7UapkiNS10nameToJsonEP13json_object_tRK4Name(ptr noundef, ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare ptr @json_value_init_object() local_unnamed_addr #1

declare ptr @json_value_init_array() local_unnamed_addr #1

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

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

declare void @_ZN8TimeUtil12mtimeToFtimeB5cxx11Emb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef, i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7UapkiNS3Crl10infoToJsonEP13json_object_tPKNS0_7CrlItemE(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  %10 = icmp ne ptr %0, null
  %11 = icmp ne ptr %1, null
  %or.cond = and i1 %10, %11
  br i1 %or.cond, label %12, label %124

12:                                               ; preds = %2
  %13 = invoke ptr @json_value_init_object()
          to label %14 unwind label %17

14:                                               ; preds = %12
  %15 = invoke i32 @json_object_set_value(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, ptr noundef %13)
          to label %16 unwind label %17

16:                                               ; preds = %14
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %19, label %124

17:                                               ; preds = %102, %100, %74, %72, %68, %64, %61, %57, %56, %52, %45, %38, %29, %26, %21, %19, %14, %12
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %125

19:                                               ; preds = %16
  %20 = invoke ptr @json_object_get_object(ptr noundef nonnull %0, ptr noundef nonnull @.str.7)
          to label %21 unwind label %17

21:                                               ; preds = %19
  %22 = call noundef ptr @_ZNK7UapkiNS3Crl7CrlItem9getTbsCrlEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  %23 = getelementptr inbounds i8, ptr %22, i64 56
  %24 = invoke noundef i32 @_ZN7UapkiNS10nameToJsonEP13json_object_tRK4Name(ptr noundef %20, ptr noundef nonnull align 8 dereferenceable(80) %23)
          to label %25 unwind label %17

25:                                               ; preds = %21
  %.not76 = icmp eq i32 %24, 0
  br i1 %.not76, label %27, label %26

26:                                               ; preds = %25
  invoke void @stacktrace_add(ptr noundef nonnull @.str.3, i64 noundef 515, i32 noundef %24)
          to label %124 unwind label %17

27:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  %28 = call noundef i64 @_ZNK7UapkiNS3Crl7CrlItem13getThisUpdateEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  invoke void @_ZN8TimeUtil12mtimeToFtimeB5cxx11Emb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, i64 noundef %28, i1 noundef zeroext false)
          to label %29 unwind label %34

29:                                               ; preds = %27
  %30 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  %31 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  %32 = invoke i32 @json_object_set_string(ptr noundef nonnull %0, ptr noundef nonnull @.str.43, ptr noundef %31)
          to label %33 unwind label %17

33:                                               ; preds = %29
  %.not77 = icmp eq i32 %32, 0
  br i1 %.not77, label %36, label %124

34:                                               ; preds = %27
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %125

36:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  %37 = call noundef i64 @_ZNK7UapkiNS3Crl7CrlItem13getNextUpdateEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  invoke void @_ZN8TimeUtil12mtimeToFtimeB5cxx11Emb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, i64 noundef %37, i1 noundef zeroext false)
          to label %38 unwind label %43

38:                                               ; preds = %36
  %39 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  %40 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  %41 = invoke i32 @json_object_set_string(ptr noundef nonnull %0, ptr noundef nonnull @.str.44, ptr noundef %40)
          to label %42 unwind label %17

42:                                               ; preds = %38
  %.not78 = icmp eq i32 %41, 0
  br i1 %.not78, label %45, label %124

43:                                               ; preds = %36
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  br label %125

45:                                               ; preds = %42
  %46 = call noundef i64 @_ZNK7UapkiNS3Crl7CrlItem20getCountRevokedCertsEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  %47 = trunc i64 %46 to i32
  %48 = invoke noundef i32 @_ZN12ParsonHelper19jsonObjectSetUint32EP13json_object_tPKcj(ptr noundef nonnull %0, ptr noundef nonnull @.str.45, i32 noundef %47)
          to label %49 unwind label %17

49:                                               ; preds = %45
  %.not79 = icmp eq i32 %48, 0
  br i1 %.not79, label %50, label %124

50:                                               ; preds = %49
  %51 = call noundef ptr @_ZNK7UapkiNS3Crl7CrlItem17getAuthorityKeyIdEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  %.not80 = icmp eq ptr %51, null
  br i1 %.not80, label %57, label %52

52:                                               ; preds = %50
  %53 = call noundef ptr @_ZNK7UapkiNS3Crl7CrlItem17getAuthorityKeyIdEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  %54 = invoke i32 @json_object_set_hex(ptr noundef nonnull %0, ptr noundef nonnull @.str.46, ptr noundef %53)
          to label %55 unwind label %17

55:                                               ; preds = %52
  %.not81 = icmp eq i32 %54, 0
  br i1 %.not81, label %57, label %56

56:                                               ; preds = %55
  invoke void @stacktrace_add(ptr noundef nonnull @.str.3, i64 noundef 526, i32 noundef %54)
          to label %124 unwind label %17

57:                                               ; preds = %50, %55
  %58 = call noundef ptr @_ZNK7UapkiNS3Crl7CrlItem12getCrlNumberEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  %59 = invoke i32 @json_object_set_hex(ptr noundef nonnull %0, ptr noundef nonnull @.str.42, ptr noundef %58)
          to label %60 unwind label %17

60:                                               ; preds = %57
  %.not82 = icmp eq i32 %59, 0
  br i1 %.not82, label %62, label %61

61:                                               ; preds = %60
  invoke void @stacktrace_add(ptr noundef nonnull @.str.3, i64 noundef 529, i32 noundef %59)
          to label %124 unwind label %17

62:                                               ; preds = %60
  %63 = call noundef ptr @_ZNK7UapkiNS3Crl7CrlItem11getDeltaCrlEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  %.not83 = icmp eq ptr %63, null
  br i1 %.not83, label %69, label %64

64:                                               ; preds = %62
  %65 = call noundef ptr @_ZNK7UapkiNS3Crl7CrlItem11getDeltaCrlEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  %66 = invoke i32 @json_object_set_hex(ptr noundef nonnull %0, ptr noundef nonnull @.str.47, ptr noundef %65)
          to label %67 unwind label %17

67:                                               ; preds = %64
  %.not84 = icmp eq i32 %66, 0
  br i1 %.not84, label %69, label %68

68:                                               ; preds = %67
  invoke void @stacktrace_add(ptr noundef nonnull @.str.3, i64 noundef 532, i32 noundef %66)
          to label %124 unwind label %17

69:                                               ; preds = %67, %62
  %70 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7UapkiNS3Crl7CrlItem7getUrisEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  %71 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #5
  br i1 %71, label %96, label %72

72:                                               ; preds = %69
  %73 = invoke ptr @json_value_init_array()
          to label %74 unwind label %17

74:                                               ; preds = %72
  %75 = invoke i32 @json_object_set_value(ptr noundef nonnull %0, ptr noundef nonnull @.str.48, ptr noundef %73)
          to label %76 unwind label %17

76:                                               ; preds = %74
  %.not85 = icmp eq i32 %75, 0
  br i1 %.not85, label %77, label %124

77:                                               ; preds = %76
  %78 = invoke ptr @json_object_get_array(ptr noundef nonnull %0, ptr noundef nonnull @.str.48)
          to label %79 unwind label %84

79:                                               ; preds = %77
  %80 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7UapkiNS3Crl7CrlItem7getUrisEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %81 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #5
  store ptr %81, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %82 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #5
  store ptr %82, ptr %7, align 8
  %83 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %83, label %.lr.ph, label %.thread101

84:                                               ; preds = %77
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %125

.lr.ph:                                           ; preds = %79, %92
  %86 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %87 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %86) #5
  %88 = invoke i32 @json_array_append_string(ptr noundef %78, ptr noundef %87)
          to label %89 unwind label %90

89:                                               ; preds = %.lr.ph
  %.not87 = icmp eq i32 %88, 0
  br i1 %.not87, label %92, label %95

90:                                               ; preds = %.lr.ph
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %125

92:                                               ; preds = %89
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %94 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %94, label %.lr.ph, label %.thread101

.thread101:                                       ; preds = %92, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %96

95:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %124

96:                                               ; preds = %.thread101, %69
  %97 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7UapkiNS3Crl7CrlItem7getUrisEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  %98 = getelementptr inbounds i8, ptr %97, i64 24
  %99 = call noundef zeroext i1 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #5
  br i1 %99, label %124, label %100

100:                                              ; preds = %96
  %101 = invoke ptr @json_value_init_array()
          to label %102 unwind label %17

102:                                              ; preds = %100
  %103 = invoke i32 @json_object_set_value(ptr noundef nonnull %0, ptr noundef nonnull @.str.24, ptr noundef %101)
          to label %104 unwind label %17

104:                                              ; preds = %102
  %.not88 = icmp eq i32 %103, 0
  br i1 %.not88, label %105, label %124

105:                                              ; preds = %104
  %106 = invoke ptr @json_object_get_array(ptr noundef nonnull %0, ptr noundef nonnull @.str.24)
          to label %107 unwind label %113

107:                                              ; preds = %105
  %108 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK7UapkiNS3Crl7CrlItem7getUrisEv(ptr noundef nonnull align 8 dereferenceable(268) %1)
  %109 = getelementptr inbounds i8, ptr %108, i64 24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %110 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %109) #5
  store ptr %110, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %111 = call ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %109) #5
  store ptr %111, ptr %9, align 8
  %112 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %112, label %.lr.ph104, label %._crit_edge

113:                                              ; preds = %105
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %125

.lr.ph104:                                        ; preds = %107, %121
  %115 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %116 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %115) #5
  %117 = invoke i32 @json_array_append_string(ptr noundef %106, ptr noundef %116)
          to label %118 unwind label %119

118:                                              ; preds = %.lr.ph104
  %.not91 = icmp eq i32 %117, 0
  br i1 %.not91, label %121, label %._crit_edge

119:                                              ; preds = %.lr.ph104
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %125

121:                                              ; preds = %118
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %123 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %123, label %.lr.ph104, label %._crit_edge

._crit_edge:                                      ; preds = %118, %121, %107
  %.7 = phi i32 [ 0, %107 ], [ 0, %121 ], [ 4113, %118 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %124

124:                                              ; preds = %95, %._crit_edge, %26, %56, %61, %68, %96, %16, %33, %42, %49, %76, %104, %2
  %.0 = phi i32 [ 4097, %2 ], [ %24, %26 ], [ %54, %56 ], [ %59, %61 ], [ %66, %68 ], [ 0, %96 ], [ %.7, %._crit_edge ], [ 4113, %95 ], [ 4113, %16 ], [ 4113, %33 ], [ 4113, %42 ], [ 4113, %49 ], [ 4113, %76 ], [ 4113, %104 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  ret i32 %.0

125:                                              ; preds = %113, %119, %84, %90, %43, %34, %17
  %.pn92 = phi { ptr, i32 } [ %18, %17 ], [ %44, %43 ], [ %35, %34 ], [ %91, %90 ], [ %85, %84 ], [ %120, %119 ], [ %114, %113 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn92
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(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(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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)"}


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