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

; 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.Handle.7 = type { ptr }
%class.LoggerFunction = type { %class.Handle, ptr }
%class.Handle = type { ptr }
%class.Handle.4 = type { ptr }
%class.Handle.11 = type { ptr }

@logger = external global ptr, align 8
@__FUNCTION__._ZN15Provider_SystemC2E6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE = external hidden unnamed_addr constant [16 x i8], align 1
@_ZTI6HandleI9ExceptionE = external dso_local constant { ptr, ptr }, align 8
@.str.2 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [35 x i8], align 1
@__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_ = external hidden unnamed_addr constant [14 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [30 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 i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4 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 #5 align 2

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 #5 align 2

declare void @__cxa_free_exception(ptr)

declare void @__cxa_throw(ptr, ptr, ptr)

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

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) #7

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

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

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

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

declare ptr @BIO_new(ptr noundef) #1

declare ptr @BIO_s_file() #1

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

declare i32 @BIO_free(ptr noundef) #1

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #9

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_(ptr dead_on_unwind noalias writable sret(%class.Handle.7) align 8 %0, ptr noundef %1, ptr noundef %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %class.LoggerFunction, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %class.Handle.4, align 8
  %13 = alloca %class.Handle.4, align 8
  %14 = alloca i1, align 1
  %15 = alloca %class.Handle.4, align 8
  %16 = alloca %class.Handle.4, align 8
  %17 = alloca i1, align 1
  %18 = alloca %class.Handle.11, align 8
  %19 = alloca i1, align 1
  %20 = alloca ptr, align 8
  %21 = alloca %class.Handle.4, align 8
  %22 = alloca %class.Handle.4, align 8
  %23 = alloca i1, align 1
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #10
  %24 = load ptr, ptr @logger, align 8, !tbaa !5
  call void @_ZN14LoggerFunctionC1EP6LoggerPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %24, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  store ptr null, ptr %9, align 8, !tbaa !5
  %25 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %25, i32 noundef 32, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef @.str.9)
          to label %26 unwind label %59

26:                                               ; preds = %3
  %27 = invoke ptr @BIO_s_file()
          to label %28 unwind label %59

28:                                               ; preds = %26
  %29 = invoke ptr @BIO_new(ptr noundef %27)
          to label %30 unwind label %59

30:                                               ; preds = %28
  store ptr %29, ptr %8, align 8, !tbaa !5
  %31 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %31, i32 noundef 32, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef @.str.10)
          to label %32 unwind label %59

32:                                               ; preds = %30
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %35 unwind label %59

35:                                               ; preds = %32
  %36 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %34) #10
  %37 = invoke i64 @BIO_ctrl(ptr noundef %33, i32 noundef 108, i64 noundef 3, ptr noundef %36)
          to label %38 unwind label %59

38:                                               ; preds = %35
  %39 = trunc i64 %37 to i32
  %40 = icmp sgt i32 %39, 0
  br i1 %40, label %41, label %113

41:                                               ; preds = %38
  %42 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %42, i32 noundef 32, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef @.str.39)
          to label %43 unwind label %59

43:                                               ; preds = %41
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = invoke i64 @BIO_ctrl(ptr noundef %44, i32 noundef 128, i64 noundef 0, ptr noundef null)
          to label %46 unwind label %59

46:                                               ; preds = %43
  %47 = trunc i64 %45 to i32
  %48 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %49 unwind label %59

49:                                               ; preds = %46
  %50 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %48) #10
  %51 = call i32 @strcmp(ptr noundef %50, ptr noundef @.str.15) #11
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %53, label %63

53:                                               ; preds = %49
  %54 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %54, i32 noundef 32, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef @.str.36)
          to label %55 unwind label %59

55:                                               ; preds = %53
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = invoke ptr @PEM_read_bio_X509_CRL(ptr noundef %56, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %58 unwind label %59

58:                                               ; preds = %55
  store ptr %57, ptr %9, align 8, !tbaa !5
  br label %112

59:                                               ; preds = %157, %121, %115, %113, %75, %71, %69, %63, %55, %53, %46, %43, %41, %35, %32, %30, %28, %26, %3
  %60 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %10, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %11, align 4
  br label %176

63:                                               ; preds = %49
  %64 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %65 unwind label %59

65:                                               ; preds = %63
  %66 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %64) #10
  %67 = call i32 @strcmp(ptr noundef %66, ptr noundef @.str.19) #11
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %75

69:                                               ; preds = %65
  %70 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %70, i32 noundef 32, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef @.str.37)
          to label %71 unwind label %59

71:                                               ; preds = %69
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = invoke ptr @d2i_X509_CRL_bio(ptr noundef %72, ptr noundef null)
          to label %74 unwind label %59

74:                                               ; preds = %71
  store ptr %73, ptr %9, align 8, !tbaa !5
  br label %111

75:                                               ; preds = %65
  %76 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef @.str.40)
          to label %77 unwind label %59

77:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %78 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #12
          to label %79 unwind label %85

79:                                               ; preds = %77
  store i1 true, ptr %14, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef null)
          to label %80 unwind label %89

80:                                               ; preds = %79
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %78, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 464, i32 noundef 0, ptr noundef @__FUNCTION__._ZN15Provider_SystemC2E6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef %13, ptr noundef @.str.40)
          to label %81 unwind label %93

81:                                               ; preds = %80
  store i1 false, ptr %14, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %78)
          to label %82 unwind label %93

82:                                               ; preds = %81
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  %83 = call ptr @__cxa_allocate_exception(i64 8) #10
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %84 unwind label %101

84:                                               ; preds = %82
  invoke void @__cxa_throw(ptr %83, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #13
          to label %236 unwind label %105

85:                                               ; preds = %77
  %86 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %10, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %11, align 4
  br label %110

89:                                               ; preds = %79
  %90 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %10, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %11, align 4
  br label %97

93:                                               ; preds = %81, %80
  %94 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %10, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %11, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #10
  br label %97

97:                                               ; preds = %93, %89
  %98 = load i1, ptr %14, align 1
  br i1 %98, label %99, label %100

99:                                               ; preds = %97
  call void @_ZdlPvm(ptr noundef %78, i64 noundef 176) #14
  br label %100

100:                                              ; preds = %99, %97
  br label %110

101:                                              ; preds = %82
  %102 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %10, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %11, align 4
  call void @__cxa_free_exception(ptr %83) #10
  br label %109

105:                                              ; preds = %84
  %106 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %10, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %11, align 4
  br label %109

109:                                              ; preds = %105, %101
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  br label %110

110:                                              ; preds = %109, %100, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  br label %176

111:                                              ; preds = %74
  br label %112

112:                                              ; preds = %111, %58
  br label %113

113:                                              ; preds = %112, %38
  %114 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %114, i32 noundef 32, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef @.str.11)
          to label %115 unwind label %59

115:                                              ; preds = %113
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = invoke i32 @BIO_free(ptr noundef %116)
          to label %118 unwind label %59

118:                                              ; preds = %115
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = icmp ne ptr %119, null
  br i1 %120, label %157, label %121

121:                                              ; preds = %118
  %122 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %122, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef @.str.43)
          to label %123 unwind label %59

123:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %124 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #12
          to label %125 unwind label %131

125:                                              ; preds = %123
  store i1 true, ptr %17, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef null)
          to label %126 unwind label %135

126:                                              ; preds = %125
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %124, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 471, i32 noundef 0, ptr noundef @__FUNCTION__._ZN15Provider_SystemC2E6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef %16, ptr noundef @.str.43)
          to label %127 unwind label %139

127:                                              ; preds = %126
  store i1 false, ptr %17, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef %124)
          to label %128 unwind label %139

128:                                              ; preds = %127
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  %129 = call ptr @__cxa_allocate_exception(i64 8) #10
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %130 unwind label %147

130:                                              ; preds = %128
  invoke void @__cxa_throw(ptr %129, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #13
          to label %236 unwind label %151

131:                                              ; preds = %123
  %132 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %10, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %11, align 4
  br label %156

135:                                              ; preds = %125
  %136 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %10, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %11, align 4
  br label %143

139:                                              ; preds = %127, %126
  %140 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %10, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %11, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  br label %143

143:                                              ; preds = %139, %135
  %144 = load i1, ptr %17, align 1
  br i1 %144, label %145, label %146

145:                                              ; preds = %143
  call void @_ZdlPvm(ptr noundef %124, i64 noundef 176) #14
  br label %146

146:                                              ; preds = %145, %143
  br label %156

147:                                              ; preds = %128
  %148 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %10, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %11, align 4
  call void @__cxa_free_exception(ptr %129) #10
  br label %155

151:                                              ; preds = %130
  %152 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %10, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %11, align 4
  br label %155

155:                                              ; preds = %151, %147
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  br label %156

156:                                              ; preds = %155, %146, %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  br label %176

157:                                              ; preds = %118
  %158 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #12
          to label %159 unwind label %59

159:                                              ; preds = %157
  store i1 true, ptr %19, align 1
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN6HandleI7SObjectEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef null)
          to label %161 unwind label %164

161:                                              ; preds = %159
  invoke void @_ZN3CRLC2EP11X509_crl_st6HandleI7SObjectE(ptr noundef nonnull align 8 dereferenceable(16) %158, ptr noundef %160, ptr noundef %18)
          to label %162 unwind label %168

162:                                              ; preds = %161
  store i1 false, ptr %19, align 1
  invoke void @_ZN6HandleI3CRLEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %158)
          to label %163 unwind label %168

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

164:                                              ; preds = %159
  %165 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %10, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %11, align 4
  br label %172

168:                                              ; preds = %162, %161
  %169 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %10, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %11, align 4
  call void @_ZN6HandleI7SObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  br label %172

172:                                              ; preds = %168, %164
  %173 = load i1, ptr %19, align 1
  br i1 %173, label %174, label %175

174:                                              ; preds = %172
  call void @_ZdlPvm(ptr noundef %158, i64 noundef 16) #14
  br label %175

175:                                              ; preds = %174, %172
  br label %176

176:                                              ; preds = %175, %156, %110, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  br label %177

177:                                              ; preds = %176
  %178 = load i32, ptr %11, align 4
  %179 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTI6HandleI9ExceptionE) #10
  %180 = icmp eq i32 %178, %179
  br i1 %180, label %181, label %227

181:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  %182 = load ptr, ptr %10, align 8
  %183 = call ptr @__cxa_begin_catch(ptr %182) #10
  store ptr %183, ptr %20, align 8
  %184 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %184, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_)
          to label %185 unwind label %194

185:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %186 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 176) #12
          to label %187 unwind label %198

187:                                              ; preds = %185
  store i1 true, ptr %23, align 1
  %188 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %188)
          to label %189 unwind label %202

189:                                              ; preds = %187
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %186, i1 noundef zeroext false, ptr noundef @.str.2, i32 noundef 478, i32 noundef 0, ptr noundef @__FUNCTION__._ZN15Provider_SystemC2E6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef %22, ptr noundef @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_)
          to label %190 unwind label %206

190:                                              ; preds = %189
  store i1 false, ptr %23, align 1
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef %186)
          to label %191 unwind label %206

191:                                              ; preds = %190
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  %192 = call ptr @__cxa_allocate_exception(i64 8) #10
  invoke void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %193 unwind label %214

193:                                              ; preds = %191
  invoke void @__cxa_throw(ptr %192, ptr @_ZTI6HandleI9ExceptionE, ptr @_ZN6HandleI9ExceptionED2Ev) #13
          to label %236 unwind label %218

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

198:                                              ; preds = %185
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %10, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %11, align 4
  br label %223

202:                                              ; preds = %187
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %10, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %11, align 4
  br label %210

206:                                              ; preds = %190, %189
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %10, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %11, align 4
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  br label %210

210:                                              ; preds = %206, %202
  %211 = load i1, ptr %23, align 1
  br i1 %211, label %212, label %213

212:                                              ; preds = %210
  call void @_ZdlPvm(ptr noundef %186, i64 noundef 176) #14
  br label %213

213:                                              ; preds = %212, %210
  br label %223

214:                                              ; preds = %191
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %10, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %11, align 4
  call void @__cxa_free_exception(ptr %192) #10
  br label %222

218:                                              ; preds = %193
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %10, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %11, align 4
  br label %222

222:                                              ; preds = %218, %214
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #10
  br label %223

223:                                              ; preds = %222, %213, %198
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %224

224:                                              ; preds = %223, %194
  invoke void @__cxa_end_catch()
          to label %225 unwind label %233

225:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %227

226:                                              ; No predecessors!
  unreachable

227:                                              ; preds = %225, %177
  call void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #10
  br label %228

228:                                              ; preds = %227
  %229 = load ptr, ptr %10, align 8
  %230 = load i32, ptr %11, align 4
  %231 = insertvalue { ptr, i32 } poison, ptr %229, 0
  %232 = insertvalue { ptr, i32 } %231, i32 %230, 1
  resume { ptr, i32 } %232

233:                                              ; preds = %224
  %234 = landingpad { ptr, i32 }
          catch ptr null
  %235 = extractvalue { ptr, i32 } %234, 0
  call void @__clang_call_terminate(ptr %235) #15
  unreachable

236:                                              ; preds = %193, %130, %84
  unreachable
}

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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind memory(none) }
attributes #7 = { 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 #8 = { 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 #9 = { nounwind willreturn memory(read) "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 #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { noreturn }
attributes #14 = { builtin nounwind }
attributes #15 = { 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"}


; 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.Handle.7 = type { ptr }
%class.LoggerFunction = type { %class.Handle, ptr }
%class.Handle = type { ptr }
%class.Handle.4 = type { ptr }
%class.Handle.11 = type { ptr }

@logger = external local_unnamed_addr global ptr, align 8
@__FUNCTION__._ZN15Provider_SystemC2E6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE = external hidden unnamed_addr constant [16 x i8], align 1
@_ZTI6HandleI9ExceptionE = external dso_local constant { ptr, ptr }, align 8
@.str.2 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [35 x i8], align 1
@__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_ = external hidden unnamed_addr constant [14 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [30 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 i32 @__gxx_personality_v0(...)

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

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

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

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 void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4 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 #5 align 2

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 #5 align 2

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

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

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 #7

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

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

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

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

declare ptr @BIO_new(ptr noundef) local_unnamed_addr #1

declare ptr @BIO_s_file() local_unnamed_addr #1

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

declare i32 @BIO_free(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #9

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_(ptr dead_on_unwind noalias writable sret(%class.Handle.7) align 8 %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.LoggerFunction, align 8
  %5 = alloca %class.Handle.4, align 8
  %6 = alloca %class.Handle.4, align 8
  %7 = alloca %class.Handle.4, align 8
  %8 = alloca %class.Handle.4, align 8
  %9 = alloca %class.Handle.11, align 8
  %10 = alloca %class.Handle.4, align 8
  %11 = alloca %class.Handle.4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #10
  %12 = load ptr, ptr @logger, align 8, !tbaa !5
  call void @_ZN14LoggerFunctionC1EP6LoggerPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %12, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_)
  %13 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull @.str.9)
          to label %14 unwind label %42

14:                                               ; preds = %3
  %15 = invoke ptr @BIO_s_file()
          to label %16 unwind label %42

16:                                               ; preds = %14
  %17 = invoke ptr @BIO_new(ptr noundef %15)
          to label %18 unwind label %42

18:                                               ; preds = %16
  %19 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %19, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull @.str.10)
          to label %20 unwind label %42

20:                                               ; preds = %18
  %21 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %22 unwind label %42

22:                                               ; preds = %20
  %23 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  %24 = invoke i64 @BIO_ctrl(ptr noundef %17, i32 noundef 108, i64 noundef 3, ptr noundef %23)
          to label %25 unwind label %42

25:                                               ; preds = %22
  %26 = trunc i64 %24 to i32
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %28, label %72

28:                                               ; preds = %25
  %29 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %29, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull @.str.39)
          to label %30 unwind label %42

30:                                               ; preds = %28
  %31 = invoke i64 @BIO_ctrl(ptr noundef %17, i32 noundef 128, i64 noundef 0, ptr noundef null)
          to label %32 unwind label %42

32:                                               ; preds = %30
  %33 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %34 unwind label %42

34:                                               ; preds = %32
  %35 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  %36 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %35, ptr noundef nonnull dereferenceable(1) @.str.15) #11
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %38, label %44

38:                                               ; preds = %34
  %39 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %39, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull @.str.36)
          to label %40 unwind label %42

40:                                               ; preds = %38
  %41 = invoke ptr @PEM_read_bio_X509_CRL(ptr noundef %17, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %72 unwind label %42

42:                                               ; preds = %96, %77, %74, %72, %54, %52, %51, %44, %40, %38, %32, %30, %28, %22, %20, %18, %16, %14, %3
  %43 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %107

44:                                               ; preds = %34
  %45 = invoke noundef ptr @_ZNK6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %46 unwind label %42

46:                                               ; preds = %44
  %47 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %45) #10
  %48 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %47, ptr noundef nonnull dereferenceable(1) @.str.19) #11
  %49 = icmp eq i32 %48, 0
  %50 = load ptr, ptr @logger, align 8, !tbaa !5
  br i1 %49, label %51, label %54

51:                                               ; preds = %46
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %50, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull @.str.37)
          to label %52 unwind label %42

52:                                               ; preds = %51
  %53 = invoke ptr @d2i_X509_CRL_bio(ptr noundef %17, ptr noundef null)
          to label %72 unwind label %42

54:                                               ; preds = %46
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull @.str.40)
          to label %55 unwind label %42

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  %56 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #12
          to label %57 unwind label %63

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

58:                                               ; preds = %57
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %56, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 464, i32 noundef 0, ptr noundef nonnull @__FUNCTION__._ZN15Provider_SystemC2E6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull %6, ptr noundef nonnull @.str.40)
          to label %60 unwind label %.thread48

.thread48:                                        ; preds = %58
  %59 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  br label %68

60:                                               ; preds = %58
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull %56)
          to label %61 unwind label %66

61:                                               ; preds = %60
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  %62 = call ptr @__cxa_allocate_exception(i64 8) #10
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(8) %5)
  invoke void @__cxa_throw(ptr nonnull %62, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #13
          to label %135 unwind label %69

63:                                               ; preds = %55
  %64 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %71

.thread:                                          ; preds = %57
  %65 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %68

66:                                               ; preds = %60
  %67 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #10
  br label %71

68:                                               ; preds = %.thread48, %.thread
  %.pn47 = phi { ptr, i32 } [ %65, %.thread ], [ %59, %.thread48 ]
  call void @_ZdlPvm(ptr noundef nonnull %56, i64 noundef 176) #14
  br label %71

69:                                               ; preds = %61
  %70 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #10
  br label %71

71:                                               ; preds = %66, %68, %69, %63
  %.pn33 = phi { ptr, i32 } [ %70, %69 ], [ %.pn47, %68 ], [ %67, %66 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  br label %107

72:                                               ; preds = %52, %40, %25
  %.031 = phi ptr [ null, %25 ], [ %41, %40 ], [ %53, %52 ]
  %73 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ptr, ...) @_ZN6Logger5writeEN11LoggerLevel12LOGGER_LEVELEPKcS3_z(ptr noundef nonnull align 8 dereferenceable(24) %73, i32 noundef 32, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull @.str.11)
          to label %74 unwind label %42

74:                                               ; preds = %72
  %75 = invoke i32 @BIO_free(ptr noundef %17)
          to label %76 unwind label %42

76:                                               ; preds = %74
  %.not = icmp eq ptr %.031, null
  br i1 %.not, label %77, label %96

77:                                               ; preds = %76
  %78 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull @.str.43)
          to label %79 unwind label %42

79:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  %80 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #12
          to label %81 unwind label %87

81:                                               ; preds = %79
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef null)
          to label %82 unwind label %.thread50

82:                                               ; preds = %81
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %80, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 471, i32 noundef 0, ptr noundef nonnull @__FUNCTION__._ZN15Provider_SystemC2E6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull %8, ptr noundef nonnull @.str.43)
          to label %84 unwind label %.thread54

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

84:                                               ; preds = %82
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull %80)
          to label %85 unwind label %90

85:                                               ; preds = %84
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  %86 = call ptr @__cxa_allocate_exception(i64 8) #10
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull align 8 dereferenceable(8) %7)
  invoke void @__cxa_throw(ptr nonnull %86, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #13
          to label %135 unwind label %93

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

.thread50:                                        ; preds = %81
  %89 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %92

90:                                               ; preds = %84
  %91 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  br label %95

92:                                               ; preds = %.thread54, %.thread50
  %.pn3553 = phi { ptr, i32 } [ %89, %.thread50 ], [ %83, %.thread54 ]
  call void @_ZdlPvm(ptr noundef nonnull %80, i64 noundef 176) #14
  br label %95

93:                                               ; preds = %85
  %94 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  br label %95

95:                                               ; preds = %90, %92, %93, %87
  %.pn37 = phi { ptr, i32 } [ %94, %93 ], [ %.pn3553, %92 ], [ %91, %90 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  br label %107

96:                                               ; preds = %76
  %97 = invoke noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #12
          to label %98 unwind label %42

98:                                               ; preds = %96
  invoke void @_ZN6HandleI7SObjectEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef null)
          to label %99 unwind label %.thread56

99:                                               ; preds = %98
  invoke void @_ZN3CRLC2EP11X509_crl_st6HandleI7SObjectE(ptr noundef nonnull align 8 dereferenceable(16) %97, ptr noundef nonnull %.031, ptr noundef nonnull %9)
          to label %101 unwind label %.thread60

.thread60:                                        ; preds = %99
  %100 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7SObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  br label %106

101:                                              ; preds = %99
  invoke void @_ZN6HandleI3CRLEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %97)
          to label %102 unwind label %104

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

.thread56:                                        ; preds = %98
  %103 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  br label %106

104:                                              ; preds = %101
  %105 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI6HandleI9ExceptionE
  call void @_ZN6HandleI7SObjectED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  br label %107

106:                                              ; preds = %.thread60, %.thread56
  %.pn3959 = phi { ptr, i32 } [ %103, %.thread56 ], [ %100, %.thread60 ]
  call void @_ZdlPvm(ptr noundef nonnull %97, i64 noundef 16) #14
  br label %107

107:                                              ; preds = %104, %106, %95, %71, %42
  %.pn39.pn = phi { ptr, i32 } [ %.pn3959, %106 ], [ %105, %104 ], [ %43, %42 ], [ %.pn37, %95 ], [ %.pn33, %71 ]
  %.5 = extractvalue { ptr, i32 } %.pn39.pn, 1
  %108 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTI6HandleI9ExceptionE) #10
  %109 = icmp eq i32 %.5, %108
  br i1 %109, label %110, label %131

110:                                              ; preds = %107
  %.527 = extractvalue { ptr, i32 } %.pn39.pn, 0
  %111 = call ptr @__cxa_begin_catch(ptr %.527) #10
  %112 = load ptr, ptr @logger, align 8, !tbaa !5
  invoke void (ptr, ptr, ptr, ...) @_ZN6Logger5errorEPKcS1_z(ptr noundef nonnull align 8 dereferenceable(24) %112, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_)
          to label %113 unwind label %119

113:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  %114 = invoke noalias noundef nonnull dereferenceable(176) ptr @_Znwm(i64 noundef 176) #12
          to label %115 unwind label %121

115:                                              ; preds = %113
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %111)
  invoke void (ptr, i1, ptr, i32, i32, ptr, ptr, ptr, ptr, ...) @_ZN9ExceptionC1EbPKciiS1_S1_6HandleIS_ES1_z(ptr noundef nonnull align 8 dereferenceable(176) %114, i1 noundef zeroext false, ptr noundef nonnull @.str.2, i32 noundef 478, i32 noundef 0, ptr noundef nonnull @__FUNCTION__._ZN15Provider_SystemC2E6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_, ptr noundef nonnull %11, ptr noundef nonnull @__FUNCTION__._ZN15Provider_System13getCRLFromURIE6HandleINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEES7_)
          to label %116 unwind label %125

116:                                              ; preds = %115
  invoke void @_ZN6HandleI9ExceptionEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull %114)
          to label %117 unwind label %123

117:                                              ; preds = %116
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  %118 = call ptr @__cxa_allocate_exception(i64 8) #10
  call void @_ZN6HandleI9ExceptionEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %118, ptr noundef nonnull align 8 dereferenceable(8) %10)
  invoke void @__cxa_throw(ptr nonnull %118, ptr nonnull @_ZTI6HandleI9ExceptionE, ptr nonnull @_ZN6HandleI9ExceptionED2Ev) #13
          to label %135 unwind label %127

119:                                              ; preds = %110
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %130

121:                                              ; preds = %113
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %129

123:                                              ; preds = %116
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  br label %129

125:                                              ; preds = %115
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  call void @_ZdlPvm(ptr noundef nonnull %114, i64 noundef 176) #14
  br label %129

127:                                              ; preds = %117
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6HandleI9ExceptionED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  br label %129

129:                                              ; preds = %123, %125, %127, %121
  %.pn42 = phi { ptr, i32 } [ %128, %127 ], [ %126, %125 ], [ %124, %123 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  br label %130

130:                                              ; preds = %129, %119
  %.pn42.pn = phi { ptr, i32 } [ %.pn42, %129 ], [ %120, %119 ]
  invoke void @__cxa_end_catch()
          to label %131 unwind label %132

131:                                              ; preds = %130, %107
  %.merged = phi { ptr, i32 } [ %.pn39.pn, %107 ], [ %.pn42.pn, %130 ]
  call void @_ZN14LoggerFunctionD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #10
  resume { ptr, i32 } %.merged

132:                                              ; preds = %130
  %133 = landingpad { ptr, i32 }
          catch ptr null
  %134 = extractvalue { ptr, i32 } %133, 0
  call void @__clang_call_terminate(ptr %134) #15
  unreachable

135:                                              ; preds = %117, %85, %61
  unreachable
}

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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nofree nosync nounwind memory(none) }
attributes #7 = { 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 #8 = { 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 #9 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { noreturn }
attributes #14 = { builtin nounwind }
attributes #15 = { 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"}


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