; LLVM IR from openanolis/openssl :: fuzz (asn1)

; 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"

@pctx = external hidden global ptr, align 8
@item_type = external hidden global [144 x ptr], align 16
@.str = external hidden unnamed_addr constant [64 x i8], align 1

declare void @ERR_clear_error() #0

; Function Attrs: nounwind uwtable
define dso_local i32 @FuzzerTestOneInput(ptr noundef %0, i64 noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca ptr, align 8
  %49 = alloca ptr, align 8
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  %52 = alloca ptr, align 8
  %53 = alloca ptr, align 8
  %54 = alloca ptr, align 8
  %55 = alloca ptr, align 8
  %56 = alloca ptr, align 8
  %57 = alloca ptr, align 8
  %58 = alloca ptr, align 8
  %59 = alloca ptr, align 8
  %60 = alloca ptr, align 8
  %61 = alloca ptr, align 8
  %62 = alloca ptr, align 8
  %63 = alloca ptr, align 8
  %64 = alloca ptr, align 8
  %65 = alloca ptr, align 8
  %66 = alloca ptr, align 8
  %67 = alloca ptr, align 8
  %68 = alloca ptr, align 8
  %69 = alloca ptr, align 8
  %70 = alloca ptr, align 8
  %71 = alloca ptr, align 8
  %72 = alloca ptr, align 8
  %73 = alloca ptr, align 8
  %74 = alloca ptr, align 8
  %75 = alloca ptr, align 8
  %76 = alloca ptr, align 8
  %77 = alloca ptr, align 8
  %78 = alloca ptr, align 8
  %79 = alloca ptr, align 8
  %80 = alloca ptr, align 8
  %81 = alloca ptr, align 8
  %82 = alloca ptr, align 8
  %83 = alloca ptr, align 8
  %84 = alloca ptr, align 8
  %85 = alloca ptr, align 8
  %86 = alloca ptr, align 8
  %87 = alloca ptr, align 8
  %88 = alloca ptr, align 8
  %89 = alloca ptr, align 8
  %90 = alloca ptr, align 8
  %91 = alloca ptr, align 8
  %92 = alloca ptr, align 8
  %93 = alloca ptr, align 8
  %94 = alloca ptr, align 8
  %95 = alloca ptr, align 8
  %96 = alloca ptr, align 8
  %97 = alloca ptr, align 8
  %98 = alloca ptr, align 8
  %99 = alloca i32, align 4
  %100 = alloca ptr, align 8
  %101 = alloca ptr, align 8
  %102 = alloca ptr, align 8
  %103 = alloca ptr, align 8
  %104 = alloca ptr, align 8
  %105 = alloca ptr, align 8
  %106 = alloca ptr, align 8
  %107 = alloca ptr, align 8
  %108 = alloca ptr, align 8
  %109 = alloca ptr, align 8
  %110 = alloca ptr, align 8
  %111 = alloca ptr, align 8
  %112 = alloca i32, align 4
  %113 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 0, ptr %5, align 4, !tbaa !11
  br label %114

114:                                              ; preds = %156, %2
  %115 = load i32, ptr %5, align 4, !tbaa !11
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [144 x ptr], ptr @item_type, i64 0, i64 %116
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  %119 = icmp ne ptr %118, null
  br i1 %119, label %120, label %159

120:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %121, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  store ptr null, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %122 = load i32, ptr %5, align 4, !tbaa !11
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [144 x ptr], ptr @item_type, i64 0, i64 %123
  %125 = load ptr, ptr %124, align 8, !tbaa !5
  %126 = call ptr %125()
  store ptr %126, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %127 = load i64, ptr %4, align 8, !tbaa !9
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = call ptr @ASN1_item_d2i(ptr noundef null, ptr noundef %6, i64 noundef %127, ptr noundef %128)
  store ptr %129, ptr %9, align 8, !tbaa !5
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = icmp ne ptr %130, null
  br i1 %131, label %132, label %155

132:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %133 = call ptr @BIO_s_null()
  %134 = call ptr @BIO_new(ptr noundef %133)
  store ptr %134, ptr %10, align 8, !tbaa !5
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = icmp ne ptr %135, null
  br i1 %136, label %137, label %145

137:                                              ; preds = %132
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = load ptr, ptr %8, align 8, !tbaa !5
  %141 = load ptr, ptr @pctx, align 8, !tbaa !5
  %142 = call i32 @ASN1_item_print(ptr noundef %138, ptr noundef %139, i32 noundef 4, ptr noundef %140, ptr noundef %141)
  %143 = load ptr, ptr %10, align 8, !tbaa !5
  %144 = call i32 @BIO_free(ptr noundef %143)
  br label %145

145:                                              ; preds = %137, %132
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = call i32 @ASN1_item_i2d(ptr noundef %146, ptr noundef %7, ptr noundef %147)
  %149 = icmp sgt i32 %148, 0
  br i1 %149, label %150, label %152

150:                                              ; preds = %145
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %151, ptr noundef @.str, i32 noundef 321)
  br label %152

152:                                              ; preds = %150, %145
  %153 = load ptr, ptr %9, align 8, !tbaa !5
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  call void @ASN1_item_free(ptr noundef %153, ptr noundef %154)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  br label %155

155:                                              ; preds = %152, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %5, align 4, !tbaa !11
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %5, align 4, !tbaa !11
  br label %114, !llvm.loop !13

159:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %160, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  store ptr null, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %161 = load i64, ptr %4, align 8, !tbaa !9
  %162 = call ptr @d2i_TS_REQ(ptr noundef null, ptr noundef %11, i64 noundef %161)
  store ptr %162, ptr %13, align 8, !tbaa !5
  %163 = load ptr, ptr %13, align 8, !tbaa !5
  %164 = icmp ne ptr %163, null
  br i1 %164, label %165, label %185

165:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %166 = call ptr @BIO_s_null()
  %167 = call ptr @BIO_new(ptr noundef %166)
  store ptr %167, ptr %15, align 8, !tbaa !5
  %168 = load ptr, ptr %15, align 8, !tbaa !5
  %169 = icmp ne ptr %168, null
  br i1 %169, label %170, label %176

170:                                              ; preds = %165
  %171 = load ptr, ptr %15, align 8, !tbaa !5
  %172 = load ptr, ptr %13, align 8, !tbaa !5
  %173 = call i32 @TS_REQ_print_bio(ptr noundef %171, ptr noundef %172)
  %174 = load ptr, ptr %15, align 8, !tbaa !5
  %175 = call i32 @BIO_free(ptr noundef %174)
  br label %176

176:                                              ; preds = %170, %165
  %177 = load ptr, ptr %13, align 8, !tbaa !5
  %178 = call i32 @i2d_TS_REQ(ptr noundef %177, ptr noundef %12)
  store i32 %178, ptr %14, align 4, !tbaa !11
  %179 = load i32, ptr %14, align 4, !tbaa !11
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %182

181:                                              ; preds = %176
  br label %182

182:                                              ; preds = %181, %176
  %183 = load ptr, ptr %12, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %183, ptr noundef @.str, i32 noundef 328)
  %184 = load ptr, ptr %13, align 8, !tbaa !5
  call void @TS_REQ_free(ptr noundef %184)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %185

185:                                              ; preds = %182, %159
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %186 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %186, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  store ptr null, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %187 = load i64, ptr %4, align 8, !tbaa !9
  %188 = call ptr @d2i_TS_MSG_IMPRINT(ptr noundef null, ptr noundef %16, i64 noundef %187)
  store ptr %188, ptr %18, align 8, !tbaa !5
  %189 = load ptr, ptr %18, align 8, !tbaa !5
  %190 = icmp ne ptr %189, null
  br i1 %190, label %191, label %211

191:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  %192 = call ptr @BIO_s_null()
  %193 = call ptr @BIO_new(ptr noundef %192)
  store ptr %193, ptr %20, align 8, !tbaa !5
  %194 = load ptr, ptr %20, align 8, !tbaa !5
  %195 = icmp ne ptr %194, null
  br i1 %195, label %196, label %202

196:                                              ; preds = %191
  %197 = load ptr, ptr %20, align 8, !tbaa !5
  %198 = load ptr, ptr %18, align 8, !tbaa !5
  %199 = call i32 @TS_MSG_IMPRINT_print_bio(ptr noundef %197, ptr noundef %198)
  %200 = load ptr, ptr %20, align 8, !tbaa !5
  %201 = call i32 @BIO_free(ptr noundef %200)
  br label %202

202:                                              ; preds = %196, %191
  %203 = load ptr, ptr %18, align 8, !tbaa !5
  %204 = call i32 @i2d_TS_MSG_IMPRINT(ptr noundef %203, ptr noundef %17)
  store i32 %204, ptr %19, align 4, !tbaa !11
  %205 = load i32, ptr %19, align 4, !tbaa !11
  %206 = icmp ne i32 %205, 0
  br i1 %206, label %207, label %208

207:                                              ; preds = %202
  br label %208

208:                                              ; preds = %207, %202
  %209 = load ptr, ptr %17, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %209, ptr noundef @.str, i32 noundef 329)
  %210 = load ptr, ptr %18, align 8, !tbaa !5
  call void @TS_MSG_IMPRINT_free(ptr noundef %210)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %211

211:                                              ; preds = %208, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %212 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %212, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  store ptr null, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %213 = load i64, ptr %4, align 8, !tbaa !9
  %214 = call ptr @d2i_TS_RESP(ptr noundef null, ptr noundef %21, i64 noundef %213)
  store ptr %214, ptr %23, align 8, !tbaa !5
  %215 = load ptr, ptr %23, align 8, !tbaa !5
  %216 = icmp ne ptr %215, null
  br i1 %216, label %217, label %237

217:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  %218 = call ptr @BIO_s_null()
  %219 = call ptr @BIO_new(ptr noundef %218)
  store ptr %219, ptr %25, align 8, !tbaa !5
  %220 = load ptr, ptr %25, align 8, !tbaa !5
  %221 = icmp ne ptr %220, null
  br i1 %221, label %222, label %228

222:                                              ; preds = %217
  %223 = load ptr, ptr %25, align 8, !tbaa !5
  %224 = load ptr, ptr %23, align 8, !tbaa !5
  %225 = call i32 @TS_RESP_print_bio(ptr noundef %223, ptr noundef %224)
  %226 = load ptr, ptr %25, align 8, !tbaa !5
  %227 = call i32 @BIO_free(ptr noundef %226)
  br label %228

228:                                              ; preds = %222, %217
  %229 = load ptr, ptr %23, align 8, !tbaa !5
  %230 = call i32 @i2d_TS_RESP(ptr noundef %229, ptr noundef %22)
  store i32 %230, ptr %24, align 4, !tbaa !11
  %231 = load i32, ptr %24, align 4, !tbaa !11
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %233, label %234

233:                                              ; preds = %228
  br label %234

234:                                              ; preds = %233, %228
  %235 = load ptr, ptr %22, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %235, ptr noundef @.str, i32 noundef 330)
  %236 = load ptr, ptr %23, align 8, !tbaa !5
  call void @TS_RESP_free(ptr noundef %236)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  br label %237

237:                                              ; preds = %234, %211
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  %238 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %238, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  store ptr null, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  %239 = load i64, ptr %4, align 8, !tbaa !9
  %240 = call ptr @d2i_TS_STATUS_INFO(ptr noundef null, ptr noundef %26, i64 noundef %239)
  store ptr %240, ptr %28, align 8, !tbaa !5
  %241 = load ptr, ptr %28, align 8, !tbaa !5
  %242 = icmp ne ptr %241, null
  br i1 %242, label %243, label %263

243:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #3
  %244 = call ptr @BIO_s_null()
  %245 = call ptr @BIO_new(ptr noundef %244)
  store ptr %245, ptr %30, align 8, !tbaa !5
  %246 = load ptr, ptr %30, align 8, !tbaa !5
  %247 = icmp ne ptr %246, null
  br i1 %247, label %248, label %254

248:                                              ; preds = %243
  %249 = load ptr, ptr %30, align 8, !tbaa !5
  %250 = load ptr, ptr %28, align 8, !tbaa !5
  %251 = call i32 @TS_STATUS_INFO_print_bio(ptr noundef %249, ptr noundef %250)
  %252 = load ptr, ptr %30, align 8, !tbaa !5
  %253 = call i32 @BIO_free(ptr noundef %252)
  br label %254

254:                                              ; preds = %248, %243
  %255 = load ptr, ptr %28, align 8, !tbaa !5
  %256 = call i32 @i2d_TS_STATUS_INFO(ptr noundef %255, ptr noundef %27)
  store i32 %256, ptr %29, align 4, !tbaa !11
  %257 = load i32, ptr %29, align 4, !tbaa !11
  %258 = icmp ne i32 %257, 0
  br i1 %258, label %259, label %260

259:                                              ; preds = %254
  br label %260

260:                                              ; preds = %259, %254
  %261 = load ptr, ptr %27, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %261, ptr noundef @.str, i32 noundef 331)
  %262 = load ptr, ptr %28, align 8, !tbaa !5
  call void @TS_STATUS_INFO_free(ptr noundef %262)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #3
  br label %263

263:                                              ; preds = %260, %237
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  %264 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %264, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #3
  store ptr null, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #3
  %265 = load i64, ptr %4, align 8, !tbaa !9
  %266 = call ptr @d2i_TS_TST_INFO(ptr noundef null, ptr noundef %31, i64 noundef %265)
  store ptr %266, ptr %33, align 8, !tbaa !5
  %267 = load ptr, ptr %33, align 8, !tbaa !5
  %268 = icmp ne ptr %267, null
  br i1 %268, label %269, label %289

269:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #3
  %270 = call ptr @BIO_s_null()
  %271 = call ptr @BIO_new(ptr noundef %270)
  store ptr %271, ptr %35, align 8, !tbaa !5
  %272 = load ptr, ptr %35, align 8, !tbaa !5
  %273 = icmp ne ptr %272, null
  br i1 %273, label %274, label %280

274:                                              ; preds = %269
  %275 = load ptr, ptr %35, align 8, !tbaa !5
  %276 = load ptr, ptr %33, align 8, !tbaa !5
  %277 = call i32 @TS_TST_INFO_print_bio(ptr noundef %275, ptr noundef %276)
  %278 = load ptr, ptr %35, align 8, !tbaa !5
  %279 = call i32 @BIO_free(ptr noundef %278)
  br label %280

280:                                              ; preds = %274, %269
  %281 = load ptr, ptr %33, align 8, !tbaa !5
  %282 = call i32 @i2d_TS_TST_INFO(ptr noundef %281, ptr noundef %32)
  store i32 %282, ptr %34, align 4, !tbaa !11
  %283 = load i32, ptr %34, align 4, !tbaa !11
  %284 = icmp ne i32 %283, 0
  br i1 %284, label %285, label %286

285:                                              ; preds = %280
  br label %286

286:                                              ; preds = %285, %280
  %287 = load ptr, ptr %32, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %287, ptr noundef @.str, i32 noundef 332)
  %288 = load ptr, ptr %33, align 8, !tbaa !5
  call void @TS_TST_INFO_free(ptr noundef %288)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #3
  br label %289

289:                                              ; preds = %286, %263
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #3
  %290 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %290, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #3
  store ptr null, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #3
  %291 = load i64, ptr %4, align 8, !tbaa !9
  %292 = call ptr @d2i_TS_ACCURACY(ptr noundef null, ptr noundef %36, i64 noundef %291)
  store ptr %292, ptr %38, align 8, !tbaa !5
  %293 = load ptr, ptr %38, align 8, !tbaa !5
  %294 = icmp ne ptr %293, null
  br i1 %294, label %295, label %304

295:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #3
  %296 = call ptr @BIO_s_null()
  %297 = call ptr @BIO_new(ptr noundef %296)
  store ptr %297, ptr %39, align 8, !tbaa !5
  %298 = load ptr, ptr %39, align 8, !tbaa !5
  %299 = call i32 @BIO_free(ptr noundef %298)
  %300 = load ptr, ptr %38, align 8, !tbaa !5
  %301 = call i32 @i2d_TS_ACCURACY(ptr noundef %300, ptr noundef %37)
  %302 = load ptr, ptr %37, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %302, ptr noundef @.str, i32 noundef 333)
  %303 = load ptr, ptr %38, align 8, !tbaa !5
  call void @TS_ACCURACY_free(ptr noundef %303)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #3
  br label %304

304:                                              ; preds = %295, %289
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #3
  %305 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %305, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #3
  store ptr null, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #3
  %306 = load i64, ptr %4, align 8, !tbaa !9
  %307 = call ptr @d2i_ESS_ISSUER_SERIAL(ptr noundef null, ptr noundef %40, i64 noundef %306)
  store ptr %307, ptr %42, align 8, !tbaa !5
  %308 = load ptr, ptr %42, align 8, !tbaa !5
  %309 = icmp ne ptr %308, null
  br i1 %309, label %310, label %319

310:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #3
  %311 = call ptr @BIO_s_null()
  %312 = call ptr @BIO_new(ptr noundef %311)
  store ptr %312, ptr %43, align 8, !tbaa !5
  %313 = load ptr, ptr %43, align 8, !tbaa !5
  %314 = call i32 @BIO_free(ptr noundef %313)
  %315 = load ptr, ptr %42, align 8, !tbaa !5
  %316 = call i32 @i2d_ESS_ISSUER_SERIAL(ptr noundef %315, ptr noundef %41)
  %317 = load ptr, ptr %41, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %317, ptr noundef @.str, i32 noundef 335)
  %318 = load ptr, ptr %42, align 8, !tbaa !5
  call void @ESS_ISSUER_SERIAL_free(ptr noundef %318)
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #3
  br label %319

319:                                              ; preds = %310, %304
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #3
  %320 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %320, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #3
  store ptr null, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #3
  %321 = load i64, ptr %4, align 8, !tbaa !9
  %322 = call ptr @d2i_ESS_CERT_ID(ptr noundef null, ptr noundef %44, i64 noundef %321)
  store ptr %322, ptr %46, align 8, !tbaa !5
  %323 = load ptr, ptr %46, align 8, !tbaa !5
  %324 = icmp ne ptr %323, null
  br i1 %324, label %325, label %334

325:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #3
  %326 = call ptr @BIO_s_null()
  %327 = call ptr @BIO_new(ptr noundef %326)
  store ptr %327, ptr %47, align 8, !tbaa !5
  %328 = load ptr, ptr %47, align 8, !tbaa !5
  %329 = call i32 @BIO_free(ptr noundef %328)
  %330 = load ptr, ptr %46, align 8, !tbaa !5
  %331 = call i32 @i2d_ESS_CERT_ID(ptr noundef %330, ptr noundef %45)
  %332 = load ptr, ptr %45, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %332, ptr noundef @.str, i32 noundef 336)
  %333 = load ptr, ptr %46, align 8, !tbaa !5
  call void @ESS_CERT_ID_free(ptr noundef %333)
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #3
  br label %334

334:                                              ; preds = %325, %319
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #3
  %335 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %335, ptr %48, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #3
  store ptr null, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #3
  %336 = load i64, ptr %4, align 8, !tbaa !9
  %337 = call ptr @d2i_ESS_SIGNING_CERT(ptr noundef null, ptr noundef %48, i64 noundef %336)
  store ptr %337, ptr %50, align 8, !tbaa !5
  %338 = load ptr, ptr %50, align 8, !tbaa !5
  %339 = icmp ne ptr %338, null
  br i1 %339, label %340, label %349

340:                                              ; preds = %334
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #3
  %341 = call ptr @BIO_s_null()
  %342 = call ptr @BIO_new(ptr noundef %341)
  store ptr %342, ptr %51, align 8, !tbaa !5
  %343 = load ptr, ptr %51, align 8, !tbaa !5
  %344 = call i32 @BIO_free(ptr noundef %343)
  %345 = load ptr, ptr %50, align 8, !tbaa !5
  %346 = call i32 @i2d_ESS_SIGNING_CERT(ptr noundef %345, ptr noundef %49)
  %347 = load ptr, ptr %49, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %347, ptr noundef @.str, i32 noundef 337)
  %348 = load ptr, ptr %50, align 8, !tbaa !5
  call void @ESS_SIGNING_CERT_free(ptr noundef %348)
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #3
  br label %349

349:                                              ; preds = %340, %334
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #3
  %350 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %350, ptr %52, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #3
  store ptr null, ptr %53, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #3
  %351 = load i64, ptr %4, align 8, !tbaa !9
  %352 = call ptr @d2i_ESS_CERT_ID_V2(ptr noundef null, ptr noundef %52, i64 noundef %351)
  store ptr %352, ptr %54, align 8, !tbaa !5
  %353 = load ptr, ptr %54, align 8, !tbaa !5
  %354 = icmp ne ptr %353, null
  br i1 %354, label %355, label %364

355:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #3
  %356 = call ptr @BIO_s_null()
  %357 = call ptr @BIO_new(ptr noundef %356)
  store ptr %357, ptr %55, align 8, !tbaa !5
  %358 = load ptr, ptr %55, align 8, !tbaa !5
  %359 = call i32 @BIO_free(ptr noundef %358)
  %360 = load ptr, ptr %54, align 8, !tbaa !5
  %361 = call i32 @i2d_ESS_CERT_ID_V2(ptr noundef %360, ptr noundef %53)
  %362 = load ptr, ptr %53, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %362, ptr noundef @.str, i32 noundef 338)
  %363 = load ptr, ptr %54, align 8, !tbaa !5
  call void @ESS_CERT_ID_V2_free(ptr noundef %363)
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #3
  br label %364

364:                                              ; preds = %355, %349
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #3
  %365 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %365, ptr %56, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #3
  store ptr null, ptr %57, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #3
  %366 = load i64, ptr %4, align 8, !tbaa !9
  %367 = call ptr @d2i_ESS_SIGNING_CERT_V2(ptr noundef null, ptr noundef %56, i64 noundef %366)
  store ptr %367, ptr %58, align 8, !tbaa !5
  %368 = load ptr, ptr %58, align 8, !tbaa !5
  %369 = icmp ne ptr %368, null
  br i1 %369, label %370, label %379

370:                                              ; preds = %364
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #3
  %371 = call ptr @BIO_s_null()
  %372 = call ptr @BIO_new(ptr noundef %371)
  store ptr %372, ptr %59, align 8, !tbaa !5
  %373 = load ptr, ptr %59, align 8, !tbaa !5
  %374 = call i32 @BIO_free(ptr noundef %373)
  %375 = load ptr, ptr %58, align 8, !tbaa !5
  %376 = call i32 @i2d_ESS_SIGNING_CERT_V2(ptr noundef %375, ptr noundef %57)
  %377 = load ptr, ptr %57, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %377, ptr noundef @.str, i32 noundef 339)
  %378 = load ptr, ptr %58, align 8, !tbaa !5
  call void @ESS_SIGNING_CERT_V2_free(ptr noundef %378)
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #3
  br label %379

379:                                              ; preds = %370, %364
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #3
  %380 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %380, ptr %60, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #3
  store ptr null, ptr %61, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #3
  %381 = load i64, ptr %4, align 8, !tbaa !9
  %382 = call ptr @d2i_DHparams(ptr noundef null, ptr noundef %60, i64 noundef %381)
  store ptr %382, ptr %62, align 8, !tbaa !5
  %383 = load ptr, ptr %62, align 8, !tbaa !5
  %384 = icmp ne ptr %383, null
  br i1 %384, label %385, label %394

385:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #3
  %386 = call ptr @BIO_s_null()
  %387 = call ptr @BIO_new(ptr noundef %386)
  store ptr %387, ptr %63, align 8, !tbaa !5
  %388 = load ptr, ptr %63, align 8, !tbaa !5
  %389 = call i32 @BIO_free(ptr noundef %388)
  %390 = load ptr, ptr %62, align 8, !tbaa !5
  %391 = call i32 @i2d_DHparams(ptr noundef %390, ptr noundef %61)
  %392 = load ptr, ptr %61, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %392, ptr noundef @.str, i32 noundef 341)
  %393 = load ptr, ptr %62, align 8, !tbaa !5
  call void @DH_free(ptr noundef %393)
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #3
  br label %394

394:                                              ; preds = %385, %379
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #3
  %395 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %395, ptr %64, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #3
  store ptr null, ptr %65, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #3
  %396 = load i64, ptr %4, align 8, !tbaa !9
  %397 = call ptr @d2i_DHxparams(ptr noundef null, ptr noundef %64, i64 noundef %396)
  store ptr %397, ptr %66, align 8, !tbaa !5
  %398 = load ptr, ptr %66, align 8, !tbaa !5
  %399 = icmp ne ptr %398, null
  br i1 %399, label %400, label %409

400:                                              ; preds = %394
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #3
  %401 = call ptr @BIO_s_null()
  %402 = call ptr @BIO_new(ptr noundef %401)
  store ptr %402, ptr %67, align 8, !tbaa !5
  %403 = load ptr, ptr %67, align 8, !tbaa !5
  %404 = call i32 @BIO_free(ptr noundef %403)
  %405 = load ptr, ptr %66, align 8, !tbaa !5
  %406 = call i32 @i2d_DHxparams(ptr noundef %405, ptr noundef %65)
  %407 = load ptr, ptr %65, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %407, ptr noundef @.str, i32 noundef 342)
  %408 = load ptr, ptr %66, align 8, !tbaa !5
  call void @DH_free(ptr noundef %408)
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #3
  br label %409

409:                                              ; preds = %400, %394
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #3
  %410 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %410, ptr %68, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #3
  store ptr null, ptr %69, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #3
  %411 = load i64, ptr %4, align 8, !tbaa !9
  %412 = call ptr @d2i_DSA_SIG(ptr noundef null, ptr noundef %68, i64 noundef %411)
  store ptr %412, ptr %70, align 8, !tbaa !5
  %413 = load ptr, ptr %70, align 8, !tbaa !5
  %414 = icmp ne ptr %413, null
  br i1 %414, label %415, label %424

415:                                              ; preds = %409
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #3
  %416 = call ptr @BIO_s_null()
  %417 = call ptr @BIO_new(ptr noundef %416)
  store ptr %417, ptr %71, align 8, !tbaa !5
  %418 = load ptr, ptr %71, align 8, !tbaa !5
  %419 = call i32 @BIO_free(ptr noundef %418)
  %420 = load ptr, ptr %70, align 8, !tbaa !5
  %421 = call i32 @i2d_DSA_SIG(ptr noundef %420, ptr noundef %69)
  %422 = load ptr, ptr %69, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %422, ptr noundef @.str, i32 noundef 345)
  %423 = load ptr, ptr %70, align 8, !tbaa !5
  call void @DSA_SIG_free(ptr noundef %423)
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #3
  br label %424

424:                                              ; preds = %415, %409
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #3
  %425 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %425, ptr %72, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #3
  store ptr null, ptr %73, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #3
  %426 = load i64, ptr %4, align 8, !tbaa !9
  %427 = call ptr @d2i_DSAPrivateKey(ptr noundef null, ptr noundef %72, i64 noundef %426)
  store ptr %427, ptr %74, align 8, !tbaa !5
  %428 = load ptr, ptr %74, align 8, !tbaa !5
  %429 = icmp ne ptr %428, null
  br i1 %429, label %430, label %439

430:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #3
  %431 = call ptr @BIO_s_null()
  %432 = call ptr @BIO_new(ptr noundef %431)
  store ptr %432, ptr %75, align 8, !tbaa !5
  %433 = load ptr, ptr %75, align 8, !tbaa !5
  %434 = call i32 @BIO_free(ptr noundef %433)
  %435 = load ptr, ptr %74, align 8, !tbaa !5
  %436 = call i32 @i2d_DSAPrivateKey(ptr noundef %435, ptr noundef %73)
  %437 = load ptr, ptr %73, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %437, ptr noundef @.str, i32 noundef 347)
  %438 = load ptr, ptr %74, align 8, !tbaa !5
  call void @DSA_free(ptr noundef %438)
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #3
  br label %439

439:                                              ; preds = %430, %424
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #3
  %440 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %440, ptr %76, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #3
  store ptr null, ptr %77, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #3
  %441 = load i64, ptr %4, align 8, !tbaa !9
  %442 = call ptr @d2i_DSAPublicKey(ptr noundef null, ptr noundef %76, i64 noundef %441)
  store ptr %442, ptr %78, align 8, !tbaa !5
  %443 = load ptr, ptr %78, align 8, !tbaa !5
  %444 = icmp ne ptr %443, null
  br i1 %444, label %445, label %454

445:                                              ; preds = %439
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #3
  %446 = call ptr @BIO_s_null()
  %447 = call ptr @BIO_new(ptr noundef %446)
  store ptr %447, ptr %79, align 8, !tbaa !5
  %448 = load ptr, ptr %79, align 8, !tbaa !5
  %449 = call i32 @BIO_free(ptr noundef %448)
  %450 = load ptr, ptr %78, align 8, !tbaa !5
  %451 = call i32 @i2d_DSAPublicKey(ptr noundef %450, ptr noundef %77)
  %452 = load ptr, ptr %77, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %452, ptr noundef @.str, i32 noundef 348)
  %453 = load ptr, ptr %78, align 8, !tbaa !5
  call void @DSA_free(ptr noundef %453)
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #3
  br label %454

454:                                              ; preds = %445, %439
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #3
  %455 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %455, ptr %80, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #3
  store ptr null, ptr %81, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #3
  %456 = load i64, ptr %4, align 8, !tbaa !9
  %457 = call ptr @d2i_DSAparams(ptr noundef null, ptr noundef %80, i64 noundef %456)
  store ptr %457, ptr %82, align 8, !tbaa !5
  %458 = load ptr, ptr %82, align 8, !tbaa !5
  %459 = icmp ne ptr %458, null
  br i1 %459, label %460, label %469

460:                                              ; preds = %454
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #3
  %461 = call ptr @BIO_s_null()
  %462 = call ptr @BIO_new(ptr noundef %461)
  store ptr %462, ptr %83, align 8, !tbaa !5
  %463 = load ptr, ptr %83, align 8, !tbaa !5
  %464 = call i32 @BIO_free(ptr noundef %463)
  %465 = load ptr, ptr %82, align 8, !tbaa !5
  %466 = call i32 @i2d_DSAparams(ptr noundef %465, ptr noundef %81)
  %467 = load ptr, ptr %81, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %467, ptr noundef @.str, i32 noundef 349)
  %468 = load ptr, ptr %82, align 8, !tbaa !5
  call void @DSA_free(ptr noundef %468)
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #3
  br label %469

469:                                              ; preds = %460, %454
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #3
  %470 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %470, ptr %84, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #3
  store ptr null, ptr %85, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #3
  %471 = load i64, ptr %4, align 8, !tbaa !9
  %472 = call ptr @d2i_RSAPublicKey(ptr noundef null, ptr noundef %84, i64 noundef %471)
  store ptr %472, ptr %86, align 8, !tbaa !5
  %473 = load ptr, ptr %86, align 8, !tbaa !5
  %474 = icmp ne ptr %473, null
  br i1 %474, label %475, label %484

475:                                              ; preds = %469
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #3
  %476 = call ptr @BIO_s_null()
  %477 = call ptr @BIO_new(ptr noundef %476)
  store ptr %477, ptr %87, align 8, !tbaa !5
  %478 = load ptr, ptr %87, align 8, !tbaa !5
  %479 = call i32 @BIO_free(ptr noundef %478)
  %480 = load ptr, ptr %86, align 8, !tbaa !5
  %481 = call i32 @i2d_RSAPublicKey(ptr noundef %480, ptr noundef %85)
  %482 = load ptr, ptr %85, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %482, ptr noundef @.str, i32 noundef 353)
  %483 = load ptr, ptr %86, align 8, !tbaa !5
  call void @RSA_free(ptr noundef %483)
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #3
  br label %484

484:                                              ; preds = %475, %469
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #3
  %485 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %485, ptr %88, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #3
  store ptr null, ptr %89, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #3
  %486 = load i64, ptr %4, align 8, !tbaa !9
  %487 = call ptr @d2i_ECPKParameters(ptr noundef null, ptr noundef %88, i64 noundef %486)
  store ptr %487, ptr %90, align 8, !tbaa !5
  %488 = load ptr, ptr %90, align 8, !tbaa !5
  %489 = icmp ne ptr %488, null
  br i1 %489, label %490, label %506

490:                                              ; preds = %484
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #3
  %491 = call ptr @BIO_s_null()
  %492 = call ptr @BIO_new(ptr noundef %491)
  store ptr %492, ptr %91, align 8, !tbaa !5
  %493 = load ptr, ptr %91, align 8, !tbaa !5
  %494 = icmp ne ptr %493, null
  br i1 %494, label %495, label %501

495:                                              ; preds = %490
  %496 = load ptr, ptr %91, align 8, !tbaa !5
  %497 = load ptr, ptr %90, align 8, !tbaa !5
  %498 = call i32 @ECPKParameters_print(ptr noundef %496, ptr noundef %497, i32 noundef 0)
  %499 = load ptr, ptr %91, align 8, !tbaa !5
  %500 = call i32 @BIO_free(ptr noundef %499)
  br label %501

501:                                              ; preds = %495, %490
  %502 = load ptr, ptr %90, align 8, !tbaa !5
  %503 = call i32 @i2d_ECPKParameters(ptr noundef %502, ptr noundef %89)
  %504 = load ptr, ptr %89, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %504, ptr noundef @.str, i32 noundef 357)
  %505 = load ptr, ptr %90, align 8, !tbaa !5
  call void @EC_GROUP_free(ptr noundef %505)
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #3
  br label %506

506:                                              ; preds = %501, %484
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #3
  %507 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %507, ptr %92, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #3
  store ptr null, ptr %93, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #3
  %508 = load i64, ptr %4, align 8, !tbaa !9
  %509 = call ptr @d2i_ECPrivateKey(ptr noundef null, ptr noundef %92, i64 noundef %508)
  store ptr %509, ptr %94, align 8, !tbaa !5
  %510 = load ptr, ptr %94, align 8, !tbaa !5
  %511 = icmp ne ptr %510, null
  br i1 %511, label %512, label %528

512:                                              ; preds = %506
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #3
  %513 = call ptr @BIO_s_null()
  %514 = call ptr @BIO_new(ptr noundef %513)
  store ptr %514, ptr %95, align 8, !tbaa !5
  %515 = load ptr, ptr %95, align 8, !tbaa !5
  %516 = icmp ne ptr %515, null
  br i1 %516, label %517, label %523

517:                                              ; preds = %512
  %518 = load ptr, ptr %95, align 8, !tbaa !5
  %519 = load ptr, ptr %94, align 8, !tbaa !5
  %520 = call i32 @EC_KEY_print(ptr noundef %518, ptr noundef %519, i32 noundef 0)
  %521 = load ptr, ptr %95, align 8, !tbaa !5
  %522 = call i32 @BIO_free(ptr noundef %521)
  br label %523

523:                                              ; preds = %517, %512
  %524 = load ptr, ptr %94, align 8, !tbaa !5
  %525 = call i32 @i2d_ECPrivateKey(ptr noundef %524, ptr noundef %93)
  %526 = load ptr, ptr %93, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %526, ptr noundef @.str, i32 noundef 358)
  %527 = load ptr, ptr %94, align 8, !tbaa !5
  call void @EC_KEY_free(ptr noundef %527)
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #3
  br label %528

528:                                              ; preds = %523, %506
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %96) #3
  %529 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %529, ptr %96, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %97) #3
  store ptr null, ptr %97, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %98) #3
  %530 = load i64, ptr %4, align 8, !tbaa !9
  %531 = call ptr @d2i_ECParameters(ptr noundef null, ptr noundef %96, i64 noundef %530)
  store ptr %531, ptr %98, align 8, !tbaa !5
  %532 = load ptr, ptr %98, align 8, !tbaa !5
  %533 = icmp ne ptr %532, null
  br i1 %533, label %534, label %554

534:                                              ; preds = %528
  call void @llvm.lifetime.start.p0(i64 4, ptr %99) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %100) #3
  %535 = call ptr @BIO_s_null()
  %536 = call ptr @BIO_new(ptr noundef %535)
  store ptr %536, ptr %100, align 8, !tbaa !5
  %537 = load ptr, ptr %100, align 8, !tbaa !5
  %538 = icmp ne ptr %537, null
  br i1 %538, label %539, label %545

539:                                              ; preds = %534
  %540 = load ptr, ptr %100, align 8, !tbaa !5
  %541 = load ptr, ptr %98, align 8, !tbaa !5
  %542 = call i32 @ECParameters_print(ptr noundef %540, ptr noundef %541)
  %543 = load ptr, ptr %100, align 8, !tbaa !5
  %544 = call i32 @BIO_free(ptr noundef %543)
  br label %545

545:                                              ; preds = %539, %534
  %546 = load ptr, ptr %98, align 8, !tbaa !5
  %547 = call i32 @i2d_ECParameters(ptr noundef %546, ptr noundef %97)
  store i32 %547, ptr %99, align 4, !tbaa !11
  %548 = load i32, ptr %99, align 4, !tbaa !11
  %549 = icmp ne i32 %548, 0
  br i1 %549, label %550, label %551

550:                                              ; preds = %545
  br label %551

551:                                              ; preds = %550, %545
  %552 = load ptr, ptr %97, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %552, ptr noundef @.str, i32 noundef 359)
  %553 = load ptr, ptr %98, align 8, !tbaa !5
  call void @EC_KEY_free(ptr noundef %553)
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %99) #3
  br label %554

554:                                              ; preds = %551, %528
  call void @llvm.lifetime.end.p0(i64 8, ptr %98) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %101) #3
  %555 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %555, ptr %101, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %102) #3
  store ptr null, ptr %102, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %103) #3
  %556 = load i64, ptr %4, align 8, !tbaa !9
  %557 = call ptr @d2i_ECDSA_SIG(ptr noundef null, ptr noundef %101, i64 noundef %556)
  store ptr %557, ptr %103, align 8, !tbaa !5
  %558 = load ptr, ptr %103, align 8, !tbaa !5
  %559 = icmp ne ptr %558, null
  br i1 %559, label %560, label %569

560:                                              ; preds = %554
  call void @llvm.lifetime.start.p0(i64 8, ptr %104) #3
  %561 = call ptr @BIO_s_null()
  %562 = call ptr @BIO_new(ptr noundef %561)
  store ptr %562, ptr %104, align 8, !tbaa !5
  %563 = load ptr, ptr %104, align 8, !tbaa !5
  %564 = call i32 @BIO_free(ptr noundef %563)
  %565 = load ptr, ptr %103, align 8, !tbaa !5
  %566 = call i32 @i2d_ECDSA_SIG(ptr noundef %565, ptr noundef %102)
  %567 = load ptr, ptr %102, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %567, ptr noundef @.str, i32 noundef 360)
  %568 = load ptr, ptr %103, align 8, !tbaa !5
  call void @ECDSA_SIG_free(ptr noundef %568)
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #3
  br label %569

569:                                              ; preds = %560, %554
  call void @llvm.lifetime.end.p0(i64 8, ptr %103) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %102) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %105) #3
  %570 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %570, ptr %105, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %106) #3
  store ptr null, ptr %106, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %107) #3
  %571 = load i64, ptr %4, align 8, !tbaa !9
  %572 = call ptr @d2i_AutoPrivateKey(ptr noundef null, ptr noundef %105, i64 noundef %571)
  store ptr %572, ptr %107, align 8, !tbaa !5
  %573 = load ptr, ptr %107, align 8, !tbaa !5
  %574 = icmp ne ptr %573, null
  br i1 %574, label %575, label %592

575:                                              ; preds = %569
  call void @llvm.lifetime.start.p0(i64 8, ptr %108) #3
  %576 = call ptr @BIO_s_null()
  %577 = call ptr @BIO_new(ptr noundef %576)
  store ptr %577, ptr %108, align 8, !tbaa !5
  %578 = load ptr, ptr %108, align 8, !tbaa !5
  %579 = icmp ne ptr %578, null
  br i1 %579, label %580, label %587

580:                                              ; preds = %575
  %581 = load ptr, ptr %108, align 8, !tbaa !5
  %582 = load ptr, ptr %107, align 8, !tbaa !5
  %583 = load ptr, ptr @pctx, align 8, !tbaa !5
  %584 = call i32 @EVP_PKEY_print_private(ptr noundef %581, ptr noundef %582, i32 noundef 0, ptr noundef %583)
  %585 = load ptr, ptr %108, align 8, !tbaa !5
  %586 = call i32 @BIO_free(ptr noundef %585)
  br label %587

587:                                              ; preds = %580, %575
  %588 = load ptr, ptr %107, align 8, !tbaa !5
  %589 = call i32 @i2d_PrivateKey(ptr noundef %588, ptr noundef %106)
  %590 = load ptr, ptr %106, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %590, ptr noundef @.str, i32 noundef 363)
  %591 = load ptr, ptr %107, align 8, !tbaa !5
  call void @EVP_PKEY_free(ptr noundef %591)
  call void @llvm.lifetime.end.p0(i64 8, ptr %108) #3
  br label %592

592:                                              ; preds = %587, %569
  call void @llvm.lifetime.end.p0(i64 8, ptr %107) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %105) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %109) #3
  %593 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %593, ptr %109, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %110) #3
  store ptr null, ptr %110, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %111) #3
  %594 = load i64, ptr %4, align 8, !tbaa !9
  %595 = call ptr @d2i_SSL_SESSION(ptr noundef null, ptr noundef %109, i64 noundef %594)
  store ptr %595, ptr %111, align 8, !tbaa !5
  %596 = load ptr, ptr %111, align 8, !tbaa !5
  %597 = icmp ne ptr %596, null
  br i1 %597, label %598, label %618

598:                                              ; preds = %592
  call void @llvm.lifetime.start.p0(i64 4, ptr %112) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %113) #3
  %599 = call ptr @BIO_s_null()
  %600 = call ptr @BIO_new(ptr noundef %599)
  store ptr %600, ptr %113, align 8, !tbaa !5
  %601 = load ptr, ptr %113, align 8, !tbaa !5
  %602 = icmp ne ptr %601, null
  br i1 %602, label %603, label %609

603:                                              ; preds = %598
  %604 = load ptr, ptr %113, align 8, !tbaa !5
  %605 = load ptr, ptr %111, align 8, !tbaa !5
  %606 = call i32 @SSL_SESSION_print(ptr noundef %604, ptr noundef %605)
  %607 = load ptr, ptr %113, align 8, !tbaa !5
  %608 = call i32 @BIO_free(ptr noundef %607)
  br label %609

609:                                              ; preds = %603, %598
  %610 = load ptr, ptr %111, align 8, !tbaa !5
  %611 = call i32 @i2d_SSL_SESSION(ptr noundef %610, ptr noundef %110)
  store i32 %611, ptr %112, align 4, !tbaa !11
  %612 = load i32, ptr %112, align 4, !tbaa !11
  %613 = icmp ne i32 %612, 0
  br i1 %613, label %614, label %615

614:                                              ; preds = %609
  br label %615

615:                                              ; preds = %614, %609
  %616 = load ptr, ptr %110, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %616, ptr noundef @.str, i32 noundef 364)
  %617 = load ptr, ptr %111, align 8, !tbaa !5
  call void @SSL_SESSION_free(ptr noundef %617)
  call void @llvm.lifetime.end.p0(i64 8, ptr %113) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %112) #3
  br label %618

618:                                              ; preds = %615, %592
  call void @llvm.lifetime.end.p0(i64 8, ptr %111) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %109) #3
  call void @ERR_clear_error()
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  ret i32 0
}

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

declare ptr @ASN1_item_d2i(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #0

declare ptr @BIO_new(ptr noundef) #0

declare ptr @BIO_s_null() #0

declare i32 @ASN1_item_print(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #0

declare i32 @BIO_free(ptr noundef) #0

declare i32 @ASN1_item_i2d(ptr noundef, ptr noundef, ptr noundef) #0

declare void @CRYPTO_free(ptr noundef, ptr noundef, i32 noundef) #0

declare void @ASN1_item_free(ptr noundef, ptr noundef) #0

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

declare ptr @d2i_TS_REQ(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @TS_REQ_print_bio(ptr noundef, ptr noundef) #0

declare i32 @i2d_TS_REQ(ptr noundef, ptr noundef) #0

declare void @TS_REQ_free(ptr noundef) #0

declare ptr @d2i_TS_MSG_IMPRINT(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @TS_MSG_IMPRINT_print_bio(ptr noundef, ptr noundef) #0

declare i32 @i2d_TS_MSG_IMPRINT(ptr noundef, ptr noundef) #0

declare void @TS_MSG_IMPRINT_free(ptr noundef) #0

declare ptr @d2i_TS_RESP(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @TS_RESP_print_bio(ptr noundef, ptr noundef) #0

declare i32 @i2d_TS_RESP(ptr noundef, ptr noundef) #0

declare void @TS_RESP_free(ptr noundef) #0

declare ptr @d2i_TS_STATUS_INFO(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @TS_STATUS_INFO_print_bio(ptr noundef, ptr noundef) #0

declare i32 @i2d_TS_STATUS_INFO(ptr noundef, ptr noundef) #0

declare void @TS_STATUS_INFO_free(ptr noundef) #0

declare ptr @d2i_TS_TST_INFO(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @TS_TST_INFO_print_bio(ptr noundef, ptr noundef) #0

declare i32 @i2d_TS_TST_INFO(ptr noundef, ptr noundef) #0

declare void @TS_TST_INFO_free(ptr noundef) #0

declare ptr @d2i_TS_ACCURACY(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_TS_ACCURACY(ptr noundef, ptr noundef) #0

declare void @TS_ACCURACY_free(ptr noundef) #0

declare ptr @d2i_ESS_ISSUER_SERIAL(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_ESS_ISSUER_SERIAL(ptr noundef, ptr noundef) #0

declare void @ESS_ISSUER_SERIAL_free(ptr noundef) #0

declare ptr @d2i_ESS_CERT_ID(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_ESS_CERT_ID(ptr noundef, ptr noundef) #0

declare void @ESS_CERT_ID_free(ptr noundef) #0

declare ptr @d2i_ESS_SIGNING_CERT(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_ESS_SIGNING_CERT(ptr noundef, ptr noundef) #0

declare void @ESS_SIGNING_CERT_free(ptr noundef) #0

declare ptr @d2i_ESS_CERT_ID_V2(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_ESS_CERT_ID_V2(ptr noundef, ptr noundef) #0

declare void @ESS_CERT_ID_V2_free(ptr noundef) #0

declare ptr @d2i_ESS_SIGNING_CERT_V2(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_ESS_SIGNING_CERT_V2(ptr noundef, ptr noundef) #0

declare void @ESS_SIGNING_CERT_V2_free(ptr noundef) #0

declare ptr @d2i_DHparams(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_DHparams(ptr noundef, ptr noundef) #0

declare void @DH_free(ptr noundef) #0

declare ptr @d2i_DHxparams(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_DHxparams(ptr noundef, ptr noundef) #0

declare ptr @d2i_DSA_SIG(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_DSA_SIG(ptr noundef, ptr noundef) #0

declare void @DSA_SIG_free(ptr noundef) #0

declare ptr @d2i_DSAPrivateKey(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_DSAPrivateKey(ptr noundef, ptr noundef) #0

declare void @DSA_free(ptr noundef) #0

declare ptr @d2i_DSAPublicKey(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_DSAPublicKey(ptr noundef, ptr noundef) #0

declare ptr @d2i_DSAparams(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_DSAparams(ptr noundef, ptr noundef) #0

declare ptr @d2i_RSAPublicKey(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_RSAPublicKey(ptr noundef, ptr noundef) #0

declare void @RSA_free(ptr noundef) #0

declare ptr @d2i_ECPKParameters(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @ECPKParameters_print(ptr noundef, ptr noundef, i32 noundef) #0

declare i32 @i2d_ECPKParameters(ptr noundef, ptr noundef) #0

declare void @EC_GROUP_free(ptr noundef) #0

declare ptr @d2i_ECPrivateKey(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @EC_KEY_print(ptr noundef, ptr noundef, i32 noundef) #0

declare i32 @i2d_ECPrivateKey(ptr noundef, ptr noundef) #0

declare void @EC_KEY_free(ptr noundef) #0

declare ptr @d2i_ECParameters(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @ECParameters_print(ptr noundef, ptr noundef) #0

declare i32 @i2d_ECParameters(ptr noundef, ptr noundef) #0

declare ptr @d2i_ECDSA_SIG(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @i2d_ECDSA_SIG(ptr noundef, ptr noundef) #0

declare void @ECDSA_SIG_free(ptr noundef) #0

declare ptr @d2i_AutoPrivateKey(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @EVP_PKEY_print_private(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

declare i32 @i2d_PrivateKey(ptr noundef, ptr noundef) #0

declare void @EVP_PKEY_free(ptr noundef) #0

declare ptr @d2i_SSL_SESSION(ptr noundef, ptr noundef, i64 noundef) #0

declare i32 @SSL_SESSION_print(ptr noundef, ptr noundef) #0

declare i32 @i2d_SSL_SESSION(ptr noundef, ptr noundef) #0

declare void @SSL_SESSION_free(ptr noundef) #0

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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"

@pctx = external hidden local_unnamed_addr global ptr, align 8
@item_type = external hidden local_unnamed_addr global [144 x ptr], align 16
@.str = external hidden unnamed_addr constant [64 x i8], align 1

declare void @ERR_clear_error() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @FuzzerTestOneInput(ptr noundef %0, i64 noundef %1) local_unnamed_addr #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca ptr, align 8
  %49 = alloca ptr, align 8
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  %52 = alloca ptr, align 8
  %53 = load ptr, ptr @item_type, align 16, !tbaa !5
  %.not268 = icmp eq ptr %53, null
  br i1 %.not268, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2, %70
  %indvars.iv = phi i64 [ %indvars.iv.next, %70 ], [ 0, %2 ]
  %54 = phi ptr [ %72, %70 ], [ %53, %2 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  store ptr null, ptr %4, align 8, !tbaa !5
  %55 = call ptr %54() #3
  %56 = call ptr @ASN1_item_d2i(ptr noundef null, ptr noundef nonnull %3, i64 noundef %1, ptr noundef %55) #3
  %.not266 = icmp eq ptr %56, null
  br i1 %.not266, label %70, label %57

57:                                               ; preds = %.lr.ph
  %58 = call ptr @BIO_s_null() #3
  %59 = call ptr @BIO_new(ptr noundef %58) #3
  %.not267 = icmp eq ptr %59, null
  br i1 %.not267, label %64, label %60

60:                                               ; preds = %57
  %61 = load ptr, ptr @pctx, align 8, !tbaa !5
  %62 = call i32 @ASN1_item_print(ptr noundef nonnull %59, ptr noundef nonnull %56, i32 noundef 4, ptr noundef %55, ptr noundef %61) #3
  %63 = call i32 @BIO_free(ptr noundef nonnull %59) #3
  br label %64

64:                                               ; preds = %60, %57
  %65 = call i32 @ASN1_item_i2d(ptr noundef nonnull %56, ptr noundef nonnull %4, ptr noundef %55) #3
  %66 = icmp sgt i32 %65, 0
  br i1 %66, label %67, label %69

67:                                               ; preds = %64
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %68, ptr noundef nonnull @.str, i32 noundef 321) #3
  br label %69

69:                                               ; preds = %67, %64
  call void @ASN1_item_free(ptr noundef nonnull %56, ptr noundef %55) #3
  br label %70

70:                                               ; preds = %69, %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %71 = getelementptr inbounds [144 x ptr], ptr @item_type, i64 0, i64 %indvars.iv.next
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  %.not = icmp eq ptr %72, null
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

._crit_edge:                                      ; preds = %70, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  store ptr %0, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  store ptr null, ptr %6, align 8, !tbaa !5
  %73 = call ptr @d2i_TS_REQ(ptr noundef null, ptr noundef nonnull %5, i64 noundef %1) #3
  %.not232 = icmp eq ptr %73, null
  br i1 %.not232, label %83, label %74

74:                                               ; preds = %._crit_edge
  %75 = call ptr @BIO_s_null() #3
  %76 = call ptr @BIO_new(ptr noundef %75) #3
  %.not233 = icmp eq ptr %76, null
  br i1 %.not233, label %80, label %77

77:                                               ; preds = %74
  %78 = call i32 @TS_REQ_print_bio(ptr noundef nonnull %76, ptr noundef nonnull %73) #3
  %79 = call i32 @BIO_free(ptr noundef nonnull %76) #3
  br label %80

80:                                               ; preds = %77, %74
  %81 = call i32 @i2d_TS_REQ(ptr noundef nonnull %73, ptr noundef nonnull %6) #3
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %82, ptr noundef nonnull @.str, i32 noundef 328) #3
  call void @TS_REQ_free(ptr noundef nonnull %73) #3
  br label %83

83:                                               ; preds = %80, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  store ptr %0, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  store ptr null, ptr %8, align 8, !tbaa !5
  %84 = call ptr @d2i_TS_MSG_IMPRINT(ptr noundef null, ptr noundef nonnull %7, i64 noundef %1) #3
  %.not234 = icmp eq ptr %84, null
  br i1 %.not234, label %94, label %85

85:                                               ; preds = %83
  %86 = call ptr @BIO_s_null() #3
  %87 = call ptr @BIO_new(ptr noundef %86) #3
  %.not235 = icmp eq ptr %87, null
  br i1 %.not235, label %91, label %88

88:                                               ; preds = %85
  %89 = call i32 @TS_MSG_IMPRINT_print_bio(ptr noundef nonnull %87, ptr noundef nonnull %84) #3
  %90 = call i32 @BIO_free(ptr noundef nonnull %87) #3
  br label %91

91:                                               ; preds = %88, %85
  %92 = call i32 @i2d_TS_MSG_IMPRINT(ptr noundef nonnull %84, ptr noundef nonnull %8) #3
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %93, ptr noundef nonnull @.str, i32 noundef 329) #3
  call void @TS_MSG_IMPRINT_free(ptr noundef nonnull %84) #3
  br label %94

94:                                               ; preds = %91, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  store ptr %0, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3
  store ptr null, ptr %10, align 8, !tbaa !5
  %95 = call ptr @d2i_TS_RESP(ptr noundef null, ptr noundef nonnull %9, i64 noundef %1) #3
  %.not236 = icmp eq ptr %95, null
  br i1 %.not236, label %105, label %96

96:                                               ; preds = %94
  %97 = call ptr @BIO_s_null() #3
  %98 = call ptr @BIO_new(ptr noundef %97) #3
  %.not237 = icmp eq ptr %98, null
  br i1 %.not237, label %102, label %99

99:                                               ; preds = %96
  %100 = call i32 @TS_RESP_print_bio(ptr noundef nonnull %98, ptr noundef nonnull %95) #3
  %101 = call i32 @BIO_free(ptr noundef nonnull %98) #3
  br label %102

102:                                              ; preds = %99, %96
  %103 = call i32 @i2d_TS_RESP(ptr noundef nonnull %95, ptr noundef nonnull %10) #3
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %104, ptr noundef nonnull @.str, i32 noundef 330) #3
  call void @TS_RESP_free(ptr noundef nonnull %95) #3
  br label %105

105:                                              ; preds = %102, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3
  store ptr %0, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3
  store ptr null, ptr %12, align 8, !tbaa !5
  %106 = call ptr @d2i_TS_STATUS_INFO(ptr noundef null, ptr noundef nonnull %11, i64 noundef %1) #3
  %.not238 = icmp eq ptr %106, null
  br i1 %.not238, label %116, label %107

107:                                              ; preds = %105
  %108 = call ptr @BIO_s_null() #3
  %109 = call ptr @BIO_new(ptr noundef %108) #3
  %.not239 = icmp eq ptr %109, null
  br i1 %.not239, label %113, label %110

110:                                              ; preds = %107
  %111 = call i32 @TS_STATUS_INFO_print_bio(ptr noundef nonnull %109, ptr noundef nonnull %106) #3
  %112 = call i32 @BIO_free(ptr noundef nonnull %109) #3
  br label %113

113:                                              ; preds = %110, %107
  %114 = call i32 @i2d_TS_STATUS_INFO(ptr noundef nonnull %106, ptr noundef nonnull %12) #3
  %115 = load ptr, ptr %12, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %115, ptr noundef nonnull @.str, i32 noundef 331) #3
  call void @TS_STATUS_INFO_free(ptr noundef nonnull %106) #3
  br label %116

116:                                              ; preds = %113, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #3
  store ptr %0, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #3
  store ptr null, ptr %14, align 8, !tbaa !5
  %117 = call ptr @d2i_TS_TST_INFO(ptr noundef null, ptr noundef nonnull %13, i64 noundef %1) #3
  %.not240 = icmp eq ptr %117, null
  br i1 %.not240, label %127, label %118

118:                                              ; preds = %116
  %119 = call ptr @BIO_s_null() #3
  %120 = call ptr @BIO_new(ptr noundef %119) #3
  %.not241 = icmp eq ptr %120, null
  br i1 %.not241, label %124, label %121

121:                                              ; preds = %118
  %122 = call i32 @TS_TST_INFO_print_bio(ptr noundef nonnull %120, ptr noundef nonnull %117) #3
  %123 = call i32 @BIO_free(ptr noundef nonnull %120) #3
  br label %124

124:                                              ; preds = %121, %118
  %125 = call i32 @i2d_TS_TST_INFO(ptr noundef nonnull %117, ptr noundef nonnull %14) #3
  %126 = load ptr, ptr %14, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %126, ptr noundef nonnull @.str, i32 noundef 332) #3
  call void @TS_TST_INFO_free(ptr noundef nonnull %117) #3
  br label %127

127:                                              ; preds = %124, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3
  store ptr %0, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3
  store ptr null, ptr %16, align 8, !tbaa !5
  %128 = call ptr @d2i_TS_ACCURACY(ptr noundef null, ptr noundef nonnull %15, i64 noundef %1) #3
  %.not242 = icmp eq ptr %128, null
  br i1 %.not242, label %135, label %129

129:                                              ; preds = %127
  %130 = call ptr @BIO_s_null() #3
  %131 = call ptr @BIO_new(ptr noundef %130) #3
  %132 = call i32 @BIO_free(ptr noundef %131) #3
  %133 = call i32 @i2d_TS_ACCURACY(ptr noundef nonnull %128, ptr noundef nonnull %16) #3
  %134 = load ptr, ptr %16, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %134, ptr noundef nonnull @.str, i32 noundef 333) #3
  call void @TS_ACCURACY_free(ptr noundef nonnull %128) #3
  br label %135

135:                                              ; preds = %129, %127
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3
  store ptr %0, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #3
  store ptr null, ptr %18, align 8, !tbaa !5
  %136 = call ptr @d2i_ESS_ISSUER_SERIAL(ptr noundef null, ptr noundef nonnull %17, i64 noundef %1) #3
  %.not243 = icmp eq ptr %136, null
  br i1 %.not243, label %143, label %137

137:                                              ; preds = %135
  %138 = call ptr @BIO_s_null() #3
  %139 = call ptr @BIO_new(ptr noundef %138) #3
  %140 = call i32 @BIO_free(ptr noundef %139) #3
  %141 = call i32 @i2d_ESS_ISSUER_SERIAL(ptr noundef nonnull %136, ptr noundef nonnull %18) #3
  %142 = load ptr, ptr %18, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %142, ptr noundef nonnull @.str, i32 noundef 335) #3
  call void @ESS_ISSUER_SERIAL_free(ptr noundef nonnull %136) #3
  br label %143

143:                                              ; preds = %137, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #3
  store ptr %0, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #3
  store ptr null, ptr %20, align 8, !tbaa !5
  %144 = call ptr @d2i_ESS_CERT_ID(ptr noundef null, ptr noundef nonnull %19, i64 noundef %1) #3
  %.not244 = icmp eq ptr %144, null
  br i1 %.not244, label %151, label %145

145:                                              ; preds = %143
  %146 = call ptr @BIO_s_null() #3
  %147 = call ptr @BIO_new(ptr noundef %146) #3
  %148 = call i32 @BIO_free(ptr noundef %147) #3
  %149 = call i32 @i2d_ESS_CERT_ID(ptr noundef nonnull %144, ptr noundef nonnull %20) #3
  %150 = load ptr, ptr %20, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %150, ptr noundef nonnull @.str, i32 noundef 336) #3
  call void @ESS_CERT_ID_free(ptr noundef nonnull %144) #3
  br label %151

151:                                              ; preds = %145, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #3
  store ptr %0, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #3
  store ptr null, ptr %22, align 8, !tbaa !5
  %152 = call ptr @d2i_ESS_SIGNING_CERT(ptr noundef null, ptr noundef nonnull %21, i64 noundef %1) #3
  %.not245 = icmp eq ptr %152, null
  br i1 %.not245, label %159, label %153

153:                                              ; preds = %151
  %154 = call ptr @BIO_s_null() #3
  %155 = call ptr @BIO_new(ptr noundef %154) #3
  %156 = call i32 @BIO_free(ptr noundef %155) #3
  %157 = call i32 @i2d_ESS_SIGNING_CERT(ptr noundef nonnull %152, ptr noundef nonnull %22) #3
  %158 = load ptr, ptr %22, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %158, ptr noundef nonnull @.str, i32 noundef 337) #3
  call void @ESS_SIGNING_CERT_free(ptr noundef nonnull %152) #3
  br label %159

159:                                              ; preds = %153, %151
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #3
  store ptr %0, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #3
  store ptr null, ptr %24, align 8, !tbaa !5
  %160 = call ptr @d2i_ESS_CERT_ID_V2(ptr noundef null, ptr noundef nonnull %23, i64 noundef %1) #3
  %.not246 = icmp eq ptr %160, null
  br i1 %.not246, label %167, label %161

161:                                              ; preds = %159
  %162 = call ptr @BIO_s_null() #3
  %163 = call ptr @BIO_new(ptr noundef %162) #3
  %164 = call i32 @BIO_free(ptr noundef %163) #3
  %165 = call i32 @i2d_ESS_CERT_ID_V2(ptr noundef nonnull %160, ptr noundef nonnull %24) #3
  %166 = load ptr, ptr %24, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %166, ptr noundef nonnull @.str, i32 noundef 338) #3
  call void @ESS_CERT_ID_V2_free(ptr noundef nonnull %160) #3
  br label %167

167:                                              ; preds = %161, %159
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #3
  store ptr %0, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #3
  store ptr null, ptr %26, align 8, !tbaa !5
  %168 = call ptr @d2i_ESS_SIGNING_CERT_V2(ptr noundef null, ptr noundef nonnull %25, i64 noundef %1) #3
  %.not247 = icmp eq ptr %168, null
  br i1 %.not247, label %175, label %169

169:                                              ; preds = %167
  %170 = call ptr @BIO_s_null() #3
  %171 = call ptr @BIO_new(ptr noundef %170) #3
  %172 = call i32 @BIO_free(ptr noundef %171) #3
  %173 = call i32 @i2d_ESS_SIGNING_CERT_V2(ptr noundef nonnull %168, ptr noundef nonnull %26) #3
  %174 = load ptr, ptr %26, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %174, ptr noundef nonnull @.str, i32 noundef 339) #3
  call void @ESS_SIGNING_CERT_V2_free(ptr noundef nonnull %168) #3
  br label %175

175:                                              ; preds = %169, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #3
  store ptr %0, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #3
  store ptr null, ptr %28, align 8, !tbaa !5
  %176 = call ptr @d2i_DHparams(ptr noundef null, ptr noundef nonnull %27, i64 noundef %1) #3
  %.not248 = icmp eq ptr %176, null
  br i1 %.not248, label %183, label %177

177:                                              ; preds = %175
  %178 = call ptr @BIO_s_null() #3
  %179 = call ptr @BIO_new(ptr noundef %178) #3
  %180 = call i32 @BIO_free(ptr noundef %179) #3
  %181 = call i32 @i2d_DHparams(ptr noundef nonnull %176, ptr noundef nonnull %28) #3
  %182 = load ptr, ptr %28, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %182, ptr noundef nonnull @.str, i32 noundef 341) #3
  call void @DH_free(ptr noundef nonnull %176) #3
  br label %183

183:                                              ; preds = %177, %175
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #3
  store ptr %0, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #3
  store ptr null, ptr %30, align 8, !tbaa !5
  %184 = call ptr @d2i_DHxparams(ptr noundef null, ptr noundef nonnull %29, i64 noundef %1) #3
  %.not249 = icmp eq ptr %184, null
  br i1 %.not249, label %191, label %185

185:                                              ; preds = %183
  %186 = call ptr @BIO_s_null() #3
  %187 = call ptr @BIO_new(ptr noundef %186) #3
  %188 = call i32 @BIO_free(ptr noundef %187) #3
  %189 = call i32 @i2d_DHxparams(ptr noundef nonnull %184, ptr noundef nonnull %30) #3
  %190 = load ptr, ptr %30, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %190, ptr noundef nonnull @.str, i32 noundef 342) #3
  call void @DH_free(ptr noundef nonnull %184) #3
  br label %191

191:                                              ; preds = %185, %183
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #3
  store ptr %0, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #3
  store ptr null, ptr %32, align 8, !tbaa !5
  %192 = call ptr @d2i_DSA_SIG(ptr noundef null, ptr noundef nonnull %31, i64 noundef %1) #3
  %.not250 = icmp eq ptr %192, null
  br i1 %.not250, label %199, label %193

193:                                              ; preds = %191
  %194 = call ptr @BIO_s_null() #3
  %195 = call ptr @BIO_new(ptr noundef %194) #3
  %196 = call i32 @BIO_free(ptr noundef %195) #3
  %197 = call i32 @i2d_DSA_SIG(ptr noundef nonnull %192, ptr noundef nonnull %32) #3
  %198 = load ptr, ptr %32, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %198, ptr noundef nonnull @.str, i32 noundef 345) #3
  call void @DSA_SIG_free(ptr noundef nonnull %192) #3
  br label %199

199:                                              ; preds = %193, %191
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #3
  store ptr %0, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #3
  store ptr null, ptr %34, align 8, !tbaa !5
  %200 = call ptr @d2i_DSAPrivateKey(ptr noundef null, ptr noundef nonnull %33, i64 noundef %1) #3
  %.not251 = icmp eq ptr %200, null
  br i1 %.not251, label %207, label %201

201:                                              ; preds = %199
  %202 = call ptr @BIO_s_null() #3
  %203 = call ptr @BIO_new(ptr noundef %202) #3
  %204 = call i32 @BIO_free(ptr noundef %203) #3
  %205 = call i32 @i2d_DSAPrivateKey(ptr noundef nonnull %200, ptr noundef nonnull %34) #3
  %206 = load ptr, ptr %34, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %206, ptr noundef nonnull @.str, i32 noundef 347) #3
  call void @DSA_free(ptr noundef nonnull %200) #3
  br label %207

207:                                              ; preds = %201, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #3
  store ptr %0, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #3
  store ptr null, ptr %36, align 8, !tbaa !5
  %208 = call ptr @d2i_DSAPublicKey(ptr noundef null, ptr noundef nonnull %35, i64 noundef %1) #3
  %.not252 = icmp eq ptr %208, null
  br i1 %.not252, label %215, label %209

209:                                              ; preds = %207
  %210 = call ptr @BIO_s_null() #3
  %211 = call ptr @BIO_new(ptr noundef %210) #3
  %212 = call i32 @BIO_free(ptr noundef %211) #3
  %213 = call i32 @i2d_DSAPublicKey(ptr noundef nonnull %208, ptr noundef nonnull %36) #3
  %214 = load ptr, ptr %36, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %214, ptr noundef nonnull @.str, i32 noundef 348) #3
  call void @DSA_free(ptr noundef nonnull %208) #3
  br label %215

215:                                              ; preds = %209, %207
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #3
  store ptr %0, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #3
  store ptr null, ptr %38, align 8, !tbaa !5
  %216 = call ptr @d2i_DSAparams(ptr noundef null, ptr noundef nonnull %37, i64 noundef %1) #3
  %.not253 = icmp eq ptr %216, null
  br i1 %.not253, label %223, label %217

217:                                              ; preds = %215
  %218 = call ptr @BIO_s_null() #3
  %219 = call ptr @BIO_new(ptr noundef %218) #3
  %220 = call i32 @BIO_free(ptr noundef %219) #3
  %221 = call i32 @i2d_DSAparams(ptr noundef nonnull %216, ptr noundef nonnull %38) #3
  %222 = load ptr, ptr %38, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %222, ptr noundef nonnull @.str, i32 noundef 349) #3
  call void @DSA_free(ptr noundef nonnull %216) #3
  br label %223

223:                                              ; preds = %217, %215
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #3
  store ptr %0, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #3
  store ptr null, ptr %40, align 8, !tbaa !5
  %224 = call ptr @d2i_RSAPublicKey(ptr noundef null, ptr noundef nonnull %39, i64 noundef %1) #3
  %.not254 = icmp eq ptr %224, null
  br i1 %.not254, label %231, label %225

225:                                              ; preds = %223
  %226 = call ptr @BIO_s_null() #3
  %227 = call ptr @BIO_new(ptr noundef %226) #3
  %228 = call i32 @BIO_free(ptr noundef %227) #3
  %229 = call i32 @i2d_RSAPublicKey(ptr noundef nonnull %224, ptr noundef nonnull %40) #3
  %230 = load ptr, ptr %40, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %230, ptr noundef nonnull @.str, i32 noundef 353) #3
  call void @RSA_free(ptr noundef nonnull %224) #3
  br label %231

231:                                              ; preds = %225, %223
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #3
  store ptr %0, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #3
  store ptr null, ptr %42, align 8, !tbaa !5
  %232 = call ptr @d2i_ECPKParameters(ptr noundef null, ptr noundef nonnull %41, i64 noundef %1) #3
  %.not255 = icmp eq ptr %232, null
  br i1 %.not255, label %242, label %233

233:                                              ; preds = %231
  %234 = call ptr @BIO_s_null() #3
  %235 = call ptr @BIO_new(ptr noundef %234) #3
  %.not256 = icmp eq ptr %235, null
  br i1 %.not256, label %239, label %236

236:                                              ; preds = %233
  %237 = call i32 @ECPKParameters_print(ptr noundef nonnull %235, ptr noundef nonnull %232, i32 noundef 0) #3
  %238 = call i32 @BIO_free(ptr noundef nonnull %235) #3
  br label %239

239:                                              ; preds = %236, %233
  %240 = call i32 @i2d_ECPKParameters(ptr noundef nonnull %232, ptr noundef nonnull %42) #3
  %241 = load ptr, ptr %42, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %241, ptr noundef nonnull @.str, i32 noundef 357) #3
  call void @EC_GROUP_free(ptr noundef nonnull %232) #3
  br label %242

242:                                              ; preds = %239, %231
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #3
  store ptr %0, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #3
  store ptr null, ptr %44, align 8, !tbaa !5
  %243 = call ptr @d2i_ECPrivateKey(ptr noundef null, ptr noundef nonnull %43, i64 noundef %1) #3
  %.not257 = icmp eq ptr %243, null
  br i1 %.not257, label %253, label %244

244:                                              ; preds = %242
  %245 = call ptr @BIO_s_null() #3
  %246 = call ptr @BIO_new(ptr noundef %245) #3
  %.not258 = icmp eq ptr %246, null
  br i1 %.not258, label %250, label %247

247:                                              ; preds = %244
  %248 = call i32 @EC_KEY_print(ptr noundef nonnull %246, ptr noundef nonnull %243, i32 noundef 0) #3
  %249 = call i32 @BIO_free(ptr noundef nonnull %246) #3
  br label %250

250:                                              ; preds = %247, %244
  %251 = call i32 @i2d_ECPrivateKey(ptr noundef nonnull %243, ptr noundef nonnull %44) #3
  %252 = load ptr, ptr %44, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %252, ptr noundef nonnull @.str, i32 noundef 358) #3
  call void @EC_KEY_free(ptr noundef nonnull %243) #3
  br label %253

253:                                              ; preds = %250, %242
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %45) #3
  store ptr %0, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %46) #3
  store ptr null, ptr %46, align 8, !tbaa !5
  %254 = call ptr @d2i_ECParameters(ptr noundef null, ptr noundef nonnull %45, i64 noundef %1) #3
  %.not259 = icmp eq ptr %254, null
  br i1 %.not259, label %264, label %255

255:                                              ; preds = %253
  %256 = call ptr @BIO_s_null() #3
  %257 = call ptr @BIO_new(ptr noundef %256) #3
  %.not260 = icmp eq ptr %257, null
  br i1 %.not260, label %261, label %258

258:                                              ; preds = %255
  %259 = call i32 @ECParameters_print(ptr noundef nonnull %257, ptr noundef nonnull %254) #3
  %260 = call i32 @BIO_free(ptr noundef nonnull %257) #3
  br label %261

261:                                              ; preds = %258, %255
  %262 = call i32 @i2d_ECParameters(ptr noundef nonnull %254, ptr noundef nonnull %46) #3
  %263 = load ptr, ptr %46, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %263, ptr noundef nonnull @.str, i32 noundef 359) #3
  call void @EC_KEY_free(ptr noundef nonnull %254) #3
  br label %264

264:                                              ; preds = %261, %253
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %45) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #3
  store ptr %0, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #3
  store ptr null, ptr %48, align 8, !tbaa !5
  %265 = call ptr @d2i_ECDSA_SIG(ptr noundef null, ptr noundef nonnull %47, i64 noundef %1) #3
  %.not261 = icmp eq ptr %265, null
  br i1 %.not261, label %272, label %266

266:                                              ; preds = %264
  %267 = call ptr @BIO_s_null() #3
  %268 = call ptr @BIO_new(ptr noundef %267) #3
  %269 = call i32 @BIO_free(ptr noundef %268) #3
  %270 = call i32 @i2d_ECDSA_SIG(ptr noundef nonnull %265, ptr noundef nonnull %48) #3
  %271 = load ptr, ptr %48, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %271, ptr noundef nonnull @.str, i32 noundef 360) #3
  call void @ECDSA_SIG_free(ptr noundef nonnull %265) #3
  br label %272

272:                                              ; preds = %266, %264
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #3
  store ptr %0, ptr %49, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %50) #3
  store ptr null, ptr %50, align 8, !tbaa !5
  %273 = call ptr @d2i_AutoPrivateKey(ptr noundef null, ptr noundef nonnull %49, i64 noundef %1) #3
  %.not262 = icmp eq ptr %273, null
  br i1 %.not262, label %284, label %274

274:                                              ; preds = %272
  %275 = call ptr @BIO_s_null() #3
  %276 = call ptr @BIO_new(ptr noundef %275) #3
  %.not263 = icmp eq ptr %276, null
  br i1 %.not263, label %281, label %277

277:                                              ; preds = %274
  %278 = load ptr, ptr @pctx, align 8, !tbaa !5
  %279 = call i32 @EVP_PKEY_print_private(ptr noundef nonnull %276, ptr noundef nonnull %273, i32 noundef 0, ptr noundef %278) #3
  %280 = call i32 @BIO_free(ptr noundef nonnull %276) #3
  br label %281

281:                                              ; preds = %277, %274
  %282 = call i32 @i2d_PrivateKey(ptr noundef nonnull %273, ptr noundef nonnull %50) #3
  %283 = load ptr, ptr %50, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %283, ptr noundef nonnull @.str, i32 noundef 363) #3
  call void @EVP_PKEY_free(ptr noundef nonnull %273) #3
  br label %284

284:                                              ; preds = %281, %272
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %51) #3
  store ptr %0, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #3
  store ptr null, ptr %52, align 8, !tbaa !5
  %285 = call ptr @d2i_SSL_SESSION(ptr noundef null, ptr noundef nonnull %51, i64 noundef %1) #3
  %.not264 = icmp eq ptr %285, null
  br i1 %.not264, label %295, label %286

286:                                              ; preds = %284
  %287 = call ptr @BIO_s_null() #3
  %288 = call ptr @BIO_new(ptr noundef %287) #3
  %.not265 = icmp eq ptr %288, null
  br i1 %.not265, label %292, label %289

289:                                              ; preds = %286
  %290 = call i32 @SSL_SESSION_print(ptr noundef nonnull %288, ptr noundef nonnull %285) #3
  %291 = call i32 @BIO_free(ptr noundef nonnull %288) #3
  br label %292

292:                                              ; preds = %289, %286
  %293 = call i32 @i2d_SSL_SESSION(ptr noundef nonnull %285, ptr noundef nonnull %52) #3
  %294 = load ptr, ptr %52, align 8, !tbaa !5
  call void @CRYPTO_free(ptr noundef %294, ptr noundef nonnull @.str, i32 noundef 364) #3
  call void @SSL_SESSION_free(ptr noundef nonnull %285) #3
  br label %295

295:                                              ; preds = %292, %284
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #3
  call void @ERR_clear_error() #3
  ret i32 0
}

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

declare ptr @ASN1_item_d2i(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare ptr @BIO_new(ptr noundef) local_unnamed_addr #0

declare ptr @BIO_s_null() local_unnamed_addr #0

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

declare i32 @BIO_free(ptr noundef) local_unnamed_addr #0

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

declare void @CRYPTO_free(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @ASN1_item_free(ptr noundef, ptr noundef) local_unnamed_addr #0

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

declare ptr @d2i_TS_REQ(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare void @TS_REQ_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_TS_MSG_IMPRINT(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare void @TS_MSG_IMPRINT_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_TS_RESP(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare void @TS_RESP_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_TS_STATUS_INFO(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare void @TS_STATUS_INFO_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_TS_TST_INFO(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare void @TS_TST_INFO_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_TS_ACCURACY(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @TS_ACCURACY_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_ESS_ISSUER_SERIAL(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @ESS_ISSUER_SERIAL_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_ESS_CERT_ID(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @ESS_CERT_ID_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_ESS_SIGNING_CERT(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @ESS_SIGNING_CERT_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_ESS_CERT_ID_V2(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @ESS_CERT_ID_V2_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_ESS_SIGNING_CERT_V2(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @ESS_SIGNING_CERT_V2_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_DHparams(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @DH_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_DHxparams(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare ptr @d2i_DSA_SIG(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @DSA_SIG_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_DSAPrivateKey(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @DSA_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_DSAPublicKey(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare ptr @d2i_DSAparams(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare ptr @d2i_RSAPublicKey(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @RSA_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_ECPKParameters(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare void @EC_GROUP_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_ECPrivateKey(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare void @EC_KEY_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_ECParameters(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare ptr @d2i_ECDSA_SIG(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

declare void @ECDSA_SIG_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_AutoPrivateKey(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare void @EVP_PKEY_free(ptr noundef) local_unnamed_addr #0

declare ptr @d2i_SSL_SESSION(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare void @SSL_SESSION_free(ptr noundef) local_unnamed_addr #0

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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