; LLVM IR from Trusted-eSign/trusted-crypto :: deps/wrapper/src/cms (signed_data)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.LoggerFunction = type { %class.Handle.0, ptr }
%class.Handle.0 = type { ptr }
%class.Handle.8 = type { ptr }
%class.Handle.2 = type { ptr }
%struct.asn1_string_st = type { i32, i32, ptr, i64 }

@logger = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZTI6HandleI9ExceptionE = external dso_local constant { ptr, ptr }, align 8
@__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1

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

declare void @_ZN14LoggerFunctionC1EP6LoggerPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) unnamed_addr #1

declare void @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef, ptr noundef, ...) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

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

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

; Function Attrs: nounwind
declare void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare i32 @CMS_is_detached(ptr noundef) #1

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

declare void @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176), i1 noundef zeroext, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) unnamed_addr #1

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

declare void @_ZN6Logger4warnEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ...) #1

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

; Function Attrs: nounwind
declare noundef ptr @_ZNK9Exception4whatEv(ptr noundef nonnull align 8 dereferenceable(176)) #4

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef %1, i32 noundef %2) #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %class.LoggerFunction, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %class.Handle.8, align 8
  %11 = alloca %class.Handle.8, align 8
  %12 = alloca i1, align 1
  %13 = alloca ptr, align 8
  %14 = alloca %class.Handle.8, align 8
  %15 = alloca %class.Handle.8, align 8
  %16 = alloca i1, align 1
  %17 = alloca ptr, align 8
  %18 = alloca %class.Handle.8, align 8
  %19 = alloca %class.Handle.8, align 8
  %20 = alloca i1, align 1
  %21 = alloca %class.Handle.2, align 8
  %22 = alloca %class.Handle.8, align 8
  %23 = alloca %class.Handle.8, align 8
  %24 = alloca i1, align 1
  %25 = alloca %class.Handle.2, align 8
  %26 = alloca %class.Handle.8, align 8
  %27 = alloca %class.Handle.8, align 8
  %28 = alloca i1, align 1
  %29 = alloca ptr, align 8
  %30 = alloca %class.Handle.8, align 8
  %31 = alloca %class.Handle.8, align 8
  %32 = alloca i1, align 1
  %33 = alloca %class.Handle.2, align 8
  %34 = alloca %class.Handle.8, align 8
  %35 = alloca %class.Handle.8, align 8
  %36 = alloca i1, align 1
  %37 = alloca %class.Handle.2, align 8
  %38 = alloca %class.Handle.8, align 8
  %39 = alloca %class.Handle.8, align 8
  %40 = alloca i1, align 1
  %41 = alloca ptr, align 8
  %42 = alloca %class.Handle.8, align 8
  %43 = alloca %class.Handle.8, align 8
  %44 = alloca i1, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %45 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #9
  %46 = load ptr, ptr @logger, align 8, !tbaa !5
  call void @_ZN14LoggerFunctionC1EP6LoggerPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %46, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE)
  %47 = invoke noundef zeroext i1 @_ZNK6HandleI3BioE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %48 unwind label %59

48:                                               ; preds = %3
  br i1 %47, label %49, label %89

49:                                               ; preds = %48
  %50 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.6, i32 noundef 1)
          to label %51 unwind label %59

51:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %52 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #10
          to label %53 unwind label %63

53:                                               ; preds = %51
  store i1 true, ptr %12, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef null)
          to label %54 unwind label %67

54:                                               ; preds = %53
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %52, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 54, i32 noundef 0, ptr noundef @.str.3, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef %11, ptr noundef @.str.6, i32 noundef 1)
          to label %55 unwind label %71

55:                                               ; preds = %54
  store i1 false, ptr %12, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef %52)
          to label %56 unwind label %71

56:                                               ; preds = %55
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  %57 = call ptr @__cxa_allocate_exception(i64 8) #9
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %58 unwind label %79

58:                                               ; preds = %56
  invoke void @__cxa_throw(ptr %57, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #11
          to label %568 unwind label %83

59:                                               ; preds = %49, %3
  %60 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %8, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %9, align 4
  br label %509

63:                                               ; preds = %51
  %64 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %8, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %9, align 4
  br label %88

67:                                               ; preds = %53
  %68 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %8, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %9, align 4
  br label %75

71:                                               ; preds = %55, %54
  %72 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %8, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %9, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  br label %75

75:                                               ; preds = %71, %67
  %76 = load i1, ptr %12, align 1
  br i1 %76, label %77, label %78

77:                                               ; preds = %75
  call void @_ZdlPvm(ptr noundef %52, i64 noundef 176) #12
  br label %78

78:                                               ; preds = %77, %75
  br label %88

79:                                               ; preds = %56
  %80 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %8, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %9, align 4
  call void @__cxa_free_exception(ptr %57) #9
  br label %87

83:                                               ; preds = %58
  %84 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %8, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %9, align 4
  br label %87

87:                                               ; preds = %83, %79
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  br label %88

88:                                               ; preds = %87, %78, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %509

89:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  store ptr null, ptr %13, align 8, !tbaa !5
  %90 = invoke noundef ptr @_ZNK6HandleI3BioEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %91 unwind label %94

91:                                               ; preds = %89
  invoke void @_ZN3Bio5resetEv(ptr noundef nonnull align 8 dereferenceable(9) %90)
          to label %92 unwind label %94

92:                                               ; preds = %91
  %93 = load i32, ptr %6, align 4, !tbaa !9
  switch i32 %93, label %467 [
    i32 0, label %98
    i32 1, label %285
  ]

94:                                               ; preds = %505, %467, %341, %336, %334, %291, %289, %287, %285, %157, %155, %150, %148, %104, %102, %100, %98, %91, %89
  %95 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %8, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %9, align 4
  br label %508

98:                                               ; preds = %92
  %99 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %99, i32 noundef 32, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.7)
          to label %100 unwind label %94

100:                                              ; preds = %98
  %101 = invoke noundef ptr @_ZNK6HandleI3BioEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %102 unwind label %94

102:                                              ; preds = %100
  %103 = invoke noundef ptr @_ZN3Bio8internalEv(ptr noundef nonnull align 8 dereferenceable(9) %101)
          to label %104 unwind label %94

104:                                              ; preds = %102
  %105 = invoke ptr @d2i_CMS_bio(ptr noundef %103, ptr noundef null)
          to label %106 unwind label %94

106:                                              ; preds = %104
  store ptr %105, ptr %13, align 8, !tbaa !5
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = icmp eq ptr %107, null
  br i1 %108, label %109, label %148

109:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %110 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #10
          to label %111 unwind label %122

111:                                              ; preds = %109
  store i1 true, ptr %16, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef null)
          to label %112 unwind label %126

112:                                              ; preds = %111
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %110, i1 noundef zeroext true, ptr noundef @.str.2, i32 noundef 66, i32 noundef 0, ptr noundef @.str.3, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef %15, ptr noundef @.str.7)
          to label %113 unwind label %130

113:                                              ; preds = %112
  store i1 false, ptr %16, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef %110)
          to label %114 unwind label %130

114:                                              ; preds = %113
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  %115 = load ptr, ptr @logger, align 8, !tbaa !5
  %116 = invoke noundef ptr @_ZNK6HandleI9ExceptionEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %117 unwind label %138

117:                                              ; preds = %114
  %118 = call noundef ptr @_ZNK9Exception4whatEv(ptr noundef nonnull align 8 dereferenceable(176) %116) #9
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger4warnEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %115, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.5, ptr noundef %118)
          to label %119 unwind label %138

119:                                              ; preds = %117
  %120 = call ptr @__cxa_allocate_exception(i64 8) #9
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %121 unwind label %142

121:                                              ; preds = %119
  invoke void @__cxa_throw(ptr %120, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #11
          to label %568 unwind label %138

122:                                              ; preds = %109
  %123 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %8, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %9, align 4
  br label %147

126:                                              ; preds = %111
  %127 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %8, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %9, align 4
  br label %134

130:                                              ; preds = %113, %112
  %131 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %8, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %9, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  br label %134

134:                                              ; preds = %130, %126
  %135 = load i1, ptr %16, align 1
  br i1 %135, label %136, label %137

136:                                              ; preds = %134
  call void @_ZdlPvm(ptr noundef %110, i64 noundef 176) #12
  br label %137

137:                                              ; preds = %136, %134
  br label %147

138:                                              ; preds = %121, %117, %114
  %139 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %8, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %9, align 4
  br label %146

142:                                              ; preds = %119
  %143 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %8, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %9, align 4
  call void @__cxa_free_exception(ptr %120) #9
  br label %146

146:                                              ; preds = %142, %138
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  br label %147

147:                                              ; preds = %146, %137, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %508

148:                                              ; preds = %106
  %149 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %149, i32 noundef 32, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.4)
          to label %150 unwind label %94

150:                                              ; preds = %148
  %151 = load ptr, ptr %13, align 8, !tbaa !5
  %152 = invoke i32 @CMS_is_detached(ptr noundef %151)
          to label %153 unwind label %94

153:                                              ; preds = %150
  %154 = icmp ne i32 %152, 0
  br i1 %154, label %284, label %155

155:                                              ; preds = %153
  %156 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger4infoEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %156, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.8)
          to label %157 unwind label %94

157:                                              ; preds = %155
  %158 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %158, i32 noundef 32, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.9)
          to label %159 unwind label %94

159:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = invoke ptr @CMS_get0_content(ptr noundef %160)
          to label %162 unwind label %176

162:                                              ; preds = %159
  %163 = load ptr, ptr %161, align 8, !tbaa !5
  store ptr %163, ptr %17, align 8, !tbaa !5
  %164 = load ptr, ptr %17, align 8, !tbaa !5
  %165 = icmp eq ptr %164, null
  br i1 %165, label %166, label %206

166:                                              ; preds = %162
  %167 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %167, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.9)
          to label %168 unwind label %176

168:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %169 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #10
          to label %170 unwind label %180

170:                                              ; preds = %168
  store i1 true, ptr %20, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef null)
          to label %171 unwind label %184

171:                                              ; preds = %170
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %169, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 76, i32 noundef 0, ptr noundef @.str.3, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef %19, ptr noundef @.str.9)
          to label %172 unwind label %188

172:                                              ; preds = %171
  store i1 false, ptr %20, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef %169)
          to label %173 unwind label %188

173:                                              ; preds = %172
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  %174 = call ptr @__cxa_allocate_exception(i64 8) #9
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %174, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %175 unwind label %196

175:                                              ; preds = %173
  invoke void @__cxa_throw(ptr %174, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #11
          to label %568 unwind label %200

176:                                              ; preds = %206, %166, %159
  %177 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %8, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %9, align 4
  br label %283

180:                                              ; preds = %168
  %181 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %8, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %9, align 4
  br label %205

184:                                              ; preds = %170
  %185 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %8, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %9, align 4
  br label %192

188:                                              ; preds = %172, %171
  %189 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %8, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %9, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  br label %192

192:                                              ; preds = %188, %184
  %193 = load i1, ptr %20, align 1
  br i1 %193, label %194, label %195

194:                                              ; preds = %192
  call void @_ZdlPvm(ptr noundef %169, i64 noundef 176) #12
  br label %195

195:                                              ; preds = %194, %192
  br label %205

196:                                              ; preds = %173
  %197 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %8, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %9, align 4
  call void @__cxa_free_exception(ptr %174) #9
  br label %204

200:                                              ; preds = %175
  %201 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %8, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %9, align 4
  br label %204

204:                                              ; preds = %200, %196
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  br label %205

205:                                              ; preds = %204, %195, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %283

206:                                              ; preds = %162
  %207 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %207, i32 noundef 32, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.10)
          to label %208 unwind label %176

208:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %209 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #10
          to label %210 unwind label %236

210:                                              ; preds = %208
  %211 = load ptr, ptr %17, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.asn1_string_st, ptr %211, i32 0, i32 2
  %213 = load ptr, ptr %212, align 8, !tbaa !11
  %214 = load ptr, ptr %17, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.asn1_string_st, ptr %214, i32 0, i32 0
  %216 = load i32, ptr %215, align 8, !tbaa !15
  %217 = invoke ptr @BIO_new_mem_buf(ptr noundef %213, i32 noundef %216)
          to label %218 unwind label %240

218:                                              ; preds = %210
  invoke void @_ZN3BioC1EP6bio_stb(ptr noundef nonnull align 8 dereferenceable(9) %209, ptr noundef %217, i1 noundef zeroext true)
          to label %219 unwind label %240

219:                                              ; preds = %218
  invoke void @_ZN6HandleI3BioEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef %209)
          to label %220 unwind label %236

220:                                              ; preds = %219
  %221 = invoke noundef ptr @_ZNK6HandleI3BioEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %222 unwind label %244

222:                                              ; preds = %220
  %223 = invoke noundef ptr @_ZN3Bio8internalEv(ptr noundef nonnull align 8 dereferenceable(9) %221)
          to label %224 unwind label %244

224:                                              ; preds = %222
  %225 = icmp eq ptr %223, null
  br i1 %225, label %226, label %274

226:                                              ; preds = %224
  %227 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %227, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.11)
          to label %228 unwind label %244

228:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %229 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #10
          to label %230 unwind label %248

230:                                              ; preds = %228
  store i1 true, ptr %24, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef null)
          to label %231 unwind label %252

231:                                              ; preds = %230
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %229, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 82, i32 noundef 0, ptr noundef @.str.3, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef %23, ptr noundef @.str.11)
          to label %232 unwind label %256

232:                                              ; preds = %231
  store i1 false, ptr %24, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef %229)
          to label %233 unwind label %256

233:                                              ; preds = %232
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  %234 = call ptr @__cxa_allocate_exception(i64 8) #9
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %234, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %235 unwind label %264

235:                                              ; preds = %233
  invoke void @__cxa_throw(ptr %234, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #11
          to label %568 unwind label %268

236:                                              ; preds = %219, %208
  %237 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %8, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %9, align 4
  br label %282

240:                                              ; preds = %218, %210
  %241 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %8, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %209, i64 noundef 16) #12
  br label %282

244:                                              ; preds = %274, %226, %222, %220
  %245 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %8, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %9, align 4
  br label %281

248:                                              ; preds = %228
  %249 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %8, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %9, align 4
  br label %273

252:                                              ; preds = %230
  %253 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %8, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %9, align 4
  br label %260

256:                                              ; preds = %232, %231
  %257 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %8, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %9, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  br label %260

260:                                              ; preds = %256, %252
  %261 = load i1, ptr %24, align 1
  br i1 %261, label %262, label %263

262:                                              ; preds = %260
  call void @_ZdlPvm(ptr noundef %229, i64 noundef 176) #12
  br label %263

263:                                              ; preds = %262, %260
  br label %273

264:                                              ; preds = %233
  %265 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %8, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %9, align 4
  call void @__cxa_free_exception(ptr %234) #9
  br label %272

268:                                              ; preds = %235
  %269 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %8, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %9, align 4
  br label %272

272:                                              ; preds = %268, %264
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  br label %273

273:                                              ; preds = %272, %263, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %281

274:                                              ; preds = %224
  invoke void @_ZN6HandleI3BioEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %275 unwind label %244

275:                                              ; preds = %274
  invoke void @_ZN10SignedData10setContentE6HandleI3BioE(ptr noundef nonnull align 8 dereferenceable(28) %45, ptr noundef %25)
          to label %276 unwind label %277

276:                                              ; preds = %275
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %284

277:                                              ; preds = %275
  %278 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %8, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %9, align 4
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  br label %281

281:                                              ; preds = %277, %273, %244
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  br label %282

282:                                              ; preds = %281, %240, %236
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %283

283:                                              ; preds = %282, %205, %176
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %508

284:                                              ; preds = %276, %153
  br label %505

285:                                              ; preds = %92
  %286 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %286, i32 noundef 32, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.12)
          to label %287 unwind label %94

287:                                              ; preds = %285
  %288 = invoke noundef ptr @_ZNK6HandleI3BioEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %289 unwind label %94

289:                                              ; preds = %287
  %290 = invoke noundef ptr @_ZN3Bio8internalEv(ptr noundef nonnull align 8 dereferenceable(9) %288)
          to label %291 unwind label %94

291:                                              ; preds = %289
  %292 = invoke ptr @PEM_read_bio_CMS(ptr noundef %290, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %293 unwind label %94

293:                                              ; preds = %291
  store ptr %292, ptr %13, align 8, !tbaa !5
  %294 = icmp eq ptr %292, null
  br i1 %294, label %295, label %334

295:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %296 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #10
          to label %297 unwind label %308

297:                                              ; preds = %295
  store i1 true, ptr %28, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef null)
          to label %298 unwind label %312

298:                                              ; preds = %297
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %296, i1 noundef zeroext true, ptr noundef @.str.2, i32 noundef 93, i32 noundef 0, ptr noundef @.str.3, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef %27, ptr noundef @.str.13)
          to label %299 unwind label %316

299:                                              ; preds = %298
  store i1 false, ptr %28, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef %296)
          to label %300 unwind label %316

300:                                              ; preds = %299
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  %301 = load ptr, ptr @logger, align 8, !tbaa !5
  %302 = invoke noundef ptr @_ZNK6HandleI9ExceptionEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %303 unwind label %324

303:                                              ; preds = %300
  %304 = call noundef ptr @_ZNK9Exception4whatEv(ptr noundef nonnull align 8 dereferenceable(176) %302) #9
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger4warnEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %301, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.5, ptr noundef %304)
          to label %305 unwind label %324

305:                                              ; preds = %303
  %306 = call ptr @__cxa_allocate_exception(i64 8) #9
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %306, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %307 unwind label %328

307:                                              ; preds = %305
  invoke void @__cxa_throw(ptr %306, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #11
          to label %568 unwind label %324

308:                                              ; preds = %295
  %309 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %8, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %9, align 4
  br label %333

312:                                              ; preds = %297
  %313 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %8, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %9, align 4
  br label %320

316:                                              ; preds = %299, %298
  %317 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %8, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %9, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  br label %320

320:                                              ; preds = %316, %312
  %321 = load i1, ptr %28, align 1
  br i1 %321, label %322, label %323

322:                                              ; preds = %320
  call void @_ZdlPvm(ptr noundef %296, i64 noundef 176) #12
  br label %323

323:                                              ; preds = %322, %320
  br label %333

324:                                              ; preds = %307, %303, %300
  %325 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %8, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %9, align 4
  br label %332

328:                                              ; preds = %305
  %329 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %8, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %9, align 4
  call void @__cxa_free_exception(ptr %306) #9
  br label %332

332:                                              ; preds = %328, %324
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  br label %333

333:                                              ; preds = %332, %323, %308
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %508

334:                                              ; preds = %293
  %335 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %335, i32 noundef 32, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.4)
          to label %336 unwind label %94

336:                                              ; preds = %334
  %337 = load ptr, ptr %13, align 8, !tbaa !5
  %338 = invoke i32 @CMS_is_detached(ptr noundef %337)
          to label %339 unwind label %94

339:                                              ; preds = %336
  %340 = icmp ne i32 %338, 0
  br i1 %340, label %466, label %341

341:                                              ; preds = %339
  %342 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger4infoEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %342, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.8)
          to label %343 unwind label %94

343:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %344 = load ptr, ptr %13, align 8, !tbaa !5
  %345 = invoke ptr @CMS_get0_content(ptr noundef %344)
          to label %346 unwind label %360

346:                                              ; preds = %343
  %347 = load ptr, ptr %345, align 8, !tbaa !5
  store ptr %347, ptr %29, align 8, !tbaa !5
  %348 = load ptr, ptr %29, align 8, !tbaa !5
  %349 = icmp eq ptr %348, null
  br i1 %349, label %350, label %390

350:                                              ; preds = %346
  %351 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %351, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.9)
          to label %352 unwind label %360

352:                                              ; preds = %350
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %353 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #10
          to label %354 unwind label %364

354:                                              ; preds = %352
  store i1 true, ptr %32, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef null)
          to label %355 unwind label %368

355:                                              ; preds = %354
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %353, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 102, i32 noundef 0, ptr noundef @.str.3, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef %31, ptr noundef @.str.9)
          to label %356 unwind label %372

356:                                              ; preds = %355
  store i1 false, ptr %32, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef %353)
          to label %357 unwind label %372

357:                                              ; preds = %356
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #9
  %358 = call ptr @__cxa_allocate_exception(i64 8) #9
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %358, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %359 unwind label %380

359:                                              ; preds = %357
  invoke void @__cxa_throw(ptr %358, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #11
          to label %568 unwind label %384

360:                                              ; preds = %350, %343
  %361 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %8, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %9, align 4
  br label %465

364:                                              ; preds = %352
  %365 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %8, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %9, align 4
  br label %389

368:                                              ; preds = %354
  %369 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %370 = extractvalue { ptr, i32 } %369, 0
  store ptr %370, ptr %8, align 8
  %371 = extractvalue { ptr, i32 } %369, 1
  store i32 %371, ptr %9, align 4
  br label %376

372:                                              ; preds = %356, %355
  %373 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %8, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %9, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #9
  br label %376

376:                                              ; preds = %372, %368
  %377 = load i1, ptr %32, align 1
  br i1 %377, label %378, label %379

378:                                              ; preds = %376
  call void @_ZdlPvm(ptr noundef %353, i64 noundef 176) #12
  br label %379

379:                                              ; preds = %378, %376
  br label %389

380:                                              ; preds = %357
  %381 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %8, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %9, align 4
  call void @__cxa_free_exception(ptr %358) #9
  br label %388

384:                                              ; preds = %359
  %385 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %8, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %9, align 4
  br label %388

388:                                              ; preds = %384, %380
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #9
  br label %389

389:                                              ; preds = %388, %379, %364
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %465

390:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %391 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #10
          to label %392 unwind label %418

392:                                              ; preds = %390
  %393 = load ptr, ptr %29, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.asn1_string_st, ptr %393, i32 0, i32 2
  %395 = load ptr, ptr %394, align 8, !tbaa !11
  %396 = load ptr, ptr %29, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.asn1_string_st, ptr %396, i32 0, i32 0
  %398 = load i32, ptr %397, align 8, !tbaa !15
  %399 = invoke ptr @BIO_new_mem_buf(ptr noundef %395, i32 noundef %398)
          to label %400 unwind label %422

400:                                              ; preds = %392
  invoke void @_ZN3BioC1EP6bio_stb(ptr noundef nonnull align 8 dereferenceable(9) %391, ptr noundef %399, i1 noundef zeroext true)
          to label %401 unwind label %422

401:                                              ; preds = %400
  invoke void @_ZN6HandleI3BioEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef %391)
          to label %402 unwind label %418

402:                                              ; preds = %401
  %403 = invoke noundef ptr @_ZNK6HandleI3BioEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %404 unwind label %426

404:                                              ; preds = %402
  %405 = invoke noundef ptr @_ZN3Bio8internalEv(ptr noundef nonnull align 8 dereferenceable(9) %403)
          to label %406 unwind label %426

406:                                              ; preds = %404
  %407 = icmp eq ptr %405, null
  br i1 %407, label %408, label %456

408:                                              ; preds = %406
  %409 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %409, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.11)
          to label %410 unwind label %426

410:                                              ; preds = %408
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %411 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #10
          to label %412 unwind label %430

412:                                              ; preds = %410
  store i1 true, ptr %36, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef null)
          to label %413 unwind label %434

413:                                              ; preds = %412
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %411, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 107, i32 noundef 0, ptr noundef @.str.3, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef %35, ptr noundef @.str.11)
          to label %414 unwind label %438

414:                                              ; preds = %413
  store i1 false, ptr %36, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef %411)
          to label %415 unwind label %438

415:                                              ; preds = %414
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  %416 = call ptr @__cxa_allocate_exception(i64 8) #9
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %416, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %417 unwind label %446

417:                                              ; preds = %415
  invoke void @__cxa_throw(ptr %416, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #11
          to label %568 unwind label %450

418:                                              ; preds = %401, %390
  %419 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %8, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %9, align 4
  br label %464

422:                                              ; preds = %400, %392
  %423 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %8, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %391, i64 noundef 16) #12
  br label %464

426:                                              ; preds = %456, %408, %404, %402
  %427 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %8, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %9, align 4
  br label %463

430:                                              ; preds = %410
  %431 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %8, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %9, align 4
  br label %455

434:                                              ; preds = %412
  %435 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %8, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %9, align 4
  br label %442

438:                                              ; preds = %414, %413
  %439 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %8, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %9, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  br label %442

442:                                              ; preds = %438, %434
  %443 = load i1, ptr %36, align 1
  br i1 %443, label %444, label %445

444:                                              ; preds = %442
  call void @_ZdlPvm(ptr noundef %411, i64 noundef 176) #12
  br label %445

445:                                              ; preds = %444, %442
  br label %455

446:                                              ; preds = %415
  %447 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %448 = extractvalue { ptr, i32 } %447, 0
  store ptr %448, ptr %8, align 8
  %449 = extractvalue { ptr, i32 } %447, 1
  store i32 %449, ptr %9, align 4
  call void @__cxa_free_exception(ptr %416) #9
  br label %454

450:                                              ; preds = %417
  %451 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %8, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %9, align 4
  br label %454

454:                                              ; preds = %450, %446
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #9
  br label %455

455:                                              ; preds = %454, %445, %430
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %463

456:                                              ; preds = %406
  invoke void @_ZN6HandleI3BioEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %457 unwind label %426

457:                                              ; preds = %456
  invoke void @_ZN10SignedData10setContentE6HandleI3BioE(ptr noundef nonnull align 8 dereferenceable(28) %45, ptr noundef %37)
          to label %458 unwind label %459

458:                                              ; preds = %457
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #9
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %466

459:                                              ; preds = %457
  %460 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %8, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %9, align 4
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #9
  br label %463

463:                                              ; preds = %459, %455, %426
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #9
  br label %464

464:                                              ; preds = %463, %422, %418
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %465

465:                                              ; preds = %464, %389, %360
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %508

466:                                              ; preds = %458, %339
  br label %505

467:                                              ; preds = %92
  %468 = load ptr, ptr @logger, align 8, !tbaa !5
  %469 = load i32, ptr %6, align 4, !tbaa !9
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %468, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.14, i32 noundef %469)
          to label %470 unwind label %94

470:                                              ; preds = %467
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %471 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #10
          to label %472 unwind label %479

472:                                              ; preds = %470
  store i1 true, ptr %40, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef null)
          to label %473 unwind label %483

473:                                              ; preds = %472
  %474 = load i32, ptr %6, align 4, !tbaa !9
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %471, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 116, i32 noundef 0, ptr noundef @.str.3, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef %39, ptr noundef @.str.14, i32 noundef %474)
          to label %475 unwind label %487

475:                                              ; preds = %473
  store i1 false, ptr %40, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef %471)
          to label %476 unwind label %487

476:                                              ; preds = %475
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #9
  %477 = call ptr @__cxa_allocate_exception(i64 8) #9
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %477, ptr noundef nonnull align 8 dereferenceable(8) %38)
          to label %478 unwind label %495

478:                                              ; preds = %476
  invoke void @__cxa_throw(ptr %477, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #11
          to label %568 unwind label %499

479:                                              ; preds = %470
  %480 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %8, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %9, align 4
  br label %504

483:                                              ; preds = %472
  %484 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %485 = extractvalue { ptr, i32 } %484, 0
  store ptr %485, ptr %8, align 8
  %486 = extractvalue { ptr, i32 } %484, 1
  store i32 %486, ptr %9, align 4
  br label %491

487:                                              ; preds = %475, %473
  %488 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %8, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %9, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #9
  br label %491

491:                                              ; preds = %487, %483
  %492 = load i1, ptr %40, align 1
  br i1 %492, label %493, label %494

493:                                              ; preds = %491
  call void @_ZdlPvm(ptr noundef %471, i64 noundef 176) #12
  br label %494

494:                                              ; preds = %493, %491
  br label %504

495:                                              ; preds = %476
  %496 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %497 = extractvalue { ptr, i32 } %496, 0
  store ptr %497, ptr %8, align 8
  %498 = extractvalue { ptr, i32 } %496, 1
  store i32 %498, ptr %9, align 4
  call void @__cxa_free_exception(ptr %477) #9
  br label %503

499:                                              ; preds = %478
  %500 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %501 = extractvalue { ptr, i32 } %500, 0
  store ptr %501, ptr %8, align 8
  %502 = extractvalue { ptr, i32 } %500, 1
  store i32 %502, ptr %9, align 4
  br label %503

503:                                              ; preds = %499, %495
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #9
  br label %504

504:                                              ; preds = %503, %494, %479
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  br label %508

505:                                              ; preds = %466, %284
  %506 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZN9SSLObjectI18CMS_ContentInfo_stE7setDataEPS0_(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef %506)
          to label %507 unwind label %94

507:                                              ; preds = %505
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %558

508:                                              ; preds = %504, %465, %333, %283, %147, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %509

509:                                              ; preds = %508, %88, %59
  %510 = load i32, ptr %9, align 4
  %511 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTI6HandleI9ExceptionE) #9
  %512 = icmp eq i32 %510, %511
  br i1 %512, label %513, label %559

513:                                              ; preds = %509
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #9
  %514 = load ptr, ptr %8, align 8
  %515 = call ptr @__cxa_begin_catch(ptr %514) #9
  store ptr %515, ptr %41, align 8
  %516 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %516, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef @.str.15)
          to label %517 unwind label %526

517:                                              ; preds = %513
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #9
  %518 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #10
          to label %519 unwind label %530

519:                                              ; preds = %517
  store i1 true, ptr %44, align 1
  %520 = load ptr, ptr %41, align 8, !tbaa !5
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %520)
          to label %521 unwind label %534

521:                                              ; preds = %519
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %518, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 122, i32 noundef 0, ptr noundef @.str.3, ptr noundef @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef %43, ptr noundef @.str.15)
          to label %522 unwind label %538

522:                                              ; preds = %521
  store i1 false, ptr %44, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef %518)
          to label %523 unwind label %538

523:                                              ; preds = %522
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #9
  %524 = call ptr @__cxa_allocate_exception(i64 8) #9
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %524, ptr noundef nonnull align 8 dereferenceable(8) %42)
          to label %525 unwind label %546

525:                                              ; preds = %523
  invoke void @__cxa_throw(ptr %524, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #11
          to label %568 unwind label %550

526:                                              ; preds = %513
  %527 = landingpad { ptr, i32 }
          cleanup
  %528 = extractvalue { ptr, i32 } %527, 0
  store ptr %528, ptr %8, align 8
  %529 = extractvalue { ptr, i32 } %527, 1
  store i32 %529, ptr %9, align 4
  br label %556

530:                                              ; preds = %517
  %531 = landingpad { ptr, i32 }
          cleanup
  %532 = extractvalue { ptr, i32 } %531, 0
  store ptr %532, ptr %8, align 8
  %533 = extractvalue { ptr, i32 } %531, 1
  store i32 %533, ptr %9, align 4
  br label %555

534:                                              ; preds = %519
  %535 = landingpad { ptr, i32 }
          cleanup
  %536 = extractvalue { ptr, i32 } %535, 0
  store ptr %536, ptr %8, align 8
  %537 = extractvalue { ptr, i32 } %535, 1
  store i32 %537, ptr %9, align 4
  br label %542

538:                                              ; preds = %522, %521
  %539 = landingpad { ptr, i32 }
          cleanup
  %540 = extractvalue { ptr, i32 } %539, 0
  store ptr %540, ptr %8, align 8
  %541 = extractvalue { ptr, i32 } %539, 1
  store i32 %541, ptr %9, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #9
  br label %542

542:                                              ; preds = %538, %534
  %543 = load i1, ptr %44, align 1
  br i1 %543, label %544, label %545

544:                                              ; preds = %542
  call void @_ZdlPvm(ptr noundef %518, i64 noundef 176) #12
  br label %545

545:                                              ; preds = %544, %542
  br label %555

546:                                              ; preds = %523
  %547 = landingpad { ptr, i32 }
          cleanup
  %548 = extractvalue { ptr, i32 } %547, 0
  store ptr %548, ptr %8, align 8
  %549 = extractvalue { ptr, i32 } %547, 1
  store i32 %549, ptr %9, align 4
  call void @__cxa_free_exception(ptr %524) #9
  br label %554

550:                                              ; preds = %525
  %551 = landingpad { ptr, i32 }
          cleanup
  %552 = extractvalue { ptr, i32 } %551, 0
  store ptr %552, ptr %8, align 8
  %553 = extractvalue { ptr, i32 } %551, 1
  store i32 %553, ptr %9, align 4
  br label %554

554:                                              ; preds = %550, %546
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #9
  br label %555

555:                                              ; preds = %554, %545, %530
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #9
  br label %556

556:                                              ; preds = %555, %526
  invoke void @__cxa_end_catch()
          to label %557 unwind label %565

557:                                              ; preds = %556
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  br label %559

558:                                              ; preds = %507
  call void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #9
  ret void

559:                                              ; preds = %557, %509
  call void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #9
  br label %560

560:                                              ; preds = %559
  %561 = load ptr, ptr %8, align 8
  %562 = load i32, ptr %9, align 4
  %563 = insertvalue { ptr, i32 } poison, ptr %561, 0
  %564 = insertvalue { ptr, i32 } %563, i32 %562, 1
  resume { ptr, i32 } %564

565:                                              ; preds = %556
  %566 = landingpad { ptr, i32 }
          catch ptr null
  %567 = extractvalue { ptr, i32 } %566, 0
  call void @__clang_call_terminate(ptr %567) #13
  unreachable

568:                                              ; preds = %525, %478, %417, %359, %307, %235, %175, %121, %58
  unreachable
}

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

declare void @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ...) #1

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

declare void @_ZN3Bio5resetEv(ptr noundef nonnull align 8 dereferenceable(9)) #1

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

declare noundef ptr @_ZN3Bio8internalEv(ptr noundef nonnull align 8 dereferenceable(9)) #1

declare void @_ZN6Logger4infoEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ...) #1

declare ptr @CMS_get0_content(ptr noundef) #1

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

declare void @_ZN3BioC1EP6bio_stb(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef, i1 noundef zeroext) unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SignedData10setContentE6HandleI3BioE(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef) #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9SSLObjectI18CMS_ContentInfo_stE7setDataEPS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #5 align 2

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind memory(none) }
attributes #8 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { noreturn }
attributes #12 = { builtin nounwind }
attributes #13 = { noreturn nounwind }

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

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


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

%class.LoggerFunction = type { %class.Handle.0, ptr }
%class.Handle.0 = type { ptr }
%class.Handle.8 = type { ptr }
%class.Handle.2 = type { ptr }

@logger = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZTI6HandleI9ExceptionE = external dso_local constant { ptr, ptr }, align 8
@__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1

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

declare void @_ZN14LoggerFunctionC1EP6LoggerPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) unnamed_addr #1

declare void @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind
declare void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare i32 @CMS_is_detached(ptr noundef) local_unnamed_addr #1

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

declare void @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176), i1 noundef zeroext, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) unnamed_addr #1

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

declare void @_ZN6Logger4warnEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ...) local_unnamed_addr #1

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

; Function Attrs: nounwind
declare noundef ptr @_ZNK9Exception4whatEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #4

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.LoggerFunction, align 8
  %5 = alloca %class.Handle.8, align 8
  %6 = alloca %class.Handle.8, align 8
  %7 = alloca %class.Handle.8, align 8
  %8 = alloca %class.Handle.8, align 8
  %9 = alloca %class.Handle.8, align 8
  %10 = alloca %class.Handle.8, align 8
  %11 = alloca %class.Handle.2, align 8
  %12 = alloca %class.Handle.8, align 8
  %13 = alloca %class.Handle.8, align 8
  %14 = alloca %class.Handle.2, align 8
  %15 = alloca %class.Handle.8, align 8
  %16 = alloca %class.Handle.8, align 8
  %17 = alloca %class.Handle.8, align 8
  %18 = alloca %class.Handle.8, align 8
  %19 = alloca %class.Handle.2, align 8
  %20 = alloca %class.Handle.8, align 8
  %21 = alloca %class.Handle.8, align 8
  %22 = alloca %class.Handle.2, align 8
  %23 = alloca %class.Handle.8, align 8
  %24 = alloca %class.Handle.8, align 8
  %25 = alloca %class.Handle.8, align 8
  %26 = alloca %class.Handle.8, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  %27 = load ptr, ptr @logger, align 8, !tbaa !5
  call void @_ZN14LoggerFunctionC1EP6LoggerPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %27, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE)
  %28 = call noundef zeroext i1 @_ZNK6HandleI3BioE7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  br i1 %28, label %29, label %50

29:                                               ; preds = %3
  %30 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.6, i32 noundef 1)
          to label %31 unwind label %39

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %32 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #10
          to label %33 unwind label %41

33:                                               ; preds = %31
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef null)
          to label %34 unwind label %.thread

34:                                               ; preds = %33
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %32, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 54, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull %6, ptr noundef nonnull @.str.6, i32 noundef 1)
          to label %36 unwind label %.thread124

.thread124:                                       ; preds = %34
  %35 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  br label %46

36:                                               ; preds = %34
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull %32)
          to label %37 unwind label %44

37:                                               ; preds = %36
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  %38 = call ptr @__cxa_allocate_exception(i64 8) #9
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %5)
  invoke void @__cxa_throw(ptr nonnull %38, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #11
          to label %328 unwind label %47

39:                                               ; preds = %29
  %40 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %300

41:                                               ; preds = %31
  %42 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %49

.thread:                                          ; preds = %33
  %43 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %46

44:                                               ; preds = %36
  %45 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  br label %49

46:                                               ; preds = %.thread124, %.thread
  %.pn113123 = phi { ptr, i32 } [ %43, %.thread ], [ %35, %.thread124 ]
  call void @_ZdlPvm(ptr noundef nonnull %32, i64 noundef 176) #12
  br label %49

47:                                               ; preds = %37
  %48 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  br label %49

49:                                               ; preds = %44, %46, %47, %41
  %.pn115 = phi { ptr, i32 } [ %48, %47 ], [ %.pn113123, %46 ], [ %45, %44 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br label %300

50:                                               ; preds = %3
  %51 = invoke noundef ptr @_ZNK6HandleI3BioEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %52 unwind label %55

52:                                               ; preds = %50
  invoke void @_ZN3Bio5resetEv(ptr noundef nonnull align 8 dereferenceable(9) %51)
          to label %53 unwind label %55

53:                                               ; preds = %52
  %54 = load ptr, ptr @logger, align 8, !tbaa !5
  switch i32 %2, label %280 [
    i32 0, label %57
    i32 1, label %170
  ]

55:                                               ; preds = %298, %280, %206, %203, %201, %175, %173, %171, %170, %95, %93, %90, %88, %62, %60, %58, %57, %52, %50
  %56 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %300

57:                                               ; preds = %53
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %54, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.7)
          to label %58 unwind label %55

58:                                               ; preds = %57
  %59 = invoke noundef ptr @_ZNK6HandleI3BioEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %60 unwind label %55

60:                                               ; preds = %58
  %61 = invoke noundef ptr @_ZN3Bio8internalEv(ptr noundef nonnull align 8 dereferenceable(9) %59)
          to label %62 unwind label %55

62:                                               ; preds = %60
  %63 = invoke ptr @d2i_CMS_bio(ptr noundef %61, ptr noundef null)
          to label %64 unwind label %55

64:                                               ; preds = %62
  %65 = icmp eq ptr %63, null
  br i1 %65, label %66, label %88

66:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %67 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #10
          to label %68 unwind label %79

68:                                               ; preds = %66
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef null)
          to label %69 unwind label %.thread126

69:                                               ; preds = %68
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %67, i1 noundef zeroext true, ptr noundef nonnull @.str.2, i32 noundef 66, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull %8, ptr noundef nonnull @.str.7)
          to label %71 unwind label %.thread130

.thread130:                                       ; preds = %69
  %70 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  br label %84

71:                                               ; preds = %69
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull %67)
          to label %72 unwind label %82

72:                                               ; preds = %71
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  %73 = load ptr, ptr @logger, align 8, !tbaa !5
  %74 = invoke noundef ptr @_ZNK6HandleI9ExceptionEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %75 unwind label %85

75:                                               ; preds = %72
  %76 = call noundef ptr @_ZNK9Exception4whatEv(ptr noundef nonnull align 8 dereferenceable(176) %74) #9
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger4warnEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.5, ptr noundef %76)
          to label %77 unwind label %85

77:                                               ; preds = %75
  %78 = call ptr @__cxa_allocate_exception(i64 8) #9
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull align 8 dereferenceable(8) %7)
  invoke void @__cxa_throw(ptr nonnull %78, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #11
          to label %328 unwind label %85

79:                                               ; preds = %66
  %80 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %87

.thread126:                                       ; preds = %68
  %81 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %84

82:                                               ; preds = %71
  %83 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  br label %87

84:                                               ; preds = %.thread130, %.thread126
  %.pn104129 = phi { ptr, i32 } [ %81, %.thread126 ], [ %70, %.thread130 ]
  call void @_ZdlPvm(ptr noundef nonnull %67, i64 noundef 176) #12
  br label %87

85:                                               ; preds = %77, %75, %72
  %86 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  br label %87

87:                                               ; preds = %82, %84, %85, %79
  %.pn106 = phi { ptr, i32 } [ %86, %85 ], [ %.pn104129, %84 ], [ %83, %82 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %300

88:                                               ; preds = %64
  %89 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %89, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.4)
          to label %90 unwind label %55

90:                                               ; preds = %88
  %91 = invoke i32 @CMS_is_detached(ptr noundef nonnull %63)
          to label %92 unwind label %55

92:                                               ; preds = %90
  %.not92 = icmp eq i32 %91, 0
  br i1 %.not92, label %93, label %298

93:                                               ; preds = %92
  %94 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger4infoEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %94, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.8)
          to label %95 unwind label %55

95:                                               ; preds = %93
  %96 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %96, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.9)
          to label %97 unwind label %55

97:                                               ; preds = %95
  %98 = invoke ptr @CMS_get0_content(ptr noundef nonnull %63)
          to label %99 unwind label %112

99:                                               ; preds = %97
  %100 = load ptr, ptr %98, align 8, !tbaa !5
  %101 = icmp eq ptr %100, null
  %102 = load ptr, ptr @logger, align 8, !tbaa !5
  br i1 %101, label %103, label %123

103:                                              ; preds = %99
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %102, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.9)
          to label %104 unwind label %112

104:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %105 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #10
          to label %106 unwind label %114

106:                                              ; preds = %104
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef null)
          to label %107 unwind label %.thread132

107:                                              ; preds = %106
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %105, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 76, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull %10, ptr noundef nonnull @.str.9)
          to label %109 unwind label %.thread136

.thread136:                                       ; preds = %107
  %108 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  br label %119

109:                                              ; preds = %107
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull %105)
          to label %110 unwind label %117

110:                                              ; preds = %109
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  %111 = call ptr @__cxa_allocate_exception(i64 8) #9
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef nonnull align 8 dereferenceable(8) %9)
  invoke void @__cxa_throw(ptr nonnull %111, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #11
          to label %328 unwind label %120

112:                                              ; preds = %123, %103, %97
  %113 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %300

114:                                              ; preds = %104
  %115 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %122

.thread132:                                       ; preds = %106
  %116 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %119

117:                                              ; preds = %109
  %118 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #9
  br label %122

119:                                              ; preds = %.thread136, %.thread132
  %.pn99135 = phi { ptr, i32 } [ %116, %.thread132 ], [ %108, %.thread136 ]
  call void @_ZdlPvm(ptr noundef nonnull %105, i64 noundef 176) #12
  br label %122

120:                                              ; preds = %110
  %121 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  br label %122

122:                                              ; preds = %117, %119, %120, %114
  %.pn101 = phi { ptr, i32 } [ %121, %120 ], [ %.pn99135, %119 ], [ %118, %117 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br label %300

123:                                              ; preds = %99
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %102, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.10)
          to label %124 unwind label %112

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %125 = invoke noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #10
          to label %126 unwind label %149

126:                                              ; preds = %124
  %127 = getelementptr inbounds i8, ptr %100, i64 8
  %128 = load ptr, ptr %127, align 8, !tbaa !9
  %129 = load i32, ptr %100, align 8, !tbaa !13
  %130 = invoke ptr @BIO_new_mem_buf(ptr noundef %128, i32 noundef %129)
          to label %131 unwind label %151

131:                                              ; preds = %126
  invoke void @_ZN3BioC1EP6bio_stb(ptr noundef nonnull align 8 dereferenceable(9) %125, ptr noundef %130, i1 noundef zeroext true)
          to label %132 unwind label %151

132:                                              ; preds = %131
  invoke void @_ZN6HandleI3BioEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %125)
          to label %133 unwind label %149

133:                                              ; preds = %132
  %134 = invoke noundef ptr @_ZNK6HandleI3BioEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %135 unwind label %153

135:                                              ; preds = %133
  %136 = invoke noundef ptr @_ZN3Bio8internalEv(ptr noundef nonnull align 8 dereferenceable(9) %134)
          to label %137 unwind label %153

137:                                              ; preds = %135
  %138 = icmp eq ptr %136, null
  br i1 %138, label %139, label %164

139:                                              ; preds = %137
  %140 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %140, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.11)
          to label %141 unwind label %153

141:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %142 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #10
          to label %143 unwind label %155

143:                                              ; preds = %141
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef null)
          to label %144 unwind label %.thread138

144:                                              ; preds = %143
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %142, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 82, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull %13, ptr noundef nonnull @.str.11)
          to label %146 unwind label %.thread142

.thread142:                                       ; preds = %144
  %145 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  br label %160

146:                                              ; preds = %144
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull %142)
          to label %147 unwind label %158

147:                                              ; preds = %146
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  %148 = call ptr @__cxa_allocate_exception(i64 8) #9
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull align 8 dereferenceable(8) %12)
  invoke void @__cxa_throw(ptr nonnull %148, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #11
          to label %328 unwind label %161

149:                                              ; preds = %132, %124
  %150 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %169

151:                                              ; preds = %131, %126
  %152 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZdlPvm(ptr noundef nonnull %125, i64 noundef 16) #12
  br label %169

153:                                              ; preds = %139, %135, %133
  %154 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %168

155:                                              ; preds = %141
  %156 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %163

.thread138:                                       ; preds = %143
  %157 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %160

158:                                              ; preds = %146
  %159 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  br label %163

160:                                              ; preds = %.thread142, %.thread138
  %.pn93141 = phi { ptr, i32 } [ %157, %.thread138 ], [ %145, %.thread142 ]
  call void @_ZdlPvm(ptr noundef nonnull %142, i64 noundef 176) #12
  br label %163

161:                                              ; preds = %147
  %162 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br label %163

163:                                              ; preds = %158, %160, %161, %155
  %.pn95 = phi { ptr, i32 } [ %162, %161 ], [ %.pn93141, %160 ], [ %159, %158 ], [ %156, %155 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %168

164:                                              ; preds = %137
  call void @_ZN6HandleI3BioEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %11)
  invoke void @_ZN10SignedData10setContentE6HandleI3BioE(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef nonnull %14)
          to label %165 unwind label %166

165:                                              ; preds = %164
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %298

166:                                              ; preds = %164
  %167 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  br label %168

168:                                              ; preds = %166, %163, %153
  %.pn95.pn = phi { ptr, i32 } [ %.pn95, %163 ], [ %154, %153 ], [ %167, %166 ]
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  br label %169

169:                                              ; preds = %168, %151, %149
  %.pn95.pn.pn = phi { ptr, i32 } [ %.pn95.pn, %168 ], [ %150, %149 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %300

170:                                              ; preds = %53
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %54, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.12)
          to label %171 unwind label %55

171:                                              ; preds = %170
  %172 = invoke noundef ptr @_ZNK6HandleI3BioEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %173 unwind label %55

173:                                              ; preds = %171
  %174 = invoke noundef ptr @_ZN3Bio8internalEv(ptr noundef nonnull align 8 dereferenceable(9) %172)
          to label %175 unwind label %55

175:                                              ; preds = %173
  %176 = invoke ptr @PEM_read_bio_CMS(ptr noundef %174, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %177 unwind label %55

177:                                              ; preds = %175
  %178 = icmp eq ptr %176, null
  br i1 %178, label %179, label %201

179:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  %180 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #10
          to label %181 unwind label %192

181:                                              ; preds = %179
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef null)
          to label %182 unwind label %.thread144

182:                                              ; preds = %181
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %180, i1 noundef zeroext true, ptr noundef nonnull @.str.2, i32 noundef 93, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull %16, ptr noundef nonnull @.str.13)
          to label %184 unwind label %.thread148

.thread148:                                       ; preds = %182
  %183 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  br label %197

184:                                              ; preds = %182
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull %180)
          to label %185 unwind label %195

185:                                              ; preds = %184
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  %186 = load ptr, ptr @logger, align 8, !tbaa !5
  %187 = invoke noundef ptr @_ZNK6HandleI9ExceptionEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %188 unwind label %198

188:                                              ; preds = %185
  %189 = call noundef ptr @_ZNK9Exception4whatEv(ptr noundef nonnull align 8 dereferenceable(176) %187) #9
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger4warnEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %186, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.5, ptr noundef %189)
          to label %190 unwind label %198

190:                                              ; preds = %188
  %191 = call ptr @__cxa_allocate_exception(i64 8) #9
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %191, ptr noundef nonnull align 8 dereferenceable(8) %15)
  invoke void @__cxa_throw(ptr nonnull %191, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #11
          to label %328 unwind label %198

192:                                              ; preds = %179
  %193 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %200

.thread144:                                       ; preds = %181
  %194 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %197

195:                                              ; preds = %184
  %196 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  br label %200

197:                                              ; preds = %.thread148, %.thread144
  %.pn88147 = phi { ptr, i32 } [ %194, %.thread144 ], [ %183, %.thread148 ]
  call void @_ZdlPvm(ptr noundef nonnull %180, i64 noundef 176) #12
  br label %200

198:                                              ; preds = %190, %188, %185
  %199 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #9
  br label %200

200:                                              ; preds = %195, %197, %198, %192
  %.pn90 = phi { ptr, i32 } [ %199, %198 ], [ %.pn88147, %197 ], [ %196, %195 ], [ %193, %192 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  br label %300

201:                                              ; preds = %177
  %202 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %202, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.4)
          to label %203 unwind label %55

203:                                              ; preds = %201
  %204 = invoke i32 @CMS_is_detached(ptr noundef nonnull %176)
          to label %205 unwind label %55

205:                                              ; preds = %203
  %.not = icmp eq i32 %204, 0
  br i1 %.not, label %206, label %298

206:                                              ; preds = %205
  %207 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger4infoEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %207, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.8)
          to label %208 unwind label %55

208:                                              ; preds = %206
  %209 = invoke ptr @CMS_get0_content(ptr noundef nonnull %176)
          to label %210 unwind label %223

210:                                              ; preds = %208
  %211 = load ptr, ptr %209, align 8, !tbaa !5
  %212 = icmp eq ptr %211, null
  br i1 %212, label %213, label %234

213:                                              ; preds = %210
  %214 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %214, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.9)
          to label %215 unwind label %223

215:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %216 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #10
          to label %217 unwind label %225

217:                                              ; preds = %215
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef null)
          to label %218 unwind label %.thread150

218:                                              ; preds = %217
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %216, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 102, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull %18, ptr noundef nonnull @.str.9)
          to label %220 unwind label %.thread154

.thread154:                                       ; preds = %218
  %219 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  br label %230

220:                                              ; preds = %218
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull %216)
          to label %221 unwind label %228

221:                                              ; preds = %220
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  %222 = call ptr @__cxa_allocate_exception(i64 8) #9
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %222, ptr noundef nonnull align 8 dereferenceable(8) %17)
  invoke void @__cxa_throw(ptr nonnull %222, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #11
          to label %328 unwind label %231

223:                                              ; preds = %213, %208
  %224 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %300

225:                                              ; preds = %215
  %226 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %233

.thread150:                                       ; preds = %217
  %227 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %230

228:                                              ; preds = %220
  %229 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  br label %233

230:                                              ; preds = %.thread154, %.thread150
  %.pn83153 = phi { ptr, i32 } [ %227, %.thread150 ], [ %219, %.thread154 ]
  call void @_ZdlPvm(ptr noundef nonnull %216, i64 noundef 176) #12
  br label %233

231:                                              ; preds = %221
  %232 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  br label %233

233:                                              ; preds = %228, %230, %231, %225
  %.pn85 = phi { ptr, i32 } [ %232, %231 ], [ %.pn83153, %230 ], [ %229, %228 ], [ %226, %225 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %300

234:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %235 = invoke noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #10
          to label %236 unwind label %259

236:                                              ; preds = %234
  %237 = getelementptr inbounds i8, ptr %211, i64 8
  %238 = load ptr, ptr %237, align 8, !tbaa !9
  %239 = load i32, ptr %211, align 8, !tbaa !13
  %240 = invoke ptr @BIO_new_mem_buf(ptr noundef %238, i32 noundef %239)
          to label %241 unwind label %261

241:                                              ; preds = %236
  invoke void @_ZN3BioC1EP6bio_stb(ptr noundef nonnull align 8 dereferenceable(9) %235, ptr noundef %240, i1 noundef zeroext true)
          to label %242 unwind label %261

242:                                              ; preds = %241
  invoke void @_ZN6HandleI3BioEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull %235)
          to label %243 unwind label %259

243:                                              ; preds = %242
  %244 = invoke noundef ptr @_ZNK6HandleI3BioEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %245 unwind label %263

245:                                              ; preds = %243
  %246 = invoke noundef ptr @_ZN3Bio8internalEv(ptr noundef nonnull align 8 dereferenceable(9) %244)
          to label %247 unwind label %263

247:                                              ; preds = %245
  %248 = icmp eq ptr %246, null
  br i1 %248, label %249, label %274

249:                                              ; preds = %247
  %250 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %250, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.11)
          to label %251 unwind label %263

251:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %252 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #10
          to label %253 unwind label %265

253:                                              ; preds = %251
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef null)
          to label %254 unwind label %.thread156

254:                                              ; preds = %253
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %252, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 107, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull %21, ptr noundef nonnull @.str.11)
          to label %256 unwind label %.thread160

.thread160:                                       ; preds = %254
  %255 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  br label %270

256:                                              ; preds = %254
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull %252)
          to label %257 unwind label %268

257:                                              ; preds = %256
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %258 = call ptr @__cxa_allocate_exception(i64 8) #9
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %258, ptr noundef nonnull align 8 dereferenceable(8) %20)
  invoke void @__cxa_throw(ptr nonnull %258, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #11
          to label %328 unwind label %271

259:                                              ; preds = %242, %234
  %260 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %279

261:                                              ; preds = %241, %236
  %262 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZdlPvm(ptr noundef nonnull %235, i64 noundef 16) #12
  br label %279

263:                                              ; preds = %249, %245, %243
  %264 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %278

265:                                              ; preds = %251
  %266 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %273

.thread156:                                       ; preds = %253
  %267 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %270

268:                                              ; preds = %256
  %269 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  br label %273

270:                                              ; preds = %.thread160, %.thread156
  %.pn159 = phi { ptr, i32 } [ %267, %.thread156 ], [ %255, %.thread160 ]
  call void @_ZdlPvm(ptr noundef nonnull %252, i64 noundef 176) #12
  br label %273

271:                                              ; preds = %257
  %272 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  br label %273

273:                                              ; preds = %268, %270, %271, %265
  %.pn79 = phi { ptr, i32 } [ %272, %271 ], [ %.pn159, %270 ], [ %269, %268 ], [ %266, %265 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  br label %278

274:                                              ; preds = %247
  call void @_ZN6HandleI3BioEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %19)
  invoke void @_ZN10SignedData10setContentE6HandleI3BioE(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef nonnull %22)
          to label %275 unwind label %276

275:                                              ; preds = %274
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br label %298

276:                                              ; preds = %274
  %277 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  br label %278

278:                                              ; preds = %276, %273, %263
  %.pn79.pn = phi { ptr, i32 } [ %.pn79, %273 ], [ %264, %263 ], [ %277, %276 ]
  call void @_ZN6HandleI3BioED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  br label %279

279:                                              ; preds = %278, %261, %259
  %.pn79.pn.pn = phi { ptr, i32 } [ %.pn79.pn, %278 ], [ %260, %259 ], [ %262, %261 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br label %300

280:                                              ; preds = %53
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.14, i32 noundef %2)
          to label %281 unwind label %55

281:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  %282 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #10
          to label %283 unwind label %289

283:                                              ; preds = %281
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef null)
          to label %284 unwind label %.thread162

284:                                              ; preds = %283
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %282, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 116, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull %24, ptr noundef nonnull @.str.14, i32 noundef %2)
          to label %286 unwind label %.thread166

.thread166:                                       ; preds = %284
  %285 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  br label %294

286:                                              ; preds = %284
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull %282)
          to label %287 unwind label %292

287:                                              ; preds = %286
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  %288 = call ptr @__cxa_allocate_exception(i64 8) #9
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %288, ptr noundef nonnull align 8 dereferenceable(8) %23)
  invoke void @__cxa_throw(ptr nonnull %288, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #11
          to label %328 unwind label %295

289:                                              ; preds = %281
  %290 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %297

.thread162:                                       ; preds = %283
  %291 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %294

292:                                              ; preds = %286
  %293 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  br label %297

294:                                              ; preds = %.thread166, %.thread162
  %.pn108165 = phi { ptr, i32 } [ %291, %.thread162 ], [ %285, %.thread166 ]
  call void @_ZdlPvm(ptr noundef nonnull %282, i64 noundef 176) #12
  br label %297

295:                                              ; preds = %287
  %296 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  br label %297

297:                                              ; preds = %292, %294, %295, %289
  %.pn110 = phi { ptr, i32 } [ %296, %295 ], [ %.pn108165, %294 ], [ %293, %292 ], [ %290, %289 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  br label %300

298:                                              ; preds = %205, %275, %92, %165
  %.073 = phi ptr [ %176, %205 ], [ %176, %275 ], [ %63, %92 ], [ %63, %165 ]
  invoke void @_ZN9SSLObjectI18CMS_ContentInfo_stE7setDataEPS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %.073)
          to label %299 unwind label %55

299:                                              ; preds = %298
  call void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  ret void

300:                                              ; preds = %55, %87, %200, %297, %169, %122, %112, %279, %233, %223, %49, %39
  %.pn115.pn = phi { ptr, i32 } [ %.pn115, %49 ], [ %40, %39 ], [ %.pn110, %297 ], [ %56, %55 ], [ %.pn90, %200 ], [ %.pn106, %87 ], [ %.pn101, %122 ], [ %113, %112 ], [ %.pn95.pn.pn, %169 ], [ %.pn85, %233 ], [ %224, %223 ], [ %.pn79.pn.pn, %279 ]
  %.2359 = extractvalue { ptr, i32 } %.pn115.pn, 1
  %301 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTI6HandleI9ExceptionE) #9
  %302 = icmp eq i32 %.2359, %301
  br i1 %302, label %303, label %324

303:                                              ; preds = %300
  %.23 = extractvalue { ptr, i32 } %.pn115.pn, 0
  %304 = call ptr @__cxa_begin_catch(ptr %.23) #9
  %305 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %305, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull @.str.15)
          to label %306 unwind label %312

306:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %307 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #10
          to label %308 unwind label %314

308:                                              ; preds = %306
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %304)
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %307, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 122, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef nonnull @__FUNCTION__._ZN10SignedData4readE6HandleI3BioEN10DataFormat11DATA_FORMATE, ptr noundef nonnull %26, ptr noundef nonnull @.str.15)
          to label %309 unwind label %318

309:                                              ; preds = %308
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull %307)
          to label %310 unwind label %316

310:                                              ; preds = %309
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  %311 = call ptr @__cxa_allocate_exception(i64 8) #9
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %311, ptr noundef nonnull align 8 dereferenceable(8) %25)
  invoke void @__cxa_throw(ptr nonnull %311, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #11
          to label %328 unwind label %320

312:                                              ; preds = %303
  %313 = landingpad { ptr, i32 }
          cleanup
  br label %323

314:                                              ; preds = %306
  %315 = landingpad { ptr, i32 }
          cleanup
  br label %322

316:                                              ; preds = %309
  %317 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  br label %322

318:                                              ; preds = %308
  %319 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  call void @_ZdlPvm(ptr noundef nonnull %307, i64 noundef 176) #12
  br label %322

320:                                              ; preds = %310
  %321 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  br label %322

322:                                              ; preds = %316, %318, %320, %314
  %.pn118 = phi { ptr, i32 } [ %321, %320 ], [ %319, %318 ], [ %317, %316 ], [ %315, %314 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  br label %323

323:                                              ; preds = %322, %312
  %.pn118.pn = phi { ptr, i32 } [ %.pn118, %322 ], [ %313, %312 ]
  invoke void @__cxa_end_catch()
          to label %324 unwind label %325

324:                                              ; preds = %323, %300
  %.merged = phi { ptr, i32 } [ %.pn115.pn, %300 ], [ %.pn118.pn, %323 ]
  call void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  resume { ptr, i32 } %.merged

325:                                              ; preds = %323
  %326 = landingpad { ptr, i32 }
          catch ptr null
  %327 = extractvalue { ptr, i32 } %326, 0
  call void @__clang_call_terminate(ptr %327) #13
  unreachable

328:                                              ; preds = %310, %287, %257, %221, %190, %147, %110, %77, %37
  unreachable
}

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

declare void @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ...) local_unnamed_addr #1

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

declare void @_ZN3Bio5resetEv(ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #1

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

declare noundef ptr @_ZN3Bio8internalEv(ptr noundef nonnull align 8 dereferenceable(9)) local_unnamed_addr #1

declare void @_ZN6Logger4infoEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ...) local_unnamed_addr #1

declare ptr @CMS_get0_content(ptr noundef) local_unnamed_addr #1

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

declare void @_ZN3BioC1EP6bio_stb(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef, i1 noundef zeroext) unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SignedData10setContentE6HandleI3BioE(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef) local_unnamed_addr #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9SSLObjectI18CMS_ContentInfo_stE7setDataEPS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nofree nosync nounwind memory(none) }
attributes #8 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { noreturn }
attributes #12 = { builtin nounwind }
attributes #13 = { noreturn nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass